Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-06-20 | Guard against pres_last=undefined in mod_offline | Paweł Chmielowski | 1 | -2/+2 | |
2018-06-14 | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 1 | -1/+0 | |
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5 | |||||
2018-02-11 | Remove 'iqdisc' option | Evgeniy Khramtsov | 1 | -12/+2 | |
Since we got rid of all bottle-neck processes and we have a connection pool for every database, the option is no longer needed and in fact is detrimental: in practice what you get is just a bunch of overloaded processes in the IQ handlers pool no matter how much you increase the `iqdisc` value. Given that there are close to zero operators understanding the meaning of the option and, hence, not using it all, it's not simply deprecated but completely removed. The commit also deprecates the following functions: - gen_iq_handler:add_iq_handler/6 - gen_iq_handler:handle/5 - gen_iq_handler:iqdisc/1 | |||||
2018-02-09 | Introduce option 'validate_stream' | Evgeniy Khramtsov | 1 | -2/+4 | |
If set to `true`, all incoming XML packets are fully validated against known schemas. If an error occurs, the packet will be bounced with the corresponding error reason. The default value is `false`. The option might be useful to protect client software from sofisticated bugs related to XML validation as well as for client developers who want to catch validation errors at early stage of development. Note that the option might have slight performance impact, so use it with care on loaded machines. | |||||
2018-01-23 | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 1 | -9/+12 | |
The callback is supposed to provide known options and their default values, as long as the documentation. Passing default values into get_mod functions is now deprecated: all defaults should be provided by the Mod:mod_options/1 callback. | |||||
2018-01-05 | Update copyright dates | Evgeniy Khramtsov | 1 | -1/+1 | |
2017-12-02 | mod_offline: Always ignore groupchat messages | Holger Weiss | 1 | -1/+2 | |
2017-08-25 | Fix deletion of multiple offline messages using WebAdmin (#1962) | Badlop | 1 | -12/+15 | |
2017-06-30 | Fix invalid argument in get_messages_susbset17.06 | Paweł Chmielowski | 1 | -1/+1 | |
This should fix #1818 | |||||
2017-05-21 | Don't store messages via a single process | Evgeniy Khramtsov | 1 | -130/+65 | |
2017-05-04 | Introduce 'iqdisc' global option | Evgeniy Khramtsov | 1 | -2/+2 | |
2017-04-30 | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 1 | -11/+2 | |
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. | |||||
2017-04-25 | Include original 'id' and 'type' attributes in offline event | Evgeniy Khramtsov | 1 | -2/+2 | |
2017-04-25 | Make sure only jabber:x:event tag is present in offline event | Evgeniy Khramtsov | 1 | -2/+2 | |
2017-03-20 | Use new xdata compiler API | Evgeniy Khramtsov | 1 | -1/+1 | |
2017-02-26 | Get rid of jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 1 | -6/+6 | |
2017-02-25 | Don't pass empty resource to jid:make() | Evgeniy Khramtsov | 1 | -2/+2 | |
2017-02-24 | Don't pass 'from' and 'to' along with stanza in hooks' arguments | Evgeniy Khramtsov | 1 | -1/+1 | |
2017-02-23 | Include stanza ID with archived offline messages | Holger Weiss | 1 | -4/+4 | |
Fixes #1480. | |||||
2017-02-22 | Reload modules when reloading configuration file | Evgeniy Khramtsov | 1 | -2/+34 | |
2017-02-18 | Fix some dialyzer warnings | Evgeniy Khramtsov | 1 | -29/+24 | |
2017-02-16 | Change routing API | Evgeniy Khramtsov | 1 | -19/+18 | |
Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet} | |||||
2017-02-14 | Only use GEN_SERVER macro where appropriate | Evgeniy Khramtsov | 1 | -5/+1 | |
2017-02-14 | Attach modules to gen_mod's supervisor | Evgeniy Khramtsov | 1 | -18/+6 | |
2017-02-14 | Improve modules start/stop procedures | Evgeniy Khramtsov | 1 | -17/+1 | |
2017-01-23 | Avoid using maps:get/2 to keep compatibility with OTP 17.5 | Evgeniy Khramtsov | 1 | -3/+2 | |
2017-01-23 | Make test suite working again | Evgeniy Khramtsov | 1 | -0/+2 | |
2017-01-21 | Make a message is not bounced if it's archived | Evgeniy Khramtsov | 1 | -7/+7 | |
2017-01-18 | Improve <delay/> tag insertion | Evgeniy Khramtsov | 1 | -4/+6 | |
2017-01-17 | Avoid stopping mod_offline before supervisor termination (#1464) | Evgeniy Khramtsov | 1 | -1/+0 | |
2017-01-13 | Decode message before checking for expiration (#1458) | Evgeniy Khramtsov | 1 | -18/+20 | |
2017-01-13 | Implement database backend interface for MUC, BOSH and auth_anonyous | Evgeniy Khramtsov | 1 | -4/+0 | |
2017-01-09 | Adopt remaining code to support new hooks | Evgeniy Khramtsov | 1 | -45/+89 | |
2017-01-02 | Update copyright date automatically (#1442) | Badlop | 1 | -1/+1 | |
2016-12-28 | Add xmpp_stream_out behaviour and rewrite s2s/SM code | Evgeniy Khramtsov | 1 | -5/+5 | |
2016-12-11 | Initial version of new XMPP stream behaviour (for review) | Evgeniy Khramtsov | 1 | -36/+32 | |
2016-11-25 | Use ejabberd_router:route_error/4 wherever possible | Evgeniy Khramtsov | 1 | -3/+2 | |
2016-11-24 | Get rid of excessive (io)list_to_binary/1 calls | Evgeniy Khramtsov | 1 | -2/+2 | |
2016-11-23 | Don't use deprecated functions from jlib.erl | Evgeniy Khramtsov | 1 | -4/+4 | |
2016-11-22 | Improve ODBC import | Christophe Romain | 1 | -8/+31 | |
2016-11-18 | Make common tests working again | Evgeniy Khramtsov | 1 | -1/+2 | |
2016-11-13 | Deprecate most of the functions from jlib.erl | Evgeniy Khramtsov | 1 | -60/+91 | |
2016-11-08 | Add more tests for offline storage | Evgeniy Khramtsov | 1 | -40/+58 | |
2016-10-07 | Add xdata generator and make some code using it | Evgeniy Khramtsov | 1 | -7/+4 | |
2016-09-24 | Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1 | Evgeniy Khramtsov | 1 | -1/+1 | |
2016-09-24 | Improve namespace handling | Evgeniy Khramtsov | 1 | -2/+2 | |
2016-09-13 | Make common tests working again | Evgeniy Khramtsov | 1 | -1/+1 | |
2016-08-15 | mod_offline: Add 'store_offline_message' hook | Holger Weiss | 1 | -8/+16 | |
The new 'store_offline_message' hook is invoked whenever an offline message is stored. | |||||
2016-08-12 | Honor <store/> hint for any non-"error" message | Holger Weiss | 1 | -27/+28 | |
XEP-0334 says: "A message containing the <store/> hint that is not of type 'error' SHOULD be stored by the entity." | |||||
2016-08-12 | Add more type specs | Evgeniy Khramtsov | 1 | -0/+3 | |