aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.pubsub: For open nodes, default affiliation is "member"Matthew Wild2018-08-091-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 Wild2018-08-082-7/+26
| | | | 'none' affiliation to better match XEP-0060
* util.pubsub: Drop now redundant capabilities from testsKim Alvefur2018-08-081-6/+0
|
* mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵Matthew Wild2018-08-083-157/+77
| | | | 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.
* encodings: Explicitly say that base64 decoding falls through in a switch, ↵Emmanuel Gil Peyrot2018-08-081-0/+2
| | | | fixes a warning in gcc 7+.
* pposix: Generate an error when a passed string isn’t "unlimited".Emmanuel Gil Peyrot2018-08-081-0/+1
|
* pposix, signal: Ignore unused arguments.Emmanuel Gil Peyrot2018-08-082-0/+3
|
* net, pposix, signal: Check for redefined defines, fix warnings.Emmanuel Gil Peyrot2018-08-083-0/+11
|
* moduleapi: Remove multiple-parameters feature from module:shared()Matthew Wild2018-08-081-25/+24
| | | | | | Multiple paths are rarely used, and leads to less clear code than just calling module:shared() once per shared table. It also prevents us from extending the API with new parameters in the future.
* MUC: Remove 307 status from error-kicks (fixes #939)Matthew Wild2018-08-081-2/+1
|
* mod_muc: Fix incorrect variable usage [luacheck]Matthew Wild2018-08-081-1/+1
|
* mod_proxy65: Split module:shared() into multiple calls, multiple params may ↵Matthew Wild2018-08-071-1/+2
| | | | be deprecated soon
* MUC: Suppress error text when participants are kicked due to error in ↵Matthew Wild2018-08-071-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.
* util.pubsub: Include node defaults from current service objectKim Alvefur2018-08-071-0/+3
|
* 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-062-0/+8
| | | | | | unsubscribed but nothing else Can't revoke their subscriptions on change of access model otherwise
* util.pubsub: Re-check all subscriptions on access_model change, ↵Kim Alvefur2018-08-061-0/+12
| | | | unsubscribing those no longer allowed
* pubsub.lib: fix more form fieldsJonas Wielicki2018-08-061-3/+3
|
* Merge jonasw->trunkKim Alvefur2018-08-061-5/+5
|\
| * pubsub.lib: correctly emit data form fieldsJonas Wielicki2018-08-061-5/+5
| |
* | CHANGES: Add new pubsub items and note about PEPMatthew Wild2018-08-061-1/+3
| |
* | 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
| |
* | pubsub.lib: Enable publish-options unconditionallyMatthew Wild2018-08-061-4/+2
| |
* | pubsub.lib: Add support for pubsub#publish_modelMatthew Wild2018-08-061-0/+12
| |
* | util.pubsub: Add support for publish_model config optionMatthew Wild2018-08-061-1/+14
| |
* | pubsub.lib: Code formatting changeMatthew Wild2018-08-061-5/+5
| |
* | pubsub.lib: Add comment about tonumber hackMatthew Wild2018-08-061-0/+3
| |
* | pubsub.lib: Enable publish-options by defaultMatthew Wild2018-08-061-1/+1
| |
* | Merge with jonaswMatthew Wild2018-08-065-13/+61
|\ \ | |/ |/|
| * mod_pubsub: Pass the current values to dataformsKim Alvefur2018-08-051-1/+6
| |
| * util.dataforms: Allow passing the current values to be used in stead of ↵Kim Alvefur2018-08-052-2/+43
| | | | | | | | omitted fields
| * mod_pubsub: Use util.pubsub API for retrieving node config insteadKim Alvefur2018-08-051-9/+3
| | | | | | | | | | | | Normalizes access control to the 'get_configuration' capability Thanks pep.
| * mod_pubsub: Add 'get_configuration' capability to relevant affiliationsKim Alvefur2018-08-051-0/+2
| | | | | | | | | | | | Like ca5228a7d907 did for mod_pep Thanks pep.
| * mod_pubsub: Add a public method for retrieving the service objectKim Alvefur2018-08-051-0/+4
| | | | | | | | There is already a set_service()
| * util.pubsub: Apply defaults metatable before config check (thanks pep.)Kim Alvefur2018-08-051-1/+3
| | | | | | | | | | Makes it so that the callback sees the default if it’s not in the form, which makes it easier to validate.
* | pubsub.lib: auto-create node with publish-options if autocreation is enabledJonas Wielicki2018-08-051-2/+12
| |
* | pubsub.lib: ignore FORM_TYPE field in config_from_xep0060Jonas Wielicki2018-08-051-1/+1
|/
* mod_pubsub: Rename variable subscription options form to improve readabilityKim Alvefur2018-08-051-4/+4
| | | | "options_form" ... options for what?
* pubsub.lib: Support for publish-options behind a feature flag, ↵Matthew Wild2018-08-051-24/+70
| | | | 'enable_publish_options'
* 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
|
* MUC: Provide options as options in config form (fixes traceback)Kim Alvefur2018-08-041-1/+1
|