Commit Graph

81 Commits (0ff1619ea4e2a6702a3fb70135fb656efd64790b)

Author SHA1 Message Date
Kim Alvefur 8dad96d3f6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 9 years ago
Kim Alvefur 28585f40e3 usermanager: Shortcircuit user existence check if they have existing sessions 10 years ago
Kim Alvefur 3eea501911 core.usermanager: Return as soon as possible once admin status is known 10 years ago
Kim Alvefur 075278ff98 core.*: Remove use of module() function 11 years ago
Matthew Wild 2368a513e2 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Kim Alvefur 790da2f46c usermanager: Capitalize log message 11 years ago
Matthew Wild 025419a40e usermanager: Remove unused import of pairs() 13 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur 75e786c1f0 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur 0c97ffd2a3 usermanager: Add support for iterating over accounts 13 years ago
Kim Alvefur 172562976c storagemanager: Add purge() for purging user data from all backends in use 14 years ago
Kim Alvefur 8bf181b4fc core.usermanager: Don't close sessions ourselves when deleting users. Instead, fire an event that modules can hook. 14 years ago
Kim Alvefur 5e57a36957 usermanager: Add method for deleting a user 14 years ago
Matthew Wild e7bc372d77 usermanager: Pass session on to auth provider (missing half of commit 0545a574667b) (thanks Zash) 14 years ago
Matthew Wild 2b144a94d1 usermanager: Add log error for use of COMPAT config option 'anonymous_login'. To be removed in next version. 14 years ago
Waqas Hussain fded13009e 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
Matthew Wild f2d8d208cf usermanager: Rename the fallback provider from 'dummyauth' to 'null' 16 years ago
Matthew Wild f3ff843e2c usermanager: Add hunk that got missed in a merge 16 years ago
Jeff Mitchell 79df72e1a6 Correct out of order logic in mod_hashpassauth 16 years ago
Jeff Mitchell b9196dd592 Add mechanism for upgrading to hashed passwords from default. Remove some extra debug. 16 years ago
Jeff Mitchell 990ed0f0b3 Check in mod_hashpassauth -- works! 16 years ago
Waqas Hussain 4353f95a95 usermanager: Take datamanager errors into account when determining account existance. 16 years ago
Jeff Mitchell 753e5f839b Working defaultauth 16 years ago
Jeff Mitchell c316b28787 Update usermanager to not crash, etc. 16 years ago