aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.dataforms: Normalize indentationKim Alvefur2018-08-041-3/+3
|
* pubsub.lib: Add support for precondition-not-met errorMatthew Wild2018-08-041-0/+1
|
* pubsub.lib: Advertise peristent-items feature when nodes and items are persistedMatthew Wild2018-08-041-0/+4
|
* mod_pubsub: Add comment to document nodestore/itemstore methodsMatthew Wild2018-08-041-0/+14
|
* util.pubsub: Add method to retrieve node configurationMatthew Wild2018-08-041-0/+21
|
* util.pubsub: Use service.node_defaults in case config.node_defaults was not ↵Matthew Wild2018-08-041-1/+1
| | | | provided (thanks jonasw)
* mod_storage_internal: Only apply truncate if there are more items than requestedKim Alvefur2018-08-041-1/+1
|
* util.pubsub: Tweak default affiliation of access models (fixes failing test)Matthew Wild2018-08-041-2/+2
| | | | | | | | | | | 11:56:59 MattJ> Someone who has the ability to subscribe does not have the "subscriber" affiliation until they actually subscribe, they just have the normal "none" affiliation (which has permission to subscribe) 11:58:05 MattJ> However if the access model is whitelist, then anyone not on the whitelist has an implicit negative affiliation, which we don't currently have, so I just named "restricted" 11:58:16 MattJ> Since it doesn't exist in any code yet, it has no permissions
* 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_pubsub: Advertise default access model in discoKim Alvefur2018-08-041-0/+4
|
* mod_pubsub: Restrict access model to 'whitelist' and 'open'Kim Alvefur2018-08-041-0/+3
| | | | | 'presence' and 'roster' makes more sense for PEP 'auithorize' needs additional code for authorization flow
* mod_pubsub: Add configurable maximum on number of itemsKim Alvefur2018-08-041-0/+9
| | | | Like aefb96a52f5f
* mod_pep: Move subscriber check into 'presence' access model callbackKim Alvefur2018-08-041-2/+8
|
* util.pubsub: Look for a configured callback for more complicated access modelsKim Alvefur2018-08-041-0/+10
|
* mod_pep: Set default access model to 'presence'Kim Alvefur2018-08-041-0/+1
|
* mod_pubsub: Add access model to configuration formKim Alvefur2018-08-041-0/+14
|
* util.pubsub: Add initial support for configurable access modelsKim Alvefur2018-08-041-4/+17
|
* util.dataforms: Only allow overriding of options when passed via the :form ↵Kim Alvefur2018-08-031-9/+8
| | | | method
* MUC: Allow destruction of tombstones (eg via telnet or adhoc command)Kim Alvefur2018-08-031-0/+3
| | | | | Otherwise this just updates the timestamp, which is probably the opposite of what the user wanted
* util.dataforms: Allow overriding default options even if the form has suchKim Alvefur2018-08-031-1/+1
|
* util.dataforms: Allow passing dynamically generated options as values (fixes ↵Kim Alvefur2018-08-031-2/+9
| | | | | | | traceback) This is awkward but there’s currently no better way to do this, short of dynamically generating the entire form each time
* util.dataforms: Exclude descriptive text fields from forms of type 'submit'Kim Alvefur2018-08-031-9/+13
| | | | | The receiving end presumably already have the original form, so these potentially long text fields are of little value.
* util.dataforms: Skip all fields for the 'cancel' form typeKim Alvefur2018-08-031-0/+3
| | | | | | | | | | | XEP-0004 says: > a data form of type "cancel" SHOULD NOT contain any <field/> elements. The title and instructions don't seem to be of much value in this case either. I'm not aware of 'cancel' being used anywhere, so this should break nothing. Early return is always nice.
* util.dataforms: Only include options in 'form' type formsKim Alvefur2018-08-031-1/+1
| | | | Options should not be needed in other types of forms.
* util.dataforms: Set default value for form type argumentKim Alvefur2018-08-031-1/+2
|
* mod_admin_adhoc: Normalize indentationKim Alvefur2018-08-031-8/+8
|
* mod_admin_adhoc: Keep options for list-single in 'options' field where they ↵Kim Alvefur2018-08-031-2/+5
| | | | | | belong Would previously not work due to #1177
* util.dataforms: Detach generation of options from values (fixes #1177)Kim Alvefur2018-08-031-30/+21
|
* util.dataforms: Add failing test for #1177Kim Alvefur2018-06-301-0/+27
|
* 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
* MUC: Split long lines [luacheck strict]Kim Alvefur2018-08-035-18/+34
|
* mod_pep: Silence warnings about unused arguments [luacheck]Kim Alvefur2018-08-031-1/+1
|
* mod_muc: Fire event when room is (and about to be) restoredMatthew Wild2018-08-031-0/+4
|
* mod_muc: Add commentMatthew Wild2018-08-031-0/+1
|
* mod_pep: Add 'pep_max_items' option to set an upper limit, defaults to 256 ↵Matthew Wild2018-08-011-0/+10
| | | | (scientifically chosen)
* pubsub.lib: Support for not-acceptable errorMatthew Wild2018-08-011-0/+1
|
* util.pubsub: Add support for a config validation functionMatthew Wild2018-08-011-0/+7
|
* mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pepMatthew Wild2018-08-013-731/+733
|
* mod_csi: Imported from prosody-modules 66b3085ecc49Matthew Wild2018-08-011-0/+22
|
* mod_pubsub: Enforce max_items on insertionKim Alvefur2018-07-311-0/+4
|
* util.xmppstream: Explicitly release old parser object on stream resetMatthew Wild2018-07-311-1/+6
|
* Merge 0.10->trunkMatthew Wild2018-07-300-0/+0
|\
| * sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵Kim Alvefur2018-07-242-2/+2
| | | | | | | | that for incoming
| * mod_s2s: Reduce logging (#776)Kim Alvefur2018-07-221-2/+0
| |