aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mod_pep: Correct comment about 'recipients' tableKim Alvefur2018-08-061-1/+1
|
* mod_pep: Pass 'recipients' table across module reloadsKim Alvefur2018-08-061-1/+5
|
* mod_pep: Only resend last item on successful subscriptionKim Alvefur2018-08-051-2/+3
|
* mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be ↵Kim Alvefur2018-08-062-0/+8
| | | | | | unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise
* util.pubsub: Re-check all subscriptions on access_model change, ↵Kim Alvefur2018-08-061-0/+12
| | | | unsubscribing those no longer allowed
* pubsub.lib: fix more form fieldsJonas Wielicki2018-08-061-3/+3
|