Matthew Wild
ef17c4f12c
MUC: Restore status codes on presence sent to occupant when their affiliation changes (thanks jonasw)
8 years ago
Matthew Wild
6a8358e647
MUC: Allow the number of messages sent by default to be configured ( fixes #397 )
8 years ago
Matthew Wild
310bf706f1
MUC: Import revised, more comprehensive patch for 8da11142fabf ( #345 )
8 years ago
Kim Alvefur
97ae6dc567
MUC: Move something into empty if branch
8 years ago
Jonas Wielicki
7530c1ae49
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 ( fixes #1097 )
8 years ago
Jonas Wielicki
7f55f83d48
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 ( fixes #1097 )
8 years ago
Kim Alvefur
3ec060fc0c
Fix spelling throughout the codebase [codespell]
8 years ago
Kim Alvefur
d993a7515e
MUC: Rename variable to make it clearer that it is the room JID and not the MUC host
8 years ago
Jonas Wielicki
1e1a96fa4c
MUC: Ensure that <delay/> elements which match our from are stripped ( fixes #1055 )
8 years ago
Jonas Wielicki
2e7e1a301c
MUC: fix the @from on <delay/> in history replay ( fixes #1054 )
8 years ago
Kim Alvefur
f535c57dd1
MUC: Always send subject message, even if it is empty ( fixes #1053 )
8 years ago
Jonas Wielicki
58b678bdd6
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 ( fixes #1097 )
8 years ago
Jonas Wielicki
c0763fa413
MUC: Emit 333 status code on presence as per XEP-0045 1.30 ( fixes #1087 )
8 years ago
Kim Alvefur
c90d33f06a
MUC: Treat missing type and type=normal the same
8 years ago
Kim Alvefur
b21efabb68
MUC: Prevent traceback in case of no history items to serialize ( fixes #1083 )
8 years ago
Kim Alvefur
1e543ef191
MUC: Hook the correct event
8 years ago
Kim Alvefur
3976cc9959
MUC: Check delay tags when they are received instead of when they are sent
8 years ago
Kim Alvefur
ac05108ed9
MUC: Move delayed delivery check into an event handler
8 years ago
Kim Alvefur
cc8653d31c
MUC: Use variable that actually exists (thanks Martin)
9 years ago
Kim Alvefur
b433940c1e
MUC: Reject whitespace-only nicknames ( fixes #337 )
9 years ago
Kim Alvefur
ae4828d861
MUC: Add some comments attempting to explain what presence and <x> tag goes where
9 years ago
Kim Alvefur
c0ac4526f6
MUC: Include status code 110 on affiliation changes (see #765 )
9 years ago
Kim Alvefur
19f9d45e8c
MUC: Include status code 110 on role change notifications ( fixes #765 ))
9 years ago
Kim Alvefur
3ec2f58826
Backed out changeset a6574fdf8734, violates XEP-0045
9 years ago
Kim Alvefur
f8817ce9c6
MUC: Only send status code 307 to the user being kicked, not everyone ( fixes #939 )
9 years ago
Kim Alvefur
ccb4cfcc21
MUC: Log when denying entry to locked room
9 years ago
Lennart Sauerbeck
1727434f11
muc: Allow clients to change multiple affiliations or roles at once ( #345 )
...
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
9 years ago
Kim Alvefur
3670371548
MUC: Split long line [luacheck]
9 years ago
Kim Alvefur
484a67129d
MUC: Include the appropriate status code if nickname is changed during join process
9 years ago
Kim Alvefur
e21979a2ea
mod_muc/muc.lib: Allow passing different <x> elements to be passed to :publicise_occupant_status()
9 years ago
Kim Alvefur
5ebf40bbff
MUC: Remove "server changed your nickname" status code, it gets into the wrong places
9 years ago
Kim Alvefur
671a9aadde
MUC: Fix logic of nickname override detection (thanks mimi89999)
9 years ago
Kim Alvefur
d22a43da00
MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK'
9 years ago
Kim Alvefur
be6fbf6716
MUC: Insert the appropriate status code (210) if the nickname is overridden
9 years ago
Kim Alvefur
0e971a4389
MUC: Fix conflict when restoring room where the same bare JID has joined as multiple participants
9 years ago
Kim Alvefur
5455518362
MUC: Fix compatibility with new and old storage format
10 years ago
Kim Alvefur
609cd70a7c
MUC: Hide new MUC room storage format behind an off-by-default option
10 years ago
Kim Alvefur
b44930be7e
MUC: Allow members (or above) in members-only non-anonymous rooms to see the member list ( fixes #445 )
10 years ago
Kim Alvefur
04d0a3f94c
MUC: Send participant list and subject on explicit joins (thanks daurnimator)
10 years ago
Kim Alvefur
f5f7be633a
Backed out changeset 63141a85beea, broke multi-session nicks
10 years ago
Kim Alvefur
89ac539d01
MUC: Treat explicit join presence as join
10 years ago
Kim Alvefur
c5f0665711
MUC: Move status text out of <x> element (thanks Tobias)
10 years ago
Kim Alvefur
b7f1e2b926
MUC: Restore last message from state, not room config (missing change from cbb05b454c13)
10 years ago
Kim Alvefur
e1c897b8e3
MUC: Separate config from live state
10 years ago
Kim Alvefur
e4a91c1d8f
MUC: Separate force-save parameter from save-entire-state flag
10 years ago
Kim Alvefur
f97b2a1f08
MUC: Stricter validation of deserialized data
10 years ago
Kim Alvefur
802eb3518e
MUC: Include the very last message in serialized form to keep it across eviction and restore
10 years ago
Kim Alvefur
8bb9e615d5
MUC: Add event for when room is done being created
10 years ago
Kim Alvefur
c18892c9aa
MUC: Split out handling of the room-creating presence into its own method
10 years ago
Kim Alvefur
33c9be6039
MUC: Split out handling of normal (un)available presence into its own method
10 years ago