Commit Graph

86 Commits (0ff1619ea4e2a6702a3fb70135fb656efd64790b)

Author SHA1 Message Date
Kim Alvefur 98e2e58ff6 mod_storage_sql: Index over contact and timestamp (happy now Ge0rg?) 8 years ago
Kim Alvefur fa77fa5b16 mod_storage_sql: Add indices that include the with and when columns of archives 8 years ago
Kim Alvefur 621ee7226f mod_storage_sql: Also clear the prosodyarchive table when an user is deleted (fixes #1009) 8 years ago
Kim Alvefur 5dcdfde228 mod_storage_sql: Remove return values from purge method 8 years ago
Matthew Wild f9ef95d5e6 mod_storage_sql: Fix logic error introduced by variable rename in aa9f198cb3c9 (thanks waqas) 9 years ago
Kim Alvefur 6670a5b179 mod_storage_sql: Limit encoding check to current database 9 years ago
Kim Alvefur 4c698e988d mod_storage_sql: Break long lines 9 years ago
Kim Alvefur 460b03bec9 mod_storage_sql: Pass charset and collation names via variable binding 9 years ago
Kim Alvefur 44116c253f mod_storage_sql: Quote some field names 9 years ago
Kim Alvefur 2d381d6b38 mod_storage_sql: Raise error if encoding check query fails 9 years ago
Kim Alvefur 1796c07956 SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) 9 years ago
Kim Alvefur 1464d90adb mod_storage_sql: Fix to use correct SQL query (thanks carlos) 9 years ago
Kim Alvefur 3a21f5ef65 mod_storage_sql: Remove unused return values (should those actually be used?) 9 years ago
Kim Alvefur 6eff9f6d5a mod_storage_sql: Ignore name clash [luacheck] 9 years ago
Kim Alvefur a86ffc04a8 mod_storage_sql: Split long lines [luacheck] 9 years ago
Kim Alvefur 434234187c mod_storage_sql: Ignore name clash [luacheck] 9 years ago
Kim Alvefur 119d7900b5 mod_storage_sql: Pass SQL engine as an argument to upgrade and table creator functions 9 years ago
Kim Alvefur df4e99bee7 mod_storage_sql: Move SQL queries into multiline strings for readability [luacheck] 9 years ago
Kim Alvefur abf7382a57 mod_storage_sql: Rename variables to avoid name clashes [luacheck] 9 years ago
Kim Alvefur 0f34b6a8ec mod_storage_sql: Sensible defaults for 'when' and 'with' arguments 9 years ago
Kim Alvefur 861400522c mod_storage_sql: Remove compat for argument order change 9 years ago
Kim Alvefur 45295a38d8 mod_storage_sql: Make archive:append() to return the id (or key) as first return value 9 years ago
Kim Alvefur a4370a9db8 mod_storage_sql: Fix to use correct order for return values from transaction (thanks postblue) 9 years ago
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