Commit graph

72 commits

Author SHA1 Message Date
Matthew Wild
cb6148d155 storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all() 2020-03-11 16:32:41 +00:00
Matthew Wild
81f5c3e319 storagemanager: Add support for :find_key() and :delete_key() to map store shim 2020-03-11 16:29:57 +00:00
Kim Alvefur
77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 2018-03-29 16:58:06 +02:00
Matthew Wild
54c57625fa storagemanager: Default storage_async_check to false for a while 2018-03-25 12:45:24 +01:00
Kim Alvefur
2c96ad6b4e storagemanager: Remove unused variable [luacheck] 2018-03-22 23:20:06 +01:00
Matthew Wild
576f77a1c8 storagemanager: Log warning on storage access outside of async contexts 2018-03-22 16:25:20 +00:00
Kim Alvefur
43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 2018-02-28 20:06:26 +01:00
Kim Alvefur
597d317427 Merge 0.10->trunk 2017-03-23 01:30:58 +01:00
Kim Alvefur
932c6e1f44 storagemanager: Use the existing local reference to 'hosts' 2017-03-22 10:38:36 +01:00
Kim Alvefur
ca65f0d2d3 Merge 0.10->trunk 2017-03-06 01:14:32 +01:00
Kim Alvefur
1ecc3a7918 core: Split some very long lines [luacheck] 2017-03-04 17:49:48 +01:00
Matthew Wild
37913e5ce8 Merge 0.10->trunk 2016-08-31 16:25:21 +01:00
Matthew Wild
48e72a1d7b storagemanager: Fix for previous commit 2016-08-31 16:10:00 +01:00
Matthew Wild
21f08b2dfe storagemanager: Fire event when opening a store, and allow the returned store/err to be overridden 2016-08-31 11:50:41 +01:00
Matthew Wild
e73a68034c storagemanager: Simplify function flow 2016-08-31 11:45:06 +01:00
Kim Alvefur
d5c31923e6 Merge 0.10->trunk 2016-04-02 17:13:12 +02:00
Kim Alvefur
b1cce0188f storagemanager: Capitalize log message 2016-04-01 15:56:12 +02:00
Kim Alvefur
41d0ddcf70 Merge trunk->0.10 2016-03-06 18:52:22 +01:00
Kim Alvefur
da4afcbab7 storagemanager: Fix saving data in map shim when no prior data exists 2016-03-06 18:51:11 +01:00
Kim Alvefur
ca7a512e35 Merge 0.10->trunk 2016-02-10 07:57:58 +01:00
Kim Alvefur
38cee98c50 storagemanager: Add set_keys method to map store shim 2016-02-09 16:54:56 +01:00
Matthew Wild
2b9a7ef7b4 Merge 0.10->trunk 2015-12-03 14:59:55 +00:00
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 2015-12-03 14:57:49 +00:00
Matthew Wild
fb55a7df98 storagemanager: Split config retrieval into its own function 2015-12-03 14:47:47 +00:00
Matthew Wild
ee2c04d003 Merge 0.10->trunk 2015-09-02 18:55:35 +01:00
Kim Alvefur
d38f6999a3 storagemanager: Check if drivers support purging, warn otherwise 2015-09-02 15:26:28 +02:00
Kim Alvefur
26a19efb5f storagemanager: Export purge (fixes deleting users from usermanager) (thanks mt) 2015-09-02 14:23:09 +02:00
Kim Alvefur
837ae6f083 storagemanager: Add forward declaration to fix use of open() before it's defined 2015-08-20 23:57:22 +02:00
Kim Alvefur
6ef7c4d808 Merge 0.10->trunk 2015-08-20 13:05:22 +02:00
Matthew Wild
daec51c435 Merge 0.10->trunk 2015-05-06 19:26:53 +01:00
Matthew Wild
7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 2015-05-06 19:20:07 +01:00
Kim Alvefur
27265c20e2 core.*: Remove use of module() function 2015-02-21 10:42:19 +01:00
Matthew Wild
6f1ffa163d Merge 0.10->trunk 2015-01-21 01:29:00 +00:00
Matthew Wild
fc6578a114 storagemanager: Remove unused import of error() 2015-01-20 11:32:14 +00:00
Kim Alvefur
07aeb61310 storagemanager: Fix map store shim if store is empty 2014-08-08 12:38:35 +02:00
Kim Alvefur
edd380b6cd storagemanager: Fix map store shim if store is empty 2014-08-08 12:38:35 +02:00
daurnimator
d96a0ef55c storagemanager: When map store isn't available, fallback to keyval store [backported from trunk] 2014-08-07 12:15:15 -04:00
daurnimator
ea09a45278 core/storagemanager: When map store isn't available, fallback to keyval store 2014-08-07 12:15:15 -04:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Waqas Hussain
c75fdb5081 storagemanager: Fix traceback in logging when store type is nil, and store is unsupported. 2013-04-22 11:54:15 -04:00
Kim Alvefur
00986c0172 storagemanager: Support for iterating over users 2012-09-21 17:24:44 +02:00
Kim Alvefur
25e11e7959 storagemanager: Remove unused variable 2012-09-19 16:40:38 +02:00
Kim Alvefur
c6dacdb1e1 storagemanager: Fix argument (Thanks Maranda) 2012-09-19 16:39:19 +02:00
Matthew Wild
a868b41b58 Merge 0.9->trunk 2012-09-19 12:14:08 +01:00
Matthew Wild
6d61a3834d storagemanager: Remove usage of 'core' when calling configmanager.get() 2012-09-19 12:08:33 +01:00
Kim Alvefur
07bb8a42ce storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version 2012-09-17 05:42:10 +02:00
Kim Alvefur
136674425b storagemanager: Add purge() for purging user data from all backends in use 2012-09-16 02:18:07 +02:00
Waqas Hussain
7daf3c7c14 core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides(). 2012-09-12 23:41:28 +05:00
Kim Alvefur
151f74b143 storagemanager: Fix arguments 2012-08-31 17:31:35 +02:00
Kim Alvefur
a290e6a552 storagemanager: Fix indentation 2012-08-31 17:22:03 +02:00