Log

plugins/muc/muc.lib.lua @ 10813:4a9ff4f61796

description author age
mod_muc: let event handlers modify cloned presence JC Brand 2020-04-22
Fixes #1533 Hats don't get sent out to own MUC user JC Brand 2020-04-22
Merge 0.11->trunk Matthew Wild 2020-04-23
MUC: Always include 'affiliation'/'role' attributes, defaulting to 'none' if nil 0.11 Matthew Wild 2020-04-23
MUC: Add new event 'muc-build-occupant-presence' for plugins to extend occupant presence Matthew Wild 2020-04-11
Merge 0.11->trunk Matthew Wild 2020-03-12
MUC: Persist affiliation_data in new MUC format! 0.11 Matthew Wild 2020-03-12
MUC: Persist affiliation_data in new MUC format! Matthew Wild 2020-03-12
MUC: Switch to new storage format by default Matthew Wild 2020-03-12
MUC: Support for broadcasting unavailable presence for affiliated offline users Matthew Wild 2020-03-12
MUC: Pass previous role to :publicise_occupant_status() when destroying a MUC Matthew Wild 2020-03-12
MUC: Pass previous role to :publicise_occupant_status() whenever possible Matthew Wild 2020-03-12
mod_muc: add muc-private-message event Maxime “pep” Buquet 2020-02-24
MUC: Make note to handle configuration form errors [luacheck] Kim Alvefur 2019-12-23
MUC: Remove some unused variables [luacheck] Kim Alvefur 2019-12-23
MUC: Add missing reference to room (thanks buildbot) [luacheck] Kim Alvefur 2019-11-25
MUC: Indicate that the room is the origin of various errors where 'from' is an occupant JID Kim Alvefur 2019-11-25
Merge 0.11->trunk Kim Alvefur 2019-11-23
MUC: Keep role across nickname change (fixes #1466) 0.11 Kim Alvefur 2019-11-23
MUC: Enforce strict resourceprep on nicknames (bye bye robot face) Kim Alvefur 2019-09-23
MUC: Add controls for whose presence is broadcast (closes #1335) Lance Stout 2019-10-20
Merge 0.11-trunk Kim Alvefur 2019-09-29
MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427) 0.11 Kim Alvefur 2019-09-29
Merge 0.11->trunk Kim Alvefur 2019-08-20
MUC: Advertise XEP-0410 support 0.11 Kim Alvefur 2019-07-30
MUC: Reflow event tables to improve readability Kim Alvefur 2019-06-19
MUC: Update error message for consistency Matthew Wild 2019-03-18
MUC: Fire an event to allow affecting decision of whether to allow a role change Kim Alvefur 2019-02-24
MUC: Factor out role change permission check into its own method Kim Alvefur 2019-02-24
Merge 0.11->trunk Matthew Wild 2019-02-04
MUC: Add error message to error bounces when not joined to room 0.11 Matthew Wild 2019-02-04
MUC: Rename import to avoid name clash [luacheck] Kim Alvefur 2019-01-06
MUC: add ID to message if no ID is present Jonas Wielicki 2019-01-06
Merge 0.11->trunk Kim Alvefur 2018-12-20
MUC: Allow changing data attached to an only owner (fixes #1273) 0.11 Kim Alvefur 2018-12-20
Merge 0.11->trunk Matthew Wild 2018-12-19
MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272) 0.11 Matthew Wild 2018-12-19
MUC: Move check for explicit room join earlier in room creation flow Kim Alvefur 2018-11-27
Merge 0.11->trunk Kim Alvefur 2018-11-25
MUC: Fix traceback on muc#admin query with missing <item> child (#1242) 0.11 Kim Alvefur 2018-11-25
MUC: Fix spelling in comments Kim Alvefur 2018-11-10
MUC: Allow anyone read access to all affiliation lists in non-anonymous rooms (fixes #1230) 0.11 Kim Alvefur 2018-11-09
MUC: Clarify condition with parenthesis 0.11 Kim Alvefur 2018-11-09
MUC: Announce affiliation changes for JIDs that are not in the room 0.11 Matthew Wild 2018-10-31
MUC: Remove debug log Matthew Wild 2018-10-25
MUC: Add function to retrieve affiliation data for a given JID Matthew Wild 2018-10-21
MUC: Include affiliation data when iterating over affiliations with a room Matthew Wild 2018-10-21
MUC: Use the bare JID when performing a lookup for COMPAT with clients that don't set it (fixes #1224) Matthew Wild 2018-10-21
MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization (closes #1220) Kim Alvefur 2018-10-07
MUC: Don't kick user of a reserved nick if it's theirs (thanks pep.) Matthew Wild 2018-09-14
MUC: Include 'nick' attribute in affiliation lists (thanks jc) Matthew Wild 2018-09-14
MUC: Fix to correctly return 'node' in disco#info responses (thanks jc) Matthew Wild 2018-09-13
MUC: Initialize room with empty affiliation_data if none stored Matthew Wild 2018-09-04
MUC: Allow vCard4 requests trough Kim Alvefur 2018-09-04
MUC: Allow admins to include a registered nick when setting affiliation Matthew Wild 2018-09-04
MUC: Add some comments for clarity Matthew Wild 2018-09-03
MUC: Add support for separate events for disco#info queries with a 'node' Matthew Wild 2018-09-03
MUC: Add support for storing additional data with MUC affiliations Matthew Wild 2018-09-03
MUC: Direct PubSub queries to occupants to their real bare JID Kim Alvefur 2018-08-18
MUC: Remove 307 status from error-kicks (fixes #939) Matthew Wild 2018-08-08
mod_muc: Fix incorrect variable usage [luacheck] Matthew Wild 2018-08-08
MUC: Suppress error text when participants are kicked due to error in semi-anon rooms (fixes #563) Matthew Wild 2018-08-07
MUC: Split long lines [luacheck strict] Kim Alvefur 2018-08-03
MUC: Fix another logic inversion () Matthew Wild 2018-07-17
MUC: Fix inverted logic () Matthew Wild 2018-07-17
Backed out changeset 0bf0ff3b0f91 (incorrect fix) Matthew Wild 2018-07-17
MUC: Use JID from correct place when adding <body> to mediated invites (thanks Link Mauve/lovetox) Matthew Wild 2018-07-17
MUC: Add 'actor' field in muc-config-submitted event Matthew Wild 2018-07-17
MUC: Also prevent changing to an invisible nickname Kim Alvefur 2018-07-12
MUC: Use nickname from occupant object Kim Alvefur 2018-07-12
MUC: Fix stanza reference Kim Alvefur 2018-07-12
MUC: Reject invisible nicknames (fixes #979) Kim Alvefur 2018-07-12
MUC: Fix to send status code 100 *only* to the joining (fixes #680) Kim Alvefur 2018-07-11
MUC: Simplify creation of <{muc}x> for room creation Kim Alvefur 2018-07-11
MUC: Remove <item> from room destruction announcement, it's added later somwehere Kim Alvefur 2018-07-11
MUC: Include destruction reason and other info in destroyed event Kim Alvefur 2018-07-11
MUC: Flag rooms being destroyed (fixes #887) Kim Alvefur 2018-07-10
MUC: Bring handling of presence errors to the room more in line with unavailable presence Matthew Wild 2018-07-09
MUC: Return new occupant object from :save_occupant(), which can include useful info Matthew Wild 2018-07-09
MUC: Avoid sending error for unavailable presence in GC 1.0 check Kim Alvefur 2018-06-26
MUC: Normalize role value, fixes removal on loss of membership (thanks mimi89999) Kim Alvefur 2018-06-18
MUC: Remove support for GC 1.0 for joining Kim Alvefur 2018-03-09
MUC: Remove support for GC 1.0 during room creation Kim Alvefur 2018-03-09
MUC: Move extraction of <{muc}x> earlier, to be used later to differentiate between join and presence update Kim Alvefur 2018-03-09
MUC: Ignore unused 'self' [luacheck] Kim Alvefur 2018-06-08
Merge 0.10->trunk Kim Alvefur 2018-06-08
Backed out changeset b8c3dbf76a2e (fixes #1162) Kim Alvefur 2018-06-08
MUC: Move voice request into its own lib Kim Alvefur 2018-06-02
MUC: Correctly use a multiple options field for requested role (thanks jonasw) Kim Alvefur 2018-06-02
MUC: Add some debug logging for voice requests Kim Alvefur 2018-06-01
MUC: Use util.jid.resource Kim Alvefur 2018-06-01
MUC: Reuse the same dataform for voice requests Kim Alvefur 2017-10-20
MUC: Ignore unused argumens [luacheck] Kim Alvefur 2017-10-20
MUC: Support MUC voice requests and approvals in moderated rooms (closes #655) (thanks to Lance Stout) Kim Alvefur 2017-10-20
Merge 0.10->trunk Matthew Wild 2018-05-30
MUC: Revert unstable MUC commits since 0.10.1 Matthew Wild 2018-05-30
MUC: Handle setting default history messages when history length is unset (thanks tmolitor) Kim Alvefur 2018-05-29
MUC: ensure that x/item/@jid is always a bare JID Jonas Wielicki 2018-05-17
MUC: correctly emit <status/> tags Jonas Wielicki 2018-05-17
MUC: reject non-bare JIDs in set_affiliation requests with not-acceptable Jonas Wielicki 2018-05-17
MUC: fix set_role invocation Jonas Wielicki 2018-05-17
Merge 0.10 -> trunk Matthew Wild 2018-05-16
MUC: Restore status codes on presence sent to occupant when their affiliation changes (thanks jonasw) Matthew Wild 2018-05-16
Merge 0.10 -> trunk Matthew Wild 2018-05-16
MUC: Allow the number of messages sent by default to be configured (fixes #397) Matthew Wild 2018-05-16
MUC: Import revised, more comprehensive patch for 8da11142fabf (#345) Matthew Wild 2018-05-16
muc: Allow clients to change multiple affiliations or roles at once (#345) Lennart Sauerbeck 2017-03-18
MUC: Move something into empty if branch Kim Alvefur 2018-03-09
Fix spelling throughout the codebase [codespell] Kim Alvefur 2018-02-04
Merge 0.10->trunk Kim Alvefur 2018-03-10
Merge 0.9->0.10 Kim Alvefur 2018-03-10
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) Jonas Wielicki 2018-03-08
Merge 0.10->trunk Kim Alvefur 2018-03-09
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) Jonas Wielicki 2018-03-08
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) Jonas Wielicki 2018-03-08
MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087) Jonas Wielicki 2018-02-23
MUC: Treat missing type and type=normal the same Kim Alvefur 2017-10-20
MUC: Prevent traceback in case of no history items to serialize (fixes #1083) Kim Alvefur 2018-02-15
MUC: Hook the correct event Kim Alvefur 2017-12-23
MUC: Check delay tags when they are received instead of when they are sent Kim Alvefur 2017-12-21
MUC: Move delayed delivery check into an event handler Kim Alvefur 2017-12-21
Merge 0.10->trunk Kim Alvefur 2017-12-22
Merge 0.9->0.10 Kim Alvefur 2017-12-10
MUC: Rename variable to make it clearer that it is the room JID and not the MUC host 0.9.13 Kim Alvefur 2017-12-10
MUC: Ensure that <delay/> elements which match our from are stripped (fixes #1055) Jonas Wielicki 2017-12-09
MUC: fix the @from on <delay/> in history replay (fixes #1054) Jonas Wielicki 2017-12-09
Merge 0.10->trunk Kim Alvefur 2017-12-09
Merge 0.9->0.10 Kim Alvefur 2017-12-09
MUC: Always send subject message, even if it is empty (fixes #1053) Kim Alvefur 2017-12-09
Merge 0.10->trunk Kim Alvefur 2017-08-28
MUC: Use variable that actually exists (thanks Martin) Kim Alvefur 2017-08-06
MUC: Reject whitespace-only nicknames (fixes #337) Kim Alvefur 2017-07-20
Merge 0.10->trunk Kim Alvefur 2017-07-06
MUC: Add some comments attempting to explain what presence and <x> tag goes where Kim Alvefur 2017-07-06
MUC: Include status code 110 on affiliation changes (see #765) Kim Alvefur 2017-07-06
MUC: Include status code 110 on role change notifications (fixes #765)) Kim Alvefur 2017-07-06
Backed out changeset a6574fdf8734, violates XEP-0045 Kim Alvefur 2017-07-03
MUC: Only send status code 307 to the user being kicked, not everyone (fixes #939) Kim Alvefur 2017-06-25
MUC: Log when denying entry to locked room Kim Alvefur 2017-03-22
MUC: Split long line [luacheck] Kim Alvefur 2017-03-06
MUC: Include the appropriate status code if nickname is changed during join process Kim Alvefur 2016-10-26
mod_muc/muc.lib: Allow passing different <x> elements to be passed to :publicise_occupant_status() Kim Alvefur 2016-10-26
Merge 0.10->trunk Kim Alvefur 2016-10-07
MUC: Return 'true' from room:destroy() so that use from the telnet console says 'OK' Kim Alvefur 2016-10-01
MUC: Remove "server changed your nickname" status code, it gets into the wrong places Kim Alvefur 2016-10-01
MUC: Fix logic of nickname override detection (thanks mimi89999) Kim Alvefur 2016-10-01
MUC: Insert the appropriate status code (210) if the nickname is overridden Kim Alvefur 2016-09-29
MUC: Fix conflict when restoring room where the same bare JID has joined as multiple participants Kim Alvefur 2016-09-11
MUC: Fix compatibility with new and old storage format Kim Alvefur 2016-08-23
MUC: Hide new MUC room storage format behind an off-by-default option Kim Alvefur 2016-07-09
Merge 0.10->trunk Kim Alvefur 2016-05-28
MUC: Allow members (or above) in members-only non-anonymous rooms to see the member list (fixes #445) Kim Alvefur 2016-05-28
MUC: Send participant list and subject on explicit joins (thanks daurnimator) Kim Alvefur 2016-05-15
Backed out changeset 63141a85beea, broke multi-session nicks Kim Alvefur 2016-05-14
MUC: Treat explicit join presence as join Kim Alvefur 2016-05-07
MUC: Move status text out of <x> element (thanks Tobias) Kim Alvefur 2016-05-04
MUC: Restore last message from state, not room config (missing change from cbb05b454c13) Kim Alvefur 2016-04-30
MUC: Separate config from live state Kim Alvefur 2016-04-29
MUC: Separate force-save parameter from save-entire-state flag Kim Alvefur 2016-04-29
MUC: Stricter validation of deserialized data Kim Alvefur 2016-04-29
MUC: Include the very last message in serialized form to keep it across eviction and restore Kim Alvefur 2016-04-28
MUC: Add event for when room is done being created Kim Alvefur 2016-04-28
MUC: Split out handling of the room-creating presence into its own method Kim Alvefur 2016-04-28
MUC: Split out handling of normal (un)available presence into its own method Kim Alvefur 2016-04-28
MUC: Log cases of possible room resynchronisation Kim Alvefur 2016-04-28
MUC: Be more careful with deserialization of rooms, fix case where a bare jid has joined as multiple participants Kim Alvefur 2016-04-27
MUC: Don't force-save rooms where not needed Kim Alvefur 2016-04-20
MUC: Fix logic for when to broadcast unavailable presence (actual fix for 14170d161b39) Kim Alvefur 2016-04-19
MUC: Return item-not-found as error when attempting to change role of non-existant occupant Kim Alvefur 2016-04-19
Merge 0.10->trunk Kim Alvefur 2016-04-19
Merge 0.9->0.10 Kim Alvefur 2016-04-19
MUC: Accept missing form as "instant room" request (fixes #377) Kim Alvefur 2016-04-19
MUC: Add support for serializing live rooms, including occupants and their presence Kim Alvefur 2016-04-18
MUC: Flatten format of serialized rooms Kim Alvefur 2016-04-18
MUC: Move room deserialization to muc.lib Kim Alvefur 2016-04-18
MUC: Wrap "support" for the groupchat 1.0 join protocol in a config option to allow disabling Kim Alvefur 2016-04-18
MUC: Save yourself! (fixes reference to current room) Kim Alvefur 2016-04-18
MUC: Assign occupants unavailable presence on room destruction, fixes destruction notification Kim Alvefur 2016-04-18
MUC: Use config passed to rew_roow() Kim Alvefur 2016-04-18
MUC: Move 'preserialization' step to muc.lib Kim Alvefur 2016-04-17
MUC: Save room to storage once after form processing, not in each individual setter Kim Alvefur 2016-04-15
MUC: Provide a noop stub room:save() method Kim Alvefur 2016-04-14
MUC: Include originating session and stanza in events Kim Alvefur 2016-04-08
MUC: Spread event tables over multiple lines Kim Alvefur 2016-04-08
MUC: Use already initialized logger Kim Alvefur 2016-03-11
Merge 0.10->trunk Kim Alvefur 2016-02-03
MUC: Fire a muc-disco#info event like in trunk so modules can extend the reply Kim Alvefur 2016-02-03
MUC: Separate form data from form in disco#info event Kim Alvefur 2016-02-03
MUC: Add luacheck annotations, remove unused vars, rename conflicting vars etc Kim Alvefur 2016-01-20
Merge 0.10->trunk Matthew Wild 2015-12-16
Merge 0.9->0.10 Matthew Wild 2015-12-16
MUC: Fix incorrect nesting of status codes when room config changes (fixes #579) Matthew Wild 2015-12-16
MUC: Fire per-field events for the config form, including those with value == nil (no <value/> element in form) Matthew Wild 2015-12-11
Merge 0.10->trunk Matthew Wild 2015-12-10
MUC: Fix previous commit Kim Alvefur 2015-12-09
MUC: Process only options that are included in a form (Fixes #521) Kim Alvefur 2015-12-08
Merge 0.10->trunk Matthew Wild 2015-11-17
Merge 0.9->0.10 Matthew Wild 2015-11-17
muc.lib: Fix pattern so that it doesn't match hashes containing null bytes, causing dropped stanzas (thanks Jitsi folk!) Matthew Wild 2015-11-17
MUC: Reject muc:admin query with missing <item> child Kim Alvefur 2015-10-18
Merge 0.10->trunk Kim Alvefur 2015-09-17
MUC: Break a very long line Kim Alvefur 2015-09-12
MUC: Prevent double replies when MUC affiliation/role change requests fail. Lance Stout 2015-09-17
MUC: Fix traceback in request for MUC affiliation lists by non-affiliated (thanks Lance) Kim Alvefur 2015-09-15
plugins/muc/muc.lib: Fix issue #505 where unavailable presences were never used daurnimator 2015-08-24
MUC: Fix logic error Kim Alvefur 2015-08-16
plugins/muc: Move loading of optional muc libraries from muc.lib.lua to mod_muc daurnimator 2015-07-27
plugins/muc/muc.lib: Allow muc-broadcast-presence event listeners to modify nick, actor, reason daurnimator 2014-11-14
plugins/muc/muc.lib: Don't expose actor jids to users when anonymous daurnimator 2014-11-11
plugins/muc/muc.lib: Add :each_affiliation() iterator daurnimator 2014-10-15
plugins/muc/muc.lib: Kick users from outcast hosts daurnimator 2014-10-15
plugins/muc/muc.lib: Fix passing actor along as a boolean (thanks fippo) daurnimator 2014-10-15
plugins/muc/muc.lib: Fire muc-occupant-left from other places an occupant may leave the room daurnimator 2014-09-26
plugins/muc/muc.lib: Validate affiliations and roles to admin query get daurnimator 2014-09-26
plugins/muc/muc.lib: Add missing :up() daurnimator 2014-09-26
plugins/muc/muc.lib: Use occupants iterator instead of assuming pairs daurnimator 2014-09-26
muc: Add 'occupant' to muc-occupant-{joined,left,session-new} events (thanks daurnimator/fippo) Matthew Wild 2014-09-26
plugins/muc: Add muc-occupant-groupchat event daurnimator 2014-09-25
plugins/muc/muc.lib: Fix iq results coming from the real jid, not the in-room jid (thanks Lance) daurnimator 2014-09-16
plugins/muc/muc.lib: Allow plugins to reject broadcasts in the muc-broadcast-message event. daurnimator 2014-09-16
plugins/muc: Add affiliation_notify config option to send out status code 101 daurnimator 2014-09-05
plugins/muc/muc.lib: Add muc-set-affiliation event daurnimator 2014-09-05
plugins/muc/muc.lib: Use get_affilation() inside of set_affiliation(), so that the override in mod_muc works daurnimator 2014-09-05
plugins/muc/muc.lib: Add instant room support daurnimator 2014-09-05
mod_muc/muc.lib: Remove is_anonymous from event (fix for ec57067c1e0d) Matthew Wild 2014-07-25
mod_muc/muc.lib: Pass all info to muc-broadcast-presence handlers that would be required to use room:build_item_list() - useful for plugins Matthew Wild 2014-07-25
plugins/muc/muc: Fire broadcast presences event before creating full/anon presences daurnimator 2014-06-17
plugins/muc: Fix use of incorrect event on occupant join daurnimator 2014-06-17
plugins/muc/muc.lib: Deliver declines to in-room jids correctly daurnimator 2014-06-11
plugins/muc/muc.lib: Don't add invite/decline bodies if they already have one daurnimator 2014-06-06
plugins/muc/muc.lib: Use original decline as template for medated decline daurnimator 2014-06-06
plugins/muc/muc: When forwarding mediated invites; use filtered version of original invite instead of new object daurnimator 2014-06-05
plugins/muc/muc.lib: Fix incorrect whois logic (thanks mva) daurnimator 2014-06-01
plugins/muc/muc.lib: Fix whois check when broadcasting occupant presence Waqas Hussain 2014-06-01
Merge with daurnimator Waqas Hussain 2014-05-30
plugins/muc/muc.lib: Fire event for presence broadcast daurnimator 2014-05-29
Merge with daurnimator Matthew Wild 2014-05-23
plugins/muc/muc.lib: Even unavailable session need to be routed to sometimes (e.g. their own leave) daurnimator 2014-05-21
plugins/muc/muc: Only set role to nil if it's the last session to leave daurnimator 2014-05-21
plugins/muc/muc: Better check for live sessions daurnimator 2014-05-19