aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* storagemanager: Add keyval+ (combined keyval + map) store typeMatthew Wild2022-09-271-0/+73
| | | | | | | | This combines the two most common store types, which modules often end up opening with both interfaces separately anyway. As well as combining them, I've taken the opportunity to improve some of the method names to make them clearer.
* storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all()Matthew Wild2020-03-111-4/+4
|
* storagemanager: Add support for :find_key() and :delete_key() to map store shimMatthew Wild2020-03-111-0/+33
|
* core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-291-1/+1
|
* storagemanager: Default storage_async_check to false for a whileMatthew Wild2018-03-251-1/+1
|
* storagemanager: Remove unused variable [luacheck]Kim Alvefur2018-03-221-1/+1
|
* storagemanager: Log warning on storage access outside of async contextsMatthew Wild2018-03-221-0/+32
|
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* Merge 0.10->trunkKim Alvefur2017-03-231-1/+1
|\
| * storagemanager: Use the existing local reference to 'hosts'Kim Alvefur2017-03-221-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-03-061-2/+4
|\|
| * core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-2/+4
| |
* | Merge 0.10->trunkMatthew Wild2016-08-311-5/+10
|\|
| * storagemanager: Fix for previous commitMatthew Wild2016-08-311-1/+1
| |
| * storagemanager: Fire event when opening a store, and allow the returned ↵Matthew Wild2016-08-311-0/+5
| | | | | | | | store/err to be overridden
| * storagemanager: Simplify function flowMatthew Wild2016-08-311-5/+5
| |
* | Merge 0.10->trunkKim Alvefur2016-04-021-1/+1
|\|
| * storagemanager: Capitalize log messageKim Alvefur2016-04-011-1/+1
| |
* | Merge trunk->0.10Kim Alvefur2016-03-061-7/+5
|\|
| * storagemanager: Fix saving data in map shim when no prior data existsKim Alvefur2016-03-061-7/+5
| |
* | Merge 0.10->trunkKim Alvefur2016-02-101-0/+17
|\|
| * storagemanager: Add set_keys method to map store shimKim Alvefur2016-02-091-0/+17
| |
| * storagemanager: Fix map store shim if store is emptyKim Alvefur2014-08-081-1/+1
| |
| * storagemanager: When map store isn't available, fallback to keyval store ↵daurnimator2014-08-071-1/+37
| | | | | | | | [backported from trunk]
* | Merge 0.10->trunkMatthew Wild2015-12-031-2/+22
|\|
| * storagemanager, mod_storage_sql, mod_storage_sql2: Rename mod_storage_sql2 ↵Matthew Wild2015-12-031-1/+17
| | | | | | | | -> mod_storage_sql, mod_storage_sql -> mod_storage_sql1 (temporarily), and emit warning for configs using sql2
| * storagemanager: Split config retrieval into its own functionMatthew Wild2015-12-031-2/+6
| |
* | Merge 0.10->trunkMatthew Wild2015-09-021-3/+9
|\|
| * storagemanager: Check if drivers support purging, warn otherwiseKim Alvefur2015-09-021-3/+8
| |
| * storagemanager: Export purge (fixes deleting users from usermanager) (thanks mt)Kim Alvefur2015-09-021-0/+1
| |
* | storagemanager: Add forward declaration to fix use of open() before it's definedKim Alvefur2015-08-201-1/+4
| |
* | Merge 0.10->trunkKim Alvefur2015-08-201-8/+14
|\|
| * core.*: Remove use of module() functionKim Alvefur2015-02-211-8/+14
| |
* | Merge 0.10->trunkMatthew Wild2015-05-061-1/+1
|\|
| * portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-1/+1
| | | | | | | | usermanager, util.xml: Add luacheck annotations
* | Merge 0.10->trunkMatthew Wild2015-01-211-1/+1
|\|
| * storagemanager: Remove unused import of error()Matthew Wild2015-01-201-1/+1
| |
* | storagemanager: Fix map store shim if store is emptyKim Alvefur2014-08-081-1/+1
| |
* | core/storagemanager: When map store isn't available, fallback to keyval storedaurnimator2014-08-071-0/+33
|/
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|
* storagemanager: Fix traceback in logging when store type is nil, and store ↵Waqas Hussain2013-04-221-1/+1
| | | | is unsupported.
* storagemanager: Support for iterating over usersKim Alvefur2012-09-211-0/+7
|
* storagemanager: Remove unused variableKim Alvefur2012-09-191-1/+0
|
* storagemanager: Fix argument (Thanks Maranda)Kim Alvefur2012-09-191-1/+1
|
* Merge 0.9->trunkMatthew Wild2012-09-191-5/+24
|\
| * storagemanager: Remove usage of 'core' when calling configmanager.get()Matthew Wild2012-09-191-3/+3
| |
| * storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵Kim Alvefur2012-09-171-2/+2
| | | | | | | | list_stores() with an iterator version
| * storagemanager: Add purge() for purging user data from all backends in useKim Alvefur2012-09-161-1/+20
| |
* | core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to ↵Waqas Hussain2012-09-121-2/+2
|/ | | | allow using module:provides().
* storagemanager: Fix argumentsKim Alvefur2012-08-311-2/+2
|