summaryrefslogtreecommitdiff
path: root/src/mod_proxy65.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Use the same wording in all the identical options db_type and ram_db_typeBadlop2022-02-031-2/+2
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-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/+148
| | | | | | | 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).
* Don't retain module option on gen_mod supervisorEvgeny Khramtsov2019-08-041-7/+6
| | | | | | 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.
* Introduce 'vcard' option for the modules supporting vCardsEvgeny Khramtsov2019-08-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The mapping between vCard's XML elements and YAML elements of 'vcard' option is straightforward. For example, if you want mod_muc to return the following vCard: ``` <vCard xmlns='vcard-temp'> <FN>Conferences</FN> <ADR> <WORK/> <STREET>Elm Street</STREET> </ADR> </vCard> ``` you need to set the configuration as: ``` modules: ... mod_muc: vcard: fn: Conferences adr: - work: true street: Elm Street ... ```
* Get rid of "well-known" typeEvgeny Khramtsov2019-06-151-4/+4
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-37/+32
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Refactor ejabberd listener APIEvgeny Khramtsov2018-09-171-9/+1
|
* Better detection of duplicated routes/hostsEvgeniy Khramtsov2018-07-081-3/+2
|
* Remove 'iqdisc' optionEvgeniy Khramtsov2018-02-111-3/+0
| | | | | | | | | | | | | | | | | 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 new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-10/+26
| | | | | | | 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
|
* Introduce 'hosts' optionEvgeniy Khramtsov2017-08-081-1/+3
| | | | | | | | | | | | | | | The option can be used as a replacement of 'host' option when several (sub)domains are needed to be registered for the module. Note that you cannot combine both 'host' and 'hosts' in the config because 'host' option is of a higher priority. Example: mod_pubsub: ... hosts: - "pubsub1.@HOST@" - "pubsub2.@HOST@" Fixes #1883
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-15/+17
| | | | | | | | | | | | | | 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.
* Add gen_mod:is_loaded_elsewhere/2Evgeniy Khramtsov2017-02-241-1/+6
|
* Improve startup procedureEvgeniy Khramtsov2017-02-241-3/+3
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+6
|
* Check result of gen_mod:start/2 callback (#1534)Evgeniy Khramtsov2017-02-131-11/+9
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-6/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Implement database backend interface for mod_proxy65Evgeniy Khramtsov2017-01-161-6/+16
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Cosmetic validator changesChristophe Romain2016-11-151-4/+2
|
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+4
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Remove unused validation codeEvgeniy Khramtsov2015-06-031-1/+31
|
* Add config validation at startupEvgeniy Khramtsov2015-06-011-2/+3
|
* Document protocol support (EJABS-1620)Badlop2015-05-211-0/+2
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/
* Change configuration file format to YAMLEvgeniy Khramtsov2013-08-211-1/+4
|
* Switch to rebar build toolEvgeniy Khramtsov2013-06-131-0/+82
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