Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_pubsub: Advertise support for subscription-options | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Initial support was added in d614003a82c1 | ||||
* | mod_pubsub: Advertise support for node meta-data | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Node metadata in disco initially added in b6cb0a8f75b1 | ||||
* | mod_pep: Remove feature for persistence already added elsewere | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | This is added in pubsub.lib | ||||
* | mod_pep: Remove already included access model feature | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | access-* is added in pubsub.lib based on node defaults | ||||
* | util.pubsub: Add comment to clarify return values | Matthew Wild | 2018-08-18 | 1 | -0/+1 |
| | |||||
* | MUC: Direct PubSub queries to occupants to their real bare JID | Kim Alvefur | 2018-08-18 | 1 | -1/+2 |
| | | | | | This allows accessing PEP nodes of participants without knowing their real JIDs. | ||||
* | util.time: Add brief tests | Kim Alvefur | 2018-08-18 | 1 | -0/+31 |
| | |||||
* | MUC: Fix traceback when failing to restore a room | Matthew Wild | 2018-08-17 | 1 | -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 message | Kim Alvefur | 2018-08-17 | 1 | -1/+1 |
| | |||||
* | mod_pep: Respect setting for whether to include payload in notifications | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | |||||
* | mod_pep: Respect settings for which kinds of notifications to send | Kim Alvefur | 2018-08-16 | 1 | -1/+6 |
| | |||||
* | mod_pubsub: Add support for thin notifications (without the full payload) | Kim Alvefur | 2018-08-16 | 2 | -0/+10 |
| | |||||
* | mod_pubsub: Only attach publisher on normal "item" broadcasts | Kim Alvefur | 2018-08-16 | 1 | -2/+4 |
| | | | | The 'publisher' is only on <item> in the schema. | ||||
* | mod_pubsub: Use the correct form field | Kim Alvefur | 2018-08-16 | 1 | -3/+3 |
| | |||||
* | mod_pubsub: Specify defaults for notification settings | Kim Alvefur | 2018-08-16 | 1 | -0/+3 |
| | |||||
* | mod_pubsub: Make notification of item retraction configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Make notification of node deletion configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Add support for "quiet nodes" (disabling notifications) | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Prepare to support turning notifications off for each kind of ↵ | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | | | | broadcast | ||||
* | mod_pubsub: Add payload type metadata field | Kim Alvefur | 2018-08-13 | 1 | -0/+12 |
| | |||||
* | util.pubsub: Pass "retract" as the type of such broadcasts | Kim Alvefur | 2018-08-16 | 3 | -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 Alvefur | 2018-08-16 | 1 | -1/+1 |
| | | | | Warnings introduced in c53663e13b51 according to bisect | ||||
* | util.async: Remove sleep function | Kim Alvefur | 2018-08-12 | 1 | -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 TODO | Matthew Wild | 2018-08-12 | 1 | -0/+10 |
| | |||||
* | util.pubsub tests: Add tests to confirm new access model is enforced on ↵ | Matthew Wild | 2018-08-12 | 1 | -0/+24 |
| | | | | config change | ||||
* | util.pubsub tests: Add initial node config tests | Matthew Wild | 2018-08-12 | 1 | -0/+18 |
| | |||||
* | util.pubsub tests: Extend publishing tests to check for correct notification ↵ | Matthew Wild | 2018-08-12 | 1 | -1/+13 |
| | | | | behaviour on subscribe/unsubscribe | ||||
* | util.pubsub: Allow outcasts to get their subscription status | Matthew Wild | 2018-08-12 | 1 | -0/+2 |
| | |||||
* | util.pubsub tests: Add tests for publish_model (publishers, open, subscribers) | Matthew Wild | 2018-08-12 | 1 | -6/+64 |
| | |||||
* | net.http.codes: "Correct" range of unassigned codes (thanks pep.) | Kim Alvefur | 2018-08-12 | 1 | -1/+1 |
| | |||||
* | util.pubsub tests: Add some initial access model tests (open and whitelist) | Matthew Wild | 2018-08-11 | 1 | -0/+52 |
| | |||||
* | spec: Correct order of arguments to asserts in configmanager tests | Kim Alvefur | 2018-08-11 | 1 | -10/+10 |
| | | | | assert.foo(expect, got, ...) | ||||
* | net.http.codes: Regenerate from IANA registry with tool | Kim Alvefur | 2018-08-11 | 1 | -47/+59 |
| | |||||
* | tools: Add a tool to generate net.http.codes from IANA registry | Kim Alvefur | 2018-02-08 | 1 | -0/+43 |
| | |||||
* | util-src/makefile: Add util.time to BSD makefile | Kim Alvefur | 2018-08-11 | 1 | -1/+1 |
| | |||||
* | util.time: Allow for already set constant | Kim Alvefur | 2018-08-11 | 1 | -0/+2 |
| | |||||
* | util.time: Add monotonic time | Kim Alvefur | 2017-03-09 | 1 | -0/+9 |
| | |||||
* | util.time: Convert to C | Kim Alvefur | 2017-03-09 | 3 | -9/+25 |
| | |||||
* | util.pubsub: For open nodes, default affiliation is "member" | Matthew Wild | 2018-08-09 | 1 | -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 Wild | 2018-08-08 | 2 | -7/+26 |
| | | | | 'none' affiliation to better match XEP-0060 | ||||
* | util.pubsub: Drop now redundant capabilities from tests | Kim Alvefur | 2018-08-08 | 1 | -6/+0 |
| | |||||
* | mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵ | Matthew Wild | 2018-08-08 | 3 | -157/+77 |
| | | | | util.pubsub to avoid duplication | ||||
* | mod_pep: Add comment explaining 'none' affiliation | Matthew Wild | 2018-08-08 | 1 | -0/+3 |
| | |||||
* | mod_pep: Remove "subscriber" affiliation in favour of "none" | Matthew Wild | 2018-08-08 | 1 | -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" affiliation | Kim Alvefur | 2018-08-08 | 1 | -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 Alvefur | 2018-08-08 | 1 | -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 Peyrot | 2018-08-08 | 1 | -0/+2 |
| | | | | fixes a warning in gcc 7+. | ||||
* | pposix: Generate an error when a passed string isn’t "unlimited". | Emmanuel Gil Peyrot | 2018-08-08 | 1 | -0/+1 |
| | |||||
* | pposix, signal: Ignore unused arguments. | Emmanuel Gil Peyrot | 2018-08-08 | 2 | -0/+3 |
| | |||||
* | net, pposix, signal: Check for redefined defines, fix warnings. | Emmanuel Gil Peyrot | 2018-08-08 | 3 | -0/+11 |
| |