aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Fix traceback when failing to restore a roomMatthew Wild2018-08-171-0/+3
| | | | | When a room exists in the DB but cannot be loaded (e.g. due to max_rooms or a pre-restore handler) restore_room()/get_room_from_jid() returns false.
* MUC: Pass missing argument to log messageKim Alvefur2018-08-171-1/+1
|
* mod_pep: Respect setting for whether to include payload in notificationsKim Alvefur2018-08-161-0/+5
|
* mod_pep: Respect settings for which kinds of notifications to sendKim Alvefur2018-08-161-1/+6
|
* mod_pubsub: Add support for thin notifications (without the full payload)Kim Alvefur2018-08-162-0/+10
|
* mod_pubsub: Only attach publisher on normal "item" broadcastsKim Alvefur2018-08-161-2/+4
| | | | The 'publisher' is only on <item> in the schema.
* mod_pubsub: Use the correct form fieldKim Alvefur2018-08-161-3/+3
|
* mod_pubsub: Specify defaults for notification settingsKim Alvefur2018-08-161-0/+3
|
* mod_pubsub: Make notification of item retraction configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Make notification of node deletion configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Add support for "quiet nodes" (disabling notifications)Kim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Prepare to support turning notifications off for each kind of ↵Kim Alvefur2018-08-161-0/+5
| | | | broadcast
* mod_pubsub: Add payload type metadata fieldKim Alvefur2018-08-131-0/+12
|
* util.pubsub: Pass "retract" as the type of such broadcastsKim Alvefur2018-08-163-1/+8
| | | | | | | | This moves some XEP-0060 awkwardness out of util.pubsub and into mod_pubsub A retraction is broadcast in an <items> container, whereas most other kinds of broadcasts are in a container with a name matching the 'kind' attribute.
* util.pubsub: Silence warnings in tests [luacheck]Kim Alvefur2018-08-161-1/+1
| | | | Warnings introduced in c53663e13b51 according to bisect
* util.async: Remove sleep functionKim Alvefur2018-08-121-8/+0
| | | | | Dependency on util.timer indirectly caused net.server to be initialized before the config was read, so server_select was always chosen.
* util.pubsub tests: Add TODOMatthew Wild2018-08-121-0/+10
|
* util.pubsub tests: Add tests to confirm new access model is enforced on ↵Matthew Wild2018-08-121-0/+24
| | | | config change
* util.pubsub tests: Add initial node config testsMatthew Wild2018-08-121-0/+18
|
* util.pubsub tests: Extend publishing tests to check for correct notification ↵Matthew Wild2018-08-121-1/+13
| | | | behaviour on subscribe/unsubscribe
* util.pubsub: Allow outcasts to get their subscription statusMatthew Wild2018-08-121-0/+2
|
* util.pubsub tests: Add tests for publish_model (publishers, open, subscribers)Matthew Wild2018-08-121-6/+64
|
* net.http.codes: "Correct" range of unassigned codes (thanks pep.)Kim Alvefur2018-08-121-1/+1
|
* util.pubsub tests: Add some initial access model tests (open and whitelist)Matthew Wild2018-08-111-0/+52
|
* spec: Correct order of arguments to asserts in configmanager testsKim Alvefur2018-08-111-10/+10
| | | | assert.foo(expect, got, ...)
* net.http.codes: Regenerate from IANA registry with toolKim Alvefur2018-08-111-47/+59
|
* tools: Add a tool to generate net.http.codes from IANA registryKim Alvefur2018-02-081-0/+43
|
* util-src/makefile: Add util.time to BSD makefileKim Alvefur2018-08-111-1/+1
|
* util.time: Allow for already set constantKim Alvefur2018-08-111-0/+2
|
* util.time: Add monotonic timeKim Alvefur2017-03-091-0/+9
|
* util.time: Convert to CKim Alvefur2017-03-093-9/+25
|
* util.pubsub: For open nodes, default affiliation is "member"Matthew Wild2018-08-091-1/+1
| | | | | | | | | This allows entities without an explicit affiliation to retrieve items, which is specified by the XEP. Table 6: "Node Access Models" states that for 'open' nodes, "any entity may retrieve items from the node". See also discussion at: https://mail.jabber.org/pipermail/standards/2018-August/035320.html
* mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new ↵Matthew Wild2018-08-082-7/+26
| | | | 'none' affiliation to better match XEP-0060
* util.pubsub: Drop now redundant capabilities from testsKim Alvefur2018-08-081-6/+0
|
* mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵Matthew Wild2018-08-083-157/+77
| | | | util.pubsub to avoid duplication
* mod_pep: Add comment explaining 'none' affiliationMatthew Wild2018-08-081-0/+3
|
* mod_pep: Remove "subscriber" affiliation in favour of "none"Matthew Wild2018-08-081-23/+1
| | | | | It ended up with identical capabilities to "none", and isn't a standard affiliation defined by XEP-0060 anyway.
* mod_pep: Loosen restrictions on the "none" affiliationKim Alvefur2018-08-081-6/+6
| | | | | | | This allows non-contacts access to data in nodes with the "open" access model. Thanks gerald
* mod_pep: Change default affiliation in the "presence" access model to ↵Kim Alvefur2018-08-081-0/+1
| | | | | | | "restricted" for non-contacts This lets us loosen the restrictions of the "none" affiliation, so that the "open" access model allows anyone basic access.
* encodings: Explicitly say that base64 decoding falls through in a switch, ↵Emmanuel Gil Peyrot2018-08-081-0/+2
| | | | fixes a warning in gcc 7+.
* pposix: Generate an error when a passed string isn’t "unlimited".Emmanuel Gil Peyrot2018-08-081-0/+1
|
* pposix, signal: Ignore unused arguments.Emmanuel Gil Peyrot2018-08-082-0/+3
|
* net, pposix, signal: Check for redefined defines, fix warnings.Emmanuel Gil Peyrot2018-08-083-0/+11
|
* moduleapi: Remove multiple-parameters feature from module:shared()Matthew Wild2018-08-081-25/+24
| | | | | | Multiple paths are rarely used, and leads to less clear code than just calling module:shared() once per shared table. It also prevents us from extending the API with new parameters in the future.
* MUC: Remove 307 status from error-kicks (fixes #939)Matthew Wild2018-08-081-2/+1
|
* mod_muc: Fix incorrect variable usage [luacheck]Matthew Wild2018-08-081-1/+1
|
* mod_proxy65: Split module:shared() into multiple calls, multiple params may ↵Matthew Wild2018-08-071-1/+2
| | | | be deprecated soon
* MUC: Suppress error text when participants are kicked due to error in ↵Matthew Wild2018-08-071-1/+1
| | | | | | | semi-anon rooms (fixes #563) This prevents information leaks (such as the occupant's server domain) which may be included in error messages.
* util.pubsub: Include node defaults from current service objectKim Alvefur2018-08-071-0/+3
|
* mod_pep: Add comment about 'hash_map' tableKim Alvefur2018-08-061-0/+2
|