summaryrefslogtreecommitdiff
path: root/src/mod_muc_log.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Use specific syntax so modules and top-level will be linksBadlop2021-08-231-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)Badlop2021-01-271-1/+1
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Fix crash when creating new MUC log file in non-ASCII lang (#3324)Badlop2020-07-101-1/+1
|
* Don't crash in mod_muc_log:get_url when mod_muc_log is not enabledPaweł Chmielowski2020-05-151-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)Badlop2020-01-281-1/+1
|
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-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)Badlop2019-12-161-5/+3
|
* Advertise muc#roominfo_logs in disco#info of the roomEvgeny Khramtsov2019-09-261-2/+18
| | | | | The commit adds new `url` option for mod_muc_log. Fixes #3040
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-44/+44
|
* Don't retain module option on gen_mod supervisorEvgeny Khramtsov2019-08-041-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_roomEvgeny Khramtsov2019-07-091-2/+3
|
* Improve formatting of exceptionsEvgeny Khramtsov2019-07-071-1/+1
|
* Make logging messages more consistentEvgeny Khramtsov2019-06-241-1/+1
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-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 validatorEvgeny Khramtsov2019-06-141-69/+55
|
* Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski2019-02-271-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)Badlop2019-01-081-1/+1
|
* Replace dict with mapsEvgeny Khramtsov2018-11-151-1/+1
| | | | This will improve performance and memory consumptions of large MUCs
* Support both filenames and URLs in 'cssfile' option of mod_muc_logEvgeniy Khramtsov2018-06-291-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 headerEvgeniy Khramtsov2018-06-141-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/banBadlop2018-04-021-7/+7
|
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-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 datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Get rid of forgotten debug messageEvgeniy Khramtsov2017-11-131-1/+0
|
* Properly store <subject/> elementEvgeniy Khramtsov2017-11-131-1/+1
| | | | Fixes #2099
* Don't include CSS, javascript and image data directly in the codeEvgeniy Khramtsov2017-10-091-257/+20
|
* Reuse some translation stringsEvgeniy Khramtsov2017-09-241-1/+1
|
* Add script to extract translation stringsEvgeniy Khramtsov2017-09-241-46/+45
|
* Replace gen_fsm with p1_fsm to avoid warnings in OTP20+Evgeniy Khramtsov2017-08-051-1/+1
|
* Deprecate misc:encode_base64/1 and misc:decode_base64/1Evgeniy Khramtsov2017-05-231-2/+2
|
* Check presence of some files during option validationEvgeniy Khramtsov2017-05-121-1/+1
|
* Improve validation of second-level optionsEvgeniy Khramtsov2017-05-051-6/+8
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-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 placesEvgeniy Khramtsov2017-04-281-10/+2
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-3/+3
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-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/1Evgeniy Khramtsov2017-02-261-3/+3
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-31/+41
|
* Attach modules to gen_mod's supervisorEvgeniy Khramtsov2017-02-141-15/+4
|
* Improve modules start/stop proceduresEvgeniy Khramtsov2017-02-141-2/+4
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-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_anonyousEvgeniy Khramtsov2017-01-131-8/+5
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Get rid of excessive (io)list_to_binary/1 callsEvgeniy Khramtsov2016-11-241-5/+5
|
* Merge branch 'master' into xml-ngEvgeniy Khramtsov2016-11-121-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 transientChristophe Romain2016-07-291-1/+1
| |
* | Rewrite mod_mam and mod_muc to use XML generatorEvgeniy Khramtsov2016-07-251-21/+15
|/
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+4
|