Commit Graph

72 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Matthew Wild cb6148d155 storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all() 6 years ago
Matthew Wild 81f5c3e319 storagemanager: Add support for :find_key() and :delete_key() to map store shim 6 years ago
Kim Alvefur 77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Matthew Wild 54c57625fa storagemanager: Default storage_async_check to false for a while 8 years ago
Kim Alvefur 2c96ad6b4e storagemanager: Remove unused variable [luacheck] 8 years ago
Matthew Wild 576f77a1c8 storagemanager: Log warning on storage access outside of async contexts 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur 932c6e1f44 storagemanager: Use the existing local reference to 'hosts' 9 years ago
Kim Alvefur 1ecc3a7918 core: Split some very long lines [luacheck] 9 years ago
Matthew Wild 48e72a1d7b storagemanager: Fix for previous commit 9 years ago
Matthew Wild 21f08b2dfe storagemanager: Fire event when opening a store, and allow the returned store/err to be overridden 9 years ago
Matthew Wild e73a68034c storagemanager: Simplify function flow 9 years ago
Kim Alvefur b1cce0188f storagemanager: Capitalize log message 10 years ago
Kim Alvefur da4afcbab7 storagemanager: Fix saving data in map shim when no prior data exists 10 years ago
Kim Alvefur 38cee98c50 storagemanager: Add set_keys method to map store shim 10 years ago
Matthew Wild d3b6588fd7 storagemanager, mod_storage_sql, mod_storage_sql2: Rename mod_storage_sql2 -> mod_storage_sql, mod_storage_sql -> mod_storage_sql1 (temporarily), and emit warning for configs using sql2 10 years ago
Matthew Wild fb55a7df98 storagemanager: Split config retrieval into its own function 10 years ago
Kim Alvefur d38f6999a3 storagemanager: Check if drivers support purging, warn otherwise 10 years ago
Kim Alvefur 26a19efb5f storagemanager: Export purge (fixes deleting users from usermanager) (thanks mt) 10 years ago
Kim Alvefur 837ae6f083 storagemanager: Add forward declaration to fix use of open() before it's defined 11 years ago
Matthew Wild 7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild fc6578a114 storagemanager: Remove unused import of error() 11 years ago
Kim Alvefur 07aeb61310 storagemanager: Fix map store shim if store is empty 12 years ago
Kim Alvefur edd380b6cd storagemanager: Fix map store shim if store is empty 12 years ago
daurnimator d96a0ef55c storagemanager: When map store isn't available, fallback to keyval store [backported from trunk] 12 years ago
daurnimator ea09a45278 core/storagemanager: When map store isn't available, fallback to keyval store 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain c75fdb5081 storagemanager: Fix traceback in logging when store type is nil, and store is unsupported. 13 years ago
Kim Alvefur 00986c0172 storagemanager: Support for iterating over users 13 years ago
Kim Alvefur 93cde32b80 storagemanager: Remove unused variable 13 years ago
Kim Alvefur 25e11e7959 storagemanager: Remove unused variable 13 years ago
Kim Alvefur e0e7541f02 storagemanager: Fix argument (Thanks Maranda) 13 years ago
Kim Alvefur c6dacdb1e1 storagemanager: Fix argument (Thanks Maranda) 13 years ago
Matthew Wild 6d61a3834d storagemanager: Remove usage of 'core' when calling configmanager.get() 13 years ago
Kim Alvefur 07bb8a42ce storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version 13 years ago
Kim Alvefur 136674425b storagemanager: Add purge() for purging user data from all backends in use 14 years ago
Waqas Hussain 7daf3c7c14 core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides(). 14 years ago
Kim Alvefur 151f74b143 storagemanager: Fix arguments 14 years ago
Kim Alvefur a290e6a552 storagemanager: Fix indentation 14 years ago
Kim Alvefur c8d3eca748 storagemanager: Add method for removing all data belonging to a user 14 years ago
Kim Alvefur ae1c972cdd storagemanager: Add method for listing stores 14 years ago
Kim Alvefur 91aea55198 storagemanager: Split out driver choosing from the open() method 14 years ago
Matthew Wild 158675928e storagemanager: Fix incorrect variable name 14 years ago
Matthew Wild 4531224ed4 storagemanager: Don't always show fallback warning when using per-store config 15 years ago
Matthew Wild 18f5651ba3 storagemanager: Don't always show fallback warning when using per-store config 15 years ago
Matthew Wild c8333f80b5 storagemanager: Log warning when loading the storage provider plugin fails 15 years ago
Matthew Wild 7e8dff20a6 storagemanager: Log warning when loading the storage provider plugin fails 15 years ago
Waqas Hussain c3e87cc5f3 storagemanager: When we have a cached data driver, we are supposed to use it. 15 years ago
Waqas Hussain 6771ad9d29 storagemanager: When we have a cached data driver, we are supposed to use it. 15 years ago