Log

plugins/muc/muc.lib.lua @ 6112:819e00a86239

description author age
plugins/muc/muc.lib: Use more modern stanza methods daurnimator Wed, 19 Mar 2014 12:19:44 -0400
plugins/muc: Provide a reasonable default `route_stanza` daurnimator Wed, 19 Mar 2014 12:03:15 -0400
plugins/muc/muc: Add 'muc-occupant-left' event daurnimator Tue, 18 Mar 2014 18:52:28 -0400
plugins/muc/muc: Only call get_password once in invite creation daurnimator Tue, 18 Mar 2014 16:01:53 -0400
plugins/muc/muc: When there's no history; return an empty iterator daurnimator Tue, 18 Mar 2014 15:42:48 -0400
plugins/muc/muc: Support mediated declines daurnimator Tue, 18 Mar 2014 15:15:28 -0400
plugins/muc/muc: Rename `handle_invite_to_room` to `handle_mediated_invite`; clean up logic daurnimator Tue, 18 Mar 2014 15:15:14 -0400
plugins/muc/muc: Check for mediated invites in a smarter way daurnimator Tue, 18 Mar 2014 14:56:20 -0400
plugins/muc/muc: Add copyright for daurnimator daurnimator Tue, 18 Mar 2014 14:54:41 -0400
plugins/muc/muc.lib: Add disco iq handlers with compatible argument signature daurnimator Fri, 21 Feb 2014 19:06:33 -0500
plugins/muc/muc.lib: Move all kick code into one place daurnimator Fri, 21 Feb 2014 18:04:38 -0500
plugins/muc/muc.lib: Make use of return values to send service-unavailable errors daurnimator Fri, 21 Feb 2014 17:52:40 -0500
plugins/muc/muc.lib: Add some missing return values daurnimator Fri, 21 Feb 2014 17:40:16 -0500
plugins/muc/muc.lib: Move (de)construct_stanza_id into `handle_iq_to_occupant` daurnimator Fri, 21 Feb 2014 17:17:01 -0500
plugins/muc/muc.lib: Refactor _to_occupant handlers daurnimator Fri, 21 Feb 2014 16:30:43 -0500
plugins/muc/muc.lib: Split out the room iq handler into functions daurnimator Fri, 21 Feb 2014 15:48:26 -0500
plugins/muc/muc.lib: Factor `handle_to_occupant` out into many functions daurnimator Thu, 20 Feb 2014 16:50:18 -0500
plugins/muc/muc.lib: Split up `handle_to_room` into smaller handlers (thanks sysko) daurnimator Thu, 20 Feb 2014 14:36:49 -0500
plugins/muc/muc.lib: Split out `send_history` into `parse_history` and `get_history` daurnimator Wed, 19 Feb 2014 17:39:57 -0500
Merge 0.9->0.10 Matthew Wild Wed, 02 Apr 2014 17:41:38 +0100
MUC: Fixed traceback when a JID not in a room requested a role change for an occupant. Waqas Hussain Tue, 01 Apr 2014 10:02:58 -0400
MUC: Tag PMs with <x>, like presence stanzas Kim Alvefur Tue, 28 Jan 2014 19:21:21 +0100
MUC: Split out sending of the topic into method separate from sending history Kim Alvefur Sat, 18 Jan 2014 18:11:13 +0100
MUC: Split saving to history into a separate method Kim Alvefur Sat, 18 Jan 2014 18:05:42 +0100
Merge 0.9->0.10 Matthew Wild Sat, 05 Oct 2013 12:15:25 -0400
muc.lib.lua: Fix Spark jabber client not displaying conference room lists, seemingly due to a missing value tag for the room description if the description has not been set Paul Sat, 05 Oct 2013 17:11:16 +0100
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
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
Merge 0.9->trunk Matthew Wild Thu, 13 Jun 2013 12:07:46 +0100
mod_muc: Fix incorrect variable name Matthew Wild Tue, 21 May 2013 10:10:28 +0100
mod_muc: Remove some old TODO comments Matthew Wild Tue, 21 May 2013 13:21:30 +0100
mod_muc: Fix incorrect variable name Matthew Wild Tue, 21 May 2013 10:10:28 +0100
mod_muc: Remove unused variable Matthew Wild Tue, 21 May 2013 10:10:09 +0100
mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 insertions, 19 deletions! Matthew Wild Tue, 21 May 2013 09:57:36 +0100
mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions! Matthew Wild Tue, 21 May 2013 09:48:59 +0100
mod_muc: Pass actor (requesting JID) when generating the config form, and to the muc-config-form event handler Matthew Wild Sat, 18 May 2013 15:29:10 +0100
mod_muc: Add getter/setter for 'whois' (fixes traceback) Matthew Wild Sat, 18 May 2013 15:28:00 +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
MUC: Allow actor == true to set roles (like affiliations) Matthew Wild Mon, 29 Apr 2013 11:25:12 +0100
MUC: Allow plugins to add and handle options in the MUC config form Matthew Wild Mon, 29 Apr 2013 11:21:37 +0100
MUC: add __tostring on room metatable Matthew Wild Thu, 25 Apr 2013 20:36:55 +0100
mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications) to the room history (thanks louiz’, Link Mauve, poezio and all its users) Matthew Wild Thu, 28 Mar 2013 09:50:21 -0400
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: Fix affiliation check for admins, and bring it in line with the spec (thanks Maranda). Waqas Hussain Tue, 26 Feb 2013 20:31:41 +0500
MUC: Don't reply to errors (thanks iron) Kim Alvefur Wed, 09 Jan 2013 17:56:40 +0100
MUC: Support invite messages when stanza type is explicitly set to "normal" or to an unknown value. Waqas Hussain Sat, 15 Dec 2012 07:08:54 +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
MUC: Fix traceback caused by faulty logic precedence. (thanks waqas, nulani) Kim Alvefur Tue, 25 Sep 2012 22:03:35 +0200
MUC: Fix a traceback caused by private IQ result and error stanzas where the encoded id can't be processed. Waqas Hussain Thu, 09 Aug 2012 07:17:25 +0500
MUC: Fix private IQ results and errors for non-vcard queries. Waqas Hussain Sat, 04 Aug 2012 23:22:16 +0500
MUC: Expose room metatable in the MUC lib. Waqas Hussain Wed, 01 Aug 2012 01:36:25 +0500
MUC: Fix private IQ and message routing. Waqas Hussain Wed, 01 Aug 2012 01:36:19 +0500
mod_muc: Fix a couple of cases of 'forbidden' stanza error being sent with type 'cancel' - fixes #303 Matthew Wild Tue, 24 Jul 2012 10:44:37 +0100
muc.lib: room:set_historylength(): Condense code, and don't store length when equal to default Matthew Wild Sun, 13 May 2012 22:58:25 +0100
MUC: Fix check for history length update. Waqas Hussain Mon, 14 May 2012 02:42:42 +0500
muc.lib: Fix for traceback when no history length is set for the room Matthew Wild Sun, 13 May 2012 21:07:00 +0100
muc.lib: return feature-not-implemented when a foregoing discovery node is specified in a disco#info request. Marco Cirillo Thu, 10 May 2012 23:37:36 +0000
mod_muc/muc.lib: Fall back to default_history_length if no length in config Matthew Wild Sat, 28 Apr 2012 18:36:03 +0100
mod_muc/muc.lib.lua: Remove unused imports and variables Matthew Wild Sat, 28 Apr 2012 04:12:34 +0100
muc - implement per channel history limits Markus Kötter Fri, 13 Apr 2012 21:23:26 +0200
MUC: Fix a possible stack overflow (when a local component joins a room, then disconnects, an unavailble-error presence cycle can occur). Waqas Hussain Mon, 21 Nov 2011 19:59:38 +0500
MUC: Allow affiliation change when argument actor==true in room:set_affiliation(). Waqas Hussain Thu, 25 Aug 2011 12:05:27 +0500
MUC: Change error type of badly-formatted stanza from 'auth' to 'modify' (thanks Andrew) Matthew Wild Mon, 27 Jun 2011 20:36:18 +0100
MUC: Include occupant count in room disco#info response. Waqas Hussain Sat, 07 May 2011 21:17:03 +0500
MUC: Don't limit affiliation changes to owners, and allow owners to remove themselves if they are not the last owner. Waqas Hussain Thu, 24 Feb 2011 07:11:35 +0500
MUC: Add a textual error message when the user isn't allowed to get/set config form. Waqas Hussain Thu, 24 Feb 2011 07:09:38 +0500
MUC: Add option to allow participants to change the subject. Kim Alvefur Fri, 14 Jan 2011 15:52:36 +0100
MUC: Fix a pair of missing :up() Kim Alvefur Mon, 03 Jan 2011 09:40:45 +0100
MUC: Include the user's current presence contents when broadcasting a role change. Waqas Hussain Fri, 19 Nov 2010 03:20:29 +0500
MUC: Include the user's current presence contents when broadcasting an affiliation change. Waqas Hussain Fri, 19 Nov 2010 03:06:51 +0500
MUC: Change room name and description properly Kim Alvefur Wed, 17 Nov 2010 15:58:32 +0100
MUC: Grant membership when inviteing someone into a members-only room. Kim Alvefur Thu, 11 Nov 2010 00:55:33 +0100
MUC: Only send status code 110 (entering non-anonymous room) to the occupant themselves, not to other occupants. Waqas Hussain Wed, 10 Nov 2010 06:27:35 +0500
MUC: Added some more missing :up()s to the stanza building for presence broadcasts (thanks again Zash). Waqas Hussain Wed, 10 Nov 2010 05:49:04 +0500
MUC: Parse submitted form with util.dataforms Kim Alvefur Wed, 10 Nov 2010 01:34:57 +0100
MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash). Waqas Hussain Wed, 10 Nov 2010 05:32:09 +0500
MUC: Handle missing <value/> for <field type='boolean'/> in config form submissions. Waqas Hussain Wed, 10 Nov 2010 00:24:17 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
MUC: Use util.dataforms to generate forms Kim Alvefur Tue, 12 Oct 2010 23:42:28 +0200
MUC: fix timezone support when sending history Kim Alvefur Tue, 12 Oct 2010 23:34:16 +0200
MUC: Make the room node be the default room name (thanks Zash). Waqas Hussain Tue, 28 Sep 2010 16:36:17 +0500
Merge with trunk. Waqas Hussain Mon, 27 Sep 2010 19:51:14 +0500
MUC: Added a 'Description' property (muc#roomconfig_roomdesc) Kim Alvefur Sun, 26 Sep 2010 18:15:30 +0200
MUC: Added a 'Name' property (muc#roomconfig_roomname) Kim Alvefur Fri, 24 Sep 2010 21:16:38 +0200
MUC: Fixed traceback on presence errors lacking a condition. Waqas Hussain Mon, 27 Sep 2010 19:00:11 +0500
MUC: Fixed: Unavilable presence was not being broadcasted for banned users in some cases (thanks Zash). Waqas Hussain Tue, 03 Aug 2010 21:37:06 +0500
MUC: Return correct error to non-members attempting to enter a members-only room. Waqas Hussain Tue, 03 Aug 2010 21:07:00 +0500
MUC: Store the nick (full room JID) which set the subject, and send subject to occupants from that JID. Waqas Hussain Tue, 20 Jul 2010 17:39:02 +0500
MUC: Fixed a traceback introduced in hg:bdc325ce9fbc. Waqas Hussain Wed, 14 Jul 2010 19:48:01 +0500
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: A little modification to improve code analysis. Waqas Hussain Sat, 19 Jun 2010 23:39:29 +0500
MUC: Updated room:set_role() to use room:can_set_role(). Waqas Hussain Sat, 19 Jun 2010 23:38:25 +0500
MUC: Added room:can_set_role(). Waqas Hussain Sat, 19 Jun 2010 23:35:53 +0500
MUC: Added disco#info features to advertise room's anonymity status (muc_semianonymous or muc_nonanonymous). Waqas Hussain Sun, 13 Jun 2010 22:06:06 +0500
MUC: Added disco#info features to advertise room's public status (muc_public or muc_hidden). Waqas Hussain Sun, 13 Jun 2010 22:00:08 +0500
MUC: Updated code to use :set_hidden() and :is_hidden(). Waqas Hussain Sun, 13 Jun 2010 21:58:46 +0500
MUC: Added room:set_hidden(boolean) and room:is_hidden(). Waqas Hussain Sun, 13 Jun 2010 21:54:47 +0500
MUC: Added disco#info features to advertise room's persistence status (muc_persistent or muc_temporary). Waqas Hussain Sun, 13 Jun 2010 21:43:53 +0500
MUC: Replaced direct access of room's internal persistence state with :set_persistent(boolean) and :is_persistent() in various functions. Waqas Hussain Sun, 13 Jun 2010 21:41:49 +0500
MUC: Added room:set_persistent(boolean) and room:is_persistent(). Waqas Hussain Sun, 13 Jun 2010 21:38:31 +0500
MUC: Added disco#info features to advertise room's members-only status (muc_membersonly or muc_open). Waqas Hussain Sun, 13 Jun 2010 20:55:07 +0500
MUC: Added a 'Make Room Members-Only?' field to the room config dialog. Waqas Hussain Sun, 13 Jun 2010 20:52:37 +0500
MUC: Updated room:get_default_role() to not assign unaffiliated occupants a role in members-only rooms. Waqas Hussain Sun, 13 Jun 2010 20:44:38 +0500
MUC: Added room:set_members_only(boolean) and room:is_members_only(). Waqas Hussain Sun, 13 Jun 2010 20:37:09 +0500
MUC: Added disco#info features to advertise room's moderation status (muc_moderated or muc_unmoderated). Waqas Hussain Sun, 13 Jun 2010 20:29:27 +0500
MUC: Added a 'Make Room Moderated?' field to the room config dialog. Waqas Hussain Sun, 13 Jun 2010 20:24:55 +0500
MUC: Updated room:get_default_role() to assign unaffiliated occupants a "visitor" role in moderated rooms. Waqas Hussain Sun, 13 Jun 2010 20:10:42 +0500
MUC: Added room:set_moderated(boolean) and room:is_moderated(). Waqas Hussain Sun, 13 Jun 2010 20:08:51 +0500
MUC: Persist data in room:set_password() when called programmatically. Waqas Hussain Sun, 13 Jun 2010 20:05:45 +0500
MUC: Added a password field to the room config dialog. Waqas Hussain Sun, 13 Jun 2010 19:19:03 +0500
MUC: Include a <password/> element in invites from password protected rooms. Waqas Hussain Sun, 13 Jun 2010 19:03:03 +0500
MUC: Added disco#info features to advertise room's password protection (muc_passwordprotected or muc_unsecured, depending on whether a password is set). Waqas Hussain Sun, 13 Jun 2010 18:29:26 +0500
MUC: Added password checking on room join. Waqas Hussain Sun, 13 Jun 2010 18:14:46 +0500
MUC: Added room:get_password() and room:set_password(). Waqas Hussain Sun, 13 Jun 2010 18:13:18 +0500
Merge 0.7->trunk (with MUC needing checking, waqas) Matthew Wild Tue, 04 May 2010 23:36:50 +0100
Merge 0.6 into 0.7. Waqas Hussain Sat, 01 May 2010 05:18:38 +0500
MUC: Allow moderators which are not owners to change roles. Waqas Hussain Wed, 14 Apr 2010 17:54:33 +0500
MUC: Include <status code='100'/> in a message, not in presence. Fixes various issues. Waqas Hussain Mon, 19 Apr 2010 18:30:59 +0500
Merge 0.7->trunk Matthew Wild Mon, 22 Mar 2010 17:26:12 +0000
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
MUC: Added support for letting clients manage discussion history. Waqas Hussain Wed, 17 Mar 2010 03:16:43 +0500
MUC: Allow role changes based on JIDs. Waqas Hussain Thu, 18 Feb 2010 14:28:52 +0500
MUC: muc.lib.lua: Fix the sending of the occupant JID instead of the nick in role lists and presence broadcasts after role changes (thanks teo) Matthew Wild Sat, 30 Jan 2010 18:51:07 +0000
MUC: Allow role changes based on JIDs. Waqas Hussain Thu, 18 Feb 2010 14:28:52 +0500
MUC: muc.lib.lua: Fix the sending of the occupant JID instead of the nick in role lists and presence broadcasts after role changes (thanks teo) Matthew Wild Sat, 30 Jan 2010 18:51:07 +0000
MUC: Fixes and refactoring for the previous commit to work in all cases, text of error stanzas is now broadcast Matthew Wild Fri, 29 Jan 2010 15:13:06 +0000