Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | tests: Remove initial read since XEP is unclear (see #1104) | Kim Alvefur | 2018-10-20 | 1 | -10/+0 |
| | | | | | | | | | | If the store is empty then either this empty vCard element or an item-not-found error is acceptable. | ||||
* | | tests: Set a proper title for vCard test | Kim Alvefur | 2018-10-20 | 1 | -0/+1 |
| | | |||||
* | | tests: Add simple test case for XEP-0054 | Kim Alvefur | 2018-10-20 | 1 | -0/+86 |
| | | |||||
* | | mod_vcard_legacy: Pass node defaults to publish instead of create | Kim Alvefur | 2018-10-20 | 1 | -8/+3 |
| | | | | | | | | | | | | The create calls were introduced in 62fa766d8f3 but work on this started a while before 038446c50630 allowed passing the _defaults_only flag to publish. | ||||
* | | CHANGES: Mention server_epoll | Kim Alvefur | 2018-10-18 | 1 | -0/+1 |
| | | |||||
* | | mod_vcard_legacy: Create nodes with open access (fixes #1221) | Kim Alvefur | 2018-10-18 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | Less drastic change from mod_vcard where everything is always public. This allows users to configure nodes without needing to for the old behaviour. Thanks to 038446c50630 users may still override this. Due to #1222 this may still not apply if the node has already been created by an automatic subscription | ||||
* | | util.promise: Add promise.try() | Matthew Wild | 2018-10-18 | 2 | -0/+57 |
| | | |||||
* | | util.pubsub: Allow publishing with a config that should be used as defaults only | Matthew Wild | 2018-10-18 | 2 | -4/+35 |
| | | |||||
* | | util.promise: Add a string representation | Kim Alvefur | 2018-10-18 | 1 | -0/+4 |
| | | |||||
* | | util.promise: Add promise:finally() | Matthew Wild | 2018-10-18 | 2 | -0/+73 |
| | | |||||
* | | util.promise: Some code relocation | Matthew Wild | 2018-10-18 | 1 | -23/+23 |
| | | |||||
* | | util.promise: Also support automatic resolution by returning a promise from ↵ | Matthew Wild | 2018-10-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | | an on_reject handler Originally unimplemented because it wasn't clear to me what the correct behaviour was, but the A+ spec is clear that both onFulfilled and onRejected may return a promise. |