Commit Graph

61 Commits (d0df7de3799bfd517ac06c2385a2dbecfe5ba34a)

Author SHA1 Message Date
Kim Alvefur d0df7de379 mod_storage_sql: List available commands if no commands given (currenly only one available) 9 years ago
Kim Alvefur f1ce52f17d mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes attempt to concatenate nil) 9 years ago
Kim Alvefur 0176e27050 mod_storage_sql: Include missing parameter table key 'port' 9 years ago
Kim Alvefur 011ee227bb mod_storage_sql: Create a new table to hold normalized database parameters (fixes #636) 9 years ago
Kim Alvefur b89b681cd2 mod_storage_sql: Use is_stanza() from util.stanza 9 years ago
Kim Alvefur c42992594d mod_storage_sql: Make sure all serialization errors are propagated 10 years ago
Kim Alvefur 144597d16b mod_storage_sql: Allow loops over results to end on their own 10 years ago
Kim Alvefur 9df91659b9 mod_storage_sql: Add LIMIT clause to queries where only a single row is expected 10 years ago
Kim Alvefur 7ebc652e1d 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 b3b5222557 mod_storage_sql: Remove debug logging of archive queries 10 years ago
Kim Alvefur 8dab3d4fad mod_storage_sql: Lower message about new engine creation to debug level 10 years ago
Kim Alvefur c9d425731d mod_storage_sql: Share SQL connections with same parameters across VirtualHosts (fixes #576) 10 years ago
Kim Alvefur 1da9cde6ae mod_storage_sql: Fix setting value to false in map store 10 years ago
Kim Alvefur f856a201b7 mod_storage_sql: Silence some harmless luacheck warnings 10 years ago
Kim Alvefur 315a1fc1ca mod_storage_sql: Implement map:set_keys, allowing multiple keys to be set in the same transaction 10 years ago
Kim Alvefur b6a24a9bb0 mod_storage_sql: Support non-string keys in map store 10 years ago
Kim Alvefur 275bfb45fa mod_storage_sql: Fix use of SQLite3 in-memory database (no path expansion) 10 years ago
Matthew Wild 8b1e8e2e6b mod_storage_sql: Add map store (backported from trunk) 10 years ago
Matthew Wild 7c186b61f0 mod_storage_sql: Whitespace fix (backported from trunk) 10 years ago
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 10 years ago
Kim Alvefur 2ba9c6ce77 mod_storage_{none,internal,sql}: Return error for unsupported (everything but keyval) store types 12 years ago
Kim Alvefur 36b77bca8b core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain b3d1a28503 mod_storage_sql: Return actual error string on commit failure. 13 years ago
Kim Alvefur 3b3af5c75e mod_storage_sql: Add support for iterating over users with data in a store 13 years ago
Matthew Wild 3b96fac749 mod_storage_sql: Remove obsolete comment 13 years ago
Kim Alvefur 07bb8a42ce storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version 13 years ago
Waqas Hussain aff71e544e mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules. 13 years ago
Waqas Hussain 7daf3c7c14 core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides(). 13 years ago
Matthew Wild abbff817a9 mod_storage_sql: Return connection from connect even if already connected (thanks IRON) 14 years ago
Kim Alvefur 7d6a3f2438 mod_storage_sql: Complete transactions in list_stores and purge 14 years ago
Kim Alvefur 3496e5281e mod_storage_sql: Keep connections in a shared cache table 14 years ago
Kim Alvefur e32e74aaae mod_storage_sql: Add method for removing all data belonging to a user 14 years ago
Kim Alvefur a1c6c07c44 mod_storage_sql: Add method for listing stores 14 years ago
Kim Alvefur 780317603f 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
Waqas Hussain d4a6582d20 mod_storage_sql: Auto-initialize SQLite3 database. 15 years ago
Waqas Hussain a1a38f2f55 mod_storage_sql: Default value for option sql = { driver = "SQLite3", database = "prosody.sqlite" }. 15 years ago