Sat, 22 Jul 2023 16:31:05 +0200 util.array: Fix new() library function 0.12
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 16:31:05 +0200] rev 13251
util.array: Fix new() library function Backport of ffe4adbd2af9 since new was added in the 0.12 branch
Sun, 23 Jul 2023 02:54:49 +0200 mod_tokenauth: Fix revoking a single token without revoking whole grant
Kim Alvefur <zash@zash.se> [Sun, 23 Jul 2023 02:54:49 +0200] rev 13250
mod_tokenauth: Fix revoking a single token without revoking whole grant This appears to have been a copy-paste of the grant revocation function, or maybe the other way around. Either way, it deleted the whole grant instead of the individual token as might be expected.
Sat, 22 Jul 2023 16:31:05 +0200 util.array: Fix new() library function
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 16:31:05 +0200] rev 13249
util.array: Fix new() library function
Sat, 22 Jul 2023 16:20:36 +0200 tests: Add hack to test only a single storage driver
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 16:20:36 +0200] rev 13248
tests: Add hack to test only a single storage driver Fixes that LuaDBI being unavailable makes these produce nothing but endless stack overflows in luarocks.
Sat, 22 Jul 2023 16:17:13 +0200 tests: Update storagemanager tests for prosody.* namespace change
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 16:17:13 +0200] rev 13247
tests: Update storagemanager tests for prosody.* namespace change Part of an attempt to make these tests work again. Previously they would just explode in a million luarocks stack overflows
Sat, 22 Jul 2023 16:15:48 +0200 mod_storage_sql: Spell out missing dependencies
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 16:15:48 +0200] rev 13246
mod_storage_sql: Spell out missing dependencies Using util.dependencies appeared to cause problems with running tests in Busted, so this also removes that and uses pcall directly.
Sat, 22 Jul 2023 15:22:54 +0200 mod_storage_sql: Pass variables as arguments instead of upvalues
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 15:22:54 +0200] rev 13245
mod_storage_sql: Pass variables as arguments instead of upvalues Probably a workaround for the lack of argument passing when using xpcall in Lua 5.1, no longer relevant.
Sat, 22 Jul 2023 14:55:27 +0200 util.sql: Remove unused String() and Integer() functions
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 14:55:27 +0200] rev 13244
util.sql: Remove unused String() and Integer() functions According to MattJ, leftovers from an earlier vision for util.sql
Sat, 22 Jul 2023 14:54:17 +0200 util.sqlite3: Clean up unused variables
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 14:54:17 +0200] rev 13243
util.sqlite3: Clean up unused variables Many leftovers from the earlier version of util.sql this was based on and cleanup applied there since then.
Sat, 22 Jul 2023 14:02:01 +0200 util.datamanager: Always reset index after list shift
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 14:02:01 +0200] rev 13242
util.datamanager: Always reset index after list shift Shifting the index does not work reliably yet, better to rebuild it from scratch. Since there is minimal parsing involved in that, it should be more efficient anyway.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 tip