Log

plugins/muc/muc.lib.lua @ 5611:e043d4d65423

description author age
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
MUC: Show error message texts when participants are kicked for stanza errors Matthew Wild Fri, 29 Jan 2010 14:40:37 +0000
MUC: Have get_error_condition() use the new stanza:get_error() (muc.lib.lua 11 lines shorter \o/) Matthew Wild Fri, 29 Jan 2010 14:26:54 +0000
MUC: Removed old commented code. Waqas Hussain Tue, 26 Jan 2010 02:30:56 +0500
MUC: Converted some local functions into methods. Waqas Hussain Tue, 26 Jan 2010 02:29:32 +0500
mod_muc/muc.lib: Use stanza:get_child() to locate MUC child element Matthew Wild Sun, 03 Jan 2010 17:53:54 +0000
Added notification of configuration changes for MUCs Rob Hoelz Wed, 30 Dec 2009 13:26:11 -0600
Add support for non-anonymous MUC rooms Rob Hoelz Tue, 29 Dec 2009 16:21:12 -0600
MUC: Added support for the room-destroy owner use case. Waqas Hussain Thu, 26 Nov 2009 00:03:16 +0500
MUC: Slightly refactored form processing. Waqas Hussain Wed, 25 Nov 2009 22:26:06 +0500
MUC: Only allow moderators to change the room subject. Waqas Hussain Wed, 25 Nov 2009 22:00:33 +0500
MUC: Prevent visitors from broadcasting messages. Waqas Hussain Wed, 25 Nov 2009 21:42:05 +0500
MUC: Improved handling of incoming groupchat messages (state preserved for possible later use). Waqas Hussain Wed, 25 Nov 2009 21:40:44 +0500
MUC: Include occupants' real JIDs in their presence (semi-anonymous rooms). Waqas Hussain Sat, 31 Oct 2009 05:11:56 +0500
MUC: Fixed: affiliation='none' was omitted from some presence broadcasts. Waqas Hussain Sun, 25 Oct 2009 21:07:32 +0500
MUC: Fixed an issue with multi-session nicks where the 'from' attribute in a presence broadcast was not being properly set. Waqas Hussain Sun, 25 Oct 2009 04:19:24 +0500
MUC: List occupants in a room's disco#items response. Waqas Hussain Wed, 21 Oct 2009 13:32:32 +0500
MUC: Re-enable nick changes for non-multisession nicks. Waqas Hussain Sun, 18 Oct 2009 16:45:56 +0500
MUC: Added support for reason messages in role and affiliation changes (e.g., reason for kick, etc). Waqas Hussain Sun, 18 Oct 2009 15:53:08 +0500
MUC: Rewrote code for mediated invites to be more robust, and to support legacy clients. Waqas Hussain Sun, 18 Oct 2009 15:28:00 +0500
MUC: Improved handling of error stanzas and made error messages concise. Waqas Hussain Sun, 18 Oct 2009 06:49:40 +0500
MUC: Ignore invisible presence (incorrectly broadcasted or forwarded by ejabberd). Waqas Hussain Sun, 18 Oct 2009 05:54:14 +0500
MUC: Fixed an incorrect error message. Waqas Hussain Sun, 18 Oct 2009 05:37:28 +0500
MUC: Kick occupants on sending error messages to other occupants. Waqas Hussain Sun, 18 Oct 2009 05:35:33 +0500
MUC: Multiple sessions per nick. Waqas Hussain Sun, 18 Oct 2009 01:40:18 +0500
MUC: Prep given JID when changing affiliation. Waqas Hussain Fri, 02 Oct 2009 17:56:24 +0500
MUC: Added multi-session support to the room-exiting occupant use case. Waqas Hussain Fri, 25 Sep 2009 12:39:28 +0500
MUC: Renamed a variable name. Waqas Hussain Fri, 25 Sep 2009 12:36:11 +0500
MUC: Refactored to remove some duplicate code. Waqas Hussain Fri, 25 Sep 2009 12:35:09 +0500
MUC: Added legacy error code to the presence error returned when a banned user attempts to join. Waqas Hussain Fri, 25 Sep 2009 03:23:31 +0500
MUC: Added legacy error codes to nickname conflict presence errors. Waqas Hussain Fri, 25 Sep 2009 03:21:57 +0500
MUC: Added MUC feature to the disco#info replies of rooms. Waqas Hussain Tue, 22 Sep 2009 00:38:06 +0500
MUC: Correct routing of vCard requests to bare JID. Waqas Hussain Sun, 13 Sep 2009 23:52:09 +0500
MUC: Preserve stanza attributes for private messages. Waqas Hussain Wed, 09 Sep 2009 20:48:25 +0500
MUC: Don't kick on errors in private messages. Waqas Hussain Wed, 09 Sep 2009 20:32:37 +0500
MUC: Removed commented code. Waqas Hussain Wed, 09 Sep 2009 19:14:12 +0500
MUC: Fixed traceback on unauthorized access of the room configuration form. Waqas Hussain Mon, 07 Sep 2009 20:55:57 +0500
MUC: Added service discovery replies for rooms. Waqas Hussain Mon, 07 Sep 2009 20:54:53 +0500
MUC: Fixed an undefined global access. Waqas Hussain Mon, 07 Sep 2009 20:53:33 +0500
MUC: Added support for room configuration forms, persistence and hidden rooms. Waqas Hussain Mon, 07 Sep 2009 20:51:59 +0500
MUC: Refactored IQ handling to be more easily extensible. Waqas Hussain Mon, 07 Sep 2009 20:50:06 +0500
MUC: Added kicking support. Waqas Hussain Mon, 07 Sep 2009 20:48:16 +0500
MUC: Fixed a variable scoping bug causing problems with presence routing on affiliation/role change. Waqas Hussain Mon, 07 Sep 2009 20:43:25 +0500
MUC: Fixed: Unavailable presence was being sent for all role and affiliation changes. Now sent only for kicked occupants. Waqas Hussain Mon, 07 Sep 2009 20:41:42 +0500
MUC: Changed a MUC library method into a function. Waqas Hussain Mon, 07 Sep 2009 20:40:11 +0500
MUC: Workaround for Miranda sending 'nick' instead of 'jid' when changing affiliation. Waqas Hussain Mon, 07 Sep 2009 20:36:29 +0500
MUC: Some fixes for minor bugs in IQ handling. Waqas Hussain Mon, 07 Sep 2009 20:35:09 +0500
MUC: Added support for requesting various lists (owner, admin, voice, etc). Waqas Hussain Mon, 07 Sep 2009 20:33:24 +0500
MUC: An admin or owner MUST NOT be able to revoke moderation privileges from another admin or owner. Waqas Hussain Mon, 07 Sep 2009 20:31:35 +0500
MUC: Owners can now modify roles and affiliations Waqas Hussain Mon, 07 Sep 2009 20:30:16 +0500
MUC: Send appropriate error to banned users on join. Waqas Hussain Mon, 07 Sep 2009 20:27:52 +0500
MUC: Renamed _participants table to _occupants Waqas Hussain Mon, 07 Sep 2009 20:26:26 +0500
MUC: Initial support for roles and affiliations Waqas Hussain Mon, 07 Sep 2009 20:13:40 +0500
MUC: Fixed function declarations. Waqas Hussain Mon, 07 Sep 2009 20:12:14 +0500
MUC: The MUC lib is now metatable based. Cleaned up code, etc. Waqas Hussain Mon, 07 Sep 2009 20:11:13 +0500
MUC: Added initial MUC lib Waqas Hussain Mon, 07 Sep 2009 20:07:16 +0500