Commit Graph

167 Commits (08a730746ce2dc52d2bc47d9868d64f601e2ea81)

Author SHA1 Message Date
Kim Alvefur 91a064bd49 mod_storage_sql: Fix #1639 3 years ago
Kim Alvefur 2317f6a09f mod_storage_sql: Don't avoid initialization under prosodyctl (fix #1787) 3 years ago
Kim Alvefur 2dbbce2382 mod_storage_sql: Fix summary API with Postgres (fixes #1766) 3 years ago
Kim Alvefur 9f51add3a8 mod_storage_sql: Fix bypass of load procedure under prosodyctl 3 years ago
Kim Alvefur 4c14111c76 mod_storage_sql: Support SQLite3 without LuaDBI 3 years ago
Kim Alvefur 1dd9e547ce mod_storage_sql: Strip timestamp precision in queries to fix error (thanks muppeth) 3 years ago
Kim Alvefur 50304f83fd mod_storage_sql: Drop archive timestamp precision pending schema update 3 years ago
Kim Alvefur 5251c9b686 compat: Remove handling of Lua 5.1 location of 'unpack' function 4 years ago
Kim Alvefur 2ec8fbe7e5 mod_storage_sql: Remove Lua 5.1 compatibility hack 4 years ago
Kim Alvefur 65a654d726 mod_storage_sql: Add index covering sort_id to improve performance (fixes #1505) 6 years ago
Kim Alvefur 6e53a3a601 mod_storage_sql: Move update limit check back one step, fixes traceback 6 years ago
Kim Alvefur 84e0c87b7e mod_storage_sql: Fix check for deletion limits (fixes #1494) 6 years ago
Kim Alvefur 0bb07b9711 mod_storage_sql: Return cached total where it makes sense 4 years ago
Kim Alvefur 36bbf6b077 mod_storage_sql: Adjust handling of 'total' for multi-id queries 4 years ago
Kim Alvefur 0d9065ae80 mod_storage_sql: Fix traceback on multi-user deletion 4 years ago
Kim Alvefur 0a50cf1be4 mod_storage_sql: Expose multi-user deletion capability 4 years ago
Kim Alvefur d4c3f44ade mod_storage_sql: Fix for move of yes/no function (Thanks Kasim) 5 years ago
Kim Alvefur 0f0d32d335 mod_storage_sql: Implement map-like API for archives 5 years ago
Kim Alvefur 68bd24d94c mod_storage_sql: Fix compatibilty with Lua 5.1 5 years ago
Kim Alvefur 3c919b0ad4 mod_storage_sql: Support query for set of IDs 5 years ago
Kim Alvefur ae0d560197 mod_storage_sql: Advertise support for id range query 5 years ago
Kim Alvefur 18525691a4 mod_storage_sql: Measure hits/misses on the item count cache 6 years ago
Matthew Wild 371d05a0c6 mod_storage_sql: Fix incorrect results when fetching items before specific archive id 6 years ago
Kim Alvefur 75a3d7758b mod_storage_sql: Log database connection parameters when creating engine 6 years ago
Matthew Wild cb6148d155 storagemanager, mod_storage_sql: Rename methods to :get_all() and :delete_all() 6 years ago
Matthew Wild 33b9b2b91e mod_storage_sql: Add map_store:find_key() and map_store:delete_key() (+ tests) 6 years ago
Kim Alvefur 96c1406bcd mod_storage_sql: Remove unused and not actually returned return value [luacheck] 6 years ago
Kim Alvefur e5423a5f05 mod_storage_sql: Handle SQLite DELETE with LIMIT being optional (fixes #1359) 7 years ago
Kim Alvefur e54ee56ed1 mod_storage_sql: Move code out of if-else chain 7 years ago
Kim Alvefur 9d5e31fd48 mod_storage_*: Also include timestmap of first message in :summary API 6 years ago
Kim Alvefur d3c559bcc8 mod_storage_*: Include timestamp of latest message in :summary API 6 years ago
Kim Alvefur 39cb87a158 mod_storage_*: Tweak :summary API to allow future expansion with more fields 6 years ago
Kim Alvefur 2a65eae651 mod_storage_sql: Ignore shadowed error variable [luacheck] 7 years ago
Kim Alvefur 7b63f8d95d mod_storage_sql: Fix to use correct arguments to archive id lookup 7 years ago
Kim Alvefur 5a2a81bfe9 mod_storage_sql: Correctly return item-not-found error 7 years ago
Kim Alvefur a770a84306 mod_storage_sql: Look up archive IDs in separate queries (fixes #1325) 7 years ago
Kim Alvefur 40040cdfbc mod_storage_sql: Add support for iterating over users in archive stores 7 years ago
Matthew Wild 813f69fd2b mod_storage_sql: Catch errors during schema upgrade (thanks Nothing4You) 7 years ago
Kim Alvefur c5d487e42d mod_storage_sql: Handle Lua 5.3 move of unpack function 7 years ago
Matthew Wild fcdc8d9ff1 mod_storage_sql: Fix issue number in comment that was fixed by 55b40f3fa659 (fixes #1073) 7 years ago
Matthew Wild 1faf1773a3 mod_storage_sql: Keep prosodyarchive_index unique constraint on non-MySQL DBs 7 years ago
Matthew Wild 06cdd9edcd mod_storage_sql: Change prosodyarchive_index to be non-unique (fixes #1087) 7 years ago
Matthew Wild 9423dbfdb3 mod_storage_sql: Have :users() throw an error on failure instead of returning non-iterator values 7 years ago
Matthew Wild 21e358c847 mod_storage_sql: Workaround MySQL not supporting LIMIT subquery in archive truncate operations, fixes #1200 7 years ago
Kim Alvefur c7ef245c0b mod_storage_sql: Remove unused function argument [luacheck] 7 years ago
Kim Alvefur cf3af7a85c mod_storage_sql: Index over contact and timestamp (happy now Ge0rg?) 8 years ago
Kim Alvefur a7693939d4 mod_storage_sql: Add indices that include the with and when columns of archives 8 years ago
Kim Alvefur ce996cdb1c mod_storage_sql: Also clear the prosodyarchive table when an user is deleted (fixes #1009) 8 years ago
Kim Alvefur 50611461f2 mod_storage_sql: Remove return values from purge method 8 years ago
Matthew Wild 4812b7e07c mod_storage_sql: Fix logic error introduced by variable rename in aa9f198cb3c9 (thanks waqas) 9 years ago