Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mod_irc to ejabberd-contrib | Evgeniy Khramtsov | 2018-06-20 | 1 | -1006/+0 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -4/+2 |
| | | | | | | | | | 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' option | Evgeniy Khramtsov | 2018-02-11 | 1 | -22/+9 |
| | | | | | | | | | | | | | | | | | 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 | -23/+30 |
| | | | | | | | 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 | -3/+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 |
| | |||||
* | Reuse some translation strings | Evgeniy Khramtsov | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Introduce 'hosts' option | Evgeniy Khramtsov | 2017-08-08 | 1 | -24/+38 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Introduce 'iqdisc' global option | Evgeniy Khramtsov | 2017-05-04 | 1 | -3/+3 |
| | |||||
* | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 2017-04-30 | 1 | -20/+8 |
| | | | | | | | | | | | | | | 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. | ||||
* | Get rid of jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 2017-02-26 | 1 | -2/+2 |
| | |||||
* | Improve startup procedure | Evgeniy Khramtsov | 2017-02-24 | 1 | -3/+3 |
| | |||||
* | Reload modules when reloading configuration file | Evgeniy Khramtsov | 2017-02-22 | 1 | -17/+64 |
| | |||||
* | Change routing API | Evgeniy Khramtsov | 2017-02-16 | 1 | -15/+16 |
| | | | | | | | | | | | 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 supervisor | Evgeniy Khramtsov | 2017-02-14 | 1 | -21/+4 |
| | |||||
* | Improve modules start/stop procedures | Evgeniy Khramtsov | 2017-02-14 | 1 | -2/+4 |
| | |||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Improve translation of some messages | Evgeniy Khramtsov | 2016-11-26 | 1 | -5/+3 |
| | |||||
* | Get rid of excessive (io)list_to_binary/1 calls | Evgeniy Khramtsov | 2016-11-24 | 1 | -48/+39 |
| | |||||
* | Move copyright definition to ejabberd.hrl | Evgeniy Khramtsov | 2016-11-23 | 1 | -2/+1 |
| | |||||
* | Merge branch 'master' into xml-ng | Evgeniy Khramtsov | 2016-11-12 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Switch workers from temporary to transient | Christophe Romain | 2016-07-29 | 1 | -1/+1 |
| | | |||||
* | | Rename #error{} record to #stanza_error{} | Evgeniy Khramtsov | 2016-09-08 | 1 | -1/+1 |
| | | |||||
* | | Improve some type specs | Evgeniy Khramtsov | 2016-08-09 | 1 | -4/+2 |
| | | |||||
* | | Change code to reflect recent changes in fxml_gen | Evgeniy Khramtsov | 2016-08-05 | 1 | -2/+2 |
| | | |||||
* | | Fix calls to undefined functions | Evgeniy Khramtsov | 2016-08-03 | 1 | -3/+3 |
| | | |||||
* | | Rewrite mod_irc to use XML generator | Evgeniy Khramtsov | 2016-08-03 | 1 | -764/+463 |
|/ | |||||
* | Make modules loading in a dependent order (#1191) | Evgeniy Khramtsov | 2016-07-06 | 1 | -1/+4 |
| | |||||
* | Use {access,shaper}_rules_validator in other places where access rules are used | Paweł Chmielowski | 2016-06-21 | 1 | -2/+2 |
| | |||||
* | Improve detection of databases supported by modules (#1092) | Evgeniy Khramtsov | 2016-04-27 | 1 | -1/+1 |
| | |||||
* | Clean mod_irc.erl from DB specific code | Evgeniy Khramtsov | 2016-04-14 | 1 | -150/+26 |
| | |||||
* | Replace more ?ERR_* macros with ?ERRT_* | Evgeniy Khramtsov | 2016-04-05 | 1 | -19/+36 |
| | |||||
* | Make it possible to get virtual host of a registered route | Evgeniy Khramtsov | 2016-03-13 | 1 | -1/+1 |
| | |||||
* | Switch to Fast XML module | Mickael Remond | 2016-02-03 | 1 | -10/+10 |
| | |||||
* | Move to new iconv package | Mickael Remond | 2016-02-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -2/+2 |
| | |||||
* | Adding WEBIRC, custom realname & ident, ISO-8859-15 (thanks to ↵ | Badlop | 2015-12-21 | 1 | -3/+43 |
| | | | | iwalkalone69)(#877) | ||||
* | Move JID related functions to jid.erl (#847) | Evgeniy Khramtsov | 2015-11-24 | 1 | -13/+13 |
| | |||||
* | cosmetic cleanup | Christophe Romain | 2015-10-07 | 1 | -2/+0 |
| | |||||
* | Add config validation at startup | Evgeniy Khramtsov | 2015-06-01 | 1 | -2/+11 |
| | |||||
* | Add new 'default_db' option | Evgeniy Khramtsov | 2015-03-30 | 1 | -1/+1 |
| | |||||
* | Update copyright dates to 2015 (EJAB-1733) | Badlop | 2015-01-08 | 1 | -2/+2 |
| | |||||
* | Serialize records to proplists before storing then in Riak | Evgeniy Khramtsov | 2014-07-14 | 1 | -3/+7 |
| | |||||
* | Add SQL to Riak converter | Evgeniy Khramtsov | 2014-07-10 | 1 | -0/+2 |
| | |||||
* | Improve Riak support | Evgeniy Khramtsov | 2014-07-10 | 1 | -0/+16 |
| | |||||
* | Fix previous commit | Evgeniy Khramtsov | 2014-06-09 | 1 | -1/+2 |
| | |||||
* | Don't stop irc table conversion on broken JIDs | Evgeniy Khramtsov | 2014-06-09 | 1 | -4/+10 |
| | |||||
* | Ignore malformed parameters for mod_irc module | Evgeniy Khramtsov | 2014-06-07 | 1 | -16/+26 |
| | |||||
* | Fix data convertion | Evgeniy Khramtsov | 2014-06-07 | 1 | -3/+8 |
| | |||||
* | Merge pull request #146 from jamielinux/master | badlop | 2014-04-11 | 1 | -4/+3 |
|\ | | | | | Update FSF address |