Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | spec: Correct order of arguments to asserts in configmanager tests | Kim Alvefur | 2018-08-11 | 1 | -10/+10 |
| | | | | assert.foo(expect, got, ...) | ||||
* | net.http.codes: Regenerate from IANA registry with tool | Kim Alvefur | 2018-08-11 | 1 | -47/+59 |
| | |||||
* | tools: Add a tool to generate net.http.codes from IANA registry | Kim Alvefur | 2018-02-08 | 1 | -0/+43 |
| | |||||
* | util-src/makefile: Add util.time to BSD makefile | Kim Alvefur | 2018-08-11 | 1 | -1/+1 |
| | |||||
* | util.time: Allow for already set constant | Kim Alvefur | 2018-08-11 | 1 | -0/+2 |
| | |||||
* | util.time: Add monotonic time | Kim Alvefur | 2017-03-09 | 1 | -0/+9 |
| | |||||
* | util.time: Convert to C | Kim Alvefur | 2017-03-09 | 3 | -9/+25 |
| | |||||
* | util.pubsub: For open nodes, default affiliation is "member" | Matthew Wild | 2018-08-09 | 1 | -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 Wild | 2018-08-08 | 2 | -7/+26 |
| | | | | 'none' affiliation to better match XEP-0060 | ||||
* | util.pubsub: Drop now redundant capabilities from tests | Kim Alvefur | 2018-08-08 | 1 | -6/+0 |
| | |||||
* | mod_pubsub, mod_pep, util.pubsub: Move capability definitions into ↵ | Matthew Wild | 2018-08-08 | 3 | -157/+77 |
| | | | | util.pubsub to avoid duplication | ||||
* | mod_pep: Add comment explaining 'none' affiliation | Matthew Wild | 2018-08-08 | 1 | -0/+3 |
| | |||||
* | mod_pep: Remove "subscriber" affiliation in favour of "none" | Matthew Wild | 2018-08-08 | 1 | -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" affiliation | Kim Alvefur | 2018-08-08 | 1 | -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 Alvefur | 2018-08-08 | 1 | -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 Peyrot | 2018-08-08 | 1 | -0/+2 |
| | | | | fixes a warning in gcc 7+. | ||||
* | pposix: Generate an error when a passed string isn’t "unlimited". | Emmanuel Gil Peyrot | 2018-08-08 | 1 | -0/+1 |
| | |||||
* | pposix, signal: Ignore unused arguments. | Emmanuel Gil Peyrot | 2018-08-08 | 2 | -0/+3 |
| | |||||
* | net, pposix, signal: Check for redefined defines, fix warnings. | Emmanuel Gil Peyrot | 2018-08-08 | 3 | -0/+11 |
| | |||||
* | moduleapi: Remove multiple-parameters feature from module:shared() | Matthew Wild | 2018-08-08 | 1 | -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 Wild | 2018-08-08 | 1 | -2/+1 |
| | |||||
* | mod_muc: Fix incorrect variable usage [luacheck] | Matthew Wild | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | mod_proxy65: Split module:shared() into multiple calls, multiple params may ↵ | Matthew Wild | 2018-08-07 | 1 | -1/+2 |
| | | | | be deprecated soon | ||||
* | MUC: Suppress error text when participants are kicked due to error in ↵ | Matthew Wild | 2018-08-07 | 1 | -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 object | Kim Alvefur | 2018-08-07 | 1 | -0/+3 |
| | |||||
* | mod_pep: Add comment about 'hash_map' table | Kim Alvefur | 2018-08-06 | 1 | -0/+2 |
| | |||||
* | mod_pep: Correct comment about 'recipients' table | Kim Alvefur | 2018-08-06 | 1 | -1/+1 |
| | |||||
* | mod_pep: Pass 'recipients' table across module reloads | Kim Alvefur | 2018-08-06 | 1 | -1/+5 |
| | |||||
* | mod_pep: Only resend last item on successful subscription | Kim Alvefur | 2018-08-05 | 1 | -2/+3 |
| | |||||
* | mod_pubsub, mod_pep: The "restricted" affiliation should be allowed to be ↵ | Kim Alvefur | 2018-08-06 | 2 | -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 Alvefur | 2018-08-06 | 1 | -0/+12 |
| | | | | unsubscribing those no longer allowed | ||||
* | pubsub.lib: fix more form fields | Jonas Wielicki | 2018-08-06 | 1 | -3/+3 |
| | |||||
* | Merge jonasw->trunk | Kim Alvefur | 2018-08-06 | 1 | -5/+5 |
|\ | |||||
| * | 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. |