Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | mod_admin_adhoc: Keep options for list-single in 'options' field where they ↵ | Kim Alvefur | 2018-08-03 | 1 | -2/+5 | |
| | | | | | | | | | | | | belong Would previously not work due to #1177 | |||||
* | | util.dataforms: Detach generation of options from values (fixes #1177) | Kim Alvefur | 2018-08-03 | 1 | -30/+21 | |
| | | ||||||
* | | util.dataforms: Add failing test for #1177 | Kim Alvefur | 2018-06-30 | 1 | -0/+27 | |
| | | ||||||
* | | 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 | |||||
* | | MUC: Split long lines [luacheck strict] | Kim Alvefur | 2018-08-03 | 5 | -18/+34 | |
| | | ||||||
* | | mod_pep: Silence warnings about unused arguments [luacheck] | Kim Alvefur | 2018-08-03 | 1 | -1/+1 | |
| | | ||||||
* | | mod_muc: Fire event when room is (and about to be) restored | Matthew Wild | 2018-08-03 | 1 | -0/+4 | |
| | | ||||||
* | | mod_muc: Add comment | Matthew Wild | 2018-08-03 | 1 | -0/+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) | |||||
* | | pubsub.lib: Support for not-acceptable error | Matthew Wild | 2018-08-01 | 1 | -0/+1 | |
| | | ||||||
* | | util.pubsub: Add support for a config validation function | Matthew Wild | 2018-08-01 | 1 | -0/+7 | |
| | | ||||||
* | | mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep | Matthew Wild | 2018-08-01 | 3 | -731/+733 | |
| | | ||||||
* | | mod_csi: Imported from prosody-modules 66b3085ecc49 | Matthew Wild | 2018-08-01 | 1 | -0/+22 | |
| | | ||||||
* | | mod_pubsub: Enforce max_items on insertion | Kim Alvefur | 2018-07-31 | 1 | -0/+4 | |
| | | ||||||
* | | util.xmppstream: Explicitly release old parser object on stream reset | Matthew Wild | 2018-07-31 | 1 | -1/+6 | |
| | | ||||||
* | | Merge 0.10->trunk | Matthew Wild | 2018-07-30 | 0 | -0/+0 | |
|\| | ||||||
| * | sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵ | Kim Alvefur | 2018-07-24 | 2 | -2/+2 | |
| | | | | | | | | that for incoming | |||||
| * | mod_s2s: Reduce logging (#776) | Kim Alvefur | 2018-07-22 | 1 | -2/+0 | |
| | | ||||||
| * | core.stanza_router: Reduce logging of common routing (#776) | Kim Alvefur | 2018-07-22 | 1 | -2/+1 | |
| | | ||||||
| * | sessionmanager: Log top tag of outgoing stanzas on c2s (#776) | Kim Alvefur | 2018-07-22 | 1 | -0/+1 | |
| | | ||||||
* | | sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵ | Kim Alvefur | 2018-07-24 | 2 | -2/+2 | |
| | | | | | | | | that for incoming | |||||
* | | mod_s2s: Reduce logging (#776) | Kim Alvefur | 2018-07-22 | 1 | -2/+0 | |
| | | ||||||
* | | core.stanza_router: Reduce logging of common routing (#776) | Kim Alvefur | 2018-07-22 | 1 | -2/+1 | |
| | | ||||||
* | | sessionmanager: Log top tag of outgoing stanzas on c2s (#776) | Kim Alvefur | 2018-07-22 | 1 | -0/+1 | |
| | | ||||||
* | | mod_pep_plus: Fix boolean logic precedence (thanks Link Mauve) | Kim Alvefur | 2018-07-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | In case of 'from' subscription to a JID without node, eg a component, the condition becomes true and update_subscriptions() is called with contact_node = nil, which causes a traceback. | |||||
* | | util.serialization: Tighten up type checks | Kim Alvefur | 2018-07-29 | 1 | -2/+2 | |
| | | ||||||
* | | util.vcard: Use the new :text_tag API in more places | Kim Alvefur | 2018-07-26 | 1 | -8/+8 | |
| | | ||||||
* | | util.vcard: Include values of 'properties' (eg PHOTO TYPE) in vcard-temp ↵ | Kim Alvefur | 2018-07-25 | 1 | -3/+5 | |
| | | | | | | | | serialization | |||||
* | | MUC: Fix another logic inversion () | Matthew Wild | 2018-07-17 | 1 | -1/+1 | |
| | | ||||||
* | | MUC: Fix inverted logic () | Matthew Wild | 2018-07-17 | 1 | -1/+1 | |
| | | ||||||
* | | Backed out changeset 0bf0ff3b0f91 (incorrect fix) | Matthew Wild | 2018-07-17 | 1 | -1/+1 | |
| | | ||||||
* | | MUC: Use JID from correct place when adding <body> to mediated invites ↵ | Matthew Wild | 2018-07-17 | 1 | -1/+1 | |
| | | | | | | | | (thanks Link Mauve/lovetox) | |||||
* | | MUC: Allow restricting public/persistent room options to service admins ↵ | Matthew Wild | 2018-07-17 | 2 | -0/+20 | |
| | | | | | | | | (muc_room_allow_public/muc_room_allow_persistent) | |||||
* | | MUC: Add 'actor' field in muc-config-submitted event | Matthew Wild | 2018-07-17 | 1 | -1/+8 | |
| | |