Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | mod_pubsub: Fix dataforms error handling | Kim Alvefur | 2018-09-01 | 1 | -8/+27 | |
| | | | | | | | | | | The :data method returns the table holding parsed values always. The second return value is a table in case some fields had problems. | |||||
* | | mod_pubsub: Use dataforms validation to specify that max_items is an integer | Kim Alvefur | 2018-09-01 | 1 | -0/+1 | |
| | | ||||||
* | | mod_pubsub: Use field mapping in util.dataforms | Kim Alvefur | 2018-09-01 | 1 | -75/+30 | |
| | | ||||||
* | | MUC: Add support for registering with a MUC, including reserving a nickname ↵ | Matthew Wild | 2018-09-03 | 2 | -0/+201 | |
| | | | | | | | | as per XEP-0045 | |||||
* | | MUC: Add some comments for clarity | Matthew Wild | 2018-09-03 | 1 | -0/+3 | |
| | | ||||||
* | | MUC: Add support for separate events for disco#info queries with a 'node' | Matthew Wild | 2018-09-03 | 1 | -7/+17 | |
| | | | | | | | | Reserved nickname discovery uses this | |||||
* | | MUC: Add support for storing additional data with MUC affiliations | Matthew Wild | 2018-09-03 | 2 | -3/+16 | |
| | | | | | | | | | | | | XEP-0045 registration provides examples of registering a nickname and various other details. This also allows modules to store arbitrary private data about an affiliated entity. | |||||
* | | mod_pubsub: Preserve current subscription options if given a partial form | Kim Alvefur | 2018-08-31 | 1 | -1/+2 | |
| | | ||||||
* | | mod_pubsub: Fix summary generation for Atom entries to use the correct field | Kim Alvefur | 2018-08-31 | 1 | -1/+1 | |
| | | ||||||
* | | mod_version: Remove redundant | Kim Alvefur | 2018-08-24 | 1 | -4/+2 | |
| | | | | | | | | What else would @to be in a iq/host event? | |||||
* | | mod_private, mod_vcard: Use the usual comment on non-get received iqs. | Emmanuel Gil Peyrot | 2018-08-24 | 2 | -2/+2 | |
| | | ||||||
* | | mod_version: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -2/+2 | |
| | | ||||||
* | | mod_uptime: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -5/+3 | |
| | | ||||||
* | | mod_time: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -15/+11 | |
| | | ||||||
* | | mod_lastactivity: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -13/+11 | |
| | | ||||||
* | | mod_disco: Simplify iq handling by hooking on iq-get/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -8/+4 | |
| | | ||||||
* | | mod_adhoc: Simplify iq handling by hooking on iq-set/ instead of iq/. | Emmanuel Gil Peyrot | 2018-08-24 | 1 | -20/+18 | |
| | | ||||||
* | | MUC: Normalize indentation | Kim Alvefur | 2018-08-22 | 1 | -3/+3 | |
| | | ||||||
* | | mod_vcard: Remove 0.8 COMPAT code | Matthew Wild | 2018-08-19 | 1 | -6/+0 | |
| | | ||||||
* | | mod_pubsub: Add missing default value for deliver_payloads | Kim Alvefur | 2018-08-19 | 1 | -0/+1 | |
| | | ||||||
* | | mod_pubsub: Fix boolean value in form | Kim Alvefur | 2018-08-19 | 1 | -1/+1 | |
| | | ||||||
* | | mod_pubsub: Add a semicolon for consistency | Kim Alvefur | 2018-08-19 | 1 | -1/+1 | |
| | | ||||||
* | | util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item | Matthew Wild | 2018-08-18 | 1 | -0/+1 | |
| | | ||||||
* | | 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 |