aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_muc: Fix incorrect variable nameMatthew Wild2013-05-211-1/+1
|
* mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik)Matthew Wild2013-05-141-0/+1
|
* MUC: Allow actor == true to set roles (like affiliations)Matthew Wild2013-04-291-2/+3
|
* MUC: Allow plugins to add and handle options in the MUC config formMatthew Wild2013-04-291-4/+8
|
* MUC: add __tostring on room metatableMatthew Wild2013-04-251-0/+4
|
* mod_muc/muc.lib: Don't add messages without a body (such as chat state ↵Matthew Wild2013-03-281-1/+1
| | | | notifications) to the room history (thanks louiz?, Link Mauve, poezio and all its users)
* MUC: Always return <service-unavailable/> when a node is present in service ↵Waqas Hussain2013-02-261-7/+3
| | | | discovery requests.
* MUC: Fix affiliation check for admins, and bring it in line with the spec ↵Waqas Hussain2013-02-261-1/+1
| | | | (thanks Maranda).
* MUC: Don't reply to errors (thanks iron)Kim Alvefur2013-01-091-1/+1
|
* MUC: Support invite messages when stanza type is explicitly set to "normal" ↵Waqas Hussain2012-12-151-2/+2
| | | | or to an unknown value.
* muc: Make max_history_messages simply a service-wide config option, and ↵Matthew Wild2012-11-221-4/+8
| | | | don't store it per-room (rooms still have their own history_message, but this is a global limit)
* MUC: Fix traceback caused by faulty logic precedence. (thanks waqas, nulani)Kim Alvefur2012-09-251-1/+1
|
* MUC: Fix a traceback caused by private IQ result and error stanzas where the ↵Waqas Hussain2012-08-091-2/+6
| | | | encoded id can't be processed.
* MUC: Fix private IQ results and errors for non-vcard queries.Waqas Hussain2012-08-041-1/+5
|
* MUC: Expose room metatable in the MUC lib.Waqas Hussain2012-08-011-0/+2
|
* MUC: Fix private IQ and message routing.Waqas Hussain2012-08-011-27/+45
| | | | | | - All private IQ results are now routed to the resource that send the original request - Private messages are now routed to all of the user's sessions - Much cleaner code
* mod_muc: Fix a couple of cases of 'forbidden' stanza error being sent with ↵Matthew Wild2012-07-241-2/+2
| | | | type 'cancel' - fixes #303
* muc.lib: room:set_historylength(): Condense code, and don't store length ↵Matthew Wild2012-05-131-7/+3
| | | | when equal to default
* MUC: Fix check for history length update.Waqas Hussain2012-05-141-2/+2
|
* muc.lib: Fix for traceback when no history length is set for the roomMatthew Wild2012-05-131-1/+1
|
* muc.lib: return feature-not-implemented when a foregoing discovery node is ↵Marco Cirillo2012-05-101-1/+5
| | | | specified in a disco#info request.
* mod_muc/muc.lib: Fall back to default_history_length if no length in configMatthew Wild2012-04-281-1/+1
|
* mod_muc/muc.lib.lua: Remove unused imports and variablesMatthew Wild2012-04-281-5/+0
|
* muc - implement per channel history limitsMarkus K?tter2012-04-131-3/+31
| | | | | | | - allow configuration via channel settings - store the settings for permanent channels - honor muc max_history_messages from the config as upper limit - only broadcast_message with historic = true if history_length is > 0
* MUC: Fix a possible stack overflow (when a local component joins a room, ↵Waqas Hussain2011-11-211-1/+1
| | | | then disconnects, an unavailble-error presence cycle can occur).
* MUC: Allow affiliation change when argument actor==true in ↵Waqas Hussain2011-08-251-14/+16
| | | | room:set_affiliation().
* MUC: Change error type of badly-formatted stanza from 'auth' to 'modify' ↵Matthew Wild2011-06-271-1/+1
| | | | (thanks Andrew)
* MUC: Include occupant count in room disco#info response.Waqas Hussain2011-05-071-1/+3
|
* MUC: Don't limit affiliation changes to owners, and allow owners to remove ↵Waqas Hussain2011-02-241-2/+17
| | | | themselves if they are not the last owner.
* MUC: Add a textual error message when the user isn't allowed to get/set ↵Waqas Hussain2011-02-241-1/+1
| | | | config form.
* MUC: Add option to allow participants to change the subject.Kim Alvefur2011-01-141-1/+23
|
* MUC: Fix a pair of missing :up()Kim Alvefur2011-01-031-2/+2
|
* MUC: Include the user's current presence contents when broadcasting a role ↵Waqas Hussain2010-11-191-6/+16
| | | | change.
* MUC: Include the user's current presence contents when broadcasting an ↵Waqas Hussain2010-11-191-9/+12
| | | | affiliation change.
* MUC: Change room name and description properlyKim Alvefur2010-11-171-2/+2
|
* MUC: Grant membership when inviteing someone into a members-only room.Kim Alvefur2010-11-111-0/+4
|
* MUC: Only send status code 110 (entering non-anonymous room) to the occupant ↵Waqas Hussain2010-11-101-9/+9
| | | | themselves, not to other occupants.
* MUC: Added some more missing :up()s to the stanza building for presence ↵Waqas Hussain2010-11-101-11/+11
| | | | broadcasts (thanks again Zash).
* MUC: Parse submitted form with util.dataformsKim Alvefur2010-11-101-26/+14
|
* MUC: Added a missing :up() to the stanza building for presence broadcast ↵Waqas Hussain2010-11-101-1/+1
| | | | (thanks Zash).
* MUC: Handle missing <value/> for <field type='boolean'/> in config form ↵Waqas Hussain2010-11-101-2/+6
| | | | submissions.
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-2/+2
|
* MUC: Use util.dataforms to generate formsKim Alvefur2010-10-121-42/+66
|
* MUC: fix timezone support when sending historyKim Alvefur2010-10-121-1/+1
|
* MUC: Make the room node be the default room name (thanks Zash).Waqas Hussain2010-09-281-2/+2
|
* Merge with trunk.Waqas Hussain2010-09-271-1/+45
|\
| * MUC: Added a 'Description' property (muc#roomconfig_roomdesc)Kim Alvefur2010-09-261-2/+28
| |
| * MUC: Added a 'Name' property (muc#roomconfig_roomname)Kim Alvefur2010-09-241-1/+19
| |
* | MUC: Fixed traceback on presence errors lacking a condition.Waqas Hussain2010-09-271-1/+1
|/
* MUC: Fixed: Unavilable presence was not being broadcasted for banned users ↵Waqas Hussain2010-08-031-1/+1
| | | | in some cases (thanks Zash).