Commit Graph

48 Commits (ea219ecbdcd08607b7e54b56ffaa3ac10aa9801a)

Author SHA1 Message Date
Matthew Wild e3d98453a3 mod_storage_sql2: Upgrade table if its charset does not match our connection's charset (thanks Zash) 11 years ago
Matthew Wild 6a6e78358a mod_storage_sql2: Don't upgrade tables without admin intervention 11 years ago
Matthew Wild 6b0cf4aafe mod_storage_sql2: Add prosodyctl command to upgrade tables from the command-line 11 years ago
Matthew Wild df54b384f5 mod_storage_sql2: Add missing return to upgrade_table(), so we know if an upgrade is required 11 years ago
Matthew Wild 254bb34415 mod_storage_sql2: Rename variable to avoid name clash 11 years ago
Kim Alvefur 38a5a1ca59 mod_storage_sql2: Validate configuration after normalizing SQLite3 database path (fixes traceback with default config) 11 years ago
Matthew Wild 78cab72c6a mod_storage_sql2: Break up monolithic code into functions, theoretically no functionality changes. 11 years ago
Matthew Wild 2fa493db42 mod_storage_sql2: Improve logging when database read fails 11 years ago
Matthew Wild d6f89f59be mod_storage_sql2: Some reformatting and variable name improvements 11 years ago
Matthew Wild 7413f8bab9 mod_storage_sql2: Add some comments 11 years ago
Kim Alvefur 1c3f1e910f mod_storage_sql2: Fix argument compat thing from 41725f3df3cc, it was backwards 11 years ago
Kim Alvefur c913917942 mod_storage_sql2: Add a 'caps' table for indicating support for optional features 11 years ago
Kim Alvefur fa8bb62f49 mod_storage_sql2: Change order of arguments to :append to be the same as return values from :find iterator 11 years ago
Kim Alvefur 8cc5c832b7 mod_storage_sql2: Include 'with' field from iterator like some 3rd party archive-capable storage modules 11 years ago
Kim Alvefur 2d59206551 mod_storage_sql2, util.sql: Set character encoding on every connect 11 years ago
Kim Alvefur b7126c5d70 mod_storage_sql2: Don't ignore failure in keyval_store:get() (thanks daurnimator) 12 years ago
Kim Alvefur e31991a773 core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths 12 years ago
Kim Alvefur 4796c80dab mod_storage_sql2: Build counter query without ORDER BY clause 12 years ago
Kim Alvefur 87aaaa9955 mod_storage_sql2: archive:delete() with username = true deletes for all users 12 years ago
Kim Alvefur 8a8617a2c5 mod_storage_sql2: Only attempt to delete conflicting items if an ID/key is given 12 years ago
Kim Alvefur 44a3a3384c mod_storage_sql2: Fix another SQL syntax error that slipped trough 12 years ago
Kim Alvefur f307f2a4a6 mod_storage_sql2: Fix SQL syntax 12 years ago
Kim Alvefur eea1e66570 mod_storage_sql2: Fix syntax error in subquery (Thanks Lance) 12 years ago
Kim Alvefur fa79c28552 mod_storage_sql2: Expose the unique key argument, allowing arbitrary ids. Conflicting items are removed. 12 years ago
Kim Alvefur 4725039181 mod_storage_sql2: Include user, host and store in id lookup 12 years ago
Kim Alvefur 2d85f0a5e6 mod_storage_sql2: Auto increment columns won't be NULL, so drop nullable=false 12 years ago
Kim Alvefur 77355bc935 mod_storage_sql2: Fix backwards comparison of timestamp 12 years ago
Kim Alvefur 9e2d18bd98 mod_storage_sql2: Switch to the util.sql table definition for the main table 12 years ago
Kim Alvefur cc7547d712 mod_storage_sql2: The prosodyarchive_index should be unique 12 years ago
Kim Alvefur 18c0eafd7a mod_storage_sql2: Use primary_key and auto_increment flags instead of baking that into the type 12 years ago
Kim Alvefur 1ffe00783e mod_storage_sql2: Use MEDIUMTEXT fields for value columns (ie TEXT on non-MySQL) 12 years ago
Kim Alvefur 9b8315dd29 mod_storage_sql2: Move checking of the sql_manage_tables option so it also includes table upgrades (again) 12 years ago
Kim Alvefur acefadc54b mod_storage_sql2, util.sql: Move code for setting encoding to util.sql 12 years ago
Kim Alvefur 6c411a5f8e mod_storage_sql2: Move all schema upgrade code to the same place 12 years ago
Kim Alvefur 8793f6b788 mod_storage_sql2: Split up setting of encoding and table upgrade code 12 years ago
Kim Alvefur ec02caa583 mod_storage_sql2: Add method for deleting items from archives with same syntax as :find() 12 years ago
Kim Alvefur dad0501c65 mod_storage_sql2: Split out code for building WHERE clauses into separate functions 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur affa1690f4 mod_storage_sql2: Do an early return and drop an indentation level 13 years ago
Kim Alvefur 38861d82ff mod_storage_sql2: Add archive store with append and find methods 13 years ago
Kim Alvefur b6c04853fd mod_storage_sql2: Create an additional table `prosodyarchive` for chronological collections 13 years ago
Matthew Wild 07dee43089 mod_storage_sql2: Remove from 0.9 13 years ago
Kim Alvefur 6bae3611e9 mod_storage_sql2: Support XML serialization for stanzas. 13 years ago
Kim Alvefur 127153f466 mod_storage_sql2: Keep available store types in a table 13 years ago
Kim Alvefur e3d8ade9f0 mod_storage_sql2: Fix iteration over users and stores 13 years ago
Kim Alvefur b49b1888f8 mod_storage_sql2: Make sure the user field is not NULL 13 years ago
Kim Alvefur 4b575092a1 mod_storage_sql2: Use correct variable (Thanks SkyBlue and Florob) 13 years ago
Matthew Wild 0dd53a7f83 mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting cross-module connection sharing, transactions and Things - a work in progress 13 years ago