Commit Graph

89 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Matthew Wild 8f5d92c15e usermanager: Fix traceback when checking admin status of host-only JIDs (fixes #1508) 6 years ago
Matthew Wild 8d04879adf usermanager, mod_authz_*: Merge mod_authz_config and mod_authz_internal into the latter 6 years ago
Matthew Wild 3fb671e0a3 usermanager: Add get_roles() function 6 years ago
Matthew Wild 34abcc8bd5 mod_authz_internal, usermanager: Rename to mod_authz_config 6 years ago
Matthew Wild b177628d3c usermanager: Load authz providers on components also 6 years ago
Matthew Wild 1f437623ad usermanager, mod_authz_internal: Move admin-checking functionality into a module. Fixes #517 (ish). 6 years ago
Kim Alvefur 73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 9 years ago
Kim Alvefur 77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur 7d84f2f261 usermanager: Shortcircuit user existence check if they have existing sessions 10 years ago
Kim Alvefur 1ef7f18752 core.usermanager: Return as soon as possible once admin status is known 10 years ago
Matthew Wild 7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Kim Alvefur 9bb576b332 usermanager: Capitalize log message 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild de0f19e1af usermanager: Remove unused import of pairs() 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur ab915e9dd4 usermanager: Add support for iterating over accounts 13 years ago
Kim Alvefur 136674425b storagemanager: Add purge() for purging user data from all backends in use 13 years ago
Kim Alvefur 9059e2a4fe core.usermanager: Don't close sessions ourselves when deleting users. Instead, fire an event that modules can hook. 14 years ago
Kim Alvefur a5ad1b5b17 usermanager: Add method for deleting a user 14 years ago
Matthew Wild 82ad5962d9 usermanager: Pass session on to auth provider (missing half of commit 0545a574667b) (thanks Zash) 14 years ago
Matthew Wild 37365a3a78 usermanager: Add log error for use of COMPAT config option 'anonymous_login'. To be removed in next version. 14 years ago
Waqas Hussain 5f61bd217c usermanager: Prep admin JIDs (fixes issue#276). 14 years ago
Waqas Hussain 55357a4891 usermanager: Assume authentication="anonymous" when anonymous_login=true. 15 years ago
Waqas Hussain b18b85670f usermanager: Fixed a possible traceback when is_admin() was used on a component. 15 years ago
Waqas Hussain 3ad9aafc34 usermanager: Fixed a possible traceback when is_admin() was used on a component. 15 years ago
Waqas Hussain c5118e930d usermanager: Removed redundant import of util.datamanager and util.hashes. 15 years ago
Waqas Hussain 514ba129d7 usermanager: Removed redundant import of util.datamanager and util.hashes. 15 years ago
Matthew Wild ca74173a82 usermanager: Check host exists before trying to look up admins for it 15 years ago
Matthew Wild c8f795214c usermanager: Add delete_user method 15 years ago
Matthew Wild 8854a71059 usermanager: Add delete_user method 15 years ago
Matthew Wild f31871eb2e usermanager: Have methods not implemented in the active provider fall back to the null provider (later we can add support for chains of providers) 15 years ago
Matthew Wild e25a697b1a usermanager: Have methods not implemented in the active provider fall back to the null provider (later we can add support for chains of providers) 15 years ago
Matthew Wild 73752efbfd usermanager: Change dummy provider method to return an error string also (method not implemented) 15 years ago
Matthew Wild d83b39cc4c usermanager: Change dummy provider method to return an error string also (method not implemented) 15 years ago
Waqas Hussain 318b00eeb1 usermanager: Assume authentication="anonymous" when anonymous_login=true. 15 years ago
Waqas Hussain 20a0a7eb7c usermanager: Don't load auth modules for components. 15 years ago
Waqas Hussain 0bcc5e0ac7 modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Waqas Hussain 90ed40bac6 usermanager: Get rid unused Cyrus SASL related code. 16 years ago
Matthew Wild 42d53ec2cf usermanager: Fix two nil global accesses 16 years ago
Matthew Wild a6e1eb7590 usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password 16 years ago
Waqas Hussain 1e37132a58 usermanager: Return a non-nil SASL handler from the null auth provider (fixes a traceback). 16 years ago
Matthew Wild 43f0ee7e21 mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and update usermanager to still use it as the default 16 years ago
Matthew Wild aa68dc887d usermanager: Expose host_handler() as initialize_host() 16 years ago
Matthew Wild 434a0e7b67 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 16 years ago
Matthew Wild 10abcc0f7b usermanager: Handle checking for global admins on behalf of providers 16 years ago
Waqas Hussain 5e11733f0c usermanager: Changed get_supported_methods to get_sasl_handler. 16 years ago
Matthew Wild 3846f08f09 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. 16 years ago