aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Add support for registering with a MUC, including reserving a nickname ↵Matthew Wild2018-09-032-0/+201
| | | | as per XEP-0045
* MUC: Add some comments for clarityMatthew Wild2018-09-031-0/+3
|
* MUC: Add support for separate events for disco#info queries with a 'node'Matthew Wild2018-09-031-7/+17
| | | | Reserved nickname discovery uses this
* MUC: Add support for storing additional data with MUC affiliationsMatthew Wild2018-09-032-3/+16
| | | | | | 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.
* MUC: Normalize indentationKim Alvefur2018-08-221-3/+3
|
* MUC: Direct PubSub queries to occupants to their real bare JIDKim Alvefur2018-08-181-1/+2
| | | | | This allows accessing PEP nodes of participants without knowing their real JIDs.
* MUC: Fix traceback when failing to restore a roomMatthew Wild2018-08-171-0/+3
| | | | | 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.
* MUC: Pass missing argument to log messageKim Alvefur2018-08-171-1/+1
|
* MUC: Remove 307 status from error-kicks (fixes #939)Matthew Wild2018-08-081-2/+1
|
* mod_muc: Fix incorrect variable usage [luacheck]Matthew Wild2018-08-081-1/+1
|
* MUC: Suppress error text when participants are kicked due to error in ↵Matthew Wild2018-08-071-1/+1
| | | | | | | semi-anon rooms (fixes #563) This prevents information leaks (such as the occupant's server domain) which may be included in error messages.
* MUC: Provide options as options in config form (fixes traceback)Kim Alvefur2018-08-041-1/+1
|
* MUC: Allow destruction of tombstones (eg via telnet or adhoc command)Kim Alvefur2018-08-031-0/+3
| | | | | Otherwise this just updates the timestamp, which is probably the opposite of what the user wanted
* MUC: Split long lines [luacheck strict]Kim Alvefur2018-08-035-18/+34
|
* mod_muc: Fire event when room is (and about to be) restoredMatthew Wild2018-08-031-0/+4
|
* mod_muc: Add commentMatthew Wild2018-08-031-0/+1
|
* MUC: Fix another logic inversion ()Matthew Wild2018-07-171-1/+1
|
* MUC: Fix inverted logic ()Matthew Wild2018-07-171-1/+1
|
* Backed out changeset 0bf0ff3b0f91 (incorrect fix)Matthew Wild2018-07-171-1/+1
|
* MUC: Use JID from correct place when adding <body> to mediated invites ↵Matthew Wild2018-07-171-1/+1
| | | | (thanks Link Mauve/lovetox)
* MUC: Allow restricting public/persistent room options to service admins ↵Matthew Wild2018-07-172-0/+20
| | | | (muc_room_allow_public/muc_room_allow_persistent)
* MUC: Add 'actor' field in muc-config-submitted eventMatthew Wild2018-07-171-1/+8
|
* MUC: Add some comments clarifying methodsMatthew Wild2018-07-171-0/+2
|
* MUC: Add new iteration methods, all_rooms/live_rooms to eventually replace ↵Matthew Wild2018-07-171-10/+20
| | | | each_room
* MUC: Rename variable for consistency with other code that uses the term 'live'Matthew Wild2018-07-171-3/+3
|
* MUC: Return 'gone' error for destroyed rooms in other cases than attempted joinKim Alvefur2018-07-161-7/+7
| | | | | | | Lock expiry -> Reset Admin wants to join -> Reset Still locked -> cancel, gone Don't return error in response to an error
* MUC: Commit forgotten fileMatthew Wild2018-07-131-0/+27
|
* MUC: Add sections in room config formMatthew Wild2018-07-1310-10/+12
|
* MUC: Improve labels of all config form itemsMatthew Wild2018-07-1311-15/+29
|
* MUC: Also prevent changing to an invisible nicknameKim Alvefur2018-07-121-0/+7
|
* MUC: Use nickname from occupant objectKim Alvefur2018-07-121-1/+1
|
* MUC: Fix stanza referenceKim Alvefur2018-07-121-1/+1
|
* MUC: Reject invisible nicknames (fixes #979)Kim Alvefur2018-07-121-0/+8
|
* MUC: Fix to send status code 100 *only* to the joining (fixes #680)Kim Alvefur2018-07-121-9/+6
| | | | What does `if can_see_real_jids(whois, occupant) then` do?
* MUC: Simplify creation of <{muc}x> for room creationKim Alvefur2018-07-121-4/+2
| | | | | It?s only sent to the creator so no need to have separate variants for different kinds of participants.
* MUC: Include redirect in 'gone' error for destroyed roomsKim Alvefur2018-07-111-0/+4
|
* MUC: Send an 'gone' error instead of unavailable + <destroyed>Kim Alvefur2018-07-111-5/+1
| | | | | List discussion here: https://mail.jabber.org/pipermail/standards/2018-July/035228.html
* MUC: Remove <item> from room destruction announcement, it's added later ↵Kim Alvefur2018-07-111-1/+0
| | | | somwehere
* MUC: Allow an admin to recreate destroyed roomsKim Alvefur2018-07-111-2/+2
|
* MUC: Add support for storing a tombstone for destroyed rooms (#1182)Kim Alvefur2018-07-111-0/+42
|
* MUC: Unset persistence of destroyed rooms later in event chainKim Alvefur2018-07-111-1/+1
|
* MUC: Remove room state on successful restoration from diskKim Alvefur2018-07-111-1/+6
|
* MUC: Purge saved room state when deleting a roomKim Alvefur2018-07-111-0/+1
|
* MUC: Include destruction reason and other info in destroyed eventKim Alvefur2018-07-111-1/+1
|
* MUC: Log a debug message when a non-persistent room becomes empty and is ↵Kim Alvefur2018-07-111-0/+1
| | | | destroyed
* MUC: Flag rooms being destroyed (fixes #887)Kim Alvefur2018-07-102-0/+2
|
* MUC: Bring handling of presence errors to the room more in line with ↵Matthew Wild2018-07-091-7/+13
| | | | | | unavailable presence Related issues: #505, #978
* MUC: Return new occupant object from :save_occupant(), which can include ↵Matthew Wild2018-07-091-0/+1
| | | | useful info
* MUC/password: Set room password on creation if included in join stanzaKim Alvefur2018-07-081-0/+8
| | | | | | | | This fixes room creation/joining from Gajim if a password has been set. Otherwise the muc-occupant-pre-join event hook determines that the given password differs from the unset password and joining is rejected, which seems unhelpful.
* MUC/password: Rename variable for clarity [luacheck]Kim Alvefur2018-07-081-2/+3
|