Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Do not use ~ts format in string that are put in xmpp payload | Paweł Chmielowski | 2020-01-22 | 1 | -2/+2 |
| | | | | | We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later. | ||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -7/+7 |
| | |||||
* | Handle CAPTCHA forms using captcha_form codec | Evgeny Khramtsov | 2019-07-16 | 1 | -64/+53 |
| | |||||
* | Process unexpected messages uniformly | Evgeny Khramtsov | 2019-07-12 | 1 | -4/+9 |
| | |||||
* | Add/improve type specs | Evgeny Khramtsov | 2019-07-10 | 1 | -3/+7 |
| | |||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -1/+1 |
| | |||||
* | Improve extraction of translated strings | Evgeny Khramtsov | 2019-06-22 | 1 | -12/+13 |
| | | | | | | | | | | | | | 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")). | ||||
* | Introduce option 'captcha_url' | Evgeny Khramtsov | 2019-06-14 | 1 | -14/+20 |
| | | | | | | Option 'captcha_host' is now deprecated in favor of 'captcha_url'. However, it's not replaced automatically at startup, i.e. both options are supported with 'captcha_url' being the preferred one. | ||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -45/+55 |
| | |||||
* | Improve captcha blocking alert wording | Mickaël Rémond | 2019-05-25 | 1 | -2/+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. | ||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Add no-store hint to CAPTCHA challenge stanzas (#2730) | Badlop | 2018-12-26 | 1 | -1/+2 |
| | |||||
* | Add specific Var names to CAPTCHA fallback form fields (#2672) | Badlop | 2018-11-27 | 1 | -2/+2 |
| | |||||
* | Remove forgotten debug line | Evgeny Khramtsov | 2018-09-19 | 1 | -1/+0 |
| | |||||
* | Fix some dialyzer warnings | Evgeny Khramtsov | 2018-09-09 | 1 | -4/+1 |
| | |||||
* | Move cancel_timer/1 function into 'misc' module | Holger Weiss | 2018-07-17 | 1 | -6/+2 |
| | |||||
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -3/+3 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -4/+3 |
| | | | | | | | | | 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 | ||||
* | Remove 'iqdisc' option | Evgeniy Khramtsov | 2018-02-11 | 1 | -2/+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 | ||||
* | Introduce option 'captcha' for mod_block_strangers | Evgeniy Khramtsov | 2018-01-26 | 1 | -39/+113 |
| | | | | | | | | | | 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 | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Fix regression introduced by b82b93f8f0c229e | Evgeniy Khramtsov | 2017-08-11 | 1 | -16/+11 |
| | | | | Fixes #1928 | ||||
* | Add type specs for Module:opt_type/1 | Evgeniy Khramtsov | 2017-05-08 | 1 | -0/+4 |
| | |||||
* | Don't validate an option in ejabberd_config:get_option() functions | Evgeniy Khramtsov | 2017-04-29 | 1 | -15/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Don't re-define validation functions in multiple places | Evgeniy Khramtsov | 2017-04-28 | 1 | -3/+3 |
| | |||||
* | Get rid of p1_sha calls | Alexey Shchepin | 2017-03-14 | 1 | -2/+2 |
| | |||||
* | Get rid of jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 2017-02-26 | 1 | -3/+3 |
| | |||||
* | Fix some dialyzer warnings | Evgeniy Khramtsov | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Improve translation of some messages | Evgeniy Khramtsov | 2016-11-26 | 1 | -5/+2 |
| | |||||
* | Get rid of excessive (io)list_to_binary/1 calls | Evgeniy Khramtsov | 2016-11-24 | 1 | -1/+1 |
| | |||||
* | Add xdata generator and make some code using it | Evgeniy Khramtsov | 2016-10-07 | 1 | -0/+1 |
| | |||||
* | Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1 | Evgeniy Khramtsov | 2016-09-24 | 1 | -1/+1 |
| | |||||
* | Rewrite captcha to use XML generator | Evgeniy Khramtsov | 2016-07-28 | 1 | -192/+69 |
| | |||||
* | Switch to Fast XML module | Mickael Remond | 2016-02-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Remove now() - part 1 | Paweł Chmielowski | 2015-12-04 | 1 | -2/+1 |
| | |||||
* | Move JID related functions to jid.erl (#847) | Evgeniy Khramtsov | 2015-11-24 | 1 | -3/+3 |
| | |||||
* | cosmetic cleanup | Christophe Romain | 2015-10-07 | 1 | -38/+4 |
| | |||||
* | Add config validation at startup | Evgeniy Khramtsov | 2015-06-01 | 1 | -1/+14 |
| | |||||
* | Document protocol support (EJABS-1620) | Badlop | 2015-05-21 | 1 | -0/+2 |
| | |||||
* | Update copyright dates to 2015 (EJAB-1733) | Badlop | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Fix ejabberd_captcha's listener parsing | Holger Weiss | 2014-12-24 | 1 | -9/+9 |
| | | | | | | If the "captcha_host" is specified without "http://" or "https://" prefix, ejabberd_captcha tries to figure out the protocol automatically. Fix the code that parses the listener configuration in order to do that. | ||||
* | Merge pull request #146 from jamielinux/master | badlop | 2014-04-11 | 1 | -4/+3 |
|\ | | | | | Update FSF address | ||||
| * | Update FSF address | Jamie Nguyen | 2014-02-22 | 1 | -4/+3 |
| | |