summaryrefslogtreecommitdiff
path: root/src/mod_roster.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-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)Badlop2021-01-271-1/+1
|
* Revert "mod_roster language reworked"Badlop2021-01-221-10/+10
| | | | This reverts commit 72cf63c0a8160f01ef4171337f540cf710c8ee29.
* mod_roster language reworkedAllan Nordhøy2021-01-161-10/+10
|
* Don't do double utf-8 conversion on translated strings in str:formatPaweł Chmielowski2020-11-091-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 dbPaweł Chmielowski2020-09-221-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 Tomlinson2020-09-031-1/+1
|
* Mark dangerous buttons with CSS (#3363)Badlop2020-08-241-3/+9
|
* Update links to the ejabberd Docs page in WebAdminBadlop2020-04-141-1/+1
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-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)Badlop2019-10-021-1/+1
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Fix some links to Guide in WebAdmin and add new ones (#3003)Badlop2019-08-271-2/+2
|
* Improve type specs of mod_rosterEvgeny Khramtsov2019-07-091-47/+71
|
* Improve formatting of exceptionsEvgeny Khramtsov2019-07-071-53/+46
|
* Use correct stacktrace in logging macrosEvgeny Khramtsov2019-06-261-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 consistentEvgeny Khramtsov2019-06-241-2/+2
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-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" typeEvgeny Khramtsov2019-06-151-9/+6
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-27/+29
|
* Fix last commitPaweł Chmielowski2019-05-241-5/+6
|
* Make mod_admin_extra add/delete_rosteritem reuse code from mod_rosterPaweł Chmielowski2019-05-241-20/+29
|
* Preliminary support for SQL in process_rosteritems, and move code (#2448)Badlop2019-05-151-0/+6
|
* cache_size not applied to mod_roster on reload_config (#2769)Badlop2019-04-021-1/+2
|
* Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski2019-02-271-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)Badlop2019-02-061-1/+2
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Add code for handling deprecations of get_stacktrace()Paweł Chmielowski2018-12-131-7/+3
|
* mod_roster: Don't set version to "not_found"Holger Weiss2018-12-101-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)Badlop2018-12-101-1/+1
|
* Revert "Let deliver unsubscribe stanza when no roster push is required (#2598)"Badlop2018-12-051-2/+0
| | | | This reverts commit 86048f8a25ea820113a35350936b59ea9083c59f.
* Let deliver unsubscribe stanza when no roster push is required (#2598)Badlop2018-12-051-0/+2
|
* Get stacktrace out of lager contextEvgeniy Khramtsov2018-09-011-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 repoEvgeniy Khramtsov2018-07-051-2/+2
|
* Avoid code duplication when checking presence subscriptionEvgeniy Khramtsov2018-06-281-1/+18
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-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 lookupHolger Weiss2018-04-131-3/+3
|
* Apply some dirty hacks for mod_shared_rosterEvgeniy Khramtsov2018-03-191-33/+22
| | | | Probably this fixes #1846
* Add 'new_sql_schema' config option, --enable-new-sql-schema now sets its ↵Alexey Shchepin2018-03-151-6/+6
| | | | default value to true (#2239)
* Remove 'iqdisc' optionEvgeniy Khramtsov2018-02-111-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 Khramtsov2018-01-271-2/+2
|
* Introduce option 'captcha' for mod_block_strangersEvgeniy Khramtsov2018-01-261-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/1Evgeniy Khramtsov2018-01-231-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 datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Use bare jid when processing roster subscriptionsPaweł Chmielowski2017-12-271-1/+1
|
* Add SQL_INSERT macro and update SQL queries to use server_host fieldAlexey Shchepin2017-11-021-1/+7
|
* Reuse some translation stringsEvgeniy Khramtsov2017-09-241-1/+1
|
* Fix warning in previous commitBadlop2017-08-041-1/+1
|