aboutsummaryrefslogtreecommitdiff
path: root/src/mod_register_web.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* New allow_modules option to restrict registration modulesBadlop2021-12-031-1/+1
|
* Use mod_register in web register form, so its restrictions are used (#3688)Badlop2021-10-041-14/+12
|
* Use mod_register to format some common error messagesBadlop2021-10-041-5/+3
|
* mod_register_web: Handle unknown host gracefullyHolger Weiss2021-09-051-8/+14
| | | | | | | Return a proper error message on registration attempts against unknown hosts, rather than crashing. Thanks to Ingo Jürgensmann for reporting the bug.
* Remove obsolete mod_register_web ideas and improve documentationBadlop2021-08-231-34/+22
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Revert "mod_register language reworked"Badlop2021-01-221-26/+26
| | | | | | | This reverts commit 3906b5300cd50ca1336dd6cc682842c22b086e5c. # Conflicts: # src/mod_register_web.erl
* Uniformize terms create->register, delete->unregister (#3482)Badlop2021-01-131-7/+7
|
* mod_register language reworkedAllan Nordhøy2021-01-131-27/+27
|
* Replace Jabber->XMPP and Ejabberd (thanks to Neustradamus)(#3469)Badlop2021-01-111-19/+19
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Fix hardcoded URL to register.css and URLS to sections (#3281)Badlop2020-05-191-7/+7
|
* Minor fixes in docBadlop2020-04-091-1/+1
|
* Copy more option explanations from ejabberd Docs siteBadlop2020-04-081-0/+8
|
* Allow mod_register_web to be accessed from now-served vhosts (#3173)Badlop2020-02-261-22/+11
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-0/+10
| | | | | | | 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-1/+1
|
* Don't treat 'Host' header as a virtual XMPP hostEvgeny Khramtsov2019-08-131-3/+19
| | | | Fixes #2989
* Make logging messages more consistentEvgeny Khramtsov2019-06-241-1/+1
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-72/+71
| | | | | | | | | | | | | 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-13/+14
|
* mod_register_web: Don't crash if user existsHolger Weiss2019-06-051-2/+2
| | | | | | | | Since commit 633b68db1130c81551b063f3aa15d599b0d355e5, ejabberd_auth:try_register/3 returns {error, exists} rather than {atomic, exists}. Thanks to Thomas Leister for reporting the issue.
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Handle ejabberd_captcha error reports in mod_register_web (#2553)Badlop2018-08-021-2/+11
|
* 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
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-3/+4
| | | | | | | 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
|
* Better handle mobile devices in CSS of mod_register_webEvgeniy Khramtsov2017-10-091-10/+31
| | | | Thanks to Marek Foss. Fixes #2039
* Rename is_user_exists -> user_existsEvgeniy Khramtsov2017-05-111-1/+1
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit introduces the following API incompatibilities: In ejabberd_auth.erl: * dirty_get_registered_users/0 is renamed to get_users/0 * get_vh_registered_users/1 is renamed to get_users/1 * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is renamed to count_users/1 * get_vh_registered_users_number/2 is renamed to count_users/2 In ejabberd_auth callbacks * plain_password_required/0 is replaced by plain_password_required/1 where the argument is a virtual host * store_type/0 is replaced by store_type/1 where the argument is a virtual host * set_password/3 is now an optional callback * remove_user/3 callback is no longer needed * remove_user/2 now should return `ok | {error, atom()}` * is_user_exists/2 now must only be implemented for backends with `external` store type * check_password/6 is no longer needed * check_password/4 now must only be implemented for backends with `external` store type * try_register/3 is now an optional callback and should return `ok | {error, atom()}` * dirty_get_registered_users/0 is no longer needed * get_vh_registered_users/1 is no longer needed * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is no longer needed * get_vh_registered_users_number/2 is renamed to count_users/2 * get_password_s/2 is no longer needed * get_password/2 now must only be implemented for backends with `plain` or `scram` store type Additionally, the commit introduces two new callbacks: * use_cache/1 where the argument is a virtual host * cache_nodes/1 where the argument is a virtual host New options are also introduced: `auth_use_cache`, `auth_cache_missed`, `auth_cache_life_time` and `auth_cache_size`.
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-3/+1
| | | | | | | | | | | | | | The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
* Don't pass empty resource to jid:make()Evgeniy Khramtsov2017-02-251-2/+2
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+4
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Rewrite captcha to use XML generatorEvgeniy Khramtsov2016-07-281-2/+2
|
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+4
|
* Use {access,shaper}_rules_validator in other places where access rules are usedPaweł Chmielowski2016-06-211-1/+1
|
* Merge commit 'refs/pull/524/head' of github.com:processone/ejabberd into ↵Evgeniy Khramtsov2016-03-251-1/+1
|\ | | | | | | sasl-api-change
| * Use SASL PLAIN authzid as client identity if auth module permits itBen Langfeld2015-05-061-1/+1
| | | | | | | | | | | | This allows the authentication modules to perform SASL proxy authentication. It puts the onus on them to authorize the authcid to masquerade as the authzid. Doesn't currently implement such functionality in existing auth modules, since they cannot currently codify a relationship between the two identities. Does not permit the authzid to use a domain differently from the one of the connection. Note: digest might not work, but I have no interest in it, being deprecated.
* | mod_register_web: Choose the right error messagesHolger Weiss2016-02-291-3/+3
| |
* | Allow to modify host when deleting account or changing password over webChristian Dröge2016-02-041-12/+14
| |
* | Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
| |
* | Improve explanation in registration page (#876)Badlop2015-12-281-2/+2
| |
* | Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-2/+2
| |
* | Add config validation at startupEvgeniy Khramtsov2015-06-011-1/+3
|/
* Allow to modify host when registering account in web (#291)Badlop2015-04-221-6/+7
|
* Fix unused vars warningTaufan Aditya2015-01-091-1/+1
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|