aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | net.server_event: Deprecate :lock_read here tooKim Alvefur2018-10-281-0/+1
| |
* | net.server_select: Deprecate connection:lock_read() methodKim Alvefur2018-10-281-1/+1
|/
* net.server_epoll: Shuffle variables earlier to improve readabilityKim Alvefur2018-10-271-1/+1
|
* mod_ping, mod_uptime: Use module:providesKim Alvefur2018-10-272-2/+2
|
* mod_adhoc: Add compat marker for older handling of adhoc itemsKim Alvefur2018-10-271-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 restoredKim Alvefur2018-10-271-1/+1
| | | | It could previously encode to eg `{ [nil] = ... }` which doesn't get decoded
* util.serialization: Rename non-fatal fallback handler for clarityKim Alvefur2018-10-271-3/+3
|
* util.serialization: Disable use of unquoted table keys by defaultKim Alvefur2018-10-271-1/+3
| | | | For safety against future new keywords
* util.serialization: Add option for allowing multiple references to the same ↵Kim Alvefur2018-10-272-1/+25
| | | | table (but not cycles)
* util.serialization: Test rejection of multiple references to same tableKim Alvefur2018-10-271-0/+8
|
* util.serialization: Separate errors for multiple table references and max depthKim Alvefur2018-10-271-2/+5
|
* util.serialization: Make maximum table depth configurableKim Alvefur2018-10-271-1/+2
|
* modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks ↵Matthew Wild2018-10-261-7/+4
| | | | luacheck, scansion]
* Many things: switch from hacky multi-arg xpcall implementations to a ↵Matthew Wild2018-10-267-31/+23
| | | | standard util.xpcall
* util.xpcall, util.compat: Add non-hacky multi-argument xpcall() for Lua 5.1Matthew Wild2018-10-263-1/+40
|
* util.dependencies: Remove ztact compatability warningMatthew Wild2018-10-261-13/+0
|
* util.promise: Switch from pcall to xpcall to get tracebacks on exceptionsMatthew Wild2018-10-261-1/+1
|
* util.promise: Remove the non-standard ability to pass a promise to reject()Matthew Wild2018-10-261-3/+1
|
* util.promise: Add tests ensuring returning a promise resolves the current ↵Matthew Wild2018-10-261-0/+49
| | | | promise with that promise
* moduleapi: Prevent loading disabled module as dependency of enabled oneKim Alvefur2018-10-251-3/+3
| | | | Explicitly disabled module should stay disabled.
* mod_mam: Remove embedded fallback archive driver (fixes #972)Kim Alvefur2018-10-252-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 errorKim Alvefur2018-10-251-5/+2
|
* mod_mam: Ignore case of null storage driverKim Alvefur2018-10-251-7/+3
|
* mod_muc_mam: Fix missing form container elementKim Alvefur2018-10-251-1/+1
|
* util.promise tests: Fix declared but unused variablesMatthew Wild2018-10-251-2/+2
|
* 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
| |