aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql2.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_sql2: Break up monolithic code into functions, theoretically no ↵Matthew Wild2015-06-241-100/+115
| | | | functionality changes.
* mod_storage_sql2: Improve logging when database read failsMatthew Wild2015-06-241-2/+5
|
* mod_storage_sql2: Some reformatting and variable name improvementsMatthew Wild2015-06-241-4/+4
|
* mod_storage_sql2: Add some commentsMatthew Wild2015-06-241-0/+8
|
* mod_storage_sql2, util.sql: Set character encoding on every connectKim Alvefur2014-12-111-2/+0
|
* mod_storage_sql2: Don't ignore failure in keyval_store:get() (thanks ↵Kim Alvefur2014-06-201-1/+3
| | | | daurnimator)
* core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import ↵Kim Alvefur2014-05-091-1/+1
| | | | from util.paths
* mod_storage_sql2: Build counter query without ORDER BY clauseKim Alvefur2014-04-081-1/+1
|
* mod_storage_sql2: archive:delete() with username = true deletes for all usersKim Alvefur2014-02-091-0/+4
|
* mod_storage_sql2: Only attempt to delete conflicting items if an ID/key is givenKim Alvefur2014-01-211-2/+5
|
* mod_storage_sql2: Fix another SQL syntax error that slipped troughKim Alvefur2014-01-211-1/+1
|
* mod_storage_sql2: Fix SQL syntaxKim Alvefur2014-01-181-2/+2
|
* mod_storage_sql2: Fix syntax error in subquery (Thanks Lance)Kim Alvefur2014-01-051-2/+2
|
* mod_storage_sql2: Expose the unique key argument, allowing arbitrary ids. ↵Kim Alvefur2013-12-251-2/+6
| | | | Conflicting items are removed.
* mod_storage_sql2: Include user, host and store in id lookupKim Alvefur2013-12-251-4/+6
|
* mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=falseKim Alvefur2013-11-111-1/+1
|
* mod_storage_sql2: Fix backwards comparison of timestampKim Alvefur2013-11-071-1/+1
|
* mod_storage_sql2: Switch to the util.sql table definition for the main tableKim Alvefur2013-10-311-21/+1
|
* mod_storage_sql2: The prosodyarchive_index should be uniqueKim Alvefur2013-10-301-1/+1
|
* mod_storage_sql2: Use primary_key and auto_increment flags instead of baking ↵Kim Alvefur2013-10-301-1/+1
| | | | that into the type
* mod_storage_sql2: Use MEDIUMTEXT fields for value columns (ie TEXT on non-MySQL)Kim Alvefur2013-10-301-2/+2
|
* mod_storage_sql2: Move checking of the sql_manage_tables option so it also ↵Kim Alvefur2013-10-281-7/+6
| | | | includes table upgrades (again)
* mod_storage_sql2, util.sql: Move code for setting encoding to util.sqlKim Alvefur2013-10-281-12/+2
|
* mod_storage_sql2: Move all schema upgrade code to the same placeKim Alvefur2013-10-281-22/+20
|
* mod_storage_sql2: Split up setting of encoding and table upgrade codeKim Alvefur2013-10-281-1/+3
|
* mod_storage_sql2: Add method for deleting items from archives with same ↵Kim Alvefur2013-09-281-0/+15
| | | | syntax as :find()
* mod_storage_sql2: Split out code for building WHERE clauses into separate ↵Kim Alvefur2013-09-281-34/+44
| | | | functions
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-4/+4
|
* mod_storage_sql2: Do an early return and drop an indentation levelKim Alvefur2013-08-021-30/+29
|
* mod_storage_sql2: Add archive store with append and find methodsKim Alvefur2013-07-121-0/+89
|
* mod_storage_sql2: Create an additional table `prosodyarchive` for ↵Kim Alvefur2013-07-121-1/+18
| | | | chronological collections
* mod_storage_sql2: Support XML serialization for stanzas.Kim Alvefur2013-07-101-0/+9
|
* mod_storage_sql2: Keep available store types in a tableKim Alvefur2013-07-101-2/+7
|
* mod_storage_sql2: Fix iteration over users and storesKim Alvefur2013-07-101-2/+16
|
* mod_storage_sql2: Make sure the user field is not NULLKim Alvefur2013-07-101-4/+4
|
* mod_storage_sql2: Use correct variable (Thanks SkyBlue and Florob)Kim Alvefur2013-06-231-1/+1
|
* mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ↵Matthew Wild2013-04-181-0/+237
cross-module connection sharing, transactions and Things - a work in progress