aboutsummaryrefslogtreecommitdiff
path: root/src/mod_s2s_dialback.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use old http_uri, crypto and pg2 only with old Erlang/OTP (#3284)Badlop2020-06-011-1/+1
|
* Fix potential message loss in terminating c2s sessionsPaweł Chmielowski2020-04-011-1/+2
| | | | | | | | | | Calling sync version of xmpp_stream_in/out:stop could lead to messages never being processed by c2s process if they were queued in p1_server. This could be reproduced by when having messages in offline storage, starting sessions, enabling stream_mgmt, sending initial presence, and then immediately </stream:stream>, messages that mod_offline would send process would not be bounced back by stream_mgmt.
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Do not use ~ts format in string that are put in xmpp payloadPaweł Chmielowski2020-01-221-2/+2
| | | | | We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later.
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-0/+35
| | | | | | | 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).
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-7/+7
|
* Use correct virtual hostEvgeny Khramtsov2019-07-031-3/+3
|
* Get rid of useless dialyzer instructionsEvgeny Khramtsov2019-07-011-2/+0
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-2/+3
| | | | | | | | | | | | | 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-38/+43
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Use error formatting functions from xmpp libraryEvgeniy Khramtsov2018-06-251-16/+1
|
* 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
* Replace ?MYLANG with connection's language wherever possibleEvgeniy Khramtsov2018-02-191-15/+16
|
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-2/+2
| | | | | | | 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 ejabberd receiverEvgeniy Khramtsov2017-12-261-4/+2
| | | | | | | | | | | | ejabberd receivers were meant to serve connections from frontends to backends. However, this approach was not popular and frontend related code was removed in previous releases. Now, ejabberd receiver's code was also removed, making the code shorter and cleaner. Also, in stress tests ejabberd now handles load more robustly, without c2s processes overload (even with disabled shapers). ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to be finally moved into stand-alone xmpp library.
* Improve code using new xmpp APIEvgeniy Khramtsov2017-12-061-3/+2
|
* Reflect changes in the xmpp libEvgeniy Khramtsov2017-10-131-4/+4
|
* Reuse some translation stringsEvgeniy Khramtsov2017-09-241-1/+1
|
* Don't validate an option in ejabberd_config:get_option() functionsEvgeniy Khramtsov2017-04-291-1/+1
| | | | | | | | | | | | | The commit introduces the following changes: * Now there is no need to pass validating function in ejabberd_config:get_option() functions, because the configuration keeps already validated values. * New function ejabberd_config:get_option/1 is introduced * Function ejabberd_config:get_option/3 is deprecated. If the function is still called, the second argument (validating function) is simply ignored. * The second argument for ejabberd_config:get_option/2 is now a default value, not a validating function.
* Rename aux.erl as misc.erl17.04Christophe Romain2017-04-111-2/+2
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-2/+2
| | | | | 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 p1_sha callsAlexey Shchepin2017-03-141-2/+2
|
* Improve logging of dialback failuresEvgeniy Khramtsov2017-02-281-5/+23
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+9
|
* Make test suite working againEvgeniy Khramtsov2017-01-231-5/+6
|
* Update copyright headers in new filesEvgeniy Khramtsov2017-01-201-1/+1
|
* Fix reporting dialback failuresEvgeniy Khramtsov2017-01-181-1/+1
|
* Adopt remaining code to support new hooksEvgeniy Khramtsov2017-01-091-3/+5
|
* Reflect cyrsasl API changes in remaining codeEvgeniy Khramtsov2016-12-311-1/+26
|
* More refactoring on session managementEvgeniy Khramtsov2016-12-301-17/+51
|
* Add xmpp_stream_out behaviour and rewrite s2s/SM codeEvgeniy Khramtsov2016-12-281-0/+273