Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.11->trunk | Kim Alvefur | 2019-05-30 | 1 | -39/+16 |
|\ | |||||
| * | mod_pep: Handle presence based subscription outside of util.pubsub (fixes #1372) | Kim Alvefur | 2019-05-30 | 1 | -37/+17 |
| | | | | | | | | | | | | | | | | | | Subscriptions were updated for each incoming presence stanza from contacts. Each subscription change triggered a configuration save, which would filter out the presence based subscriptions and usually end up replacing the existing data with identical data. With many subscribed nodes this adds up to a fair bit of IO bound work that is avoided by keeping them separate. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-02-22 | 1 | -1/+3 |
|\| | |||||
| * | mod_pep: Simplify configuration for node data (fixes #1320) | Kim Alvefur | 2019-02-22 | 1 | -1/+3 |
| | | |||||
* | | mod_pep: Set an 'id' on notifications | Kim Alvefur | 2018-12-23 | 1 | -1/+3 |
| | | | | | | | | mod_pubsub got this in f2d35eee69c9 | ||||
* | | mod_pep: Add some spacing between blocks in broadcaster to improve readability | Kim Alvefur | 2018-12-23 | 1 | -0/+3 |
| | | |||||
* | | mod_pep: Move broadcaster code around to be more like in mod_pubsub | Kim Alvefur | 2018-12-23 | 1 | -3/+6 |
| | | | | | | | | This eases comparing and contrasting these two modules. | ||||
* | | mod_pep: Remove incorrect features advertised on the bare host | Kim Alvefur | 2018-11-01 | 1 | -3/+0 |
|/ | |||||
* | pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226) | Kim Alvefur | 2018-10-30 | 1 | -1/+1 |
| | |||||
* | mod_pep: Add automatic subscriptions on node creation (fixes #1222) | Kim Alvefur | 2018-10-20 | 1 | -1/+21 |
| | | | | | Replaces automatic node creation on subscription, since this casues problems when trying to keep nodes private or other specific settings. | ||||
* | mod_pep: Add PEP service owners username in configuration to ease identification | Kim Alvefur | 2018-10-20 | 1 | -0/+1 |
| | |||||
* | mod_pep: Remove use of recipients table for signaling pending disco#items | Kim Alvefur | 2018-10-23 | 1 | -16/+7 |
| | | | | | | | | | | It stored the caps hash as a string in the recipients table while waiting for a disco#info response, then replaces it with the set of nodes that had +notify. This mixing of types is bad, so here it gets removed. This can be improved once an IQ tracking API (#714) is added. | ||||
* | mod_pep: Add all pubsub service objects to item API in order to behave ↵ | Kim Alvefur | 2018-10-20 | 1 | -0/+4 |
| | | | | across reloads | ||||
* | mod_pep: Simplify code | Matthew Wild | 2018-08-18 | 1 | -2/+1 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | util.pubsub: Pass "retract" as the type of such broadcasts | Kim Alvefur | 2018-08-16 | 1 | -0/+3 |
| | | | | | | | | 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 | 1 | -78/+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. | ||||
* | 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 | 1 | -0/+4 |
| | | | | | | unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise | ||||
* | 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 |
| | |||||
* | mod_pep: Add 'get_configuration' capability to relevant affiliations | Matthew Wild | 2018-08-05 | 1 | -0/+2 |
| | |||||
* | mod_pep: Add comments describing root tables used for data | Kim Alvefur | 2018-08-04 | 1 | -0/+3 |
| | |||||
* | mod_pep: Restrict access models to 'presence', 'whitelist' and 'open' | Kim Alvefur | 2018-08-04 | 1 | -0/+5 |
| | | | | | 'roster' needs additional support to inspect roster groups 'authorize' is not implemented | ||||
* | mod_pep: Move subscriber check into 'presence' access model callback | Kim Alvefur | 2018-08-04 | 1 | -2/+8 |
| | |||||
* | mod_pep: Set default access model to 'presence' | Kim Alvefur | 2018-08-04 | 1 | -0/+1 |
| | |||||
* | mod_pep: Return true if all node config checks passes (fixes configuration) | Kim Alvefur | 2018-08-03 | 1 | -0/+1 |
| | | | | | util.pubsub would treat the default nil return as falsy and reject all attempts to configure nodes | ||||
* | mod_pep: Silence warnings about unused arguments [luacheck] | Kim Alvefur | 2018-08-03 | 1 | -1/+1 |
| | |||||
* | mod_pep: Add 'pep_max_items' option to set an upper limit, defaults to 256 ↵ | Matthew Wild | 2018-08-01 | 1 | -0/+10 |
| | | | | (scientifically chosen) | ||||
* | mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep | Matthew Wild | 2018-08-01 | 1 | -233/+398 |
| | |||||
* | mod_pep: Remove unused variable [luacheck] | Kim Alvefur | 2018-07-06 | 1 | -1/+1 |
| | |||||
* | mod_pep: Rename variables to avoid name clash [luacheck] | Kim Alvefur | 2018-07-06 | 1 | -4/+4 |
| | |||||
* | mod_pep: Move comment to a shorter line [luacheck] | Kim Alvefur | 2018-07-06 | 1 | -2/+2 |
| | |||||
* | Fix spelling throughout the codebase [codespell] | Kim Alvefur | 2018-02-04 | 1 | -1/+1 |
| | |||||
* | mod_pep: Advertise pubsub features that I believe to be implented | Kim Alvefur | 2017-10-17 | 1 | -1/+19 |
| | |||||
* | mod_pep: Remove disco identity and feature from the host (changed in ↵ | Kim Alvefur | 2017-10-17 | 1 | -3/+0 |
| | | | | XEP-0163 version 1.2) | ||||
* | mod_pep: Handle disco#info queries to nodes (fixes #805) | Kim Alvefur | 2017-04-24 | 1 | -1/+11 |
| | |||||
* | mod_pep: Split long line [luacheck] | Kim Alvefur | 2017-04-24 | 1 | -1/+2 |
| | |||||
* | mod_pep: Add some additional debug logging | Kim Alvefur | 2017-01-28 | 1 | -0/+7 |
| |