Software /
code /
prosody
Annotate
doc/names.txt @ 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 | 75:338e75cba18d |
child | 8728:41c959c5c84b |
rev | line source |
---|---|
75
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
1 lxmppd - ... |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
2 dia - Greek, 'through', pronounced "dee-ah", root of "dialogue" |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
3 metaphor - An imaginative comparison between two actions/objects etc which is not literally applicable. |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
4 minstrel - Itinerant medieval musician/singer/story teller/poet. |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
5 parody - Imitation of a poem or another poet's style for comic/satiric effect. |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
6 poesy - Archaic word for poetry. |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
7 Xinshi - Chinese poetic term which literally means 'new poetry'. |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
8 polylogue - Many conversations |
22
2856dfc1f5cc
Various documentation updates, and added names.txt :)
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 |
75
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
10 Thorns thought of: |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
11 poe - Derived from "poetry" |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
12 poezie - Romanian for "poesy" and "poem" |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
13 Elain - Just a cool name |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
14 Elane - A variation |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
15 Eclaire - Idem (French) |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
16 Adel - Random |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
17 Younha - Read as "yuna" |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
18 Quezacotl - Mayan gods -> google for correct form and pronounciation |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
19 Carbuncle - FF8 Guardian Force ^^ |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
20 Protos - Mars satellite |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
21 mins - Derived from minstrel |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
22 diapoe - gr. dia + poesy/poetry |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
23 xinshi - I like it for a name just like that |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
24 loom - The first application I run on the first day of using a computer |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
25 Lory - Another name I happen to like |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
26 Loki - Nordic god of mischief, IIRC |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
27 Luna - Probably taken but I think worth mentioning |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
28 Coreo - Random thought |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
29 Miria - Also random |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
30 Lora - Idem |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
31 Kraken - :P |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
32 Nebula - . |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
33 |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
34 |
338e75cba18d
Added script to pull from master mercurial repository
Paul-Sebastian Manole <brokenthorn@gmail.com>
parents:
22
diff
changeset
|
35 |