Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | pubsub.lib: correctly emit data form fields | Jonas Wielicki | 2018-08-06 | 1 | -5/+5 | |
| | | ||||||
* | | CHANGES: Add new pubsub items and note about PEP | Matthew Wild | 2018-08-06 | 1 | -1/+3 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | pubsub.lib: Enable publish-options unconditionally | Matthew Wild | 2018-08-06 | 1 | -4/+2 | |
| | | ||||||
* | | pubsub.lib: Add support for pubsub#publish_model | Matthew Wild | 2018-08-06 | 1 | -0/+12 | |
| | | ||||||
* | | util.pubsub: Add support for publish_model config option | Matthew Wild | 2018-08-06 | 1 | -1/+14 | |
| | | ||||||
* | | pubsub.lib: Code formatting change | Matthew Wild | 2018-08-06 | 1 | -5/+5 | |
| | | ||||||
* | | pubsub.lib: Add comment about tonumber hack | Matthew Wild | 2018-08-06 | 1 | -0/+3 | |
| | | ||||||
* | | pubsub.lib: Enable publish-options by default | Matthew Wild | 2018-08-06 | 1 | -1/+1 | |
| | | ||||||
* | | Merge with jonasw | Matthew Wild | 2018-08-06 | 5 | -13/+61 | |
|\ \ | |/ |/| | ||||||
| * | mod_pubsub: Pass the current values to dataforms | Kim Alvefur | 2018-08-05 | 1 | -1/+6 | |
| | | ||||||
| * | util.dataforms: Allow passing the current values to be used in stead of ↵ | Kim Alvefur | 2018-08-05 | 2 | -2/+43 | |
| | | | | | | | | omitted fields | |||||
| * | mod_pubsub: Use util.pubsub API for retrieving node config instead | Kim Alvefur | 2018-08-05 | 1 | -9/+3 | |
| | | | | | | | | | | | | Normalizes access control to the 'get_configuration' capability Thanks pep. | |||||
| * | mod_pubsub: Add 'get_configuration' capability to relevant affiliations | Kim Alvefur | 2018-08-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | Like ca5228a7d907 did for mod_pep Thanks pep. | |||||
| * | mod_pubsub: Add a public method for retrieving the service object | Kim Alvefur | 2018-08-05 | 1 | -0/+4 | |
| | | | | | | | | There is already a set_service() | |||||
| * | util.pubsub: Apply defaults metatable before config check (thanks pep.) | Kim Alvefur | 2018-08-05 | 1 | -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 enabled | Jonas Wielicki | 2018-08-05 | 1 | -2/+12 | |
| | | ||||||
* | | pubsub.lib: ignore FORM_TYPE field in config_from_xep0060 | Jonas Wielicki | 2018-08-05 | 1 | -1/+1 | |
|/ | ||||||
* | mod_pubsub: Rename variable subscription options form to improve readability | Kim Alvefur | 2018-08-05 | 1 | -4/+4 | |
| | | | | "options_form" ... options for what? | |||||
* | pubsub.lib: Support for publish-options behind a feature flag, ↵ | Matthew Wild | 2018-08-05 | 1 | -24/+70 | |
| | | | | 'enable_publish_options' | |||||
* | 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 | |
| | ||||||
* | MUC: Provide options as options in config form (fixes traceback) | Kim Alvefur | 2018-08-04 | 1 | -1/+1 | |
| | ||||||
* | util.dataforms: Normalize indentation | Kim Alvefur | 2018-08-04 | 1 | -3/+3 | |
| | ||||||
* | pubsub.lib: Add support for precondition-not-met error | Matthew Wild | 2018-08-04 | 1 | -0/+1 | |
| | ||||||
* | pubsub.lib: Advertise peristent-items feature when nodes and items are persisted | Matthew Wild | 2018-08-04 | 1 | -0/+4 | |
| | ||||||
* | mod_pubsub: Add comment to document nodestore/itemstore methods | Matthew Wild | 2018-08-04 | 1 | -0/+14 | |
| | ||||||
* | util.pubsub: Add method to retrieve node configuration | Matthew Wild | 2018-08-04 | 1 | -0/+21 | |
| | ||||||
* | util.pubsub: Use service.node_defaults in case config.node_defaults was not ↵ | Matthew Wild | 2018-08-04 | 1 | -1/+1 | |
| | | | | provided (thanks jonasw) | |||||
* | mod_storage_internal: Only apply truncate if there are more items than requested | Kim Alvefur | 2018-08-04 | 1 | -1/+1 | |
| | ||||||
* | util.pubsub: Tweak default affiliation of access models (fixes failing test) | Matthew Wild | 2018-08-04 | 1 | -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 Alvefur | 2018-08-04 | 1 | -0/+5 | |
| | | | | | 'roster' needs additional support to inspect roster groups 'authorize' is not implemented | |||||
* | mod_pubsub: Advertise default access model in disco | Kim Alvefur | 2018-08-04 | 1 | -0/+4 | |
| | ||||||
* | mod_pubsub: Restrict access model to 'whitelist' and 'open' | Kim Alvefur | 2018-08-04 | 1 | -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 items | Kim Alvefur | 2018-08-04 | 1 | -0/+9 | |
| | | | | Like aefb96a52f5f | |||||
* | mod_pep: Move subscriber check into 'presence' access model callback | Kim Alvefur | 2018-08-04 | 1 | -2/+8 | |
| | ||||||
* | util.pubsub: Look for a configured callback for more complicated access models | Kim Alvefur | 2018-08-04 | 1 | -0/+10 | |
| | ||||||
* | mod_pep: Set default access model to 'presence' | Kim Alvefur | 2018-08-04 | 1 | -0/+1 | |
| | ||||||
* | mod_pubsub: Add access model to configuration form | Kim Alvefur | 2018-08-04 | 1 | -0/+14 | |
| | ||||||
* | util.pubsub: Add initial support for configurable access models | Kim Alvefur | 2018-08-04 | 1 | -4/+17 | |
| | ||||||
* | util.dataforms: Only allow overriding of options when passed via the :form ↵ | Kim Alvefur | 2018-08-03 | 1 | -9/+8 | |
| | | | | method | |||||
* | MUC: Allow destruction of tombstones (eg via telnet or adhoc command) | Kim Alvefur | 2018-08-03 | 1 | -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 such | Kim Alvefur | 2018-08-03 | 1 | -1/+1 | |
| | ||||||
* | util.dataforms: Allow passing dynamically generated options as values (fixes ↵ | Kim Alvefur | 2018-08-03 | 1 | -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 Alvefur | 2018-08-03 | 1 | -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 type | Kim Alvefur | 2018-08-03 | 1 | -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 forms | Kim Alvefur | 2018-08-03 | 1 | -1/+1 | |
| | | | | Options should not be needed in other types of forms. | |||||
* | util.dataforms: Set default value for form type argument | Kim Alvefur | 2018-08-03 | 1 | -1/+2 | |
| | ||||||
* | mod_admin_adhoc: Normalize indentation | Kim Alvefur | 2018-08-03 | 1 | -8/+8 | |
| |