aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | | plugins/muc/muc.lib: Add route_to_occupant function to send a stanza to all ↵daurnimator2014-03-201-12/+13
| | | | | | | | | | | | occupant sessions
* | | plugins/muc: Have utility methods for locking the roomdaurnimator2014-03-201-7/+18
| | |
* | | plugins/muc/muc.lib: Use occupant jids when whois == "moderators"daurnimator2014-03-191-0/+3
| | |
* | | plugins/muc/muc.lib: Allow users with affiliations to invite while not in ↵daurnimator2014-03-191-1/+1
| | | | | | | | | | | | room themselves
* | | plugins/muc/muc.lib: Use `get_role` in `handle_admin_item_get_command`. ↵daurnimator2014-03-191-3/+1
| | | | | | | | | | | | Removed a TODO that's already done
* | | plugins/muc/muc.lib: Send invite out from event: removes '-prepared' from ↵daurnimator2014-03-191-3/+7
| | | | | | | | | | | | event name
* | | plugins/muc/muc.lib: Check role instead of current_nickdaurnimator2014-03-191-1/+2
| | |
* | | plugins/muc/muc.lib: Remove `payload` argument from `handle_mediated_*`; ↵daurnimator2014-03-191-4/+6
| | | | | | | | | | | | extract it from inside.
* | | plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` blockdaurnimator2014-03-191-1/+1
| | |
* | | plugins/muc/muc.lib: Add muc-invite-prepared event; Use it for granting ↵daurnimator2014-03-191-4/+13
| | | | | | | | | | | | affiliations in members only rooms
* | | plugins/muc/muc.lib: Don't get same variable twice.....daurnimator2014-03-191-3/+2
| | |
* | | plugins/muc/muc.lib: Use `get_occupant_jid` method instead of indexing _jid_nickdaurnimator2014-03-191-13/+18
| | |
* | | plugins/muc/muc.lib: Fetch config via accessors instead of using `_data`daurnimator2014-03-191-6/+7
| | |
* | | plugins/muc/muc.lib: In `_route_stanza` access occupant data less oftendaurnimator2014-03-191-9/+9
| | |
* | | plugins/muc/muc.lib: Tidy up `get_filtered_presence`daurnimator2014-03-191-8/+13
| | |
* | | plugins/muc/muc.lib: Tidy up is_kickable_error: it didn't need to return the ↵daurnimator2014-03-191-25/+19
| | | | | | | | | | | | | | | | | | condition. Also removes `get_error_condition`; it was a one liner used in one place
* | | plugins/muc/muc.lib: Use module.host where `muc_domain` was previouslydaurnimator2014-03-191-3/+2
| | |
* | | plugins/muc/muc.lib: Remove unused methods (breaks api)daurnimator2014-03-191-72/+0
| | |
* | | plugins/muc/muc.lib: Use more modern stanza methodsdaurnimator2014-03-191-22/+11
| | |
* | | plugins/muc: Provide a reasonable default `route_stanza`daurnimator2014-03-191-1/+3
| | |
* | | plugins/muc/muc: Add 'muc-occupant-left' eventdaurnimator2014-03-181-0/+2
| | |
* | | plugins/muc/muc: Only call get_password once in invite creationdaurnimator2014-03-181-3/+4
| | |
* | | plugins/muc/muc: When there's no history; return an empty iteratordaurnimator2014-03-181-1/+1
| | |
* | | plugins/muc/muc: Support mediated declinesdaurnimator2014-03-181-0/+25
| | |
* | | plugins/muc/muc: Rename `handle_invite_to_room` to `handle_mediated_invite`; ↵daurnimator2014-03-181-5/+7
| | | | | | | | | | | | clean up logic
* | | plugins/muc/muc: Check for mediated invites in a smarter waydaurnimator2014-03-181-7/+11
| | |
* | | plugins/muc/muc: Add copyright for daurnimatordaurnimator2014-03-181-0/+1
| | |
* | | plugins/muc/muc.lib: Add disco iq handlers with compatible argument signaturedaurnimator2014-02-211-4/+12
| | |
* | | 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
| |