Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix regression on stop_ping in clustering context (thanks to fdie)(#3817) | Badlop | 2022-05-23 | 1 | -1/+1 |
| | |||||
* | Delete ping timer if resource is gone after the ping has been sent | Jérôme Sautret | 2022-04-28 | 1 | -0/+8 |
| | |||||
* | Don't send ping if resource is gone | Jérôme Sautret | 2022-04-26 | 1 | -29/+37 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Update documentation to match the implemented options values (#3675) | Badlop | 2021-09-14 | 1 | -1/+1 |
| | |||||
* | Send ping from server, not bare user JID (#3658) | Badlop | 2021-08-27 | 1 | -1/+1 |
| | |||||
* | Use specific syntax so modules and top-level will be links | Badlop | 2021-08-23 | 1 | -2/+2 |
| | | | | | | If we use _`whatever`_ here in ejabberd man pages, it is converted to *`whatever`* in markdown, and docs.ejabberd.im/Makefile converts to the proper links | ||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | If new session Pid exists when sm_remove is called, then keep Ping (#3260) | Badlop | 2020-05-11 | 1 | -1/+8 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Generate ejabberd.yml.5 man page from source code directly | Evgeny Khramtsov | 2020-01-08 | 1 | -1/+54 |
| | | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package). | ||||
* | Fix the regression introduced in dd57950 | Evgeny Khramtsov | 2019-09-04 | 1 | -2/+0 |
| | | | | Fixes #3010 | ||||
* | Don't retain module option on gen_mod supervisor | Evgeny Khramtsov | 2019-08-04 | 1 | -1/+2 |
| | | | | | | When module's options were updated (e.g. by reloading ejabberd.yml) and, later, the module's process crashed, gen_mod supervisor restarts the process with outdated options. This is now fixed. | ||||
* | Use econf:timeout() instead of econf:pos_int() wherever appropriate | Evgeny Khramtsov | 2019-07-17 | 1 | -6/+5 |
| | |||||
* | Process unexpected messages uniformly | Evgeny Khramtsov | 2019-07-12 | 1 | -3/+6 |
| | |||||
* | Avoid using broad map() type wherever possible | Evgeny Khramtsov | 2019-06-27 | 1 | -6/+8 |
| | |||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -1/+1 |
| | |||||
* | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 1 | -1/+3 |
| | | | | | | | | | | | | | 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")). | ||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -12/+8 |
| | |||||
* | Delete the ping timer only when timeout_action=kill (#2820) | Badlop | 2019-03-13 | 1 | -4/+5 |
| | |||||
* | Fix ping IQ reply/timeout processing ("mod_ping" regression since 17.x that ↵ | Frank Diebolt | 2019-01-29 | 1 | -20/+21 |
| | | | | may cause resources leakage) | ||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Don't stop sending pings when receiving timeout for timeout_action=none | Paweł Chmielowski | 2018-09-04 | 1 | -13/+14 |
| | |||||
* | Move cancel_timer/1 function into 'misc' module | Holger Weiss | 2018-07-17 | 1 | -10/+2 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 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 | ||||
* | Remove 'iqdisc' option | Evgeniy Khramtsov | 2018-02-11 | 1 | -14/+7 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Fix compilation ordering in mix by s/-behavior/-behaviour/ | Paweł Chmielowski | 2018-01-31 | 1 | -2/+2 |
| | |||||
* | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -19/+22 |
| | | | | | | | 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. | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Use new API for IQ routing | Evgeniy Khramtsov | 2017-11-10 | 1 | -8/+7 |
| | | | | | Functions ejabberd_local:route_iq/2,3 are now depecated: ejabberd_router:route_iq/2,3,4 should be used instead. | ||||
* | Introduce 'iqdisc' global option | Evgeniy Khramtsov | 2017-05-04 | 1 | -2/+2 |
| | |||||
* | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 2017-04-30 | 1 | -19/+7 |
| | | | | | | | | | | | | | | 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. | ||||
* | Improve ejabberd_c2s:close() | Evgeniy Khramtsov | 2017-04-15 | 1 | -1/+1 |
| | |||||
* | Don't log warning on successful ping reply | Evgeniy Khramtsov | 2017-04-04 | 1 | -0/+2 |
| | |||||
* | Fix c2s connection close on demand | Evgeniy Khramtsov | 2017-04-04 | 1 | -1/+1 |
| | | | | Fixes #1652 | ||||
* | Remove unused macro | Evgeniy Khramtsov | 2017-02-22 | 1 | -2/+0 |
| | |||||
* | Reload modules when reloading configuration file | Evgeniy Khramtsov | 2017-02-22 | 1 | -44/+78 |
| | |||||
* | Change routing API | Evgeniy Khramtsov | 2017-02-16 | 1 | -3/+3 |
| | | | | | | | | | | | 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} | ||||
* | Attach modules to gen_mod's supervisor | Evgeniy Khramtsov | 2017-02-14 | 1 | -14/+3 |
| | |||||
* | Improve modules start/stop procedures | Evgeniy Khramtsov | 2017-02-14 | 1 | -2/+4 |
| | |||||
* | Make mod_disco handle features of mod_ping | Evgeniy Khramtsov | 2017-01-23 | 1 | -16/+1 |
| | |||||
* | Merge branch 'new_stream' | Evgeniy Khramtsov | 2017-01-20 | 1 | -8/+21 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl | ||||
| * | Adopt remaining code to support new hooks | Evgeniy Khramtsov | 2017-01-09 | 1 | -8/+21 |
| | | |||||
* | | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
|/ | |||||
* | Improve some type specs | Evgeniy Khramtsov | 2016-08-09 | 1 | -2/+2 |
| | |||||
* | Initial version based on XML generator | Evgeniy Khramtsov | 2016-07-18 | 1 | -17/+18 |
| | |||||
* | Get rid of warnings | Evgeniy Khramtsov | 2016-07-07 | 1 | -1/+4 |
| | |||||
* | Merge pull request #931 from cclam0827/dev/mod_ping | badlop | 2016-04-22 | 1 | -11/+11 |
|\ | | | | | change mod_ping Timers using maps instead of dict | ||||
| * | change mod_ping Timers using maps instead of dict | Richard | 2016-01-29 | 1 | -11/+11 |
| | |