Log

core/usermanager.lua @ 13248:db433ed3135c

description author age
usermanager: Add create_user_with_role() method to atomically set initial role Matthew Wild Thu, 29 Jun 2023 15:31:46 +0100
core.usermanager: Correct formatting of not implemented error Kim Alvefur Sun, 26 Mar 2023 16:51:33 +0200
core: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:07 +0100
authz: Add method for retrieving all roles Kim Alvefur Sat, 04 Mar 2023 18:40:43 +0100
core.usermanager: Fire events when enabling and disabling users Kim Alvefur Thu, 23 Feb 2023 16:25:31 +0100
core.usermanager: Add methods for enabling and disabling users Kim Alvefur Thu, 23 Feb 2023 16:24:41 +0100
core.usermanager: Link to docs for new role API to make warning more actionable Kim Alvefur Sat, 27 Aug 2022 17:01:36 +0200
core.usermanager: Update argument name in authz fallback method Kim Alvefur Thu, 18 Aug 2022 15:42:07 +0200
core.usermanager: Remove obsolete authz fallback method Kim Alvefur Thu, 18 Aug 2022 15:38:18 +0200
core.usermanager: Add missing methods to fallback authz provider Kim Alvefur Thu, 18 Aug 2022 14:10:21 +0200
core.usermanager: Add scoped luacheck ignore rule to reduce clutter Kim Alvefur Thu, 18 Aug 2022 14:07:54 +0200
mod_authz_internal: Expose convenience method to test if user can assume role Matthew Wild Thu, 18 Aug 2022 10:37:59 +0100
mod_authz_internal, and more: New iteration of role API Matthew Wild Wed, 17 Aug 2022 16:38:53 +0100
usermanager: Add back temporary is_admin to warn about deprecated API usage Matthew Wild Mon, 15 Aug 2022 15:25:07 +0100
usermanager: Remove concept of global authz provider Matthew Wild Fri, 12 Aug 2022 16:21:57 +0100
usermanager: Fix method name of global authz provider (thanks Zash) Matthew Wild Fri, 12 Aug 2022 11:58:25 +0100
usermanager: Remove obsolete function from global authz provider Matthew Wild Thu, 11 Aug 2022 16:56:59 +0100
usermanager: Handle local JIDs being passed to get/set_jid_role() Matthew Wild Mon, 01 Aug 2022 20:26:00 +0100
core.usermanager: Add missing stub authz methods to global authz provider Kim Alvefur Wed, 20 Jul 2022 13:10:47 +0200
mod_authz_internal: Use util.roles, some API changes and config support Matthew Wild Tue, 19 Jul 2022 18:02:02 +0100
usermanager, mod_auth_*: Add get_account_info() returning creation/update time Matthew Wild Tue, 12 Jul 2022 13:14:47 +0100
Switch to a new role-based authorization framework, removing is_admin() Matthew Wild Wed, 15 Jun 2022 12:15:01 +0100
usermanager, mod_saslauth: Default to internal_hashed if no auth module specified Matthew Wild Thu, 10 Feb 2022 19:54:14 +0000
core.usermanager: Implement noop role writes on global authz provider Kim Alvefur Mon, 06 Dec 2021 22:38:27 +0100
usermanager: Fire user-roles-changed event when updating roles of a local user Matthew Wild Fri, 12 Nov 2021 13:25:09 +0000
usermanager, mod_authz_internal: Add methods to fetch users/JIDs of given role Matthew Wild Thu, 26 Aug 2021 16:35:43 +0100
usermanager: expose set_roles through API Jonas Schäfer Mon, 22 Mar 2021 21:24:57 +0100
usermanager: Fix traceback when checking admin status of host-only JIDs (fixes #1508) Matthew Wild Thu, 19 Mar 2020 14:12:40 +0000
usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter Matthew Wild Sun, 23 Feb 2020 12:38:43 +0000
usermanager: Add get_roles() function Matthew Wild Wed, 05 Feb 2020 17:41:14 +0000
mod_authz_internal, usermanager: Rename to mod_authz_config Matthew Wild Mon, 27 Jan 2020 22:28:52 +0000
usermanager: Load authz providers on components also Matthew Wild Mon, 27 Jan 2020 22:09:19 +0000
usermanager, mod_authz_internal: Move admin-checking functionality into a module. Fixes #517 (ish). Matthew Wild Mon, 27 Jan 2020 21:54:59 +0000
core: Use prosody.hosts instead of _G.hosts for consistency Kim Alvefur Thu, 29 Mar 2018 16:58:06 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) Kim Alvefur Fri, 28 Jul 2017 13:15:29 +0200
usermanager: Shortcircuit user existence check if they have existing sessions Kim Alvefur Sun, 21 Feb 2016 19:30:45 +0100
core.usermanager: Return as soon as possible once admin status is known Kim Alvefur Sun, 06 Dec 2015 23:47:47 +0100
core.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:42:19 +0100
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations Matthew Wild Wed, 06 May 2015 19:20:07 +0100
usermanager: Capitalize log message Kim Alvefur Sat, 25 Apr 2015 14:22:59 +0200
usermanager: Remove unused import of pairs() Matthew Wild Tue, 13 Aug 2013 19:38:05 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur Sat, 23 Mar 2013 02:33:15 +0100
usermanager: Add support for iterating over accounts Kim Alvefur Fri, 21 Sep 2012 17:26:25 +0200
storagemanager: Add purge() for purging user data from all backends in use Kim Alvefur Sun, 16 Sep 2012 02:18:07 +0200
core.usermanager: Don't close sessions ourselves when deleting users. Instead, fire an event that modules can hook. Kim Alvefur Sat, 25 Aug 2012 01:20:13 +0200
usermanager: Add method for deleting a user Kim Alvefur Sat, 28 Jul 2012 21:55:05 +0200
usermanager: Pass session on to auth provider (missing half of commit 0545a574667b) (thanks Zash) Matthew Wild Sat, 07 Jul 2012 02:32:39 +0100
usermanager: Add log error for use of COMPAT config option 'anonymous_login'. To be removed in next version. Matthew Wild Sat, 28 Apr 2012 14:35:52 +0100
usermanager: Prep admin JIDs (fixes issue#276). Waqas Hussain Wed, 14 Dec 2011 07:19:58 +0500
usermanager: Check host exists before trying to look up admins for it Matthew Wild Tue, 05 Apr 2011 13:26:19 +0100
usermanager: Add delete_user method Matthew Wild Tue, 04 Jan 2011 17:11:51 +0000
usermanager: Have methods not implemented in the active provider fall back to the null provider (later we can add support for chains of providers) Matthew Wild Tue, 04 Jan 2011 17:11:37 +0000
usermanager: Change dummy provider method to return an error string also (method not implemented) Matthew Wild Tue, 04 Jan 2011 17:10:56 +0000
usermanager: Assume authentication="anonymous" when anonymous_login=true. Waqas Hussain Mon, 27 Dec 2010 20:46:01 +0500
usermanager: Fixed a possible traceback when is_admin() was used on a component. Waqas Hussain Fri, 17 Dec 2010 22:54:34 +0500
usermanager: Removed redundant import of util.datamanager and util.hashes. Waqas Hussain Fri, 10 Dec 2010 00:07:28 +0500
usermanager: Don't load auth modules for components. Waqas Hussain Thu, 11 Nov 2010 08:36:31 +0500
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). Waqas Hussain Wed, 10 Nov 2010 22:27:09 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
usermanager: Get rid unused Cyrus SASL related code. Waqas Hussain Mon, 23 Aug 2010 16:33:49 +0500
usermanager: Fix two nil global accesses Matthew Wild Sat, 31 Jul 2010 11:30:16 +0100
usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password Matthew Wild Wed, 21 Jul 2010 21:01:36 +0100
usermanager: Return a non-nil SASL handler from the null auth provider (fixes a traceback). Waqas Hussain Wed, 14 Jul 2010 19:49:43 +0500
mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and update usermanager to still use it as the default Matthew Wild Thu, 08 Jul 2010 21:08:46 +0100
usermanager: Expose host_handler() as initialize_host() Matthew Wild Tue, 29 Jun 2010 19:11:18 +0100
usermanager: is_admin: Resume the old role of determining precisely whether a user is an admin for a given host (or a global admin) - auth providers checked for JIDs not listed in the config if they support it Matthew Wild Tue, 22 Jun 2010 19:00:01 +0100
usermanager: Handle checking for global admins on behalf of providers Matthew Wild Wed, 09 Jun 2010 21:24:20 +0100
usermanager: Changed get_supported_methods to get_sasl_handler. Waqas Hussain Mon, 07 Jun 2010 02:32:13 +0500
Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name. Matthew Wild Fri, 04 Jun 2010 14:33:36 +0100
usermanager: Rename the fallback provider from 'dummyauth' to 'null' Matthew Wild Fri, 04 Jun 2010 13:54:15 +0100
usermanager: Add hunk that got missed in a merge Matthew Wild Fri, 04 Jun 2010 13:53:07 +0100
Correct out of order logic in mod_hashpassauth Jeff Mitchell Fri, 28 May 2010 14:47:32 -0400
Add mechanism for upgrading to hashed passwords from default. Remove some extra debug. Jeff Mitchell Thu, 27 May 2010 10:54:11 -0400
Check in mod_hashpassauth -- works! Jeff Mitchell Wed, 26 May 2010 18:16:58 -0400
Working defaultauth Jeff Mitchell Thu, 20 May 2010 18:06:21 -0400
Update usermanager to not crash, etc. Jeff Mitchell Thu, 20 May 2010 14:18:12 -0400
First bit of work Jeff Mitchell Thu, 20 May 2010 11:51:24 -0400
Merge backout Matthew Wild Fri, 04 Jun 2010 11:59:27 +0100
Backed out changeset 8bd3857a75ee Matthew Wild Fri, 04 Jun 2010 11:54:17 +0100
Merge 0.7->trunk Matthew Wild Sun, 23 May 2010 23:11:00 +0100
usermanager: Take datamanager errors into account when determining account existance. Waqas Hussain Mon, 24 May 2010 00:49:12 +0500
Merge 0.7->trunk Matthew Wild Thu, 20 May 2010 11:44:41 +0100
usermanager, mod_saslauth: Make account provisioning for Cyrus SASL optional (default: not required) Matthew Wild Thu, 20 May 2010 11:32:24 +0100
usermanager: Changed auth provider functions to methods. Waqas Hussain Wed, 19 May 2010 10:49:27 +0500
usermanager: Export new_default_provider() Matthew Wild Sat, 15 May 2010 19:31:58 +0100
usermanager: Handle auth providers for components. Waqas Hussain Thu, 13 May 2010 21:18:03 +0500
usermanager: Fix logic for per-host admin tables (thanks Maranda) Matthew Wild Wed, 12 May 2010 23:06:46 +0100
usermanager: Bump log level of incorrect config option warnings Matthew Wild Fri, 07 May 2010 21:43:37 +0100
usermanager: Fix for is_admin to work with the new auth provider architecture Matthew Wild Fri, 07 May 2010 21:42:45 +0100
usermanager: Give the default auth provider a name, you'll never guess what it is. Matthew Wild Wed, 05 May 2010 14:17:01 +0100
usermanager: Support for pluggable authentication providers Matthew Wild Wed, 05 May 2010 01:05:58 +0100
usermanager: Added function set_password. Waqas Hussain Wed, 24 Mar 2010 00:03:31 +0500
usermanager: Return sane errors/results when Cyrus SASL is in use. Waqas Hussain Tue, 23 Mar 2010 20:24:56 +0500
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
usermanager: Removed an unnecessary global access. Waqas Hussain Wed, 21 Oct 2009 11:41:11 +0500
usermanager: Logged a clear warning when the 'admins' option is not a table. Waqas Hussain Wed, 21 Oct 2009 11:40:29 +0500
usermanager: Changed function is_admin to allow checking for host-specific admins. Waqas Hussain Wed, 21 Oct 2009 11:39:02 +0500
usermanager: Reduced some code Waqas Hussain Sat, 25 Jul 2009 19:18:37 +0500
usermanager: Removed an unnecessary check Waqas Hussain Sat, 25 Jul 2009 19:15:05 +0500
Switch to using a more generic credentials_callback/handler for SASL auth. nick Fri, 24 Jul 2009 01:34:25 +0100
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
usermanager: Added is_admin(jid) Waqas Hussain Sun, 08 Mar 2009 03:46:44 +0500
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
GPL->MIT! Matthew Wild Fri, 30 Jan 2009 17:22:56 +0000
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Completely switched to new hashes library from the old md5 library Waqas Hussain Fri, 28 Nov 2008 01:16:26 +0500
Updated usermanager with DIGEST-MD5 support Waqas Hussain Sun, 09 Nov 2008 03:33:38 +0500
User registration, etc (jabber:iq:register) Waqas Hussain Sun, 05 Oct 2008 04:55:45 +0500
Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful. Matthew Wild Sat, 04 Oct 2008 15:25:54 +0100
SASL! Matthew Wild Thu, 02 Oct 2008 01:08:58 +0100
First commit, where do you want to go tomorrow? matthew Fri, 22 Aug 2008 21:09:04 +0000