aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_xep0227.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.hex: Deprecate to/from in favour of encode/decode, for consistency!Matthew Wild2022-03-041-2/+2
|
* mod_storage_xep0227: Fix luacheck warningMatthew Wild2022-01-171-1/+1
|
* mod_storage_xep0227: Fix traceback during iteration of driver storesMatthew Wild2022-01-171-1/+1
| | | | :include(other_set), :add(item)
* mod_storage_xep0227: Fix file export (missing parameter) from refactor in ↵Matthew Wild2022-01-171-1/+1
| | | | 270047afa6af
* mod_storage_xep0227: treat roster metadata pseudo-entry correctlyJonas Schäfer2022-01-151-1/+1
| | | | | | | | | | The roster version is stored in a pseudo-item which has the key `false`. The if condition in the touched code attempts to guard against this, but it does not take into account that the jid prepping returns nil instead of false. By moving the jid prepping into the if, we can check for the metadata entry safely.
* mod_storage_xep0227: be defensive against empty vCardJonas Schäfer2022-01-151-1/+1
| | | | | An empty vCard store may look like the empty table, which does not have the `attr` key, which would then blow up in util.stanza.deserialize.
* mod_storage_xep0227: Fix luacheck warningsMatthew Wild2022-01-141-2/+2
|
* mod_storage_xep0227: Add API to iterate all stores of a userMatthew Wild2022-01-141-7/+23
|
* mod_storage_xep0227: Skip self-contacts on roster importMatthew Wild2022-01-141-11/+15
|
* mod_storage_xep0227: Fix writing non-user dataKim Alvefur2022-01-101-2/+3
| | | | | | | Attempt to concatenate nil 'user' Not much data actually makes sense but the migrator tries to write or clear these.
* mod_storage_xep0227: Ignore luacheck warningMatthew Wild2022-01-101-1/+1
|
* mod_storage_xep0227: Support for exporting nodes with no stored configurationMatthew Wild2022-01-101-0/+3
|
* mod_storage_xep0227: Allow overriding the input/output layer for XEP-0227 dataMatthew Wild2022-01-101-27/+49
| | | | This can (and will) be used to support in-memory import/export functions.
* mod_storage_xep0227: Replace custom tag-removal helpers with :remove_children()Matthew Wild2021-12-201-27/+9
|
* mod_storage_xep0227: Add scram-credentials to user element rather than serverMatthew Wild2021-09-221-1/+1
|
* mod_storage_xep0227: Update for XEP-0227 r1.1: Support for SCRAM, MAM, PEPMatthew Wild2021-09-121-23/+495
|
* mod_storage_xep0227: Ignore unused 'self' argument [luacheck]Kim Alvefur2017-10-251-1/+1
|
* mod_storage_xep0227: Add roster storage (fixes #1023)Kim Alvefur2017-10-191-0/+73
|
* mod_storage_xep0227: Correctly report that only key-value stores are supportedKim Alvefur2017-10-191-0/+1
|
* mod_storage_xep0227: Silence luacheck warningsKim Alvefur2015-05-151-3/+3
|
* mod_storage_xep0227: Store data from mod_auth_internal_hashed in a private ↵Kim Alvefur2015-05-151-2/+19
| | | | namespace
* mod_storage_xep0227: Use the registered namespaceKim Alvefur2015-05-151-1/+1
|
* mod_storage_xep0227: Update open method for current APIKim Alvefur2015-05-151-8/+3
|
* mod_storage_xep0227: Return error from io.open if unable to open file for ↵Kim Alvefur2015-05-151-2/+2
| | | | writing
* mod_storage_xep0227: Open file for writing even if removing so os.remove has ↵Kim Alvefur2015-05-151-2/+3
| | | | a file to delete
* mod_storage_xep0227: Close file handle after readingKim Alvefur2015-05-151-0/+1
|
* mod_storage_xep0227: Use configured storage pathKim Alvefur2015-05-151-2/+3
|
* mod_storage_xep0227: Rename to reflect current naming practicesKim Alvefur2015-05-151-0/+163