aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | | plugins/muc/muc.lib: Allow plugins to reject broadcasts in the ↵daurnimator2014-09-161-1/+4
| | | | | | | | | | | | muc-broadcast-message event.
* | | plugins/muc: Add affiliation_notify config option to send out status code 101daurnimator2014-09-051-0/+2
| | |
* | | plugins/muc/muc.lib: Add muc-set-affiliation eventdaurnimator2014-09-051-0/+11
| | |
* | | plugins/muc/muc.lib: Use get_affilation() inside of set_affiliation(), so ↵daurnimator2014-09-051-3/+2
| | | | | | | | | | | | that the override in mod_muc works
* | | plugins/muc/muc.lib: Add instant room supportdaurnimator2014-09-051-4/+9
| | |
* | | mod_muc/muc.lib: Remove is_anonymous from event (fix for ec57067c1e0d)Matthew Wild2014-07-251-2/+2
| | |
* | | mod_muc/muc.lib: Pass all info to muc-broadcast-presence handlers that would ↵Matthew Wild2014-07-251-1/+5
| | | | | | | | | | | | be required to use room:build_item_list() - useful for plugins
* | | plugins/muc/muc: Fire broadcast presences event before creating full/anon ↵daurnimator2014-06-171-11/+13
| | | | | | | | | | | | presences
* | | plugins/muc: Fix use of incorrect event on occupant joindaurnimator2014-06-171-2/+5
| | |
* | | plugins/muc/muc.lib: Deliver declines to in-room jids correctlydaurnimator2014-06-111-1/+5
| | |
* | | plugins/muc/muc.lib: Don't add invite/decline bodies if they already have onedaurnimator2014-06-061-10/+14
| | |
* | | plugins/muc/muc.lib: Use original decline as template for medated declinedaurnimator2014-06-061-2/+4
| | |
* | | plugins/muc/muc: When forwarding mediated invites; use filtered version of ↵daurnimator2014-06-051-2/+4
| | | | | | | | | | | | original invite instead of new object
* | | plugins/muc/muc.lib: Fix incorrect whois logic (thanks mva)daurnimator2014-06-011-3/+3
| | |