aboutsummaryrefslogtreecommitdiff
path: root/src/mod_pres_counter.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-09-03Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2020-01-08Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov1-2/+32
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).
2019-09-23Correctly handle unicode in log messagesEvgeny Khramtsov1-2/+2
2019-07-17Use econf:timeout() instead of econf:pos_int() wherever appropriateEvgeny Khramtsov1-3/+3
2019-06-14Use new configuration validatorEvgeny Khramtsov1-4/+4
2019-02-27Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski1-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.
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-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-01-31Fix compilation ordering in mix by s/-behavior/-behaviour/Paweł Chmielowski1-1/+1
2018-01-23Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov1-5/+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.
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-04-30Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov1-6/+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-11Rename aux.erl as misc.erl17.04Christophe Romain1-1/+1
Thanks Microsoft Windows to not support some filenames
2017-03-30Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov1-1/+1
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.
2017-02-26Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov1-2/+2
2017-02-22Reload modules when reloading configuration fileEvgeniy Khramtsov1-1/+4
2017-01-09Adopt remaining code to support new hooksEvgeniy Khramtsov1-8/+10
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-08-12Add more type specsEvgeniy Khramtsov1-0/+2
2016-07-29Rewrite several modules to use XML generatorEvgeniy Khramtsov1-22/+19
2016-07-07Get rid of warningsEvgeniy Khramtsov1-1/+4
2016-02-03Switch to Fast XML moduleMickael Remond1-1/+1
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-12-04Remove now() - part 1Paweł Chmielowski1-2/+1
2015-11-24Move JID related functions to jid.erl (#847)Evgeniy Khramtsov1-2/+2
2015-06-01Add config validation at startupEvgeniy Khramtsov1-1/+8
2015-01-08Update copyright dates to 2015 (EJAB-1733)Badlop1-1/+1
2014-03-13Update copyright dates to 2014 (EJAB-1679)Badlop1-1/+1
2014-02-22Update FSF addressJamie Nguyen1-4/+3
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-0/+1
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
2013-03-14Accumulated patch to binarize and indent codeBadlop1-81/+68
2013-01-24Update copyright datesAlexey Shchepin1-1/+1
2012-02-23Update copyright datesAlexey Shchepin1-1/+1
2011-02-14update copyright up to 2011Christophe Romain1-1/+1
2011-01-31mod_pres_counter prevents subscription flood (thanks to Ahmed Omar and ↵Badlop1-0/+134
Alexey Shchepin)(EJAB-1388)