aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_pep: Respect settings for which kinds of notifications to sendKim Alvefur2018-08-161-1/+6
|
* util.pubsub: Pass "retract" as the type of such broadcastsKim Alvefur2018-08-161-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 Wild2018-08-081-5/+2
| | | | 'none' affiliation to better match XEP-0060
* mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵Matthew Wild2018-08-081-78/+0
| | | | 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.
* 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-061-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 storageKim Alvefur2018-08-051-2/+7
|
* mod_pep: Note which subscriptions are presence based as subscription optionKim Alvefur2018-08-051-1/+1
|
* mod_pep: Add 'get_configuration' capability to relevant affiliationsMatthew Wild2018-08-051-0/+2
|
* mod_pep: Add comments describing root tables used for dataKim Alvefur2018-08-041-0/+3
|
* mod_pep: Restrict access models to 'presence', 'whitelist' and 'open'Kim Alvefur2018-08-041-0/+5
| | | | | 'roster' needs additional support to inspect roster groups 'authorize' is not implemented
* mod_pep: Move subscriber check into 'presence' access model callbackKim Alvefur2018-08-041-2/+8
|
* mod_pep: Set default access model to 'presence'Kim Alvefur2018-08-041-0/+1
|
* mod_pep: Return true if all node config checks passes (fixes configuration)Kim Alvefur2018-08-031-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 Alvefur2018-08-031-1/+1
|
* mod_pep: Add 'pep_max_items' option to set an upper limit, defaults to 256 ↵Matthew Wild2018-08-011-0/+10
| | | | (scientifically chosen)
* mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pepMatthew Wild2018-08-011-233/+398
|
* mod_pep: Remove unused variable [luacheck]Kim Alvefur2018-07-061-1/+1
|
* mod_pep: Rename variables to avoid name clash [luacheck]Kim Alvefur2018-07-061-4/+4
|
* mod_pep: Move comment to a shorter line [luacheck]Kim Alvefur2018-07-061-2/+2
|
* Fix spelling throughout the codebase [codespell]Kim Alvefur2018-02-041-1/+1
|
* mod_pep: Advertise pubsub features that I believe to be implentedKim Alvefur2017-10-171-1/+19
|
* mod_pep: Remove disco identity and feature from the host (changed in ↵Kim Alvefur2017-10-171-3/+0
| | | | XEP-0163 version 1.2)
* mod_pep: Handle disco#info queries to nodes (fixes #805)Kim Alvefur2017-04-241-1/+11
|
* mod_pep: Split long line [luacheck]Kim Alvefur2017-04-241-1/+2
|
* mod_pep: Add some additional debug loggingKim Alvefur2017-01-281-0/+7
|
* mod_pep: Use correct field for full JID (thanks Milan*)Kim Alvefur2016-06-101-1/+1
|
* mod_pep: Include the bare user jid in eventKim Alvefur2016-06-091-3/+2
|
* Merge 0.9->0.10Matthew Wild2015-09-251-0/+16
|\
| * mod_pep: Don't store contacts' subscriptions to a user's nodes when that ↵Matthew Wild2015-09-251-0/+12
| | | | | | | | user is offline
| * mod_pep: Document data structures, so I don't have to spend time remembering ↵Matthew Wild2015-09-041-0/+4
| | | | | | | | every time I work on this module
* | mod_pep: Fire an event when an item is publishedKim Alvefur2014-12-201-3/+7
| |
* | Merge 0.9->trunkMatthew Wild2013-08-241-1/+1
|\|
| * mod_pep: Update COMPAT comment, it seems Asterisk 1.8 also suffers from this ↵Matthew Wild2013-08-241-1/+1
| | | | | | | | issue (thanks Lonnie Abelbeck)
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
| |
* | Merge 0.9->trunkMatthew Wild2013-06-131-2/+3
|\|
| * mod_pep: When a client supplies no id on a published item, reflect our ↵Florian Zeitz2013-06-131-2/+3
| | | | | | | | generated id back to it
* | mod_disco: Emit events for disco requests, which contain a node, on user ↵Florian Zeitz2013-05-171-6/+6
|/ | | | accounts
* mod_pep: Remove unused importsKim Alvefur2012-10-141-3/+1
|
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-0/+1
| | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
* mod_pep: Allow configurable service discovery identity (Fix)IRON2012-07-251-1/+1
|
* mod_pep: Allow configurable service discovery identityIRON2012-07-251-1/+1
|
* mod_pep: Always include a 'from' attribute on service discovery requests to ↵Waqas Hussain2011-10-131-1/+2
| | | | local clients (compatibility fix for OneTeam).