Software /
code /
prosody
Annotate
CHANGES @ 8791:8da11142fabf
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
author | Lennart Sauerbeck <devel@lennart.sauerbeck.org> |
---|---|
date | Sat, 18 Mar 2017 18:47:28 +0100 |
parent | 8708:c53e9e27acc6 |
child | 8709:3521ff896831 |
rev | line source |
---|---|
8286
39966cbc29f4
CHANGES: Update for release
Matthew Wild <mwild1@gmail.com>
parents:
7853
diff
changeset
|
1 0.10.0 |
8708 | 2 ====== |
7109
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
8289
bd6b189b354c
CHANGES: Correct date using the power hindsight
Kim Alvefur <zash@zash.se>
parents:
8286
diff
changeset
|
4 **2017-10-02** |
7109
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 New features |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 ------------ |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 - Rewritten SQL storage module with Archive support |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 - SCRAM-SHA-1-PLUS |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 - `prosodyctl check` |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 - Statistics |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 - Improved TLS configuration |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 - Lua 5.2 support |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 - mod\_blocklist (XEP-0191) |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 - mod\_carbons (XEP-0280) |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 - Pluggable connection timeout handling |
7112
bd29742fa1ba
CHANGES: Add websockets too (thanks av6)
Kim Alvefur <zash@zash.se>
parents:
7109
diff
changeset
|
18 - mod\_websocket (RFC 7395) |
7853 | 19 - mod\_mam (XEP-0313) |
7109
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 Removed |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 ------- |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 |
f3b172874922
Add a CHANGES file with new features in 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 - mod\_privacy (XEP-0016) |
7821
0dea440bdd46
CHANGES: Mention removal of mod_compression
Kim Alvefur <zash@zash.se>
parents:
7287
diff
changeset
|
25 - mod\_compression (XEP-0138) |