Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | util.promise: Add additional test for promise.reject() | Matthew Wild | 2018-10-18 | 1 | -0/+6 |
| | | |||||
* | | util.promise: Fix promise.reject() to return a rejected promise, and fix ↵ | Matthew Wild | 2018-10-18 | 2 | -2/+2 |
| | | | | | | | | buggy test for it | ||||
* | | core.moduleapi: Remove redundant condition | Kim Alvefur | 2018-10-18 | 1 | -1/+1 |
| | | |||||
* | | net.server_epoll: Special handling of signal interrupts | Kim Alvefur | 2018-10-12 | 2 | -1/+6 |
| | | |||||
* | | net.server_epoll: Ignore ENOENT when deregitering socket | Kim Alvefur | 2018-10-12 | 2 | -2/+4 |
| | | | | | | | | It should not really happen | ||||
* | | net.server_epoll: Graceful handling of registering already added socket | Kim Alvefur | 2018-10-12 | 2 | -2/+15 |
| | | |||||
* | | util.http: Add tests for normalize_path | Kim Alvefur | 2018-10-14 | 1 | -0/+23 |
| | | |||||
* | | mod_http: Move normalize_path to util.http | Kim Alvefur | 2018-10-14 | 2 | -10/+12 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-10-14 | 1 | -3/+7 |
|\| | |||||
| * | mod_http: Make sure path from http_external_url always ends with a slash ↵ | Kim Alvefur | 2018-10-14 | 1 | -3/+7 |
| | | | | | | | | (fixes #1183) | ||||
* | | mod_storage_sql: Fix issue number in comment that was fixed by 55b40f3fa659 ↵ | Matthew Wild | 2018-10-13 | 1 | -1/+1 |
| | | | | | | | | (fixes #1073) |