Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Make ejabberd_xmlrpc working as a listening module again | Evgeny Khramtsov | 2019-06-24 | 1 | -4/+6 | |
| | | | | | | | | Fixes #2915 | |||||
* | | Don't crash on empty avatar data | Evgeny Khramtsov | 2019-06-24 | 1 | -0/+5 | |
| | | ||||||
* | | Use correct virtual host for s2s options | Evgeny Khramtsov | 2019-06-23 | 2 | -49/+49 | |
| | | ||||||
* | | Avoid code duplication in gen_mod | Evgeny Khramtsov | 2019-06-23 | 1 | -11/+11 | |
| | | ||||||
* | | Let it crash on unspecified option | Evgeny Khramtsov | 2019-06-23 | 1 | -15/+9 | |
| | | ||||||
* | | Respond with 'Bad Request' to unexpected 'Host' header | Evgeny Khramtsov | 2019-06-23 | 1 | -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 stage | Evgeny Khramtsov | 2019-06-23 | 2 | -17/+22 | |
| | | ||||||
* | | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 54 | -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_c2s | Evgeny Khramtsov | 2019-06-22 | 4 | -5/+5 | |
| | | ||||||
* | | Make option 'validate_stream' global | Evgeny Khramtsov | 2019-06-21 | 13 | -22/+19 | |
| | | ||||||
* | | Don't attempt to query 'undefined' active list | Evgeny Khramtsov | 2019-06-21 | 1 | -30/+35 | |
| | | | | | | | | Also code formatting was improved | |||||
* | | Allow multiple definitions of host_config and append_host_config | Evgeny Khramtsov | 2019-06-21 | 2 | -10/+37 | |
| | | ||||||
* | | Correct mod_mix_pam protocol version | Evgeny Khramtsov | 2019-06-21 | 1 | -1/+1 | |
| | | | | | | | | Fixes #2913 | |||||
* | | Fix usage of TLS in mod_mqtt | Evgeny Khramtsov | 2019-06-21 | 1 | -23/+35 | |
| | | | | | | | | Fixes #2919 | |||||
* | | mod_pubsub: Check access_model when publishing PEP | Holger Weiss | 2019-06-20 | 1 | -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) | Badlop | 2019-06-19 | 4 | -9/+17 | |
| | | ||||||
* | | Add support for backwards compatibility in command argument names (#2908) | Badlop | 2019-06-19 | 4 | -16/+39 | |
| | | ||||||
* | | Fix support for nonexistent or empty access_commands in ejabberd_xmlrpc | Badlop | 2019-06-19 | 1 | -1/+1 | |
| | | ||||||
* | | Require opt_type/1 callback | Evgeny Khramtsov | 2019-06-17 | 1 | -2/+3 | |
| | | ||||||
* | | Generate more readable exception | Evgeny Khramtsov | 2019-06-17 | 1 | -8/+17 | |
| | | ||||||
* | | Reflect recent pubsub changes in configuration transformer | Evgeny Khramtsov | 2019-06-17 | 2 | -20/+51 | |
| | | ||||||
* | | Bump supported version of XEP-0355 | Evgeny Khramtsov | 2019-06-17 | 1 | -1/+1 | |
| | | ||||||
* | | Fix component routes unregistration | Evgeny Khramtsov | 2019-06-17 | 1 | -20/+7 | |
| | | | | | | | | Fixes #2910 | |||||
* | | Remove deprecated pubsub plugins | Christophe Romain | 2019-06-17 | 14 | -2550/+0 | |
| | | ||||||
* | | Use list_to_existing_atom/1 wherever possible | Evgeny Khramtsov | 2019-06-15 | 5 | -5/+5 | |
| | | ||||||
* | | Get rid of "well-known" type | Evgeny Khramtsov | 2019-06-15 | 29 | -202/+131 | |
| | | ||||||
* | | Remove default_db/1 and add default_db/3 | Evgeny Khramtsov | 2019-06-15 | 1 | -14/+14 | |
| | | | | | | | | Same for default_ram_db/1 and default_ram_db/3 | |||||
* | | Warn about 'service_url' option during config transformation | Evgeny Khramtsov | 2019-06-14 | 3 | -10/+12 | |
| | | ||||||
* | | Fix exception formatting on old Erlang | Evgeny Khramtsov | 2019-06-14 | 1 | -0/+10 | |
| | | ||||||
* | | Fix validator of mod_avatar | Evgeny Khramtsov | 2019-06-14 | 1 | -12/+10 | |
| | | ||||||
* | | Introduce option 'captcha_url' | Evgeny Khramtsov | 2019-06-14 | 4 | -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 module | Evgeny Khramtsov | 2019-06-14 | 3 | -240/+17 | |
| | | ||||||
* | | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 234 | -9191/+11031 | |
| | | ||||||
* | | Return jid_malformed error when sending presence without nick to conference | Paweł Chmielowski | 2019-06-13 | 1 | -8/+26 | |
| | | ||||||
* | | Merge pull request #2651 from Iperity/fix-privacy-race-condition | badlop | 2019-06-13 | 1 | -14/+35 | |
|\ \ | | | | | | | Fix mod_privacy race condition | |||||
| * | | Refactor mod_privacy patch; move logic user_receive_packet to | Nathan Bruning | 2019-06-10 | 1 | -34/+34 | |
| | | | | | | | | | | | | user_send_packet. | |||||
| * | | Fix user_send_packet in mod_privacy; was failing on newly created users | Nathan Bruning | 2019-06-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix mod_privacy race condition | Nathan Bruning | 2019-06-10 | 1 | -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 ACLs | Mickaël Rémond | 2019-06-11 | 1 | -0/+1 | |
| | | | ||||||
* | | | Revert "Fix pubsub compliance XEP-0060 § 7.1.3.6 (#2864)" | Christophe Romain | 2019-06-11 | 1 | -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/1 | Evgeny Khramtsov | 2019-06-06 | 2 | -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 exists | Holger Weiss | 2019-06-05 | 1 | -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 element | Badlop | 2019-05-29 | 1 | -1/+1 | |
| | ||||||
* | mod_stream_mgmt: Drop unused code | Holger Weiss | 2019-05-29 | 1 | -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.05 | Paweł Chmielowski | 2019-05-28 | 1 | -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' command | Evgeny Khramtsov | 2019-05-28 | 1 | -8/+1 | |
| | | | | | The commit reverts behaviour introduced in 1f2b8adc285c6c67de75986e96d6bd1632ef97fe | |||||
* | mod_http_upload: Avoid catch-all error handling | Holger Weiss | 2019-05-27 | 1 | -2/+0 | |
| | ||||||
* | Improve captcha blocking alert wording | Mickaël Rémond | 2019-05-25 | 1 | -2/+2 | |
| | ||||||
* | Fix last commit | Paweł Chmielowski | 2019-05-24 | 1 | -5/+6 | |
| | ||||||
* | Make mod_admin_extra add/delete_rosteritem reuse code from mod_roster | Paweł Chmielowski | 2019-05-24 | 2 | -39/+39 | |
| |