aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Stricter validation of deserialized dataKim Alvefur2016-04-291-2/+2
|
* MUC: Include the very last message in serialized form to keep it across ↵Kim Alvefur2016-04-281-0/+12
| | | | eviction and restore
* MUC: Add event for when room is done being createdKim Alvefur2016-04-281-0/+6
|
* MUC: Split out handling of the room-creating presence into its own methodKim Alvefur2016-04-281-17/+57
|
* MUC: Split out handling of normal (un)available presence into its own methodKim Alvefur2016-04-281-169/+175
|
* MUC: Log cases of possible room resynchronisationKim Alvefur2016-04-281-0/+8
|
* MUC: Be more careful with deserialization of rooms, fix case where a bare ↵Kim Alvefur2016-04-271-2/+2
| | | | jid has joined as multiple participants
* MUC: Don't force-save rooms where not neededKim Alvefur2016-04-201-2/+2
|
* MUC: Fix logic for when to broadcast unavailable presence (actual fix for ↵Kim Alvefur2016-04-191-2/+1
| | | | 14170d161b39)
* MUC: Return item-not-found as error when attempting to change role of ↵Kim Alvefur2016-04-191-1/+1
| | | | non-existant occupant
* MUC: Add support for serializing live rooms, including occupants and their ↵Kim Alvefur2016-04-181-3/+55
| | | | presence
* MUC: Flatten format of serialized roomsKim Alvefur2016-04-181-6/+22
|
* MUC: Move room deserialization to muc.libKim Alvefur2016-04-181-0/+7
|
* MUC: Wrap "support" for the groupchat 1.0 join protocol in a config option ↵Kim Alvefur2016-04-181-0/+10
| | | | to allow disabling
* MUC: Save yourself! (fixes reference to current room)Kim Alvefur2016-04-181-1/+1
|
* MUC: Assign occupants unavailable presence on room destruction, fixes ↵Kim Alvefur2016-04-181-0/+1
| | | | destruction notification
* MUC: Use config passed to rew_roow()Kim Alvefur2016-04-181-4/+2
|
* MUC: Move 'preserialization' step to muc.libKim Alvefur2016-04-171-0/+8
|
* MUC: Save room to storage once after form processing, not in each individual ↵Kim Alvefur2016-04-151-1/+2
| | | | setter
* MUC: Provide a noop stub room:save() methodKim Alvefur2016-04-141-1/+5
|
* MUC: Include originating session and stanza in eventsKim Alvefur2016-04-081-0/+4
|
* MUC: Spread event tables over multiple linesKim Alvefur2016-04-081-3/+18
|
* MUC: Use already initialized loggerKim Alvefur2016-03-111-1/+2
|
* MUC: Separate form data from form in disco#info eventKim Alvefur2016-02-031-4/+5
|
* MUC: Add luacheck annotations, remove unused vars, rename conflicting vars etcKim Alvefur2016-01-201-19/+22
|
* MUC: Fire per-field events for the config form, including those with value ↵Matthew Wild2015-12-111-3/+8
| | | | == nil (no <value/> element in form)
* Merge 0.10->trunkMatthew Wild2015-11-171-1/+1
|\
| * Merge 0.9->0.10Matthew Wild2015-11-171-1/+1
| |\
| | * muc.lib: Fix pattern so that it doesn't match hashes containing null bytes, ↵Matthew Wild2015-11-171-1/+1
| | | | | | | | | | | | causing dropped stanzas (thanks Jitsi folk!)
| * | MUC: Break a very long lineKim Alvefur2015-09-121-2/+4
| | |
| * | Merge 0.9->0.10Matthew Wild2014-04-021-135/+107
| |\ \ | | |/ | |/|
| * | MUC: Fixed traceback when a JID not in a room requested a role change for an ↵Waqas Hussain2014-04-011-1/+1
| | | | | | | | | | | | occupant.
* | | MUC: Reject muc:admin query with missing <item> childKim Alvefur2015-10-181-0/+3
| | |
* | | MUC: Prevent double replies when MUC affiliation/role change requests fail.Lance Stout2015-09-171-2/+5
| | |
* | | MUC: Fix traceback in request for MUC affiliation lists by non-affiliated ↵Kim Alvefur2015-09-151-1/+1
| | | | | | | | | | | | (thanks Lance)
* | | plugins/muc/muc.lib: Fix issue #505 where unavailable presences were never useddaurnimator2015-08-241-4/+4
| | |
* | | MUC: Fix logic errorKim Alvefur2015-08-171-1/+1
| | |
* | | plugins/muc: Move loading of optional muc libraries from muc.lib.lua to mod_mucdaurnimator2015-07-271-48/+0
| | |
* | | plugins/muc/muc.lib: Allow muc-broadcast-presence event listeners to modify ↵daurnimator2014-11-141-2/+9
| | | | | | | | | | | | nick, actor, reason
* | | plugins/muc/muc.lib: Don't expose actor jids to users when anonymousdaurnimator2014-11-111-27/+39
| | | | | | | | | | | | | | | * * * plugins/muc/muc.lib: Allow event listeners to modify actor
* | | plugins/muc/muc.lib: Add :each_affiliation() iteratordaurnimator2014-10-151-5/+20
| | |
* | | plugins/muc/muc.lib: Kick users from outcast hostsdaurnimator2014-10-151-2/+9
| | |
* | | plugins/muc/muc.lib: Fix passing actor along as a boolean (thanks fippo)daurnimator2014-10-151-2/+6
| | |
* | | plugins/muc/muc.lib: Fire muc-occupant-left from other places an occupant ↵daurnimator2014-09-261-1/+9
| | | | | | | | | | | | may leave the room
* | | plugins/muc/muc.lib: Validate affiliations and roles to admin query getdaurnimator2014-09-261-3/+7
| | |
* | | plugins/muc/muc.lib: Add missing :up()daurnimator2014-09-261-1/+1
| | |
* | | plugins/muc/muc.lib: Use occupants iterator instead of assuming pairsdaurnimator2014-09-261-1/+1
| | |
* | | muc: Add 'occupant' to muc-occupant-{joined,left,session-new} events (thanks ↵Matthew Wild2014-09-261-4/+8
| | | | | | | | | | | | daurnimator/fippo)
* | | plugins/muc: Add muc-occupant-groupchat eventdaurnimator2014-09-251-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | - Plugins can cancel messages before they are broadcast; and while they still have real from jid - Use it for subject changes - Allows for custom roles (via role_rank) - Roles are now checked before subject - Removed muc-subject-change event
* | | plugins/muc/muc.lib: Fix iq results coming from the real jid, not the ↵daurnimator2014-09-161-1/+1
| | | | | | | | | | | | in-room jid (thanks Lance)