Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|\| | |||||
| * | net.server_epoll: Restore wantread flag after pause (fixes #1354) | Kim Alvefur | 2019-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | If a chunk of data has been received that is larger than the amount read at a time, then the connection is paused for a short time after which it tries to read some more. If, after that, there is still more data to read, it should do the same thing. However, because the "want read" flag is removed and was restored after the delayed reading, it would not schedule another delayed read. | ||||
* | | Fix various spelling mistakes [codespell] | Kim Alvefur | 2019-05-03 | 5 | -6/+6 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-05-03 | 1 | -0/+1 |
|\| | |||||
| * | prosodyctl: Include version of LuaDBI in 'about' | Kim Alvefur | 2019-05-01 | 1 | -0/+1 |
| | | |||||
* | | mod_bosh: Added metrics for active/inactive sessions, new BOSH sessions, ↵ | Arc Riley | 2019-05-03 | 1 | -2/+28 |
| | | | | | | | | BOSH errors, and timeouts (finishes #998) | ||||
* | | mod_admin_telnet: include BOSH connections in c2s:count (#998) | Arc Riley | 2019-05-02 | 1 | -1/+3 |
| | | |||||
* | | mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998) | Arc Riley | 2019-05-02 | 1 | -0/+6 |
| | | |||||
* | | mod_admin_telnet: include BOSH connections in c2s session commands (#998) | Arc Riley | 2019-05-02 | 1 | -0/+1 |
| | | |||||
* | | mod_mimicking: Improve error handling | Kim Alvefur | 2019-04-29 | 1 | -5/+31 |
| | | |||||
* | | mod_mimicking: Use more intuitive term "mimicry index" for skeletons | Kim Alvefur | 2019-04-29 | 1 | -1/+1 |
| | | | | | | | | Fits better with the module name too. | ||||
* | | mod_mimicking: Update command to work with current code | Kim Alvefur | 2019-04-29 | 1 | -9/+14 |
| | | |||||
* | | mod_mimicking: Use new storage API | Kim Alvefur | 2019-04-29 | 1 | -4/+5 |
| | | |||||
* | | mod_mimicking: Hook the correct event names | Kim Alvefur | 2019-04-29 | 1 | -2/+2 |
| | |