aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* prosodyctl: Added the 'local_plugins' command function, which prints back a ↵Jo?o Duarte2019-06-071-1/+16
| | | | list of locally available plugins
* prosodyctl: The 'test' function now also prints which plugins are enabledJo?o Duarte2019-06-071-0/+2
|
* prosodyctl: Created a custom function, 'test', that prints back a welcoming ↵Jo?o Duarte2019-06-071-0/+4
| | | | message
* mod_admin_telnet: Collect array from Bosh connections when appending to ↵Michel Le Bihan2019-06-031-1/+1
| | | | | | connection list Fixes #1356
* core/sessionmanager: Remove unnecessary fallback in make_authenticatedMaxime ?pep? Buquet2019-06-011-1/+1
|
* prosody: Also log status code passed to exit()Kim Alvefur2019-05-311-0/+1
| | | | Sometimes you're just too lazy to `echo $?`
* prosody: Log shutdown reason (in past tense) as the very last thingKim Alvefur2019-05-311-1/+1
|
* prosody: Log shutdown reasonKim Alvefur2019-05-311-0/+1
|
* Merge 0.11->trunkKim Alvefur2019-05-311-0/+6
|\
| * util.sql: Ignore if tables and indices already exist on creation (fixes #1064)Kim Alvefur2019-05-301-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->trunkKim Alvefur2019-05-301-39/+16
|\|
| * mod_pep: Handle presence based subscription outside of util.pubsub (fixes #1372)Kim Alvefur2019-05-301-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 Alvefur2019-05-302-2/+6
| | | | | | | | integer support
* | util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371)Kim Alvefur2019-05-302-0/+7
| |
* | mod_storage_sql: Ignore shadowed error variable [luacheck]Kim Alvefur2019-05-281-1/+1
| |
* | mod_storage_sql: Fix to use correct arguments to archive id lookupKim Alvefur2019-05-281-2/+2
| |
* | 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
| |