aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* mod_storage_{none,internal,sql}: Return error for unsupported (everything ↵Kim Alvefur2014-06-201-3/+3
| | | | but keyval) store types
* core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import ↵Kim Alvefur2014-05-091-1/+1
| | | | from util.paths
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-13/+13
|
* mod_storage_sql: Return actual error string on commit failure.Waqas Hussain2012-11-301-1/+2
|
* mod_storage_sql: Add support for iterating over users with data in a storeKim Alvefur2012-09-211-0/+11
|
* Merge 0.9->trunkMatthew Wild2012-09-191-9/+8
|\
| * mod_storage_sql: Remove obsolete commentMatthew Wild2012-09-191-1/+1
| |
| * storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵Kim Alvefur2012-09-171-9/+8
| | | | | | | | list_stores() with an iterator version
* | mod_storage_*: Don't explicitly set driver name, to ease copying/renaming ↵Waqas Hussain2012-09-121-1/+1
| | | | | | | | modules.
* | core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to ↵Waqas Hussain2012-09-121-1/+1
|/ | | | allow using module:provides().
* mod_storage_sql: Return connection from connect even if already connected ↵Matthew Wild2012-07-301-1/+1
| | | | (thanks IRON)
* mod_storage_sql: Complete transactions in list_stores and purgeKim Alvefur2012-07-301-5/+5
|
* mod_storage_sql: Keep connections in a shared cache tableKim Alvefur2012-07-301-0/+22
|
* mod_storage_sql: Add method for removing all data belonging to a userKim Alvefur2012-07-281-0/+8
|
* mod_storage_sql: Add method for listing storesKim Alvefur2012-07-281-0/+18
|
* mod_storage_sql: Split out query handling logic from getsql() into a ↵Kim Alvefur2012-07-281-2/+5
| | | | separate function
* mod_storage_sql: Add extra logging and error handling around table creationvault/0.8.20.8.2Matthew Wild2011-06-111-4/+11
|
* mod_storage_sql: Add sql_manage_tables to disable table creation/updating.Matthew Wild2011-06-111-0/+3
|
* mod_storage_sql: Fix commit c806a599224a for compatibility with non-MySQL ↵Matthew Wild2011-06-051-1/+1
| | | | databases (thanks Ognyan Kulev)
* mod_storage_sql: Log error when failing to update MySQL schemavault/0.8.10.8.1Matthew Wild2011-06-031-0/+2
|
* mod_storage_sql: Switch to MEDIUMTEXT for the 'value' column when using ↵Matthew Wild2011-06-021-0/+18
| | | | MySQL, as it imposes a 64K limit otherwise, potentially truncating data. Automatically upgrades existing tables.
* mod_storage_sql: Display friendlier error when LuaDBI is missingMatthew Wild2011-03-011-1/+12
|
* mod_storage_sql: Create index when creating a new tableMatthew Wild2011-01-111-13/+32
|
* mod_storage_sql: Reconnect in all cases, and rollback on error.Waqas Hussain2011-01-101-15/+47
|
* mod_storage_sql: Create table automatically for all databases now, not just ↵Matthew Wild2011-01-081-19/+21
| | | | SQLite. Also rename table from Prosody -> prosody.
* mod_storage_sql: Make the 'database' value for the SQLite3 driver relative ↵Matthew Wild2011-01-071-2/+9
| | | | to the data path
* mod_storage_sql: Catch Lua errors during SQL transactions, and rollback.Waqas Hussain2011-01-051-13/+30
|
* mod_storage_sql: Removed unnecessary initialization of a variable.Waqas Hussain2011-01-051-1/+1
|
* mod_storage_sql: Use util.json instead of util.serialization.Waqas Hussain2010-12-271-4/+4
|
* mod_storage_sql: Log an error on query failure.Waqas Hussain2010-12-271-1/+1
|
* mod_storage_sql: Remove the subkey column from the Prosody table, and make ↵Waqas Hussain2010-12-271-30/+21
| | | | the map store compatible with the key-value store.
* mod_storage_sql: Dynamically replace backquotes with double quotes when ↵Waqas Hussain2010-12-271-2/+6
| | | | connecting to PostgreSQL...
* mod_storage_sql: Call commit() after all SQL statements, including SELECT, ↵Waqas Hussain2010-12-271-3/+3
| | | | to get SQLite to drop its locks.
* mod_storage_sql: Quote identifiers in SQL with backquotes, and use the empty ↵Waqas Hussain2010-12-271-15/+15
| | | | string for NULL, and '=' instead of 'IS' for comparison, to work with MySQL's limitations...
* mod_storage_sql: Fix a couple of bugs in "JSON" decodingMatthew Wild2010-12-181-2/+2
|
* mod_storage_sql: Use 'IS' for comparison instead of '=', to avoid SQL's NULL ↵Waqas Hussain2010-12-131-6/+6
| | | | insanity.
* mod_storage_sql: Fixed the deserialization of string-typed values.Waqas Hussain2010-12-131-1/+1
|
* mod_storage_sql: Auto-initialize SQLite3 database.Waqas Hussain2010-12-121-0/+13
|
* mod_storage_sql: Default value for option sql = { driver = "SQLite3", ↵Waqas Hussain2010-12-121-1/+1
| | | | database = "prosody.sqlite" }.
* mod_storage_sql: Fixed a typo.Waqas Hussain2010-12-121-1/+1
|
* mod_storage_sql: Initial commit of new SQL data driver.Waqas Hussain2010-12-121-0/+226