Kim Alvefur
d7d2b03003
MUC: Indicate the component as origin of various errors where there's no room
...
A room that doesn't exist can't return an error, can it?
7 years ago
Kim Alvefur
5a37794485
MUC: Indicate that the room is the origin of various errors where 'from' is an occupant JID
7 years ago
Kim Alvefur
fdc397e2ed
MUC: Strictly validate room JID on creation
...
This should prevent any MUCs with invalid JID (according to current normalization routine)
7 years ago
Lance Stout
790d4a630e
MUC: Add controls for whose presence is broadcast ( closes #1335 )
...
Committed by Zash
7 years ago
Matthew Wild
38c120dafe
MUC: Use defaults from config in create_room() if no config provided
8 years ago
Matthew Wild
6186bd57f4
MUC: Fix error logged when no persistent rooms present
8 years ago
Matthew Wild
b16c2dac44
MUC: Add support for registering with a MUC, including reserving a nickname as per XEP-0045
8 years ago
Matthew Wild
293efa61df
MUC: Add support for storing additional data with MUC affiliations
...
XEP-0045 registration provides examples of registering a nickname
and various other details. This also allows modules to store arbitrary
private data about an affiliated entity.
8 years ago
Kim Alvefur
9aa86079aa
MUC: Normalize indentation
8 years ago
Matthew Wild
b31ffd4a55
MUC: Fix traceback when failing to restore a room
...
When a room exists in the DB but cannot be loaded (e.g. due to max_rooms
or a pre-restore handler) restore_room()/get_room_from_jid() returns false.
8 years ago
Kim Alvefur
305e161bc0
MUC: Pass missing argument to log message
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
79bc05914a
MUC: Only create rooms in a locked state when they are created by someone joining (fixes timed deletion of all rooms on startup)
9 years ago
Kim Alvefur
42f3addb8f
MUC: Allow destruction of tombstones (eg via telnet or adhoc command)
...
Otherwise this just updates the timestamp, which is probably the
opposite of what the user wanted
8 years ago
Kim Alvefur
9bc2a2e2ff
MUC: Split long lines [luacheck strict]
8 years ago
Matthew Wild
8bb62f6b03
mod_muc: Fire event when room is (and about to be) restored
8 years ago
Matthew Wild
33d53cff6c
mod_muc: Add comment
8 years ago
Matthew Wild
64189fdc63
MUC: Add some comments clarifying methods
8 years ago
Matthew Wild
045262aca5
MUC: Add new iteration methods, all_rooms/live_rooms to eventually replace each_room
8 years ago
Matthew Wild
2609308536
MUC: Rename variable for consistency with other code that uses the term 'live'
8 years ago
Kim Alvefur
e61dca8f29
MUC: Return 'gone' error for destroyed rooms in other cases than attempted join
...
Lock expiry -> Reset
Admin wants to join -> Reset
Still locked -> cancel, gone
Don't return error in response to an error
8 years ago
Matthew Wild
af3f281a24
MUC: Add sections in room config form
8 years ago
Kim Alvefur
43f84c08da
MUC: Include redirect in 'gone' error for destroyed rooms
8 years ago
Kim Alvefur
d9fd615dda
MUC: Send an 'gone' error instead of unavailable + <destroyed>
...
List discussion here:
https://mail.jabber.org/pipermail/standards/2018-July/035228.html
8 years ago
Kim Alvefur
4c2d352ecc
MUC: Allow an admin to recreate destroyed rooms
8 years ago
Kim Alvefur
96146867f8
MUC: Add support for storing a tombstone for destroyed rooms ( #1182 )
8 years ago
Kim Alvefur
2aeae813e2
MUC: Remove room state on successful restoration from disk
8 years ago
Kim Alvefur
e6ad9f6b78
MUC: Purge saved room state when deleting a room
8 years ago
Kim Alvefur
991ef40662
MUC: Log a debug message when a non-persistent room becomes empty and is destroyed
8 years ago
Kim Alvefur
6e344686b5
MUC: Flag rooms being destroyed ( fixes #887 )
8 years ago
Matthew Wild
d2fa6378e6
mod_muc: Add support for muc_room_default_allow_member_invites
8 years ago
Matthew Wild
6e323b0ff2
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
8 years ago
Matthew Wild
aa76e7bfc1
MUC: Remove affiliation notify support, nothing uses it
8 years ago
Kim Alvefur
6d2a2e9153
MUC: Measure cache hits and misses
8 years ago
Kim Alvefur
53672d196c
MUC: Rename eviction hit rate measure
8 years ago
Kim Alvefur
edc0a8a4ea
MUC: Expose method for creating a bare room object
8 years ago
Kim Alvefur
549f13b753
MUC: Track rooms created via internal public API
...
Fixes muc:create() in the telnet console
8 years ago
Kim Alvefur
f5a5751222
MUC: Allow passing config to public create_room API
8 years ago
Kim Alvefur
fbd20cf27c
MUC: Fix Ooo (thanks pep.)
...
What time is it?
8 years ago
Kim Alvefur
6a185606d4
MUC: Make rooms hidden (non-public) by default for improved privacy
...
Thanks to jonasw for highlighting this with the MUC crawler.
8 years ago
Kim Alvefur
faeaeb3d02
MUC: Use xml:lang from stanza that creates a room as default for language
8 years ago
Kim Alvefur
f541295344
MUC: Add support for setting MUC room defaults from the config file
...
Defaults are roughtly like this:
muc_rooom_default_public = true
muc_rooom_default_persistent = false
muc_rooom_default_members_only = false
muc_rooom_default_moderated = false
muc_rooom_default_public_jids = false
muc_rooom_default_change_subject = false
muc_room_default_history_length = 20
muc_room_default_language = nil
8 years ago
Kim Alvefur
8286e6344d
MUC: Move voice request into its own lib
8 years ago
Kim Alvefur
c5a2a6eda3
MUC: Add support for setting a room language ( closes #1149 )
8 years ago
Kim Alvefur
d11db65334
MUC: Add support for an optional hard limit on number of rooms ( fixes #766 )
8 years ago
Kim Alvefur
9589a0588e
MUC: Catch and log error in case of storage failure in iterator over rooms
8 years ago
Kim Alvefur
65cbf15f6b
MUC: Override methods on broken rooms to return internal-server-error instead
8 years ago