Commit Graph

63 Commits (ffde63fe687f5ffecf5fdec28358d1774a8a7169)

Author SHA1 Message Date
Kim Alvefur 6de5f5881d mod_storage_sql: Return number of affected items from archive:delete 9 years ago
Kim Alvefur b505c4dd28 mod_storage_sql: Normalize parameters for upgrade command 9 years ago
Kim Alvefur 547a7061bc mod_storage_sql: List available commands if no commands given (currenly only one available) 9 years ago
Kim Alvefur b4b0a1a7f2 mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes attempt to concatenate nil) 9 years ago
Kim Alvefur 3d31b0f2eb mod_storage_sql: Include missing parameter table key 'port' 9 years ago
Kim Alvefur 42f67b2a72 mod_storage_sql: Create a new table to hold normalized database parameters (fixes #636) 9 years ago
Kim Alvefur 5c7a04bc7b mod_storage_sql: Use is_stanza() from util.stanza 9 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 e5031598f6 mod_storage_sql: Support non-string keys in map store 10 years ago
Kim Alvefur 41c42960d7 mod_storage_sql: Fix use of SQLite3 in-memory database (no path expansion) 10 years ago
Matthew Wild 5c6a61d2e7 mod_storage_sql: Add map store (backported from trunk) 10 years ago
Matthew Wild b6d0efc79b mod_storage_sql: Whitespace fix (backported from trunk) 10 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 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. 13 years ago
Kim Alvefur 504f8b9213 mod_storage_sql: Add support for iterating over users with data in a store 13 years ago
Matthew Wild ec41d90e0f mod_storage_sql: Remove obsolete comment 13 years ago
Kim Alvefur f7f8f20929 storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version 13 years ago
Waqas Hussain db36af380f mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules. 13 years ago
Waqas Hussain 66f46ff6ef core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides(). 13 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. 15 years ago
Waqas Hussain 3043e00706 mod_storage_sql: Log an error on query failure. 15 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. 15 years ago
Waqas Hussain 86644ab8ab mod_storage_sql: Dynamically replace backquotes with double quotes when connecting to PostgreSQL... 15 years ago
Waqas Hussain 799a64f220 mod_storage_sql: Call commit() after all SQL statements, including SELECT, to get SQLite to drop its locks. 15 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... 15 years ago
Matthew Wild 114b761b59 mod_storage_sql: Fix a couple of bugs in "JSON" decoding 15 years ago
Matthew Wild d44b3d481a mod_storage_sql: Fix a couple of bugs in "JSON" decoding 15 years ago
Waqas Hussain 503997bd9d mod_storage_sql: Use 'IS' for comparison instead of '=', to avoid SQL's NULL insanity. 15 years ago
Waqas Hussain 082cef0837 mod_storage_sql: Use 'IS' for comparison instead of '=', to avoid SQL's NULL insanity. 15 years ago
Waqas Hussain 2382291f22 mod_storage_sql: Fixed the deserialization of string-typed values. 15 years ago
Waqas Hussain d401695629 mod_storage_sql: Fixed the deserialization of string-typed values. 15 years ago
Waqas Hussain d6ce1c7e2a mod_storage_sql: Auto-initialize SQLite3 database. 15 years ago