Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | net.server_epoll: Shuffle variables earlier to improve readability | Kim Alvefur | 2018-10-27 | 1 | -1/+1 | |
| | ||||||
* | mod_ping, mod_uptime: Use module:provides | Kim Alvefur | 2018-10-27 | 2 | -2/+2 | |
| | ||||||
* | mod_adhoc: Add compat marker for older handling of adhoc items | Kim Alvefur | 2018-10-27 | 1 | -1/+1 | |
| | | | | | | | Most modules use the module:provides() API which add the '-provides' suffix. Previously module:add_item() was used. See 58714123f600 | |||||
* | util.serialization: Encode non-fatal error in way that can be restored | Kim Alvefur | 2018-10-27 | 1 | -1/+1 | |
| | | | | It could previously encode to eg `{ [nil] = ... }` which doesn't get decoded | |||||
* | util.serialization: Rename non-fatal fallback handler for clarity | Kim Alvefur | 2018-10-27 | 1 | -3/+3 | |
| | ||||||
* | util.serialization: Disable use of unquoted table keys by default | Kim Alvefur | 2018-10-27 | 1 | -1/+3 | |
| | | | | For safety against future new keywords | |||||
* | util.serialization: Add option for allowing multiple references to the same ↵ | Kim Alvefur | 2018-10-27 | 2 | -1/+25 | |
| | | | | table (but not cycles) | |||||
* | util.serialization: Test rejection of multiple references to same table | Kim Alvefur | 2018-10-27 | 1 | -0/+8 | |
| | ||||||
* | util.serialization: Separate errors for multiple table references and max depth | Kim Alvefur | 2018-10-27 | 1 | -2/+5 | |
| | ||||||
* | util.serialization: Make maximum table depth configurable | Kim Alvefur | 2018-10-27 | 1 | -1/+2 | |
| | ||||||
* | modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks ↵ | Matthew Wild | 2018-10-26 | 1 | -7/+4 | |
| | | | | luacheck, scansion] | |||||
* | Many things: switch from hacky multi-arg xpcall implementations to a ↵ | Matthew Wild | 2018-10-26 | 7 | -31/+23 | |
| | | | | standard util.xpcall | |||||
* | util.xpcall, util.compat: Add non-hacky multi-argument xpcall() for Lua 5.1 | Matthew Wild | 2018-10-26 | 3 | -1/+40 | |
| | ||||||
* | util.dependencies: Remove ztact compatability warning | Matthew Wild | 2018-10-26 | 1 | -13/+0 | |
| | ||||||
* | util.promise: Switch from pcall to xpcall to get tracebacks on exceptions | Matthew Wild | 2018-10-26 | 1 | -1/+1 | |
| | ||||||
* | util.promise: Remove the non-standard ability to pass a promise to reject() | Matthew Wild | 2018-10-26 | 1 | -3/+1 | |
| | ||||||
* | util.promise: Add tests ensuring returning a promise resolves the current ↵ | Matthew Wild | 2018-10-26 | 1 | -0/+49 | |
| | | | | promise with that promise | |||||
* | moduleapi: Prevent loading disabled module as dependency of enabled one | Kim Alvefur | 2018-10-25 | 1 | -3/+3 | |
| | | | | Explicitly disabled module should stay disabled. | |||||
* | mod_mam: Remove embedded fallback archive driver (fixes #972) | Kim Alvefur | 2018-10-25 | 2 | -92/+0 | |
| | | | | It was equivalent to mod_storage_memory, which is included as a separate module now. | |||||
* | mod_mam: Upgrade case of invalid archive store driver to hard error | Kim Alvefur | 2018-10-25 | 1 | -5/+2 | |
| | ||||||
* | mod_mam: Ignore case of null storage driver | Kim Alvefur | 2018-10-25 | 1 | -7/+3 | |
| | ||||||
* | mod_muc_mam: Fix missing form container element | Kim Alvefur | 2018-10-25 | 1 | -1/+1 | |
| | ||||||
* | util.promise tests: Fix declared but unused variables | Matthew Wild | 2018-10-25 | 1 | -2/+2 | |
| | ||||||
* | util.promise: Fix missing parameters | Matthew Wild | 2018-10-25 | 2 | -4/+30 | |
| | ||||||
* | util.promise: Ensure chained promises always receive a value/rejection even ↵ | Matthew Wild | 2018-10-25 | 2 | -22/+60 | |
| | | | | if an intermediate promise has no handlers | |||||
* | util.promise: Export is_promise() | Matthew Wild | 2018-10-25 | 1 | -0/+1 | |
| | ||||||
* | MUC: Remove debug log | Matthew Wild | 2018-10-25 | 1 | -1/+0 | |
| | ||||||
* | util.promise: Remove debug print and assert | Matthew Wild | 2018-10-25 | 1 | -1/+0 | |
| | ||||||
* | Merge 0.10->trunk | Kim Alvefur | 2018-10-24 | 1 | -2/+6 | |
|\ | ||||||
| * | prosodyctl: Change ownership of certs to same as the cert base dir when ↵ | Kim Alvefur | 2018-10-24 | 1 | -1/+4 | |
| | | | | | | | | running from a source checkout | |||||
| * | prosodyctl: Allow cert dir to not be owned by root (fixes #1075) | Kim Alvefur | 2018-10-24 | 1 | -1/+2 | |
| | | ||||||
* | | mod_pep: Add automatic subscriptions on node creation (fixes #1222) | Kim Alvefur | 2018-10-20 | 1 | -1/+21 | |
| | | | | | | | | | | Replaces automatic node creation on subscription, since this casues problems when trying to keep nodes private or other specific settings. | |||||
* | | mod_pep: Add PEP service owners username in configuration to ease identification | Kim Alvefur | 2018-10-20 | 1 | -0/+1 | |
| | | ||||||
* | | mod_pep: Remove use of recipients table for signaling pending disco#items | Kim Alvefur | 2018-10-23 | 1 | -16/+7 | |
| | | | | | | | | | | | | | | | | | | | | It stored the caps hash as a string in the recipients table while waiting for a disco#info response, then replaces it with the set of nodes that had +notify. This mixing of types is bad, so here it gets removed. This can be improved once an IQ tracking API (#714) is added. | |||||
* | | util.pubsub: Clarify comment about return value | Kim Alvefur | 2018-10-21 | 1 | -1/+1 | |
| | | ||||||
* | | mod_pep: Add all pubsub service objects to item API in order to behave ↵ | Kim Alvefur | 2018-10-20 | 1 | -0/+4 | |
| | | | | | | | | across reloads | |||||
* | | mod_storage_sql: Handle Lua 5.3 move of unpack function | Kim Alvefur | 2018-10-21 | 1 | -1/+1 | |
| | | ||||||
* | | storagemanager: Fix tests on Lua 5.3 | Kim Alvefur | 2018-10-21 | 1 | -0/+1 | |
| | | | | | | | | _G.unpack moved to table.unpack | |||||
* | | mod_storage_memory: Adapt archive deletion code from mod_storage_internal | Kim Alvefur | 2018-10-21 | 1 | -16/+62 | |
| | | ||||||
* | | mod_storage_memory: Fix overwriting old keys | Kim Alvefur | 2018-10-21 | 1 | -1/+1 | |
| | | | | | | | | Test fixed is: spec/core_storagemanager_spec.lua:309: Expected objects to be equal. | |||||
* | | mod_storage_memory: Remove compat for very early argument order | Kim Alvefur | 2018-10-21 | 1 | -3/+0 | |
| | | ||||||
* | | MUC: Add function to retrieve affiliation data for a given JID | Matthew Wild | 2018-10-21 | 1 | -0/+9 | |
| | | ||||||
* | | MUC: Include affiliation data when iterating over affiliations with a room | Matthew Wild | 2018-10-21 | 1 | -11/+8 | |
| | | ||||||
* | | MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵ | Matthew Wild | 2018-10-21 | 2 | -1/+109 | |
| | | | | | | | | | | | | don't set it (fixes #1224) The full JID is never meant to be the target of affiliation changes. | |||||
* | | util.array: Add __div for parity with util.set | Matthew Wild | 2018-10-21 | 1 | -0/+19 | |
| | | ||||||
* | | util.array: Break long line | Matthew Wild | 2018-10-19 | 1 | -1/+5 | |
| | | ||||||
* | | stanza_router: Remove deprecation warning for core routing functions from ↵ | Kim Alvefur | 2018-10-21 | 1 | -10/+0 | |
| | | | | | | | | global scope (deprecated in 0.9) | |||||
* | | mod_compression: Remove tombstone (deprecated in 0.10) | Kim Alvefur | 2018-10-21 | 1 | -9/+0 | |
| | | ||||||
* | | mod_privacy: Remove tombstone (deprecated in 0.10) | Kim Alvefur | 2018-10-21 | 1 | -13/+0 | |
| | | ||||||
* | | tests: Add some comments to xep54 test | Kim Alvefur | 2018-10-20 | 1 | -0/+3 | |
| | |