Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 1 | -2/+2 | |
| | | ||||||
* | | mod_pep: Simplify code | Matthew Wild | 2018-08-18 | 1 | -2/+1 | |
| | | ||||||
* | | pubsub.lib, util.pubsub: Move precondition checks to util.pubsub | Matthew Wild | 2018-08-18 | 1 | -31/+3 | |
| | | ||||||
* | | 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 | |||||
* | | 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. | |||||
* | | 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 | 2 | -0/+7 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new ↵ | Matthew Wild | 2018-08-08 | 1 | -5/+2 | |
| | | | | | | | | 'none' affiliation to better match XEP-0060 | |||||
* | | mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵ | Matthew Wild | 2018-08-08 | 2 | -156/+0 | |
| | | | | | | | | 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. | |||||
* | | MUC: Remove 307 status from error-kicks (fixes #939) | Matthew Wild | 2018-08-08 | 1 | -2/+1 | |
| | | ||||||
* | | mod_muc: Fix incorrect variable usage [luacheck] | Matthew Wild | 2018-08-08 | 1 | -1/+1 | |
| | | ||||||
* | | mod_proxy65: Split module:shared() into multiple calls, multiple params may ↵ | Matthew Wild | 2018-08-07 | 1 | -1/+2 | |
| | | | | | | | | be deprecated soon | |||||
* | | MUC: Suppress error text when participants are kicked due to error in ↵ | Matthew Wild | 2018-08-07 | 1 | -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. | |||||
* | | mod_pep: Add comment about 'hash_map' table | Kim Alvefur | 2018-08-06 | 1 | -0/+2 | |
| | | ||||||
* | | mod_pep: Correct comment about 'recipients' table | Kim Alvefur | 2018-08-06 | 1 | -1/+1 | |
| | | ||||||
* | | mod_pep: Pass 'recipients' table across module reloads | Kim Alvefur | 2018-08-06 | 1 | -1/+5 | |
| | | ||||||
* | | mod_pep: Only resend last item on successful subscription | Kim Alvefur | 2018-08-05 | 1 | -2/+3 | |
| | | ||||||
* | | mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be ↵ | Kim Alvefur | 2018-08-06 | 2 | -0/+8 | |
| | | | | | | | | | | | | unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise | |||||
* | | pubsub.lib: fix more form fields | Jonas Wielicki | 2018-08-06 | 1 | -3/+3 | |
| | | ||||||
* | | Merge jonasw->trunk | Kim Alvefur | 2018-08-06 | 1 | -5/+5 | |
|\ \ | ||||||
| * | | pubsub.lib: correctly emit data form fields | Jonas Wielicki | 2018-08-06 | 1 | -5/+5 | |
| | | | ||||||
* | | | mod_pep: Save non-presence based subscriptions to storage | Kim Alvefur | 2018-08-05 | 1 | -2/+7 | |
| | | | ||||||
* | | | mod_pep: Note which subscriptions are presence based as subscription option | Kim Alvefur | 2018-08-05 | 1 | -1/+1 | |
| | | | ||||||
* | | | pubsub.lib: Enable publish-options unconditionally | Matthew Wild | 2018-08-06 | 1 | -4/+2 | |
| | | | ||||||
* | | | pubsub.lib: Add support for pubsub#publish_model | Matthew Wild | 2018-08-06 | 1 | -0/+12 | |
| | | | ||||||
* | | | pubsub.lib: Code formatting change | Matthew Wild | 2018-08-06 | 1 | -5/+5 | |
| | | | ||||||
* | | | pubsub.lib: Add comment about tonumber hack | Matthew Wild | 2018-08-06 | 1 | -0/+3 | |
| | | | ||||||
* | | | pubsub.lib: Enable publish-options by default | Matthew Wild | 2018-08-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge with jonasw | Matthew Wild | 2018-08-06 | 2 | -10/+15 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | mod_pubsub: Pass the current values to dataforms | Kim Alvefur | 2018-08-05 | 1 | -1/+6 | |
| | | | ||||||
| * | | mod_pubsub: Use util.pubsub API for retrieving node config instead | Kim Alvefur | 2018-08-05 | 1 | -9/+3 | |
| | | | | | | | | | | | | | | | | | | Normalizes access control to the 'get_configuration' capability Thanks pep. |