aboutsummaryrefslogtreecommitdiff
path: root/src/gen_iq_handler.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* 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
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Improve formatting of exceptionsEvgeny Khramtsov2019-07-071-3/+4
|
* 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-1/+1
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-2/+2
| | | | | | | | | | | | | 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-23/+1
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Add code for handling deprecations of get_stacktrace()Paweł Chmielowski2018-12-131-3/+3
|
* Fix some dialyzer warningsEvgeny Khramtsov2018-09-091-2/+1
|
* 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.
* Update ejabberd.potEvgeniy Khramtsov2018-06-201-2/+3
|
* Improve type specEvgeniy Khramtsov2018-06-141-1/+1
|
* Get rid of all calls to jlib.erl moduleEvgeniy Khramtsov2018-06-141-25/+5
|
* 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
* Reduce IQ handler code copyingEvgeniy Khramtsov2018-05-091-11/+59
|
* Remove 'iqdisc' optionEvgeniy Khramtsov2018-02-111-118/+26
| | | | | | | | | | | | | | | | | 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
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Use xmpp:io_format_error/1 wherever possibleEvgeniy Khramtsov2017-11-141-1/+1
|
* The default 'iqdisc' is now 'no_queue'Evgeniy Khramtsov2017-05-181-1/+1
|
* Add type specs for Module:opt_type/1Evgeniy Khramtsov2017-05-081-0/+2
|
* Introduce 'iqdisc' global optionEvgeniy Khramtsov2017-05-041-1/+9
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+1
|
* Change routing APIEvgeniy Khramtsov2017-02-161-17/+20
| | | | | | | | | | | Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet}
* Only use GEN_SERVER macro where appropriateEvgeniy Khramtsov2017-02-141-4/+7
|
* Check result of gen_mod:start/2 callback (#1534)Evgeniy Khramtsov2017-02-131-2/+2
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Use ejabberd_router:route_error/4 wherever possibleEvgeniy Khramtsov2016-11-251-1/+1
|
* Add more control for decoding IQ payloadsEvgeniy Khramtsov2016-11-131-5/+3
|
* Add more MUC testsEvgeniy Khramtsov2016-10-171-1/+1
|
* Improve namespace handlingEvgeniy Khramtsov2016-09-241-2/+2
|
* Improve some type specsEvgeniy Khramtsov2016-08-091-0/+1
|
* Initial version based on XML generatorEvgeniy Khramtsov2016-07-181-9/+46
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Remove now() - part 1Paweł Chmielowski2015-12-041-2/+2
|
* cosmetic cleanupChristophe Romain2015-10-071-73/+42
|
* Comment unused type, unused termQuan Zhuo2015-09-161-2/+2
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/
* Change configuration file format to YAMLEvgeniy Khramtsov2013-08-211-4/+14
|
* gen_iq_handler:check_type was missingAlexey Shchepin2013-07-081-1/+12
|
* Switch to rebar build toolEvgeniy Khramtsov2013-06-131-0/+2
| | | | | | | | | | | | | | | | Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
* Fix several refactoring related bugsEvgeniy Khramtsov2013-03-291-1/+1
|
* Accumulated patch to binarize and indent codeBadlop2013-03-141-78/+68
|
* Update copyright datesAlexey Shchepin2013-01-241-1/+1
|