aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.promise: Fix missing parametersMatthew Wild2018-10-252-4/+30
|
* util.promise: Ensure chained promises always receive a value/rejection even ↵Matthew Wild2018-10-252-22/+60
| | | | if an intermediate promise has no handlers
* util.promise: Export is_promise()Matthew Wild2018-10-251-0/+1
|
* MUC: Remove debug logMatthew Wild2018-10-251-1/+0
|
* util.promise: Remove debug print and assertMatthew Wild2018-10-251-1/+0
|
* Merge 0.10->trunkKim Alvefur2018-10-241-2/+6
|\
| * prosodyctl: Change ownership of certs to same as the cert base dir when ↵Kim Alvefur2018-10-241-1/+4
| | | | | | | | running from a source checkout
| * prosodyctl: Allow cert dir to not be owned by root (fixes #1075)Kim Alvefur2018-10-241-1/+2
| |
* | mod_pep: Add automatic subscriptions on node creation (fixes #1222)Kim Alvefur2018-10-201-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 identificationKim Alvefur2018-10-201-0/+1
| |
* | mod_pep: Remove use of recipients table for signaling pending disco#itemsKim Alvefur2018-10-231-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 valueKim Alvefur2018-10-211-1/+1
| |
* | mod_pep: Add all pubsub service objects to item API in order to behave ↵Kim Alvefur2018-10-201-0/+4
| | | | | | | | across reloads
* | mod_storage_sql: Handle Lua 5.3 move of unpack functionKim Alvefur2018-10-211-1/+1
| |
* | storagemanager: Fix tests on Lua 5.3Kim Alvefur2018-10-211-0/+1
| | | | | | | | _G.unpack moved to table.unpack
* | mod_storage_memory: Adapt archive deletion code from mod_storage_internalKim Alvefur2018-10-211-16/+62
| |
* | mod_storage_memory: Fix overwriting old keysKim Alvefur2018-10-211-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 orderKim Alvefur2018-10-211-3/+0
| |
* | MUC: Add function to retrieve affiliation data for a given JIDMatthew Wild2018-10-211-0/+9
| |
* | MUC: Include affiliation data when iterating over affiliations with a roomMatthew Wild2018-10-211-11/+8
| |
* | MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵Matthew Wild2018-10-212-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.setMatthew Wild2018-10-211-0/+19
| |
* | util.array: Break long lineMatthew Wild2018-10-191-1/+5
| |
* | stanza_router: Remove deprecation warning for core routing functions from ↵Kim Alvefur2018-10-211-10/+0
| | | | | | | | global scope (deprecated in 0.9)
* | mod_compression: Remove tombstone (deprecated in 0.10)Kim Alvefur2018-10-211-9/+0
| |
* | mod_privacy: Remove tombstone (deprecated in 0.10)Kim Alvefur2018-10-211-13/+0
| |
* | tests: Add some comments to xep54 testKim Alvefur2018-10-201-0/+3
| |
* | tests: Remove initial read since XEP is unclear (see #1104)Kim Alvefur2018-10-201-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 testKim Alvefur2018-10-201-0/+1
| |
* | tests: Add simple test case for XEP-0054Kim Alvefur2018-10-201-0/+86
| |
* | mod_vcard_legacy: Pass node defaults to publish instead of createKim Alvefur2018-10-201-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_epollKim Alvefur2018-10-181-0/+1
| |
* | mod_vcard_legacy: Create nodes with open access (fixes #1221)Kim Alvefur2018-10-181-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 Wild2018-10-182-0/+57
| |
* | util.pubsub: Allow publishing with a config that should be used as defaults onlyMatthew Wild2018-10-182-4/+35
| |
* | util.promise: Add a string representationKim Alvefur2018-10-181-0/+4
| |
* | util.promise: Add promise:finally()Matthew Wild2018-10-182-0/+73
| |
* | util.promise: Some code relocationMatthew Wild2018-10-181-23/+23
| |
* | util.promise: Also support automatic resolution by returning a promise from ↵Matthew Wild2018-10-181-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 Wild2018-10-181-0/+6
| |
* | util.promise: Fix promise.reject() to return a rejected promise, and fix ↵Matthew Wild2018-10-182-2/+2
| | | | | | | | buggy test for it
* | core.moduleapi: Remove redundant conditionKim Alvefur2018-10-181-1/+1
| |
* | net.server_epoll: Special handling of signal interruptsKim Alvefur2018-10-122-1/+6
| |
* | net.server_epoll: Ignore ENOENT when deregitering socketKim Alvefur2018-10-122-2/+4
| | | | | | | | It should not really happen
* | net.server_epoll: Graceful handling of registering already added socketKim Alvefur2018-10-122-2/+15
| |
* | util.http: Add tests for normalize_pathKim Alvefur2018-10-141-0/+23
| |
* | mod_http: Move normalize_path to util.httpKim Alvefur2018-10-142-10/+12
| |
* | Merge 0.10->trunkKim Alvefur2018-10-141-3/+7
|\|
| * mod_http: Make sure path from http_external_url always ends with a slash ↵Kim Alvefur2018-10-141-3/+7
| | | | | | | | (fixes #1183)
* | mod_storage_sql: Fix issue number in comment that was fixed by 55b40f3fa659 ↵Matthew Wild2018-10-131-1/+1
| | | | | | | | (fixes #1073)