aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* plugins/muc/muc.lib: Move all kick code into one placedaurnimator2014-02-211-27/+10
|
* plugins/muc/muc.lib: Make use of return values to send service-unavailable ↵daurnimator2014-02-211-11/+15
| | | | errors
* plugins/muc/muc.lib: Add some missing return valuesdaurnimator2014-02-211-0/+10
|
* plugins/muc/muc.lib: Move (de)construct_stanza_id into `handle_iq_to_occupant`daurnimator2014-02-211-35/+22
| | | | | It is the only place they were used; and I left the old function names in as comments. One reason for doing this was to reduce accesses to _occupants; which may be in a database in future revisions
* plugins/muc/muc.lib: Refactor _to_occupant handlersdaurnimator2014-02-211-53/+46
|
* plugins/muc/muc.lib: Split out the room iq handler into functionsdaurnimator2014-02-211-87/+129
|
* 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().