Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | MUC: Handle setting default history messages when history length is unset ↵ | Kim Alvefur | 2018-05-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | (thanks tmolitor) | |||||
| * | | MUC: ensure that x/item/@jid is always a bare JID | Jonas Wielicki | 2018-05-17 | 1 | -2/+2 | |
| | | | ||||||
| * | | MUC: correctly emit <status/> tags | Jonas Wielicki | 2018-05-17 | 1 | -1/+1 | |
| | | | ||||||
| * | | MUC: reject non-bare JIDs in set_affiliation requests with not-acceptable | Jonas Wielicki | 2018-05-17 | 1 | -0/+3 | |
| | | | ||||||
| * | | MUC: fix set_role invocation | Jonas Wielicki | 2018-05-17 | 1 | -4/+5 | |
| | | | ||||||
| * | | mod_disco: Skip code specific to disco on user accounts (avoids invoking ↵ | Kim Alvefur | 2018-05-28 | 1 | -0/+1 | |
| | | | | | | | | | | | | usermanager, fixes #1150) | |||||
* | | | MUC: Add support for setting a room language (closes #1149) | Kim Alvefur | 2018-05-30 | 2 | -0/+54 | |
| | | | ||||||
* | | | mod_muc_mam: Set status code 170/171 on archiving configuration change | Kim Alvefur | 2018-05-29 | 1 | -0/+1 | |
| | | | ||||||
* | | | MUC: Some spacing to improve readability | Kim Alvefur | 2018-05-26 | 1 | -0/+1 | |
| | | | ||||||
* | | | MUC: Pass description via formdata field where it should be | Kim Alvefur | 2018-05-26 | 1 | -1/+2 | |
| | | | ||||||
* | | | MUC: Use correct field name for description in disco#info (fixes #1148) | Kim Alvefur | 2018-05-26 | 1 | -1/+9 | |
| | | | | | | | | | | | | Introduced in c3254827698d | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2018-05-25 | 1 | -1/+1 | |
|\| | | ||||||
| * | | core.certmanager: Allow all non-whitespace in service name (fixes #1019) | Kim Alvefur | 2018-05-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | mod_pubsub: Add support for parsing subscription options form (no options ↵ | Kim Alvefur | 2018-05-23 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | | | | | | supported yet) This was actually to silence luacheck warnings options andoptions_tag variables. | |||||
* | | | mod_pubsup: Ignore unused 'self' argument [luacheck] | Kim Alvefur | 2018-05-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | .luacheckrc: Remove mod_pubsub/pubsub.lib.lua from files excluded from checks | Kim Alvefur | 2018-05-23 | 1 | -1/+0 | |
| | | | ||||||
* | | | Backed out changeset bf91de890107: It did not have the intended effectc | Kim Alvefur | 2018-05-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | mod_pubsub: Fix syntax error | Kim Alvefur | 2018-05-23 | 1 | -0/+1 | |
| | | | ||||||
* | | | .luacheckrc: Only ignore warnings for excluded files, not syntax errors | Kim Alvefur | 2018-05-23 | 1 | -1/+4 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2018-05-22 | 1 | -1/+1 | |
|\| | | ||||||
| * | | mod_c2s: Avoid concatenating potential nil value (fixes #753) | Kim Alvefur | 2018-05-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | MUC: Add support for an optional hard limit on number of rooms (fixes #766) | Kim Alvefur | 2018-05-22 | 1 | -1/+8 | |
| | | | ||||||
* | | | spec/util_pubsub: Test whether someone can subscribe to a node | Kim Alvefur | 2018-05-20 | 1 | -1/+13 | |
| | | | | | | | | | | | | Test fails because of missing normalize_jid | |||||
* | | | util.pubsub: Also check for affiliation set on bare JID | Kim Alvefur | 2018-05-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | This fixes eg publishing from a full JID when the affiliation has been set on the bare JID, as would be common in XMPP. | |||||
* | | | mod_pubsub: Add support for generation of a plain text <body> from Atom payloads | Kim Alvefur | 2018-05-21 | 2 | -0/+27 | |
| | | | | | | | | | | | | See https://xmpp.org/extensions/xep-0060.html#impl-body | |||||
* | | | mod_pubsub: Make the 'type' attribute on broadcast messages configurable | Kim Alvefur | 2018-05-21 | 2 | -3/+15 | |
| | | | | | | | | | | | | | | | This adds support for the pubsub#notification_type field in the node config form. | |||||
* | | | util.pubsub: Pass node and service objects to broadcaster to allow eg config ↵ | Kim Alvefur | 2018-05-21 | 1 | -4/+4 | |
| | | | | | | | | | | | | access | |||||
* | | | mod_watchregistrations: Allow making the message type configurable | Kim Alvefur | 2018-05-20 | 1 | -1/+2 | |
| | | | ||||||
* | | | mod_pubsub: Set an id attribute on outgoing event messages | Kim Alvefur | 2018-05-21 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | https://xmpp.org/extensions/xep-0060.html#impl-bounce > a pubsub service SHOULD ensure that the <message/> stanza for each > event notification it generates possesses an 'id' attribute with a > value | |||||
* | | | util.pubsub: Add a default/fallback JID normalization function | Kim Alvefur | 2018-05-20 | 1 | -0/+1 | |
| | | | ||||||
* | | | util.pubsub: Don't record the superuser as owner on creation | Kim Alvefur | 2018-05-20 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | No need to be set as owner, it has all privileges anyways. Since it’s a boolean instead of a string, its presence may cause weirdness in other code expecting all affiliations to be string JIDs. | |||||
* | | | mod_pubsub: Use moduleapi broadcast method | Kim Alvefur | 2018-05-21 | 1 | -5/+1 | |
| | | | ||||||
* | | | GNUmakefile: Add a fallback for `hg files` not working in linter target | Kim Alvefur | 2018-05-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | .luacheckrc: Ignore attempts to get table.unpack | Kim Alvefur | 2018-05-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This is to allow this common pattern: local unpack = table.unpack or unpack; | |||||
* | | | spec/util_iterators: Remove unused import of util.set [luacheck] | Kim Alvefur | 2018-05-18 | 1 | -1/+0 | |
| | | | ||||||
* | | | .luacheckrc: Remove mod_limits from excluded files as it should now be clean | Kim Alvefur | 2018-05-18 | 1 | -1/+0 | |
| | | | ||||||
* | | | mod_limits: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2018-05-02 | 1 | -5/+5 | |
| | | | | | | | | | | | | FIXME better name, s_throttle doesn't seem nice | |||||
* | | | Fix wrong tests committed with 7b621a4a2e8d | Matthew Wild | 2018-05-18 | 2 | -21/+15 | |
| | | | ||||||
* | | | .luacheckrc: Add some additional stricter requirements when ↵ | Matthew Wild | 2018-05-18 | 1 | -0/+3 | |
| | | | | | | | | | | | | PROSODY_STRICT_LINT=1 | |||||
* | | | .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1 | Matthew Wild | 2018-05-18 | 1 | -0/+64 | |
| | | | ||||||
* | | | .luacheckrc: Fix whitespace | Matthew Wild | 2018-05-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | GNUmakefile: Add 'lint' target | Matthew Wild | 2018-05-18 | 1 | -0/+4 | |
| | | | ||||||
* | | | util.iterators: Add join() method and tests | Matthew Wild | 2018-05-18 | 2 | -0/+67 | |
| | | | ||||||
* | | | Merge 0.10 -> trunk | Matthew Wild | 2018-05-16 | 0 | -0/+0 | |
|\| | | ||||||
| * | | MUC: Restore status codes on presence sent to occupant when their ↵ | Matthew Wild | 2018-05-16 | 1 | -2/+6 | |
| | | | | | | | | | | | | affiliation changes (thanks jonasw) | |||||
* | | | Merge 0.10 -> trunk | Matthew Wild | 2018-05-16 | 2 | -2/+33 | |
|\| | | | | | | | | | | | | | | This commit intentionally drops changes from c2b99fa134b3 and 8da11142fabf which are based on older MUC code. | |||||
| * | | MUC: Allow the number of messages sent by default to be configured (fixes #397) | Matthew Wild | 2018-05-16 | 1 | -1/+22 | |
| | | | ||||||
| * | | MUC: Import revised, more comprehensive patch for 8da11142fabf (#345) | Matthew Wild | 2018-05-16 | 1 | -95/+207 | |
| | | | ||||||
| * | | muc: Allow clients to change multiple affiliations or roles at once (#345) | Lennart Sauerbeck | 2017-03-18 | 1 | -7/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to XEP-0045 sections 9.2, 9.5 and 9.8 affiliation lists and role lists should allow mass-modification. Prosody however would just use the first entry of the list and ignore the rest. This is fixed by introducing a `for` loop to `set` stanzas of the respective `muc#admin` namespace. In order for this loop to work, the error handling was changed a little. Prosody no longer returns after the first error. Instead, an error reply is sent for each malformed or otherwise wrong entry, but the loop keeps going over the other entries. This may lead to multiple error messages being sent for one client request. A notable exception from this is when the XML Schema for `muc#admin` requests is violated. In that case the loop is aborted with an error message to the client. The change is a bit bigger than that in order to have the loop only for `set` stanzas without changing the behaviour of the `get` stanzas. This is now more in line with trunk, where there are separate methods for each stanza type. References: #345 | |||||
| * | | Added tag 0.10.1 for changeset 4ae8dd415e94 | Matthew Wild | 2018-05-11 | 0 | -0/+0 | |
| | | |