aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_storage_sql: Correctly return item-not-found errorKim Alvefur2019-05-281-2/+3
| | | | `return ok, err` comes out as `transaction_ok, ok, err`
* Merge 0.11->trunkKim Alvefur2019-05-272-3/+14
|\
| * mod_muc_mam: Cache last date that archive owner has messages to reduce ↵Kim Alvefur2019-05-271-1/+7
| | | | | | | | writes (fixes #1368)
| * mod_mam: Cache last date that archive owner has messages to reduce writes ↵Kim Alvefur2019-05-271-1/+7
| | | | | | | | (fixes #1368)
* | Merge 0.11->trunkKim Alvefur2019-05-271-1/+1
|\|
| * mod_announce: Check for admin on current virtualhost instead of global ↵Kim Alvefur2019-05-271-1/+1
| | | | | | | | (fixes #1365) (thanks yc)
* | mod_csi_simple: Disable optimizations on disconnect (fixes #1358)Kim Alvefur2019-05-261-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 archiveKim Alvefur2019-05-051-0/+3
| |
* | mod_storage_memory: Return correct error even if no archive data availableKim Alvefur2019-05-051-0/+3
| |
* | mod_muc_mam: Propagate item-not-found to client (fixes #1325)Kim Alvefur2019-05-051-1/+5
| |
* | mod_mam: Propagate item-not-found to client (fixes #1325)Kim Alvefur2019-05-051-1/+5
| |
* | mod_storage_sql: Look up archive IDs in separate queries (fixes #1325)Kim Alvefur2019-03-231-29/+29
| | | | | | | | This is probably not good for performance.
* | mod_storage_memory: Return error if 'before' or 'after' are not found ↵Kim Alvefur2019-03-051-0/+10
| | | | | | | | (partial fix for #1325)
* | mod_storage_internal: Return error if 'before' or 'after' are not found ↵Kim Alvefur2019-03-051-0/+10
| | | | | | | | (partial fix for #1325)
* | Merge 0.11->trunkKim Alvefur2019-05-263-16/+33
|\|
| * util.random: Throw different error for EOL conditionKim Alvefur2019-05-211-1/+5
| |
| * util.random: Coerce error to string (thanks waqas)Kim Alvefur2019-05-181-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 Alvefur2019-05-181-1/+5
| |
| * mod_c2s: Associate connection with session last (fixes #1313)Kim Alvefur2019-05-181-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 Alvefur2019-05-131-6/+15
| |
| * mod_storage_sql: Move code out of if-else chainKim Alvefur2019-05-131-9/+8
| |
* | configure: Respect previously set paths in macosx presetKim Alvefur2019-05-131-4/+8
| |
* | configure: Remove preset settings that are autodiscoveredKim Alvefur2019-05-131-14/+0
| | | | | | | | These are likely wrong if other flags have been given.
* | configure: Handle ostype preset after argument processingKim Alvefur2019-05-131-67/+71
| |
* | util.hashring: Add testsMatthew Wild2019-05-131-0/+85
| |
* | util.encodings: Declare absence of arguments [-Wstrict-prototypes]Kim Alvefur2019-05-131-1/+1
| |
* | util.hashring: Implementation of hashring data structureMatthew Wild2019-05-131-0/+88
| |
* | migrator: Add support for archives (fixes #651)Kim Alvefur2019-05-051-0/+6
| |
* | migrator: Rewrite to use storage modulesKim Alvefur2019-05-057-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 storesKim Alvefur2019-05-051-0/+13
| |
* | mod_storage_internal: Add support for iterating over users in archive storesKim Alvefur2019-05-051-0/+4
| | | | | | | | May help with writing a better migrator
* | mod_muc_mam: Handle archive quotasKim Alvefur2019-05-051-4/+31
| | | | | | | | Same as in mod_mam
* | Merge 0.11->trunkKim Alvefur2019-05-051-0/+7
|\|
| * configure: Handle lua being found in /bin (workaround for #1353)Kim Alvefur2019-05-041-0/+7
| |
* | mod_storage_internal,memory: Only return total count if requestedKim Alvefur2019-05-052-11/+23
| |
* | net.http.files: Bump cache hits so they stay cachedKim Alvefur2019-05-041-0/+1
| | | | | | | | It's not an LRU cache unless this is done.
* | Merge 0.11->trunkKim Alvefur2019-05-041-1/+1
|\|
| * net.server_epoll: Restore wantread flag after pause (fixes #1354)Kim Alvefur2019-05-041-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 Alvefur2019-05-035-6/+6
| |
* | Merge 0.11->trunkKim Alvefur2019-05-031-0/+1
|\|
| * prosodyctl: Include version of LuaDBI in 'about'Kim Alvefur2019-05-011-0/+1
| |
* | mod_bosh: Added metrics for active/inactive sessions, new BOSH sessions, ↵Arc Riley2019-05-031-2/+28
| | | | | | | | BOSH errors, and timeouts (finishes #998)
* | mod_admin_telnet: include BOSH connections in c2s:count (#998)Arc Riley2019-05-021-1/+3
| |
* | mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)Arc Riley2019-05-021-0/+6
| |
* | mod_admin_telnet: include BOSH connections in c2s session commands (#998)Arc Riley2019-05-021-0/+1
| |
* | mod_mimicking: Improve error handlingKim Alvefur2019-04-291-5/+31
| |
* | mod_mimicking: Use more intuitive term "mimicry index" for skeletonsKim Alvefur2019-04-291-1/+1
| | | | | | | | Fits better with the module name too.
* | mod_mimicking: Update command to work with current codeKim Alvefur2019-04-291-9/+14
| |
* | mod_mimicking: Use new storage APIKim Alvefur2019-04-291-4/+5
| |
* | mod_mimicking: Hook the correct event namesKim Alvefur2019-04-291-2/+2
| |