Commit Graph

133 Commits (0ec577b5dfed46586ff329e531bcc18a4cd5ec00)

Author SHA1 Message Date
Kim Alvefur 6de5f5881d mod_storage_sql: Return number of affected items from archive:delete 10 years ago
Emmanuel Gil Peyrot bbf1653e04 Update every link to the documentation to use HTTPS 10 years ago
Kim Alvefur 83160bcdc5 mod_storage_sql: Make sure all serialization errors are propagated 10 years ago
Kim Alvefur 3fde897b55 mod_storage_sql: Allow loops over results to end on their own 10 years ago
Kim Alvefur a91ca337f3 mod_storage_sql: Add LIMIT clause to queries where only a single row is expected 10 years ago
Kim Alvefur a1bba9eeab mod_storage_sql: Treat non-existent archive IDs as beyound the end of the archive (fixes #624) (tested on sqlite3 only) 10 years ago
Kim Alvefur 70c1c2a643 mod_storage_sql: Remove debug logging of archive queries 10 years ago
Kim Alvefur 91b4165689 mod_storage_sql: Lower message about new engine creation to debug level 10 years ago
Kim Alvefur 7038a99a47 mod_storage_sql: Share SQL connections with same parameters across VirtualHosts (fixes #576) 10 years ago
Kim Alvefur 0ca52545bc mod_storage_sql: Fix setting value to false in map store 10 years ago
Kim Alvefur bb71bd86fa mod_storage_sql: Silence some harmless luacheck warnings 10 years ago
Kim Alvefur 07e67e32f3 mod_storage_sql: Implement map:set_keys, allowing multiple keys to be set in the same transaction 10 years ago
Kim Alvefur 41c42960d7 mod_storage_sql: Fix use of SQLite3 in-memory database (no path expansion) 11 years ago
Matthew Wild 5c6a61d2e7 mod_storage_sql: Add map store (backported from trunk) 11 years ago
Matthew Wild b6d0efc79b mod_storage_sql: Whitespace fix (backported from trunk) 11 years ago
Matthew Wild cf88b880cd 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 11 years ago
Kim Alvefur e5031598f6 mod_storage_sql: Support non-string keys in map store 10 years ago
Kim Alvefur 13f1842f15 mod_storage_{none,internal,sql}: Return error for unsupported (everything but keyval) store types 12 years ago
Kim Alvefur e31991a773 core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Waqas Hussain 7434f41ee4 mod_storage_sql: Return actual error string on commit failure. 14 years ago
Kim Alvefur 504f8b9213 mod_storage_sql: Add support for iterating over users with data in a store 14 years ago
Matthew Wild ec41d90e0f mod_storage_sql: Remove obsolete comment 14 years ago
Kim Alvefur f7f8f20929 storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version 14 years ago
Waqas Hussain db36af380f mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules. 14 years ago
Waqas Hussain 66f46ff6ef core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides(). 14 years ago
Kim Alvefur aea959880c mod_storage_sql: Implement archive summary API 7 years ago
Kim Alvefur 1a68e66b84 mod_storage_sql: No archive item limit by default 7 years ago
Kim Alvefur 2a073294ae mod_storage_sql: Return cached count if only this is queried for 7 years ago
Kim Alvefur e21f31c7c2 mod_storage_sql: Cache total count if it's calculated as part of the current query 7 years ago
Kim Alvefur 79bebb21f8 mod_storage_sql: Skip cache write 7 years ago
Kim Alvefur 669da78e01 mod_storage_sql: Fix to use currently queried store 7 years ago
Kim Alvefur 7e9722a736 mod_storage_sql: Don't increment counter twice (fixes accounting error) 7 years ago
Kim Alvefur 8c6c1d0fd0 mod_storage_internal,_sql: Key item count cache on both username and store 7 years ago
Kim Alvefur 351783fd1d mod_storage_internal,_sql: Expose archive capabilities feature set 7 years ago
Matthew Wild 8aef0281ab mod_storage_internal,_sql: Add limit to number of items in an archive store (fixes #733) 9 years ago
Kim Alvefur 6dcf53f7b2 various: Don't rely on _G.unpack existing 8 years ago
Matthew Wild 6803af2094 mod_storage_sql: Return connection from connect even if already connected (thanks IRON) 14 years ago
Kim Alvefur ef580b637e mod_storage_sql: Complete transactions in list_stores and purge 14 years ago
Kim Alvefur 9be3d774a9 mod_storage_sql: Keep connections in a shared cache table 14 years ago
Kim Alvefur 066faa6e4e mod_storage_sql: Add method for removing all data belonging to a user 14 years ago
Kim Alvefur a1b0be048a mod_storage_sql: Add method for listing stores 14 years ago
Kim Alvefur d58703f582 mod_storage_sql: Split out query handling logic from getsql() into a separate function 14 years ago
Waqas Hussain a4d4abfeb7 mod_storage_sql: Use util.json instead of util.serialization. 16 years ago
Waqas Hussain 3043e00706 mod_storage_sql: Log an error on query failure. 16 years ago
Waqas Hussain ca2bc4fcce mod_storage_sql: Remove the subkey column from the Prosody table, and make the map store compatible with the key-value store. 16 years ago
Waqas Hussain 86644ab8ab mod_storage_sql: Dynamically replace backquotes with double quotes when connecting to PostgreSQL... 16 years ago
Waqas Hussain 799a64f220 mod_storage_sql: Call commit() after all SQL statements, including SELECT, to get SQLite to drop its locks. 16 years ago
Waqas Hussain 7390dbb331 mod_storage_sql: Quote identifiers in SQL with backquotes, and use the empty string for NULL, and '=' instead of 'IS' for comparison, to work with MySQL's limitations... 16 years ago
Matthew Wild 114b761b59 mod_storage_sql: Fix a couple of bugs in "JSON" decoding 16 years ago