Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_admin_telnet: Collect array from Bosh connections when appending to ↵ | Michel Le Bihan | 2019-06-03 | 1 | -1/+1 |
| | | | | | | connection list Fixes #1356 | ||||
* | core/sessionmanager: Remove unnecessary fallback in make_authenticated | Maxime “pep” Buquet | 2019-06-01 | 1 | -1/+1 |
| | |||||
* | prosody: Also log status code passed to exit() | Kim Alvefur | 2019-05-31 | 1 | -0/+1 |
| | | | | Sometimes you're just too lazy to `echo $?` | ||||
* | prosody: Log shutdown reason (in past tense) as the very last thing | Kim Alvefur | 2019-05-31 | 1 | -1/+1 |
| | |||||
* | prosody: Log shutdown reason | Kim Alvefur | 2019-05-31 | 1 | -0/+1 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-05-31 | 1 | -0/+6 |
|\ | |||||
| * | util.sql: Ignore if tables and indices already exist on creation (fixes #1064) | Kim Alvefur | 2019-05-30 | 1 | -0/+6 |
| | | | | | | | | | | | | Tested with SQLite3 3.16.2 and 3.27.2 and Postgres 11. MySQL does not support IF NOT EXISTS for indices so not handled here. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-30 | 1 | -39/+16 |
|\| | |||||
| * | mod_pep: Handle presence based subscription outside of util.pubsub (fixes #1372) | Kim Alvefur | 2019-05-30 | 1 | -37/+17 |
| | | | | | | | | | | | | | | | | | | Subscriptions were updated for each incoming presence stanza from contacts. Each subscription change triggered a configuration save, which would filter out the presence based subscriptions and usually end up replacing the existing data with identical data. With many subscribed nodes this adds up to a fair bit of IO bound work that is avoided by keeping them separate. | ||||
* | | util.format: Handle integer formats the same way on Lua versions without ↵ | Kim Alvefur | 2019-05-30 | 2 | -2/+6 |
| | | | | | | | | integer support | ||||
* | | util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) | Kim Alvefur | 2019-05-30 | 2 | -0/+7 |
| | | |||||
* | | mod_storage_sql: Ignore shadowed error variable [luacheck] | Kim Alvefur | 2019-05-28 | 1 | -1/+1 |
| | | |||||
* | | mod_storage_sql: Fix to use correct arguments to archive id lookup | Kim Alvefur | 2019-05-28 | 1 | -2/+2 |
| | | |||||
* | | mod_storage_sql: Correctly return item-not-found error | Kim Alvefur | 2019-05-28 | 1 | -2/+3 |
| | | | | | | | | `return ok, err` comes out as `transaction_ok, ok, err` | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-27 | 2 | -3/+14 |
|\| | |||||
| * | mod_muc_mam: Cache last date that archive owner has messages to reduce ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+7 |
| | | | | | | | | writes (fixes #1368) | ||||
| * | mod_mam: Cache last date that archive owner has messages to reduce writes ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+7 |
| | | | | | | | | (fixes #1368) | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-27 | 1 | -1/+1 |
|\| | |||||
| * | mod_announce: Check for admin on current virtualhost instead of global ↵ | Kim Alvefur | 2019-05-27 | 1 | -1/+1 |
| | | | | | | | | (fixes #1365) (thanks yc) | ||||
* | | mod_csi_simple: Disable optimizations on disconnect (fixes #1358) | Kim Alvefur | 2019-05-26 | 1 | -0/+4 |
| | | | | | | | | | | The connection becomes invalid here, regardless of 3rd party modules that might keep the session alive. | ||||
* | | mod_storage_internal: Return appropriate error even with empty archive | Kim Alvefur | 2019-05-05 | 1 | -0/+3 |
| | | |||||
* | | mod_storage_memory: Return correct error even if no archive data available | Kim Alvefur | 2019-05-05 | 1 | -0/+3 |
| | | |||||
* | | mod_muc_mam: Propagate item-not-found to client (fixes #1325) | Kim Alvefur | 2019-05-05 | 1 | -1/+5 |
| | | |||||
* | | mod_mam: Propagate item-not-found to client (fixes #1325) | Kim Alvefur | 2019-05-05 | 1 | -1/+5 |
| | | |||||
* | | mod_storage_sql: Look up archive IDs in separate queries (fixes #1325) | Kim Alvefur | 2019-03-23 | 1 | -29/+29 |
| | | | | | | | | This is probably not good for performance. | ||||
* | | mod_storage_memory: Return error if 'before' or 'after' are not found ↵ | Kim Alvefur | 2019-03-05 | 1 | -0/+10 |
| | | | | | | | | (partial fix for #1325) | ||||
* | | mod_storage_internal: Return error if 'before' or 'after' are not found ↵ | Kim Alvefur | 2019-03-05 | 1 | -0/+10 |
| | | | | | | | | (partial fix for #1325) | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-26 | 3 | -16/+33 |
|\| | |||||
| * | util.random: Throw different error for EOL condition | Kim Alvefur | 2019-05-21 | 1 | -1/+5 |
| | | |||||
| * | util.random: Coerce error to string (thanks waqas) | Kim Alvefur | 2019-05-18 | 1 | -1/+1 |
| | | | | | | | | | | In theory this could happen in an EOF condition, which should be impossible with a read from /dev/urandom. | ||||
| * | util.random: Handle unlikely read errors from /dev/urandom (see #1313) | Kim Alvefur | 2019-05-18 | 1 | -1/+5 |
| | | |||||
| * | mod_c2s: Associate connection with session last (fixes #1313) | Kim Alvefur | 2019-05-18 | 1 | -1/+2 |
| | | | | | | | | | | This way, any fatal error in the callback will not leave a half-established session. | ||||
| * | mod_storage_sql: Handle SQLite DELETE with LIMIT being optional (fixes #1359) | Kim Alvefur | 2019-05-13 | 1 | -6/+15 |
| | | |||||
| * | mod_storage_sql: Move code out of if-else chain | Kim Alvefur | 2019-05-13 | 1 | -9/+8 |
| | | |||||
* | | configure: Respect previously set paths in macosx preset | Kim Alvefur | 2019-05-13 | 1 | -4/+8 |
| | | |||||
* | | configure: Remove preset settings that are autodiscovered | Kim Alvefur | 2019-05-13 | 1 | -14/+0 |
| | | | | | | | | These are likely wrong if other flags have been given. | ||||
* | | configure: Handle ostype preset after argument processing | Kim Alvefur | 2019-05-13 | 1 | -67/+71 |
| | | |||||
* | | util.hashring: Add tests | Matthew Wild | 2019-05-13 | 1 | -0/+85 |
| | | |||||
* | | util.encodings: Declare absence of arguments [-Wstrict-prototypes] | Kim Alvefur | 2019-05-13 | 1 | -1/+1 |
| | | |||||
* | | util.hashring: Implementation of hashring data structure | Matthew Wild | 2019-05-13 | 1 | -0/+88 |
| | | |||||
* | | migrator: Add support for archives (fixes #651) | Kim Alvefur | 2019-05-05 | 1 | -0/+6 |
| | | |||||
* | | migrator: Rewrite to use storage modules | Kim Alvefur | 2019-05-05 | 7 | -439/+143 |
| | | | | | | | | | | This allows migrating to and from any storage module that supports the right methods. Based on experimental mod_migrate work. | ||||
* | | mod_storage_sql: Add support for iterating over users in archive stores | Kim Alvefur | 2019-05-05 | 1 | -0/+13 |
| | | |||||
* | | mod_storage_internal: Add support for iterating over users in archive stores | Kim Alvefur | 2019-05-05 | 1 | -0/+4 |
| | | | | | | | | May help with writing a better migrator | ||||
* | | mod_muc_mam: Handle archive quotas | Kim Alvefur | 2019-05-05 | 1 | -4/+31 |
| | | | | | | | | Same as in mod_mam | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-05 | 1 | -0/+7 |
|\| | |||||
| * | configure: Handle lua being found in /bin (workaround for #1353) | Kim Alvefur | 2019-05-04 | 1 | -0/+7 |
| | | |||||
* | | mod_storage_internal,memory: Only return total count if requested | Kim Alvefur | 2019-05-05 | 2 | -11/+23 |
| | | |||||
* | | net.http.files: Bump cache hits so they stay cached | Kim Alvefur | 2019-05-04 | 1 | -0/+1 |
| | | | | | | | | It's not an LRU cache unless this is done. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-04 | 1 | -1/+1 |
|\| |