Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Fix syntax in mod_disco example configuration | Badlop | 2021-08-23 | 1 | -2/+2 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Refer to the XEP for standard names (processone/docs.ejabberd.im#97) | Badlop | 2020-09-11 | 1 | -1/+2 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | 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/+69 |
| | | | | | | | 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). | ||||
* | Add type specs for mod_adhoc | Evgeny Khramtsov | 2019-07-09 | 1 | -0/+1 |
| | |||||
* | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 1 | -10/+10 |
| | | | | | | | | | | | | | 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 | -48/+37 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Replace hardcoded disco features with macros | Evgeniy Khramtsov | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | Avoid code duplication when checking presence subscription | Evgeniy Khramtsov | 2018-06-28 | 1 | -18/+3 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -2/+1 |
| | | | | | | | | | 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 | ||||
* | Advertise disco#info and disco#items features in mod_disco | Evgeniy Khramtsov | 2018-06-13 | 1 | -3/+9 |
| | | | | Fixes #2470 | ||||
* | Use 'list-multi' type for XEP-0157 xdata fields | Evgeniy Khramtsov | 2018-05-29 | 1 | -1/+3 |
| | | | | Thanks to Jonas Wielicki for spotting this | ||||
* | Remove 'iqdisc' option | Evgeniy Khramtsov | 2018-02-11 | 1 | -27/+5 |
| | | | | | | | | | | | | | | | | | 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/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -9/+15 |
| | | | | | | | 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. | ||||
* | Process 'name' option for all route-registering modules | Evgeniy Khramtsov | 2018-01-08 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | The option allows to set arbitrary text for disco#info identity name. Previously, option 'name' was supported by mod_proxy65 and mod_http_upload only. Now, all the following modules support this option as well: - mod_disco - mod_irc - mod_muc - mod_multicast - mod_pubsub - mod_vcard Example: ``` modules: ... mod_disco: name: "Cool XMPP Server" ... ``` | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Rename is_user_exists -> user_exists | Evgeniy Khramtsov | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | 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 | -24/+5 |
| | | | | | | | | | | | | | | 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 file | Evgeniy Khramtsov | 2017-02-22 | 1 | -1/+42 |
| | |||||
* | Make test suite working again | Evgeniy Khramtsov | 2017-01-23 | 1 | -3/+6 |
| | |||||
* | Merge branch 'new_stream' | Evgeniy Khramtsov | 2017-01-20 | 1 | -51/+14 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ejabberd_router | Evgeniy Khramtsov | 2017-01-11 | 1 | -1/+1 |
| | | |||||
| * | Don't forget to advertise disco features | Evgeniy Khramtsov | 2017-01-10 | 1 | -1/+2 |
| | | |||||
| * | Adopt remaining code to support new hooks | Evgeniy Khramtsov | 2017-01-09 | 1 | -50/+12 |
| | | |||||
* | | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
|/ | |||||
* | Rename #error{} record to #stanza_error{} | Evgeniy Khramtsov | 2016-09-08 | 1 | -8/+8 |
| | |||||
* | Improve some type specs | Evgeniy Khramtsov | 2016-08-09 | 1 | -2/+3 |
| | |||||
* | Change code to reflect recent changes in fxml_gen | Evgeniy Khramtsov | 2016-08-05 | 1 | -18/+12 |
| | |||||
* | Rewrite mod_mam and mod_muc to use XML generator | Evgeniy Khramtsov | 2016-07-25 | 1 | -2/+2 |
| | |||||
* | Initial version based on XML generator | Evgeniy Khramtsov | 2016-07-18 | 1 | -235/+168 |
| | |||||
* | Make modules loading in a dependent order (#1191) | Evgeniy Khramtsov | 2016-07-06 | 1 | -1/+4 |
| | |||||
* | Replace more ?ERR_* macros with ?ERRT_* | Evgeniy Khramtsov | 2016-04-05 | 1 | -14/+26 |
| | |||||
* | XEP-0013: Flexible Offline Message Retrieval support | Evgeniy Khramtsov | 2016-02-09 | 1 | -1/+3 |
| | |||||
* | Switch to Fast XML module | Mickael Remond | 2016-02-03 | 1 | -4/+4 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Add config validation at startup | Evgeniy Khramtsov | 2015-06-01 | 1 | -1/+16 |
| | |||||
* | Document protocol support (EJABS-1620) | Badlop | 2015-05-21 | 1 | -0/+3 |
| | |||||
* | mod_disco: Apply minor readability improvements | Holger Weiss | 2015-04-26 | 1 | -13/+11 |
| | |||||
* | mod_disco: Omit 'roster_get' call if possible | Holger Weiss | 2015-04-26 | 1 | -2/+4 |
| | | | | | | As a small optimization, avoid running the 'roster_get' hook in the (common) case where a client requests service discovery information for its own bare JID. | ||||
* | Fix service disco handling for bare account JIDs | Holger Weiss | 2015-04-26 | 1 | -3/+3 |
| | | | | | | Don't swap the sending and receiving JIDs while checking whether the client that requested service discovery information for a bare account JID is a subscribed contact. | ||||
* | Update copyright dates to 2015 (EJAB-1733) | Badlop | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #146 from jamielinux/master | badlop | 2014-04-11 | 1 | -4/+3 |
|\ | | | | | Update FSF address | ||||
| * | Update FSF address | Jamie Nguyen | 2014-02-22 | 1 | -4/+3 |
| | | |||||
* | | Fix service_info options processing | Evgeniy Khramtsov | 2014-03-25 | 1 | -2/+2 |
| | | |||||
* | | Update copyright dates to 2014 (EJAB-1679) | Badlop | 2014-03-13 | 1 | -1/+1 |
|/ |