aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_sql: Raise error if encoding check query failsKim Alvefur2017-04-121-1/+1
|
* SQL: Use standard quotes for columns and other identifiers, rewrite to grave ↵Kim Alvefur2017-04-101-54/+54
| | | | accents for MySQL only (fixes #885)
* mod_storage_sql: Fix to use correct SQL query (thanks carlos)Kim Alvefur2017-04-031-1/+1
|
* mod_storage_sql: Remove unused return values (should those actually be used?)Kim Alvefur2017-04-011-1/+2
|
* mod_storage_sql: Ignore name clash [luacheck]Kim Alvefur2017-04-011-1/+1
|
* mod_storage_sql: Split long lines [luacheck]Kim Alvefur2017-04-011-2/+4
|
* mod_storage_sql: Ignore name clash [luacheck]Kim Alvefur2017-04-011-1/+1
|
* mod_storage_sql: Pass SQL engine as an argument to upgrade and table creator ↵Kim Alvefur2017-04-011-6/+6
| | | | functions
* mod_storage_sql: Move SQL queries into multiline strings for readability ↵Kim Alvefur2017-04-011-21/+101
| | | | [luacheck]
* mod_storage_sql: Rename variables to avoid name clashes [luacheck]Kim Alvefur2017-04-011-11/+11
|
* mod_storage_sql: Sensible defaults for 'when' and 'with' argumentsKim Alvefur2017-04-011-0/+2
|
* mod_storage_sql: Remove compat for argument order changeKim Alvefur2017-04-011-3/+0
|
* mod_storage_sql: Make archive:append() to return the id (or key) as first ↵Kim Alvefur2017-02-201-1/+3
| | | | return value
* mod_storage_sql: Fix to use correct order for return values from transaction ↵Kim Alvefur2017-01-241-2/+2
| | | | (thanks postblue)
* mod_storage_sql: Return number of affected items from archive:deleteKim Alvefur2016-11-221-1/+2
|
* mod_storage_sql: Normalize parameters for upgrade commandKim Alvefur2016-12-011-1/+1
|
* mod_storage_sql: List available commands if no commands given (currenly only ↵Kim Alvefur2016-12-011-1/+2
| | | | one available)
* mod_storage_sql: Don't say 'Unknown command' if no command was given (fixes ↵Kim Alvefur2016-12-011-0/+2
| | | | attempt to concatenate nil)
* mod_storage_sql: Include missing parameter table key 'port'Kim Alvefur2016-12-011-1/+1
|
* mod_storage_sql: Create a new table to hold normalized database parameters ↵Kim Alvefur2016-11-291-7/+15
| | | | (fixes #636)
* mod_storage_sql: Use is_stanza() from util.stanzaKim Alvefur2016-11-281-3/+1
|
* mod_storage_sql: Make sure all serialization errors are propagatedKim Alvefur2016-03-211-5/+3
|
* mod_storage_sql: Allow loops over results to end on their ownKim Alvefur2016-03-131-6/+8
|
* mod_storage_sql: Add LIMIT clause to queries where only a single row is expectedKim Alvefur2016-03-131-3/+3
|
* mod_storage_sql: Treat non-existent archive IDs as beyound the end of the ↵Kim Alvefur2016-02-221-2/+2
| | | | archive (fixes #624) (tested on sqlite3 only)
* mod_storage_sql: Remove debug logging of archive queriesKim Alvefur2016-02-211-2/+0
|
* mod_storage_sql: Lower message about new engine creation to debug levelKim Alvefur2016-02-211-1/+1
|
* mod_storage_sql: Share SQL connections with same parameters across ↵Kim Alvefur2016-02-211-11/+17
| | | | VirtualHosts (fixes #576)
* mod_storage_sql: Fix setting value to false in map storeKim Alvefur2016-02-191-1/+2
|
* mod_storage_sql: Silence some harmless luacheck warningsKim Alvefur2016-02-091-0/+3
|
* mod_storage_sql: Implement map:set_keys, allowing multiple keys to be set in ↵Kim Alvefur2016-02-091-17/+23
| | | | the same transaction
* mod_storage_sql: Support non-string keys in map storeKim Alvefur2016-02-081-2/+14
|
* mod_storage_sql: Fix use of SQLite3 in-memory database (no path expansion)Kim Alvefur2015-12-151-1/+3
|
* mod_storage_sql: Add map store (backported from trunk)Matthew Wild2015-12-031-0/+34
|
* mod_storage_sql: Whitespace fix (backported from trunk)Matthew Wild2015-12-031-1/+1
|
* storagemanager, mod_storage_sql, mod_storage_sql2: Rename mod_storage_sql2 ↵Matthew Wild2015-12-031-307/+335
| | | | -> mod_storage_sql, mod_storage_sql -> mod_storage_sql1 (temporarily), and emit warning for configs using sql2
* 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
|