Log

plugins/muc/mod_muc.lua @ 10263:7ba87d97cca2

description author age
MUC: Move check for explicit room join earlier in room creation flow Kim Alvefur Tue, 27 Nov 2018 17:01:47 +0100
MUC: Use defaults from config in create_room() if no config provided 0.11 Matthew Wild Thu, 15 Nov 2018 10:25:48 +0000
MUC: Add support for registering with a MUC, including reserving a nickname as per XEP-0045 Matthew Wild Mon, 03 Sep 2018 12:26:25 +0100
MUC: Add support for storing additional data with MUC affiliations Matthew Wild Mon, 03 Sep 2018 12:18:13 +0100
MUC: Normalize indentation Kim Alvefur Wed, 22 Aug 2018 14:50:07 +0200
MUC: Fix traceback when failing to restore a room Matthew Wild Fri, 17 Aug 2018 08:12:58 +0100
MUC: Pass missing argument to log message Kim Alvefur Fri, 17 Aug 2018 00:31:24 +0200
MUC: Allow destruction of tombstones (eg via telnet or adhoc command) Kim Alvefur Fri, 03 Aug 2018 22:25:16 +0200
MUC: Split long lines [luacheck strict] Kim Alvefur Fri, 03 Aug 2018 17:48:41 +0200
mod_muc: Fire event when room is (and about to be) restored Matthew Wild Fri, 03 Aug 2018 13:44:30 +0100
mod_muc: Add comment Matthew Wild Fri, 03 Aug 2018 13:43:47 +0100
MUC: Add some comments clarifying methods Matthew Wild Tue, 17 Jul 2018 10:35:33 +0100
MUC: Add new iteration methods, all_rooms/live_rooms to eventually replace each_room Matthew Wild Tue, 17 Jul 2018 10:29:16 +0100
MUC: Rename variable for consistency with other code that uses the term 'live' Matthew Wild Tue, 17 Jul 2018 10:01:19 +0100
MUC: Return 'gone' error for destroyed rooms in other cases than attempted join Kim Alvefur Mon, 16 Jul 2018 12:19:19 +0200
MUC: Add sections in room config form Matthew Wild Fri, 13 Jul 2018 15:47:08 +0100
MUC: Include redirect in 'gone' error for destroyed rooms Kim Alvefur Wed, 11 Jul 2018 12:05:06 +0200
MUC: Send an 'gone' error instead of unavailable + <destroyed> Kim Alvefur Wed, 11 Jul 2018 11:50:44 +0200
MUC: Allow an admin to recreate destroyed rooms Kim Alvefur Wed, 11 Jul 2018 03:38:01 +0200
MUC: Add support for storing a tombstone for destroyed rooms (#1182) Kim Alvefur Wed, 11 Jul 2018 03:37:57 +0200
MUC: Remove room state on successful restoration from disk Kim Alvefur Wed, 11 Jul 2018 03:27:18 +0200
MUC: Purge saved room state when deleting a room Kim Alvefur Wed, 11 Jul 2018 03:27:02 +0200
MUC: Log a debug message when a non-persistent room becomes empty and is destroyed Kim Alvefur Wed, 11 Jul 2018 02:25:07 +0200
MUC: Flag rooms being destroyed (fixes #887) Kim Alvefur Tue, 10 Jul 2018 21:10:12 +0200
mod_muc: Add support for muc_room_default_allow_member_invites Matthew Wild Fri, 06 Jul 2018 15:58:11 +0100
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this) Matthew Wild Fri, 06 Jul 2018 15:33:46 +0100
MUC: Remove affiliation notify support, nothing uses it Matthew Wild Wed, 27 Jun 2018 16:00:54 +0100
MUC: Measure cache hits and misses Kim Alvefur Sat, 23 Jun 2018 18:59:21 +0200
MUC: Rename eviction hit rate measure Kim Alvefur Sat, 23 Jun 2018 18:58:56 +0200
MUC: Expose method for creating a bare room object Kim Alvefur Wed, 06 Jun 2018 15:26:16 +0200
MUC: Track rooms created via internal public API Kim Alvefur Wed, 06 Jun 2018 00:35:42 +0200
MUC: Allow passing config to public create_room API Kim Alvefur Sat, 14 Apr 2018 16:14:15 +0200
MUC: Fix Ooo (thanks pep.) Kim Alvefur Sun, 03 Jun 2018 20:54:53 +0200
MUC: Make rooms hidden (non-public) by default for improved privacy Kim Alvefur Sun, 03 Jun 2018 14:45:04 +0200
MUC: Use xml:lang from stanza that creates a room as default for language Kim Alvefur Sun, 03 Jun 2018 14:43:15 +0200
MUC: Add support for setting MUC room defaults from the config file Kim Alvefur Sun, 03 Jun 2018 14:43:06 +0200
MUC: Move voice request into its own lib Kim Alvefur Sat, 02 Jun 2018 20:15:32 +0200
Merge 0.10->trunk Matthew Wild Wed, 30 May 2018 21:40:00 +0100
MUC: Fix error logged when no persistent rooms present Matthew Wild Wed, 30 May 2018 21:02:09 +0100
MUC: Add support for setting a room language (closes #1149) Kim Alvefur Wed, 30 May 2018 09:06:17 +0200
MUC: Add support for an optional hard limit on number of rooms (fixes #766) Kim Alvefur Tue, 22 May 2018 21:22:51 +0200
Merge 0.10 -> trunk Matthew Wild Wed, 04 Apr 2018 18:42:05 +0100
MUC: Don't reply to errors with more errors (fixes #1122) Kim Alvefur Wed, 28 Mar 2018 18:11:09 +0200
MUC: Say something about storage failure before aborting (see #1091) Kim Alvefur Mon, 12 Mar 2018 16:05:08 +0100
MUC: Prevent creation of room that could not be loaded from storage (see #1091) Kim Alvefur Fri, 09 Mar 2018 02:10:44 +0100
MUC: Abort module loading if unable to get list of persistent rooms from storage (fixes #1091) Kim Alvefur Wed, 07 Mar 2018 16:01:58 +0100
MUC: Catch and log error in case of storage failure in iterator over rooms Kim Alvefur Thu, 15 Mar 2018 06:19:57 +0100
MUC: Override methods on broken rooms to return internal-server-error instead Kim Alvefur Thu, 22 Mar 2018 20:08:32 +0100
MUC: Return error if unable to keep track of room due to storage failure Kim Alvefur Wed, 07 Mar 2018 17:53:52 +0100
MUC: Log failure to load room state Kim Alvefur Fri, 16 Mar 2018 21:59:41 +0100
MUC: Only fetch stored room state if room config is loaded without error Kim Alvefur Fri, 16 Mar 2018 21:59:34 +0100
MUC: Prevent room eviction on storage failure Kim Alvefur Wed, 07 Mar 2018 17:38:01 +0100
MUC: Produce an untracked, locked room on failure to read room from storage (#1091) Kim Alvefur Mon, 12 Mar 2018 21:47:39 +0100
MUC: Write down which functions are exposed and thus available to other modules Kim Alvefur Fri, 09 Mar 2018 19:16:18 +0100
MUC: Cache names of public rooms on eviction Kim Alvefur Thu, 09 Nov 2017 17:27:52 +0100
MUC: Measure rate of room eviction Kim Alvefur Thu, 09 Nov 2017 17:27:37 +0100
MUC: Tweak debug log message Kim Alvefur Thu, 09 Nov 2017 17:27:12 +0100
MUC: Include a human-readable message when denying room creation because of restrict_room_creation Kim Alvefur Thu, 06 Jul 2017 11:22:16 +0200
MUC: Return item-not-found for eg messages to non-existant rooms (changed in 566aba0482b6 for unknown reason) Kim Alvefur Thu, 06 Jul 2017 11:21:28 +0200
MUC: Log debug message when restoring a room from storage Kim Alvefur Thu, 06 Jul 2017 11:21:10 +0200
Merge 0.10->trunk Kim Alvefur Fri, 31 Mar 2017 19:01:42 +0200
MUC: Only create rooms in a locked state when they are created by someone joining (fixes timed deletion of all rooms on startup) Kim Alvefur Fri, 31 Mar 2017 18:52:53 +0200
Merge 0.10->trunk Kim Alvefur Sun, 27 Nov 2016 01:06:23 +0100
MUC: Don't create room in response to unavailable presence Kim Alvefur Sun, 27 Nov 2016 00:10:51 +0100
MUC: Run component shutdown after mod_c2s has closed its sessions (prevents ghosts) Kim Alvefur Sat, 15 Oct 2016 17:40:31 +0200
Logging error if MUC room cache is full Sam Whited Fri, 02 Sep 2016 16:02:17 -0500
MUC: Restore modern version of public create_room() function removed in dfaacf042cfe Kim Alvefur Tue, 30 Aug 2016 17:54:24 +0200
MUC: Pass room JID instead of room itself to logger, fixes traceback (thanks damencho) Kim Alvefur Sat, 06 Aug 2016 11:58:01 +0200
MUC: Lower priority of hook so plugins hooks run before Kim Alvefur Wed, 04 May 2016 11:08:51 +0200
MUC: Separate config from live state Kim Alvefur Fri, 29 Apr 2016 17:04:05 +0200
MUC: Separate force-save parameter from save-entire-state flag Kim Alvefur Fri, 29 Apr 2016 16:54:45 +0200
MUC: Add event for when room is done being created Kim Alvefur Thu, 28 Apr 2016 22:57:53 +0200
MUC: Split out handling of the room-creating presence into its own method Kim Alvefur Thu, 28 Apr 2016 22:57:02 +0200
MUC: Use correct room name variable, fixes traceback (thanks mathieui) Kim Alvefur Wed, 27 Apr 2016 12:05:51 +0200
MUC: Correctly iterate over suspended rooms while excluding live rooms Kim Alvefur Tue, 26 Apr 2016 13:40:03 +0200
MUC: Store rooms on disk on shutdown Kim Alvefur Mon, 18 Apr 2016 20:32:48 +0200
MUC: Cache public rooms and their names to speed up disco#items Kim Alvefur Mon, 18 Apr 2016 19:19:33 +0200
MUC: Switch to util.cache for storing rooms, store rooms to disk on eviction Kim Alvefur Mon, 18 Apr 2016 19:18:37 +0200
MUC: Move room deserialization to muc.lib Kim Alvefur Mon, 18 Apr 2016 19:26:26 +0200
Merge with Link Mauve Kim Alvefur Sun, 17 Apr 2016 22:28:48 +0200
MUC: Move 'preserialization' step to muc.lib Kim Alvefur Sun, 17 Apr 2016 22:09:44 +0200
Update every link to the documentation to use HTTPS Emmanuel Gil Peyrot Sat, 16 Apr 2016 21:08:05 +0100
MUC: Move history to room._history Kim Alvefur Tue, 12 Apr 2016 19:35:55 +0200
Merge 0.10->trunk Kim Alvefur Fri, 11 Mar 2016 13:41:10 +0100
MUC: Use type-specific config API for the 'name' option Kim Alvefur Fri, 11 Mar 2016 13:34:32 +0100
MUC: Don't reply to error stanzas with more error stanzas (thanks woffs) Kim Alvefur Mon, 07 Mar 2016 10:59:37 +0100
MUC: Rename variables to please luacheck Kim Alvefur Wed, 20 Jan 2016 14:46:06 +0100
MUC: Remove duplicated import of muc/persistent (4caef6d53304 and this fixes #482) Kim Alvefur Wed, 26 Aug 2015 20:21:12 +0200
Merge Matthew Wild Mon, 27 Jul 2015 09:38:40 +0100
plugins/muc: Move loading of optional muc libraries from muc.lib.lua to mod_muc daurnimator Mon, 27 Jul 2015 18:34:51 +1000
mod_muc: Fix a traceback when an owner joins a room Emmanuel Gil Peyrot Sat, 25 Jul 2015 15:49:00 +0100
Merge 0.10->trunk Kim Alvefur Thu, 25 Jun 2015 18:57:43 +0200
Merge 0.9->0.10 Kim Alvefur Thu, 25 Jun 2015 18:54:01 +0200
MUC: Prevent admins from being given affiliatons other than owner Kim Alvefur Thu, 25 Jun 2015 17:58:24 +0200
Backed out changeset bea3862b6bde in favor of a different approach Kim Alvefur Thu, 25 Jun 2015 17:54:19 +0200
MUC: Remove half of monkeypatch that was supposed to make admins always be room owners, fixes #458 Kim Alvefur Tue, 16 Jun 2015 15:13:47 +0200
plugins/muc/mod_muc: Add 'local_only' flag to mod_muc, so rooms don't get restored on shutdown daurnimator Fri, 17 Oct 2014 16:35:46 -0400
mod_muc: Fix 'destroy rooms' adhoc command (Thanks Florob) Kim Alvefur Sun, 31 Aug 2014 20:33:47 +0200
mod_muc: Fix tracebacks (thanks nick1) Kim Alvefur Mon, 11 Aug 2014 11:36:30 +0200
plugins/muc/mod_muc: persistent rooms keyval store needs username as nil daurnimator Thu, 07 Aug 2014 18:03:31 -0400
plugins/muc/mod_muc: Use map store for room persistence daurnimator Thu, 07 Aug 2014 12:35:12 -0400
plugins/muc/mod_muc: Remove unused import daurnimator Thu, 07 Aug 2014 12:34:51 -0400
mod_muc: Fix use of undefined global. Fixes #431. Matthew Wild Tue, 05 Aug 2014 09:16:29 +0100
plugins/muc/mod_muc: fix wrong event for persistence daurnimator Wed, 11 Jun 2014 17:54:23 -0400
plugins/muc/mod_muc: Get rid of room global; use module:shared to get it daurnimator Mon, 19 May 2014 13:39:45 -0400
plugins/muc/mod_muc: Place adhoc section into own scope daurnimator Wed, 30 Apr 2014 12:43:47 -0400
plugins/muc/mod_muc: Don't use rooms object directory in adhoc section daurnimator Wed, 30 Apr 2014 12:43:04 -0400
plugins/muc/mod_muc.lua: Add "each_room" function to iterate over rooms (instead of accessing directly) daurnimator Wed, 30 Apr 2014 13:12:32 -0400
plugins/muc/mod_muc: Remove attempt_room_creation and create_room function. Instead have a 'track_room' function called from the end of the pre-create hook, and just create an un-tracked room object when we get a presence daurnimator Tue, 29 Apr 2014 19:35:25 -0400
plugins/muc/mod_muc: Move `restrict_room_creation` into own area. now uses pre-create hook daurnimator Tue, 29 Apr 2014 19:00:45 -0400
plugins/muc/mod_muc: Use module:shared instead of save/restore daurnimator Tue, 29 Apr 2014 17:18:14 -0400
plugins/muc: Move 'module:get_option_number("max_history_messages")' from mod_muc into history lib; remove from muclib exports daurnimator Tue, 29 Apr 2014 15:13:06 -0400
plugins/muc/mod_muc: Remove support for `host_session.muc` daurnimator Tue, 29 Apr 2014 14:50:13 -0400
plugins/muc/mod_muc: Move room persistence to own block daurnimator Tue, 29 Apr 2014 14:24:50 -0400
plugins/muc: Add room:has_occupant() method daurnimator Tue, 29 Apr 2014 12:54:04 -0400
plugins/muc/mod_muc: No need to treat the host room specially daurnimator Mon, 28 Apr 2014 16:31:21 -0400
plugins/muc/mod_muc: Use get_option_string instead of get_option and checking daurnimator Mon, 28 Apr 2014 16:33:54 -0400
plugins/muc/mod_muc: Move affiliation monkey patch into own scope daurnimator Mon, 28 Apr 2014 16:30:53 -0400
plugins/muc: Move persistent room configuration to own module daurnimator Tue, 15 Apr 2014 17:06:04 -0400
plugins/muc: Move locking to seperate module daurnimator Wed, 02 Apr 2014 15:48:25 -0400
plugins/muc/mod_muc: Move room locking into hook daurnimator Wed, 02 Apr 2014 15:36:08 -0400
plugins/muc: Massive refactor daurnimator Thu, 27 Mar 2014 19:16:13 -0400
plugins/muc: Rename admin query hook daurnimator Thu, 27 Mar 2014 18:09:42 -0400
plugins/muc: Have utility methods for locking the room daurnimator Thu, 20 Mar 2014 11:06:10 -0400
plugins/muc: Provide a reasonable default `route_stanza` daurnimator Wed, 19 Mar 2014 12:03:15 -0400
plugins/muc/mod_muc: host sessions have a .send these days daurnimator Tue, 18 Mar 2014 18:56:26 -0400
plugins/muc/mod_muc: Refactor to use new methods available daurnimator Tue, 18 Mar 2014 18:55:52 -0400
plugins/muc/mod_muc: Move Xep-0307 MUC unique to seperate file daurnimator Tue, 18 Feb 2014 17:21:47 -0500
Merge 0.9->0.10 Matthew Wild Tue, 21 Jan 2014 03:24:40 +0000
MUC: Fire muc-room-destroyed event when the last participant leaves a non-persistent room Kim Alvefur Sat, 18 Jan 2014 20:14:05 +0100
MUC: Expose room metatable on module Kim Alvefur Sat, 18 Jan 2014 18:28:50 +0100
Merge 0.9->0.10 Matthew Wild Mon, 16 Dec 2013 02:04:16 +0000
mod_muc: Remove extra parenthesis (thanks janhouse) Kim Alvefur Sat, 14 Dec 2013 17:25:17 +0100
mod_muc: Remove extra parenthesis (thanks janhouse) Kim Alvefur Sat, 14 Dec 2013 17:25:17 +0100
Merge 0.9->0.10 Matthew Wild Fri, 13 Dec 2013 12:52:39 +0000
mod_muc: Allow admins to always bypass restrict_room_creation (thanks Chris B) Matthew Wild Fri, 13 Dec 2013 12:52:03 +0000
mod_muc: Support for locking newly-created rooms until they are configured (enabled with muc_room_locking = true) Matthew Wild Fri, 30 Aug 2013 14:15:29 +0100
mod_muc: Import util.array Matthew Wild Fri, 30 Aug 2013 14:10:51 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
mod_muc: Add Ad-Hoc command to destroy MUC rooms Florian Zeitz Wed, 05 Jun 2013 00:05:03 +0200
mod_muc: Utilize mod_disco, instead of reimplementing disco handling Florian Zeitz Wed, 05 Jun 2013 00:04:44 +0200
mod_muc: Include status code 332 on service shutdown (thanks mathieui) Matthew Wild Sat, 08 Jun 2013 18:07:36 +0100
mod_muc: Refactor config form handling, and allow for clients to submit incomplete forms. Fixes #246 Matthew Wild Thu, 16 May 2013 14:17:25 +0100
mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik) Matthew Wild Tue, 14 May 2013 09:38:54 +0100
mod_auth_internal_hashed, mod_auth_internal_plain, mod_privacy, mod_private, mod_register, mod_vcard, mod_muc: Use module:open_store() Kim Alvefur Fri, 19 Apr 2013 16:14:06 +0200
MUC: Access prosody.hosts instead of the old global hosts Kim Alvefur Sat, 23 Mar 2013 02:24:11 +0100
MUC: Always return <service-unavailable/> when a node is present in service discovery requests. Waqas Hussain Tue, 26 Feb 2013 23:56:44 +0500
MUC: Expose create_room(jid). Waqas Hussain Fri, 30 Nov 2012 08:57:58 +0500
muc: Make max_history_messages simply a service-wide config option, and don't store it per-room (rooms still have their own history_message, but this is a global limit) Matthew Wild Thu, 22 Nov 2012 21:57:06 +0000
mod_muc: Fix syntax error (thanks Florob) Matthew Wild Wed, 01 Aug 2012 01:33:21 +0100
MUC: Give host and server admins "owner" affiliation in all rooms. Waqas Hussain Wed, 01 Aug 2012 01:36:30 +0500
MUC: Send unavailable presence when the component or server is shutting down. Waqas Hussain Wed, 01 Aug 2012 01:36:22 +0500
MUC: Return <item-not-found/> on message and iq to non-existent rooms (thanks Maranda). Waqas Hussain Wed, 01 Aug 2012 01:36:11 +0500
mod_muc: Remove unused variable and pull hosts into a local Kim Alvefur Thu, 26 Jul 2012 04:45:22 +0200
mod_muc: Use module:send() instead of core_*_stanza() Kim Alvefur Thu, 26 Jul 2012 04:41:56 +0200
MUC: Handle missing persistent room data. Waqas Hussain Tue, 12 Jun 2012 16:55:27 +0500
muc - implement per channel history limits Markus Kötter Fri, 13 Apr 2012 21:23:26 +0200
MUC: A little cleanup. Waqas Hussain Wed, 31 Aug 2011 23:53:55 +0500
mod_muc: Remove room from memory when it is made non-persistent and is empty Matthew Wild Wed, 04 May 2011 23:12:53 +0100
MUC: Give stanza handlers a negative priority, to allow mod_iq to process them first. Waqas Hussain Thu, 02 Dec 2010 16:16:44 +0500
MUC: Fixed: Variable referencing the host session wasn't initialized. Waqas Hussain Wed, 17 Nov 2010 00:18:31 +0500
prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file. Waqas Hussain Wed, 10 Nov 2010 20:59:16 +0500
MUC: Return true from the stanza handler to suppress error responses. Waqas Hussain Wed, 10 Nov 2010 05:31:19 +0500
MUC: Preserve the global rooms table through reloads. Waqas Hussain Tue, 09 Nov 2010 01:19:17 +0500
MUC: Expose the rooms table as a global 'rooms'. Waqas Hussain Tue, 09 Nov 2010 01:07:39 +0500
MUC: Allow restricting room creation to local JIDs (thanks thomas.mangin). Waqas Hussain Mon, 08 Nov 2010 20:44:53 +0500
MUC: Use events for hooking stanzas instead of the component stanza handler. Waqas Hussain Thu, 04 Nov 2010 19:38:05 +0500
MUC: Make the room node be the default room name (thanks Zash). Waqas Hussain Tue, 28 Sep 2010 16:36:17 +0500
MUC: No need to call is_admin twice now, global admins are admins on hosts Matthew Wild Sat, 17 Jul 2010 15:20:45 +0100
MUC: Make number of stored history messages configurable with option max_history_messages (thanks michal and others who requested) Matthew Wild Tue, 06 Jul 2010 17:09:23 +0100
MUC: Updated code to use :set_hidden() and :is_hidden(). Waqas Hussain Sun, 13 Jun 2010 21:58:46 +0500
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
mod_muc: Remove unused history_length declaration Matthew Wild Wed, 13 Jan 2010 00:05:07 +0000
MUC: Added config option 'restrict_room_creation' to allow restricting room creation to admins. Waqas Hussain Wed, 21 Oct 2009 11:58:33 +0500
MUC: Added 'name' config option, for specifying the component's name in disco responses. Waqas Hussain Wed, 21 Oct 2009 02:18:17 +0500
MUC: Removed some debug logging. Waqas Hussain Mon, 14 Sep 2009 02:11:17 +0500
MUC: Added a send() method to the component. Fixes issues with local mod_vcard. Waqas Hussain Mon, 14 Sep 2009 02:08:20 +0500
MUC: Discard non-persistent rooms as soon as they become empty. Waqas Hussain Wed, 09 Sep 2009 19:28:36 +0500
MUC: Added support for room configuration forms, persistence and hidden rooms. Waqas Hussain Mon, 07 Sep 2009 20:51:59 +0500
MUC: Fixed stanza routing for reloaded rooms. Waqas Hussain Mon, 07 Sep 2009 20:39:05 +0500
MUC: Added support for reloading MUC library code. Waqas Hussain Mon, 07 Sep 2009 20:38:20 +0500
MUC: Added support for generating unique room names Waqas Hussain Mon, 07 Sep 2009 20:29:04 +0500
MUC: New basic mod_muc based on the new MUC library Waqas Hussain Mon, 07 Sep 2009 20:18:26 +0500