Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | Fix some type specs and errors13.12 | Evgeniy Khramtsov | 2013-12-10 | 1 | -1/+1 |
| | |||||
* | Change configuration file format to YAML | Evgeniy Khramtsov | 2013-08-21 | 1 | -4/+29 |
| | |||||
* | Switch to rebar build tool | Evgeniy Khramtsov | 2013-06-13 | 1 | -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 | ||||
* | Accumulated patch to binarize and indent code | Badlop | 2013-03-14 | 1 | -330/+353 |
| | |||||
* | Update copyright dates | Alexey Shchepin | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | Update copyright dates | Alexey Shchepin | 2012-02-23 | 1 | -1/+1 |
| | |||||
* | Use #roster record instead of direct tuple | Badlop | 2011-07-13 | 1 | -1/+2 |
| | |||||
* | update copyright up to 2011 | Christophe Romain | 2011-02-14 | 1 | -1/+1 |
| | |||||
* | full support for XEP-0115 v1.5 (EJAB-1223) (EJAB-1189) | Evgeniy Khramtsov | 2010-05-08 | 1 | -9/+21 |
| | |||||
* | Fixed Bugs handling Service Discovery to contacts. | Emilio Bustos | 2010-04-22 | 1 | -52/+82 |
| | | | | Resolves [#EJAB-1207] | ||||
* | Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159) | Badlop | 2010-01-12 | 1 | -1/+1 |
| | | | | SVN Revision: 2891 |