Matthew Wild
0fd614dbab
MUC: Revert unstable MUC commits since 0.10.1
...
These have caused too many issue reports to be included in
the stable branch at this time.
Affected issues: #345 , #397
Reverted commits:
dcd53a565c01
6d4b0895f76d
1b10802a770e
564e897f0790
a7221ada9368
aaff40ec7001
05a3275b6873
c2b99fa134b3
8da11142fabf
8 years ago
Matthew Wild
6186bd57f4
MUC: Fix error logged when no persistent rooms present
8 years ago
Kim Alvefur
996ff6d541
mod_bosh: Store the normalized hostname on session ( fixes #1151 )
8 years ago
Kim Alvefur
0caeb4940e
MUC: Handle setting default history messages when history length is unset (thanks tmolitor)
8 years ago
Kim Alvefur
aa10a644c8
mod_c2s: Do not allow the stream 'to' to change across stream restarts ( fixes #1147 )
8 years ago
Jonas Wielicki
b6a654fdfc
MUC: ensure that x/item/@jid is always a bare JID
8 years ago
Jonas Wielicki
5865da2406
MUC: correctly emit <status/> tags
8 years ago
Jonas Wielicki
10dac8879e
MUC: reject non-bare JIDs in set_affiliation requests with not-acceptable
8 years ago
Jonas Wielicki
c1f51c6f13
MUC: fix set_role invocation
8 years ago
Kim Alvefur
a0767a636b
mod_disco: Skip code specific to disco on user accounts (avoids invoking usermanager, fixes #1150 )
8 years ago
Kim Alvefur
99ded745a6
mod_c2s: Avoid concatenating potential nil value ( fixes #753 )
8 years ago
Matthew Wild
380e51758c
MUC: Restore status codes on presence sent to occupant when their affiliation changes (thanks jonasw)
8 years ago
Matthew Wild
9ddd7d489e
MUC: Allow the number of messages sent by default to be configured ( fixes #397 )
8 years ago
Matthew Wild
98148f5e63
MUC: Import revised, more comprehensive patch for 8da11142fabf ( #345 )
8 years ago
Kim Alvefur
173196f076
MUC: Rename variable to make it clearer that it is the room JID and not the MUC host
8 years ago
Jonas Wielicki
79465f809f
MUC: Ensure that <delay/> elements which match our from are stripped ( fixes #1055 )
8 years ago
Jonas Wielicki
f0a0a5aad7
MUC: fix the @from on <delay/> in history replay ( fixes #1054 )
8 years ago
Kim Alvefur
ac1e878844
MUC: Always send subject message, even if it is empty ( fixes #1053 )
8 years ago
Kim Alvefur
f36218aed8
mod_component, mod_s2s: Iterate over child tags instead of child nodes (can include text) in stream error (same as 176b7f4e4ac9)
8 years ago
Kim Alvefur
0e30886cd8
mod_c2s: Iterate over child tags instead of child nodes in stream error (fixes traceback from #987 )
8 years ago
Kim Alvefur
b3a712fa24
mod_saslauth: Use correct varible name (thanks Roi)
9 years ago
Emmanuel Gil Peyrot
1114d2d046
mod_welcome: Return the pointer to the root of the stanza, fixes a bug similar to #922 .
9 years ago
Emmanuel Gil Peyrot
313691a960
mod_disco: Add an account/registered identity on subscribed accounts, fixes #826 .
9 years ago
Emmanuel Gil Peyrot
55e76121a0
mod_watchregistrations: Return the pointer to the root of the stanza, fixes #922 .
9 years ago
Kim Alvefur
ac8f0e795f
mod_bosh: Update session.conn to point to the current connection ( fixes #890 )
9 years ago
Kim Alvefur
12e5d691c2
mod_disco: Correctly set the 'node' attr ( fixes #449 )
9 years ago
Lennart Sauerbeck
9fa6dd939e
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
Matthew Wild
9bd948919b
mod_websocket: Store the request object on the session for use by other modules
8 years ago
Kim Alvefur
0abbfdab88
mod_http_files: Correct cache insertion ( fixes #1130 )
8 years ago
Kim Alvefur
5b56cf55da
mod_blocklist: Allow mod_presence to handle subscription stanzas before bouncing outgoing presence ( fixes #575 )
8 years ago
Kim Alvefur
d28da6dd6c
MUC: Don't reply to errors with more errors ( fixes #1122 )
8 years ago
Kim Alvefur
2ab7d55007
MUC: Say something about storage failure before aborting (see #1091 )
8 years ago
Kim Alvefur
035cc595b9
MUC: Prevent creation of room that could not be loaded from storage (see #1091 )
8 years ago
Kim Alvefur
89f519b0a5
MUC: Abort module loading if unable to get list of persistent rooms from storage ( fixes #1091 )
8 years ago
Kim Alvefur
1a2ad62a21
mod_admin_telnet: Include the default path property in URL calculation ( fixes #1099 )
8 years ago
Kim Alvefur
f906890429
mod_mam: Remove unmatched closing paren
8 years ago
Jonas Wielicki
19ceef8658
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 ( fixes #1097 )
8 years ago
Jonas Wielicki
f6cab5c6d2
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 ( fixes #1097 )
8 years ago
Kim Alvefur
7a530c3331
mod_mam: Add an option for whether to include 'total' counts by default in queries
8 years ago
Kim Alvefur
0ca1504e33
mod_mam: Log a debug message if archive expiry has been disabled
8 years ago
Kim Alvefur
ecd9604332
Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74
8 years ago
Kim Alvefur
599fc103ab
mod_mam: Implement option to enable MAM implicitly when client support is detected ( #867 )
8 years ago
Kim Alvefur
d8d5861fec
mod_dialback: Ignore unused arguments [luacheck]
8 years ago
Kim Alvefur
7190264e18
mod_dialback: Expand abbrevation
8 years ago
Kim Alvefur
7905d729ef
mod_dialback: Split long line [luacheck]
8 years ago
Kim Alvefur
70ac80470e
mod_dialback: Use renamed API for hooking non-stanza tags
8 years ago
Kim Alvefur
aaa7b42c76
mod_saslauth: Ignore unused argument [luacheck]
8 years ago
Kim Alvefur
1d0cbb646d
mod_saslauth: Use renamed API for hooking non-stanzas
8 years ago
Kim Alvefur
e00503705b
mod_saslauth: Pass SASL EXTERNAL failure reason on to be used in error bounces
8 years ago
Kim Alvefur
0e96df7410
mod_saslauth: Close connection if no fallback kicks in on SASL EXTERNAL failure
8 years ago