aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make ejabberd_xmlrpc working as a listening module againEvgeny Khramtsov2019-06-241-4/+6
| | | | | | | | Fixes #2915
* | Don't crash on empty avatar dataEvgeny Khramtsov2019-06-241-0/+5
| |
* | Use correct virtual host for s2s optionsEvgeny Khramtsov2019-06-232-49/+49
| |
* | Avoid code duplication in gen_modEvgeny Khramtsov2019-06-231-11/+11
| |
* | Let it crash on unspecified optionEvgeny Khramtsov2019-06-231-15/+9
| |
* | Respond with 'Bad Request' to unexpected 'Host' headerEvgeny Khramtsov2019-06-231-47/+43
| | | | | | | | | | | | | | | | Where "unexpected" means the host in 'Host' header is not a registered route. The rationale is to avoid propagation of uknown "Host" further in the code, which may lead to nasty errors related to reading configuration values, calling functions from ejabberd_router.erl, etc.
* | Validate and set 'version' option at an earlier stageEvgeny Khramtsov2019-06-232-17/+22
| |
* | Improve extraction of translated stringsEvgeny Khramtsov2019-06-2254-956/+989
| | | | | | | | | | | | | | | | | | | | | | | | | | Now every such string MUST be encapsulated into ?T() macro. The macro itself is defined in include/translate.hrl. Example: -module(foo). -export([bar/1]). -include("translate.hrl"). bar(Lang) -> translate:translate(Lang, ?T("baz")).
* | Fix shaper selection in ejabberd_c2sEvgeny Khramtsov2019-06-224-5/+5
| |
* | Make option 'validate_stream' globalEvgeny Khramtsov2019-06-2113-22/+19
| |
* | Don't attempt to query 'undefined' active listEvgeny Khramtsov2019-06-211-30/+35
| | | | | | | | Also code formatting was improved
* | Allow multiple definitions of host_config and append_host_configEvgeny Khramtsov2019-06-212-10/+37
| |
* | Correct mod_mix_pam protocol versionEvgeny Khramtsov2019-06-211-1/+1
| | | | | | | | Fixes #2913
* | Fix usage of TLS in mod_mqttEvgeny Khramtsov2019-06-211-23/+35
| | | | | | | | Fixes #2919
* | mod_pubsub: Check access_model when publishing PEPHolger Weiss2019-06-201-21/+33
| | | | | | | | | | | | | | Don't just adhere to the node's access_model when delivering the last PEP item but also when a new item is published. Many thanks to Philipp Hörist for spotting this.
* | Rename remaining command arguments from Server to Host (#2908)Badlop2019-06-194-9/+17
| |
* | Add support for backwards compatibility in command argument names (#2908)Badlop2019-06-194-16/+39
| |
* | Fix support for nonexistent or empty access_commands in ejabberd_xmlrpcBadlop2019-06-191-1/+1
| |
* | Require opt_type/1 callbackEvgeny Khramtsov2019-06-171-2/+3
| |
* | Generate more readable exceptionEvgeny Khramtsov2019-06-171-8/+17
| |
* | Reflect recent pubsub changes in configuration transformerEvgeny Khramtsov2019-06-172-20/+51
| |
* | Bump supported version of XEP-0355Evgeny Khramtsov2019-06-171-1/+1
| |
* | Fix component routes unregistrationEvgeny Khramtsov2019-06-171-20/+7
| | | | | | | | Fixes #2910
* | Remove deprecated pubsub pluginsChristophe Romain2019-06-1714-2550/+0
| |
* | Use list_to_existing_atom/1 wherever possibleEvgeny Khramtsov2019-06-155-5/+5
| |
* | Get rid of "well-known" typeEvgeny Khramtsov2019-06-1529-202/+131
| |
* | Remove default_db/1 and add default_db/3Evgeny Khramtsov2019-06-151-14/+14
| | | | | | | | Same for default_ram_db/1 and default_ram_db/3
* | Warn about 'service_url' option during config transformationEvgeny Khramtsov2019-06-143-10/+12
| |
* | Fix exception formatting on old ErlangEvgeny Khramtsov2019-06-141-0/+10
| |
* | Fix validator of mod_avatarEvgeny Khramtsov2019-06-141-12/+10
| |
* | Introduce option 'captcha_url'Evgeny Khramtsov2019-06-144-14/+36
| | | | | | | | | | | | Option 'captcha_host' is now deprecated in favor of 'captcha_url'. However, it's not replaced automatically at startup, i.e. both options are supported with 'captcha_url' being the preferred one.
* | Remove mod_echo moduleEvgeny Khramtsov2019-06-143-240/+17
| |
* | Use new configuration validatorEvgeny Khramtsov2019-06-14234-9191/+11031
| |
* | Return jid_malformed error when sending presence without nick to conferencePaweł Chmielowski2019-06-131-8/+26
| |
* | Merge pull request #2651 from Iperity/fix-privacy-race-conditionbadlop2019-06-131-14/+35
|\ \ | | | | | | Fix mod_privacy race condition
| * | Refactor mod_privacy patch; move logic user_receive_packet toNathan Bruning2019-06-101-34/+34
| | | | | | | | | | | | user_send_packet.
| * | Fix user_send_packet in mod_privacy; was failing on newly created usersNathan Bruning2019-06-101-1/+1
| | |
| * | Fix mod_privacy race conditionNathan Bruning2019-06-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | mod_privacy updates the c2s state in user_receive_packet, which tracks the *result* of the IQ set for active privacy lists. When a second stanza is sent directly after a privacy list request, the second stanza will be processed using the old privacy list, because the IQ result has not yet been routed.
* | | Debug log to help troubleshoot delegation ACLsMickaël Rémond2019-06-111-0/+1
| | |
* | | Revert "Fix pubsub compliance XEP-0060 § 7.1.3.6 (#2864)"Christophe Romain2019-06-111-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit 2fff4d1ea6f32babc3ae06ef877faaacb8ba3c1b. This commit broke the XEP compliance. more details here https://xmpp.org/extensions/xep-0060.html#events
* | | Use system_time/1 instead of monotonic_time/1Evgeny Khramtsov2019-06-062-2/+2
| |/ |/| | | | | | | | | | | The value of monotonic_time/1 may differ significantly between nodes in a cluster due to different erlang:time_offset/0 values. Thanks to Christoph Scholz for spotting this
* | mod_register_web: Don't crash if user existsHolger Weiss2019-06-051-2/+2
|/ | | | | | | | Since commit 633b68db1130c81551b063f3aa15d599b0d355e5, ejabberd_auth:try_register/3 returns {error, exists} rather than {atomic, exists}. Thanks to Thomas Leister for reporting the issue.
* Fix example argument in private_set, don't include Query elementBadlop2019-05-291-1/+1
|
* mod_stream_mgmt: Drop unused codeHolger Weiss2019-05-291-25/+13
| | | | | | Revert the changes applied to mod_stream_mgmt in commit b76f90fe396ee7a1ed5c5f7006431879929fc2a1, as the new implementation of mod_offline's 'use_mam_for_storage' feature doesn't need them.
* Change implementation of mod_offline use_mam_for_storage19.05Paweł Chmielowski2019-05-281-48/+45
| | | | | | | | | | | | | | Previous version was trying to determine range of messages that should be fetched from mam by storing time when last user resource disconnected. But that had couple edge cases that could cause problems, for example in case of node crash we could not store information about user disconnect and with that we didn't have data to initiate mam query. New version don't track user disconnects, but simply ensure that we have timestamp of first message that is gonna be put in storage, after some measurements cost of that check with caching on top is not that costly, and as much more robust i decided to introduce that change.
* Don't check mod_register restrictions in 'register' commandEvgeny Khramtsov2019-05-281-8/+1
| | | | | The commit reverts behaviour introduced in 1f2b8adc285c6c67de75986e96d6bd1632ef97fe
* mod_http_upload: Avoid catch-all error handlingHolger Weiss2019-05-271-2/+0
|
* Improve captcha blocking alert wordingMickaël Rémond2019-05-251-2/+2
|
* Fix last commitPaweł Chmielowski2019-05-241-5/+6
|
* Make mod_admin_extra add/delete_rosteritem reuse code from mod_rosterPaweł Chmielowski2019-05-242-39/+39
|