Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Use specific syntax so modules and top-level will be links | Badlop | 2021-08-23 | 1 | -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) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Fix crash when creating new MUC log file in non-ASCII lang (#3324) | Badlop | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | Don't crash in mod_muc_log:get_url when mod_muc_log is not enabled | Paweł Chmielowski | 2020-05-15 | 1 | -1/+4 |
| | | | | | Disco on room can call this function even when logger is not enabled, but this room option was enabled previously when logger was active. | ||||
* | 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/+122 |
| | | | | | | | 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). | ||||
* | Fix mod_muc_log skipping non-Latin messages (thanks to Yandrey)(#3115) | Badlop | 2019-12-16 | 1 | -5/+3 |
| | |||||
* | Advertise muc#roominfo_logs in disco#info of the room | Evgeny Khramtsov | 2019-09-26 | 1 | -2/+18 |
| | | | | | The commit adds new `url` option for mod_muc_log. Fixes #3040 | ||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -44/+44 |
| | |||||
* | Don't retain module option on gen_mod supervisor | Evgeny Khramtsov | 2019-08-04 | 1 | -1/+2 |
| | | | | | | 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. | ||||
* | Don't expose internal FSM API of mod_muc_room | Evgeny Khramtsov | 2019-07-09 | 1 | -2/+3 |
| | |||||
* | Improve formatting of exceptions | Evgeny Khramtsov | 2019-07-07 | 1 | -1/+1 |
| | |||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -1/+1 |
| | |||||
* | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 1 | -68/+70 |
| | | | | | | | | | | | | | 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 | -69/+55 |
| | |||||
* | Replace code using p1_time_compat wrapper with native functions | Paweł Chmielowski | 2019-02-27 | 1 | -3/+3 |
| | | | | | | | Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent. | ||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Replace dict with maps | Evgeny Khramtsov | 2018-11-15 | 1 | -1/+1 |
| | | | | This will improve performance and memory consumptions of large MUCs | ||||
* | Support both filenames and URLs in 'cssfile' option of mod_muc_log | Evgeniy Khramtsov | 2018-06-29 | 1 | -7/+11 |
| | | | | | If filename is provided, its content is inserted into the HTML page. If URL is provided, it's used as a value of 'href' HTML attribute. | ||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -1/+0 |
| | | | | | | | | | 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 | ||||
* | Fix Code format when logging a MUC room kick/ban | Badlop | 2018-04-02 | 1 | -7/+7 |
| | |||||
* | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -17/+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. | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Get rid of forgotten debug message | Evgeniy Khramtsov | 2017-11-13 | 1 | -1/+0 |
| | |||||
* | Properly store <subject/> element | Evgeniy Khramtsov | 2017-11-13 | 1 | -1/+1 |
| | | | | Fixes #2099 | ||||
* | Don't include CSS, javascript and image data directly in the code | Evgeniy Khramtsov | 2017-10-09 | 1 | -257/+20 |
| | |||||
* | Reuse some translation strings | Evgeniy Khramtsov | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Add script to extract translation strings | Evgeniy Khramtsov | 2017-09-24 | 1 | -46/+45 |
| | |||||
* | Replace gen_fsm with p1_fsm to avoid warnings in OTP20+ | Evgeniy Khramtsov | 2017-08-05 | 1 | -1/+1 |
| | |||||
* | Deprecate misc:encode_base64/1 and misc:decode_base64/1 | Evgeniy Khramtsov | 2017-05-23 | 1 | -2/+2 |
| | |||||
* | Check presence of some files during option validation | Evgeniy Khramtsov | 2017-05-12 | 1 | -1/+1 |
| | |||||
* | Improve validation of second-level options | Evgeniy Khramtsov | 2017-05-05 | 1 | -6/+8 |
| | |||||
* | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 2017-04-30 | 1 | -43/+11 |
| | | | | | | | | | | | | | | 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. | ||||
* | Don't re-define validation functions in multiple places | Evgeniy Khramtsov | 2017-04-28 | 1 | -10/+2 |
| | |||||
* | Rename aux.erl as misc.erl | Christophe Romain | 2017-04-11 | 1 | -3/+3 |
| | | | | Thanks Microsoft Windows to not support some filenames | ||||
* | Deprecate jlib.erl in favor of aux.erl | Evgeniy Khramtsov | 2017-03-30 | 1 | -3/+3 |
| | | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated. | ||||
* | Get rid of jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 2017-02-26 | 1 | -3/+3 |
| | |||||
* | Reload modules when reloading configuration file | Evgeniy Khramtsov | 2017-02-22 | 1 | -31/+41 |
| | |||||
* | Attach modules to gen_mod's supervisor | Evgeniy Khramtsov | 2017-02-14 | 1 | -15/+4 |
| | |||||
* | Improve modules start/stop procedures | Evgeniy Khramtsov | 2017-02-14 | 1 | -2/+4 |
| | |||||
* | Merge branch 'new_stream' | Evgeniy Khramtsov | 2017-01-20 | 1 | -7/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 MUC, BOSH and auth_anonyous | Evgeniy Khramtsov | 2017-01-13 | 1 | -8/+5 |
| | | |||||
* | | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
|/ | |||||
* | Get rid of excessive (io)list_to_binary/1 calls | Evgeniy Khramtsov | 2016-11-24 | 1 | -5/+5 |
| | |||||
* | 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 |
| | | |||||
* | | Rewrite mod_mam and mod_muc to use XML generator | Evgeniy Khramtsov | 2016-07-25 | 1 | -21/+15 |
|/ | |||||
* | Make modules loading in a dependent order (#1191) | Evgeniy Khramtsov | 2016-07-06 | 1 | -1/+4 |
| |