Commit Graph

1 Commits (47c821cf549c8ea4645190a8f4bb18b7a2eaee2b)

Author SHA1 Message Date
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
Waqas Hussain 50fc30731e mod_storage_sql: Default value for option sql = { driver = "SQLite3", database = "prosody.sqlite" }. 15 years ago
Waqas Hussain ce0e9cdf60 mod_storage_sql: Fixed a typo. 15 years ago
Waqas Hussain cdf7b5ac64 mod_storage_sql: Fixed a typo. 15 years ago
Waqas Hussain fde7a07d28 mod_storage_sql: Initial commit of new SQL data driver. 15 years ago
Waqas Hussain fe3c6d5654 mod_storage_sql: Initial commit of new SQL data driver. 15 years ago
Matthew Wild 8ec24c7bf7 mod_storage_sql: Add extra logging and error handling around table creation 15 years ago
Matthew Wild 089b80680f mod_storage_sql: Add sql_manage_tables to disable table creation/updating. 15 years ago
Matthew Wild 6b16aa6794 mod_storage_sql: Log error when failing to update MySQL schema 15 years ago
Matthew Wild 7037ff8b95 mod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using MySQL, as it imposes a 64K limit otherwise, potentially truncating data. Automatically upgrades existing tables. 15 years ago
Matthew Wild 67088429be mod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL databases (thanks Ognyan Kulev) 15 years ago
Matthew Wild 9cf13e5dcd mod_storage_sql: Display friendlier error when LuaDBI is missing 15 years ago
Matthew Wild 16e8102a4e mod_storage_sql: Create index when creating a new table 15 years ago
Waqas Hussain adbc809945 mod_storage_sql: Reconnect in all cases, and rollback on error. 15 years ago
Matthew Wild 11d32c9f54 mod_storage_sql: Create table automatically for all databases now, not just SQLite. Also rename table from Prosody -> prosody. 15 years ago
Matthew Wild 1453a1753f mod_storage_sql: Make the 'database' value for the SQLite3 driver relative to the data path 15 years ago
Waqas Hussain 19e5efd0ca mod_storage_sql: Catch Lua errors during SQL transactions, and rollback. 15 years ago
Waqas Hussain 3222de3f4b mod_storage_sql: Catch Lua errors during SQL transactions, and rollback. 15 years ago
Waqas Hussain 5e1f81a522 mod_storage_sql: Removed unnecessary initialization of a variable. 15 years ago
Waqas Hussain e7e865057d mod_storage_sql: Removed unnecessary initialization of a variable. 15 years ago