aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | | plugins/muc/muc.lib: Factor `handle_to_occupant` out into many functionsdaurnimator2014-02-201-186/+269
| | |
* | | plugins/muc/muc.lib: Split up `handle_to_room` into smaller handlers (thanks ↵daurnimator2014-02-201-156/+186
| | | | | | | | | | | | sysko)
* | | plugins/muc/muc.lib: Split out `send_history` into `parse_history` and ↵daurnimator2014-02-191-33/+62
| |/ |/| | | | | `get_history`
* | MUC: Tag PMs with <x>, like presence stanzasKim Alvefur2014-01-281-0/+1
| |
* | MUC: Split out sending of the topic into method separate from sending historyKim Alvefur2014-01-181-0/+3
| |
* | MUC: Split saving to history into a separate methodKim Alvefur2014-01-181-10/+13
| |
* | Merge 0.9->0.10Matthew Wild2013-10-051-1/+1
|\|
| * muc.lib.lua: Fix Spark jabber client not displaying conference room lists, ↵Paul2013-10-051-1/+1
| | | | | | | | seemingly due to a missing value tag for the room description if the description has not been set
| * mod_muc: Fix incorrect variable nameMatthew Wild2013-05-211-1/+1
| |
* | mod_muc: Support for locking newly-created rooms until they are configured ↵Matthew Wild2013-08-301-0/+13
| | | | | | | | (enabled with muc_room_locking = true)
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-5/+5
| |
* | mod_muc: Remove some old TODO commentsMatthew Wild2013-05-211-2/+1
| |
* | mod_muc: Fix incorrect variable nameMatthew Wild2013-05-211-1/+1
| |
* | mod_muc: Remove unused variableMatthew Wild2013-05-211-1/+1
| |
* | mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 ↵Matthew Wild2013-05-211-19/+7
| | | | | | | | insertions, 19 deletions!
* | mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions!Matthew Wild2013-05-211-12/+1
| |
* | mod_muc: Pass actor (requesting JID) when generating the config form, and to ↵Matthew Wild2013-05-181-4/+4
| | | | | | | | the muc-config-form event handler
* | mod_muc: Add getter/setter for 'whois' (fixes traceback)Matthew Wild2013-05-181-3/+14
| |
* | mod_muc: Refactor config form handling, and allow for clients to submit ↵Matthew Wild2013-05-161-80/+45
|/ | | | incomplete forms. Fixes #246
* 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
|