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 | -7/+7 |
| | | | | | | 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 |
| | |||||
* | Revert "mod_roster language reworked" | Badlop | 2021-01-22 | 1 | -10/+10 |
| | | | | This reverts commit 72cf63c0a8160f01ef4171337f540cf710c8ee29. | ||||
* | mod_roster language reworked | Allan Nordhøy | 2021-01-16 | 1 | -10/+10 |
| | |||||
* | Don't do double utf-8 conversion on translated strings in str:format | Paweł Chmielowski | 2020-11-09 | 1 | -1/+1 |
| | | | | | | | This caused garbled text in some places in webadmin when using language that used characters > 128. Thanks to chengshq for noticing this and providing preliminary patch. | ||||
* | Make roster subscriptions work better with invalid roster state in db | Paweł Chmielowski | 2020-09-22 | 1 | -2/+51 |
| | | | | | | Sometimes we can observer combinations of subscription/ask that shouldn't happen normally, but can be generated with api calls, let's try to handle that gracefully instead of crashing. | ||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Mark dangerous buttons with CSS (#3363) | Badlop | 2020-08-24 | 1 | -3/+9 |
| | |||||
* | Update links to the ejabberd Docs page in WebAdmin | Badlop | 2020-04-14 | 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/+66 |
| | | | | | | | 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). | ||||
* | Support custom base path in WebAdmin by using relative URLs (#3043) | Badlop | 2019-10-02 | 1 | -1/+1 |
| | |||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -1/+1 |
| | |||||
* | Fix some links to Guide in WebAdmin and add new ones (#3003) | Badlop | 2019-08-27 | 1 | -2/+2 |
| | |||||
* | Improve type specs of mod_roster | Evgeny Khramtsov | 2019-07-09 | 1 | -47/+71 |
| | |||||
* | Improve formatting of exceptions | Evgeny Khramtsov | 2019-07-07 | 1 | -53/+46 |
| | |||||
* | Use correct stacktrace in logging macros | Evgeny Khramtsov | 2019-06-26 | 1 | -1/+2 |
| | | | | | | | By calling erlang:get_stacktrace() inside a lager function we obtain actually a stacktrace of the lager function, not the one we got during exception. This is not a problem for newest Erlang versions though. | ||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 1 | -21/+22 |
| | | | | | | | | | | | | | 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")). | ||||
* | Get rid of "well-known" type | Evgeny Khramtsov | 2019-06-15 | 1 | -9/+6 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -27/+29 |
| | |||||
* | Fix last commit | Paweł Chmielowski | 2019-05-24 | 1 | -5/+6 |
| | |||||
* | Make mod_admin_extra add/delete_rosteritem reuse code from mod_roster | Paweł Chmielowski | 2019-05-24 | 1 | -20/+29 |
| | |||||
* | Preliminary support for SQL in process_rosteritems, and move code (#2448) | Badlop | 2019-05-15 | 1 | -0/+6 |
| | |||||
* | cache_size not applied to mod_roster on reload_config (#2769) | Badlop | 2019-04-02 | 1 | -1/+2 |
| | |||||
* | Replace code using p1_time_compat wrapper with native functions | Paweł Chmielowski | 2019-02-27 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Handle versioning result when shared roster group has remote account (#2692) | Badlop | 2019-02-06 | 1 | -1/+2 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Add code for handling deprecations of get_stacktrace() | Paweł Chmielowski | 2018-12-13 | 1 | -7/+3 |
| | |||||
* | mod_roster: Don't set version to "not_found" | Holger Weiss | 2018-12-10 | 1 | -1/+1 |
| | | | | | Don't include a "ver" attribute with roster pushes if no roster version is available. | ||||
* | When unknown roster version, return an acceptable version ID binary (#2709) | Badlop | 2018-12-10 | 1 | -1/+1 |
| | |||||
* | Revert "Let deliver unsubscribe stanza when no roster push is required (#2598)" | Badlop | 2018-12-05 | 1 | -2/+0 |
| | | | | This reverts commit 86048f8a25ea820113a35350936b59ea9083c59f. | ||||
* | Let deliver unsubscribe stanza when no roster push is required (#2598) | Badlop | 2018-12-05 | 1 | -0/+2 |
| | |||||
* | Get stacktrace out of lager context | Evgeniy Khramtsov | 2018-09-01 | 1 | -1/+2 |
| | | | | | Calling erlang:get_stacktrace() inside lager functions produces stacktraces of the logging function itself, not the function which has failed. | ||||
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Avoid code duplication when checking presence subscription | Evgeniy Khramtsov | 2018-06-28 | 1 | -1/+18 |
| | |||||
* | 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 | ||||
* | mod_roster: Use 'lserver' for configuration lookup | Holger Weiss | 2018-04-13 | 1 | -3/+3 |
| | |||||
* | Apply some dirty hacks for mod_shared_roster | Evgeniy Khramtsov | 2018-03-19 | 1 | -33/+22 |
| | | | | Probably this fixes #1846 | ||||
* | Add 'new_sql_schema' config option, --enable-new-sql-schema now sets its ↵ | Alexey Shchepin | 2018-03-15 | 1 | -6/+6 |
| | | | | default value to true (#2239) | ||||
* | Remove 'iqdisc' option | Evgeniy Khramtsov | 2018-02-11 | 1 | -11/+1 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Find and fix typos using 'codespell' | Evgeniy Khramtsov | 2018-01-27 | 1 | -2/+2 |
| | |||||
* | Introduce option 'captcha' for mod_block_strangers | Evgeniy Khramtsov | 2018-01-26 | 1 | -24/+34 |
| | | | | | | | | | | When the option is set to `true`, the module will generate CAPTCHA challenges for incoming subscription requests. The option also implies that option `drop` is set to `true`. Note that the module won't generate CAPTCHA challenges for messages: they will still be rejected if `drop` is set to `true`. Fixes #2246 | ||||
* | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -26/+26 |
| | | | | | | | 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 |
| | |||||
* | Use bare jid when processing roster subscriptions | Paweł Chmielowski | 2017-12-27 | 1 | -1/+1 |
| | |||||
* | Add SQL_INSERT macro and update SQL queries to use server_host field | Alexey Shchepin | 2017-11-02 | 1 | -1/+7 |
| | |||||
* | Reuse some translation strings | Evgeniy Khramtsov | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Fix warning in previous commit | Badlop | 2017-08-04 | 1 | -1/+1 |
| |