Commit Graph

74 Commits (bf96691bcc7ceeef346906259ebe901c09a6e876)

Author SHA1 Message Date
Kim Alvefur 67572368f2 mod_storage_sql: Remove unused return values (should those actually be used?) 9 years ago
Kim Alvefur dd86b147bf mod_storage_sql: Ignore name clash [luacheck] 9 years ago
Kim Alvefur ee705afbef mod_storage_sql: Split long lines [luacheck] 9 years ago
Kim Alvefur d5205416d5 mod_storage_sql: Ignore name clash [luacheck] 9 years ago
Kim Alvefur 29c30180ee mod_storage_sql: Pass SQL engine as an argument to upgrade and table creator functions 9 years ago
Kim Alvefur 61d955084f mod_storage_sql: Move SQL queries into multiline strings for readability [luacheck] 9 years ago
Kim Alvefur fbd4f04b73 mod_storage_sql: Rename variables to avoid name clashes [luacheck] 9 years ago
Kim Alvefur b33ad7f001 mod_storage_sql: Sensible defaults for 'when' and 'with' arguments 9 years ago
Kim Alvefur 1113bbdf22 mod_storage_sql: Remove compat for argument order change 9 years ago
Kim Alvefur 10bc92f25d mod_storage_sql: Make archive:append() to return the id (or key) as first return value 9 years ago
Kim Alvefur 1d99ff3da6 mod_storage_sql: Fix to use correct order for return values from transaction (thanks postblue) 9 years ago
Kim Alvefur ad82f3f080 mod_storage_sql: Return number of affected items from archive:delete 9 years ago
Kim Alvefur 738528509c mod_storage_sql: Normalize parameters for upgrade command 9 years ago
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