aboutsummaryrefslogtreecommitdiff
path: root/src/mod_delegation.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add details about XEP implementations to some protocol attributesBadlop2022-11-071-1/+1
|
* Add some missing RFCs and remove problematic leading 0 in xep versionsBadlop2022-11-041-1/+1
|
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Use specific syntax so modules and top-level will be linksBadlop2021-08-231-1/+1
| | | | | | 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)Badlop2021-01-271-1/+1
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Copy more option explanations from ejabberd Docs siteBadlop2020-04-081-3/+12
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-0/+46
| | | | | | | 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-8/+8
|
* Don't retain module option on gen_mod supervisorEvgeny Khramtsov2019-08-041-1/+1
| | | | | | 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.
* Improve hooks validator and fix bugs related to hooks registrationEvgeny Khramtsov2019-07-291-2/+9
|
* Add/improve type specsEvgeny Khramtsov2019-07-101-14/+11
|
* Use ets and maps instead of dictEvgeny Khramtsov2019-07-081-52/+58
|
* Make logging messages more consistentEvgeny Khramtsov2019-06-241-2/+2
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-3/+4
| | | | | | | | | | | | | 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")).
* Make option 'validate_stream' globalEvgeny Khramtsov2019-06-211-1/+1
|
* Bump supported version of XEP-0355Evgeny Khramtsov2019-06-171-1/+1
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-13/+21
|
* Debug log to help troubleshoot delegation ACLsMickaël Rémond2019-06-111-0/+1
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Do not check for deprecated typesEvgeniy Khramtsov2018-06-141-3/+2
| | | | | Since we support only Erlang >= OTP-17.5, the check for old-style dict/queue/etc types is no longer needed
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-3/+3
| | | | | | | | | 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' optionEvgeniy Khramtsov2018-02-111-5/+3
| | | | | | | | | | | | | | | | | 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
* Introduce option 'validate_stream'Evgeniy Khramtsov2018-02-091-1/+2
| | | | | | | | | | | | 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.
* Switch to newer fast_xml and xmpp and update record fields in the codeEvgeniy Khramtsov2018-01-251-2/+2
|
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-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.
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Use new API for IQ routingEvgeniy Khramtsov2017-11-101-39/+48
| | | | | Functions ejabberd_local:route_iq/2,3 are now depecated: ejabberd_router:route_iq/2,3,4 should be used instead.
* Introduce 'iqdisc' global optionEvgeniy Khramtsov2017-05-041-1/+1
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-13/+10
| | | | | | | | | | | | | | 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.
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+4
|
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-161-2/+1
|
* Change routing APIEvgeniy Khramtsov2017-02-161-9/+8
| | | | | | | | | | | 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 supervisorEvgeniy Khramtsov2017-02-141-13/+2
|
* Improve modules start/stop proceduresEvgeniy Khramtsov2017-02-141-2/+4
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Fix non-empty disco-nodes processingEvgeniy Khramtsov2016-11-211-1/+3
|
* Fix IQ result processingEvgeniy Khramtsov2016-11-131-4/+12
|
* Add some copyright noticesEvgeniy Khramtsov2016-11-131-5/+24
|
* Add more control for decoding IQ payloadsEvgeniy Khramtsov2016-11-131-1/+7
|
* Don't auto-decode forwarded payloadEvgeniy Khramtsov2016-11-131-9/+11
|
* Merge branch 'master' into xml-ngEvgeniy Khramtsov2016-11-121-520/+307
| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/adhoc.erl src/cyrsasl_oauth.erl src/ejabberd_c2s.erl src/ejabberd_config.erl src/ejabberd_service.erl src/gen_mod.erl src/mod_admin_extra.erl src/mod_announce.erl src/mod_carboncopy.erl src/mod_client_state.erl src/mod_configure.erl src/mod_echo.erl src/mod_mam.erl src/mod_muc.erl src/mod_muc_room.erl src/mod_offline.erl src/mod_pubsub.erl src/mod_stats.erl src/node_flat_sql.erl src/randoms.erl
* Merge pull request #1253 from Amuhar/xep0356Christophe Romain2016-09-071-0/+538