summaryrefslogtreecommitdiff
path: root/src/mod_metrics.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Allow for filtering outgoing s2s stanzas (#3381)Holger Weiß2020-09-071-2/+3
| | | | Let 's2s_send_packet' hook callbacks filter stanzas, analogous to the 's2s_receive_packet' hook.
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-1/+31
| | | | | | | 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).
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Make logging messages more consistentEvgeny Khramtsov2019-06-241-1/+1
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-11/+12
|
* Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski2019-02-271-1/+1
| | | | | | | Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent.
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-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
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-6/+7
| | | | | | | 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 datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Fix IP address parsing for mod_metricsEvgeniy Khramtsov2017-06-131-1/+2
|
* Don't leak with UDP socketsEvgeniy Khramtsov2017-05-221-4/+6
|
* Improve mod_metricsEvgeniy Khramtsov2017-05-211-14/+40
| | | | | | | * Do not spawn a process per event * Avoid UDP socket creation on every event * Get rid of calls to str.erl module * Add options 'ip' and 'port'
* Add type specs for Module:opt_type/1Evgeniy Khramtsov2017-05-081-5/+1
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-3/+3
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-3/+3
| | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
* Include stanza ID with archived offline messagesHolger Weiss2017-02-231-3/+3
| | | | Fixes #1480.
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+4
|
* Change routing APIEvgeniy Khramtsov2017-02-161-6/+7
| | | | | | | | | | | 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}
* Make a message is not bounced if it's archivedEvgeniy Khramtsov2017-01-211-4/+5
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-11/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 hooksEvgeniy Khramtsov2017-01-091-11/+15
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Add more type specsEvgeniy Khramtsov2016-08-121-0/+3
|
* Improve some type specsEvgeniy Khramtsov2016-08-091-12/+29
|
* Rewrite several modules to use XML generatorEvgeniy Khramtsov2016-07-291-1/+1
|
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+5
|
* Don't forget to import mod_opt_type/1 in mod_metricsEvgeniy Khramtsov2016-05-021-1/+4
|
* Define opt_type required be ejabberd_config behaviour.Paweł Chmielowski2016-03-041-1/+4
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-2/+2
|
* Add simple metrics module for use with grapherlChristophe Romain2015-10-221-0/+125