aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce 'sql_query_timeout' optionEvgeniy Khramtsov2017-05-051-15/+19
| | | | Fixes #1698
* Emit deprecation warning for SM related listening optionsEvgeniy Khramtsov2017-05-052-5/+9
|
* Improve validation of second-level optionsEvgeniy Khramtsov2017-05-055-121/+143
|
* Make it possible to validate second-level optionsEvgeniy Khramtsov2017-05-041-59/+80
|
* Catch exceptions from acl:add_list in web adminPaweł Chmielowski2017-05-042-22/+48
|
* Introduce 'iqdisc' global optionEvgeniy Khramtsov2017-05-0424-45/+53
|
* Validate module options on start_module/2Evgeniy Khramtsov2017-05-041-1/+1
|
* Parse ldap_uids in mod_vcard_ldap like in eldap_utils (#319)Badlop2017-05-031-2/+3
|
* Validate new options before module reloadingEvgeniy Khramtsov2017-05-011-8/+19
|
* Don't forget to delete digraphEvgeniy Khramtsov2017-05-011-1/+3
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-3065-1230/+806
| | | | | | | | | | | | | | The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
* Merge branch 'new-option-validation'Evgeniy Khramtsov2017-04-2953-819/+368
|\
| * Don't validate an option in ejabberd_config:get_option() functionsEvgeniy Khramtsov2017-04-2943-597/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | The commit introduces the following changes: * Now there is no need to pass validating function in ejabberd_config:get_option() functions, because the configuration keeps already validated values. * New function ejabberd_config:get_option/1 is introduced * Function ejabberd_config:get_option/3 is deprecated. If the function is still called, the second argument (validating function) is simply ignored. * The second argument for ejabberd_config:get_option/2 is now a default value, not a validating function.
| * Don't re-define validation functions in multiple placesEvgeniy Khramtsov2017-04-2825-234/+136
| |
* | Fix elixir testsPaweł Chmielowski2017-04-281-0/+2
|/
* Store options using p1_options moduleEvgeniy Khramtsov2017-04-275-154/+142
|
* Bug requesting non-existent data with private_get command (#1690)Badlop2017-04-261-1/+1
|
* Merge remote-tracking branch 'processone/pr/1699'Holger Weiss2017-04-261-20/+45
|\ | | | | | | | | * processone/pr/1699: Add support for HTTP File Upload, version 0.3.0
| * Add support for HTTP File Upload, version 0.3.0Holger Weiss2017-04-211-20/+45
| | | | | | | | | | Support the current XEP-0363 version in addition to the previous revisions.
* | Allow a room admin also to subscribe another JIDBadlop2017-04-261-1/+16
| |
* | mod_stream_mgmt: Fix typo in variable nameHolger Weiss2017-04-251-1/+1
| |
* | mod_stream_mgmt: Fix 'if_offline' detectionHolger Weiss2017-04-251-1/+1
| |
* | Include original 'id' and 'type' attributes in offline eventEvgeniy Khramtsov2017-04-251-2/+2
| |
* | Make sure only jabber:x:event tag is present in offline eventEvgeniy Khramtsov2017-04-251-2/+2
| |
* | randoms: Keep compatibility with Erlang/OTP 17Holger Weiss2017-04-241-1/+1
| |
* | Avoid changing configuration on listener deletionEvgeniy Khramtsov2017-04-231-10/+0
| |
* | Improve Mnesia tables creation and transformationEvgeniy Khramtsov2017-04-2318-716/+720
| |
* | Use round-robin algorithm when selecting worker from DB poolEvgeniy Khramtsov2017-04-234-8/+12
| |
* | Add clear_cache admin commandEvgeniy Khramtsov2017-04-221-1/+10
| |
* | Speedup Mnesia tables initializationEvgeniy Khramtsov2017-04-2118-51/+89
| |
* | Use new cache API in mod_shared_roster_ldapEvgeniy Khramtsov2017-04-211-69/+94
| |
* | Use new cache API in ejabberd_oauthEvgeniy Khramtsov2017-04-214-55/+102
|/
* Correct option validationEvgeniy Khramtsov2017-04-202-7/+11
|
* Use new cache API in mod_mamEvgeniy Khramtsov2017-04-201-32/+47
|
* Use new cache API in mod_capsEvgeniy Khramtsov2017-04-202-57/+82
|
* Fix private_get command sending a proper xmlel (#1683)Badlop2017-04-201-1/+2
|
* When getting user rooms, filter by the serverhost as expected (#1683)Badlop2017-04-201-2/+3
|
* mod_stream_mgmt: Preserve stanza count on timeoutHolger Weiss2017-04-191-9/+15
| | | | | | | If a pending stream management session times out, call ejabberd_c2s:process_terminated/2 *before* storing the incoming stanza count. Without this change, the session table entry that holds the stanza count was purged while closing the session.
* Use #jid{} type for #muc_unsubscribe.jidHolger Weiss2017-04-191-10/+8
|
* Don't use jid:from_string as it's deprecated, see jid.erl line 43Badlop2017-04-191-3/+6
|
* Don't try to load already loaded applicationsEvgeniy Khramtsov2017-04-191-12/+0
|
* ejabberd_c2s: Don't close session on stream resumeHolger Weiss2017-04-191-12/+5
| | | | | | | | Don't let ejabberd_c2s close the session and unset presence if a 'c2s_terminated' callback stops hook execution, as is done in mod_stream_mgmt:c2s_terminated/2 on resumption. Fixes #1680.
* Function fix_from_to/2 should not crash when 'from' is undefinedEvgeniy Khramtsov2017-04-181-7/+11
| | | | Fixes #1678
* lager_crash_log in some cases not run, catch itgetong2017-04-171-1/+1
|
* Improve logging messageEvgeniy Khramtsov2017-04-161-3/+3
|
* Move compile_exprs() to misc moduleEvgeniy Khramtsov2017-04-162-20/+29
|
* Speedup configuration options lookupEvgeniy Khramtsov2017-04-163-31/+141
| | | | | We now avoid excessive ETS lookups; instead, we use dynamically compiled module 'ejabberd_options' keeping the configuration options
* Log human readable description when configuration file is not foundEvgeniy Khramtsov2017-04-161-2/+0
|
* Report configuration file location on startupEvgeniy Khramtsov2017-04-161-1/+2
|
* Speedup loading of translation filesEvgeniy Khramtsov2017-04-161-38/+123
| | | | | | | A dump of 'translations' ETS table is now stored on disc. The table is only re-created when new/deleted/modified translation files are detected; otherwise, the ETS table is restored from the dump file on startup.