Log

plugins/muc/muc.lib.lua @ 6392:8528d1da461f

description author age
plugins/muc/muc.lib: Use get_affilation() inside of set_affiliation(), so that the override in mod_muc works daurnimator Fri, 05 Sep 2014 11:20:54 -0400
plugins/muc/muc.lib: Add instant room support daurnimator Fri, 05 Sep 2014 11:19:16 -0400
mod_muc/muc.lib: Remove is_anonymous from event (fix for ec57067c1e0d) Matthew Wild Fri, 25 Jul 2014 18:34:43 +0100
mod_muc/muc.lib: Pass all info to muc-broadcast-presence handlers that would be required to use room:build_item_list() - useful for plugins Matthew Wild Fri, 25 Jul 2014 18:32:15 +0100
plugins/muc/muc: Fire broadcast presences event before creating full/anon presences daurnimator Tue, 17 Jun 2014 15:27:00 -0400
plugins/muc: Fix use of incorrect event on occupant join daurnimator Tue, 17 Jun 2014 15:18:43 -0400
plugins/muc/muc.lib: Deliver declines to in-room jids correctly daurnimator Wed, 11 Jun 2014 14:59:59 -0400
plugins/muc/muc.lib: Don't add invite/decline bodies if they already have one daurnimator Fri, 06 Jun 2014 14:34:01 -0400
plugins/muc/muc.lib: Use original decline as template for medated decline daurnimator Fri, 06 Jun 2014 14:33:43 -0400
plugins/muc/muc: When forwarding mediated invites; use filtered version of original invite instead of new object daurnimator Thu, 05 Jun 2014 17:08:05 -0400
plugins/muc/muc.lib: Fix incorrect whois logic (thanks mva) daurnimator Sun, 01 Jun 2014 15:40:04 -0400
plugins/muc/muc.lib: Fix whois check when broadcasting occupant presence Waqas Hussain Sun, 01 Jun 2014 04:42:55 -0400
Merge with daurnimator Waqas Hussain Fri, 30 May 2014 18:31:26 -0400
plugins/muc/muc.lib: Fire event for presence broadcast daurnimator Thu, 29 May 2014 13:27:41 -0400
Merge with daurnimator Matthew Wild Fri, 23 May 2014 20:37:16 +0100
plugins/muc/muc.lib: Even unavailable session need to be routed to sometimes (e.g. their own leave) daurnimator Wed, 21 May 2014 13:19:57 -0400
plugins/muc/muc: Only set role to nil if it's the last session to leave daurnimator Wed, 21 May 2014 13:11:00 -0400
plugins/muc/muc: Better check for live sessions daurnimator Mon, 19 May 2014 13:40:54 -0400
plugins/muc/muc: Always send occupant list to joining sessions daurnimator Mon, 19 May 2014 13:40:24 -0400
plugins/muc: Move 'module:get_option_number("max_history_messages")' from mod_muc into history lib; remove from muclib exports daurnimator Tue, 29 Apr 2014 15:13:06 -0400
plugins/muc: Add room:has_occupant() method daurnimator Tue, 29 Apr 2014 12:54:04 -0400
Merge with daurnimator Matthew Wild Sat, 17 May 2014 18:17:34 +0100
Merge with Prosody trunk Matthew Wild Thu, 08 May 2014 18:09:59 +0100
plugins/muc/muc.lib: Move sending of occupant list to joining user out of hook, and into main flow: It has to occur before publication of their status daurnimator Mon, 21 Apr 2014 17:51:32 -0400
plugins/muc/muc.lib: Remove reversed conditionals when firing pre- events daurnimator Mon, 21 Apr 2014 17:39:18 -0400
plugins/muc/muc.lib: When user leaves; set their role to nil daurnimator Fri, 18 Apr 2014 12:19:33 -0400
plugins/muc: Move 'moderated' code to seperate file; changes default "muc-get-default-role" behaviour daurnimator Fri, 18 Apr 2014 12:19:04 -0400
plugins/muc: Move 'hidden' ('public') code to own file daurnimator Wed, 16 Apr 2014 14:16:14 -0400
plugins/muc: Move subject code to seperate module daurnimator Wed, 16 Apr 2014 13:54:51 -0400
plugins/muc/muc.lib: Refactor subject logic; fix bug of mixed up subject/author daurnimator Tue, 15 Apr 2014 18:20:56 -0400
plugins/muc: Move persistent room configuration to own module daurnimator Tue, 15 Apr 2014 17:06:04 -0400
plugins/muc/muc.lib: Move members_only into seperate file daurnimator Fri, 04 Apr 2014 11:20:20 -0400
plugins/muc/muc.lib: Turn get_default_role into an event daurnimator Thu, 03 Apr 2014 18:36:28 -0400
plugins/muc/muc.lib: Fix getting a list of occupants by role (it was sending presences instead of items inside an iq) daurnimator Thu, 03 Apr 2014 18:10:16 -0400
plugins/muc: Move valid_roles, valid_affiliations and is_kickable_error to new muc/util module daurnimator Thu, 03 Apr 2014 17:09:04 -0400
plugins/muc/muc.lib: Use util.iterators to count occupants daurnimator Thu, 03 Apr 2014 16:10:43 -0400
plugins/muc/muc.lib: Move occupancy check to later in `deconstruct_stanza_id`: As vcards are from the bare jid, you need to use the `from_jid` out of the encoded `id` daurnimator Thu, 03 Apr 2014 16:04:04 -0400
plugins/muc: Move history to an external module daurnimator Thu, 03 Apr 2014 15:14:52 -0400
plugins/muc: Move `whois` code to seperate file daurnimator Thu, 03 Apr 2014 14:24:27 -0400
plugins/muc/muc.lib: Remember to coerce nil role to "none" daurnimator Thu, 03 Apr 2014 14:23:06 -0400
plugins/muc/muc.lib: Refactor of change-nick presence handling daurnimator Thu, 03 Apr 2014 12:44:27 -0400
plugins/muc/muc.lib: Clean up whois handling daurnimator Thu, 03 Apr 2014 12:25:03 -0400
plugins/muc: Move name functions to seperate module daurnimator Wed, 02 Apr 2014 17:02:07 -0400
plugins/muc: Move password functions to seperate module daurnimator Wed, 02 Apr 2014 16:57:59 -0400
plugins/muc: Move locking to seperate module daurnimator Wed, 02 Apr 2014 15:48:25 -0400
plugins/muc/muc.lib: Move description functions out to own file daurnimator Wed, 02 Apr 2014 15:14:52 -0400
plugins/muc/muc.lib: Modify muc-config-submitted to keep a list of status codes instead of fields changed daurnimator Wed, 02 Apr 2014 11:35:00 -0400
plugins/muc/muc.lib: Refactor out process_form into hooks daurnimator Tue, 01 Apr 2014 17:45:03 -0400
plugins/muc/muc.lib: Move default config layout into hooks daurnimator Tue, 01 Apr 2014 17:10:01 -0400
plugins/muc/muc.lib: Split up get_disco_info into events daurnimator Tue, 01 Apr 2014 15:41:44 -0400
plugins/muc/muc.lib: Add muc-room-locked event daurnimator Mon, 31 Mar 2014 14:46:59 -0400
plugins/muc/muc.lib: restrict invitations in members only rooms to admins daurnimator Mon, 31 Mar 2014 14:45:42 -0400
plugins/muc/muc.lib: Don't try and get occupant jids for annotating invite affiliation changes daurnimator Mon, 31 Mar 2014 14:44:52 -0400
plugins/muc/muc.lib: Update declines to be more like invites daurnimator Mon, 31 Mar 2014 14:06:35 -0400
plugins/muc/muc.lib: Add pre-invite event. Move role check to it daurnimator Mon, 31 Mar 2014 13:54:27 -0400
plugins/muc/muc.lib: Tidy up muc-invite event. daurnimator Mon, 31 Mar 2014 12:31:15 -0400
plugins/muc/muc.lib: Remove top level pre-join event. Assign event priorities for other handlers daurnimator Mon, 31 Mar 2014 12:21:43 -0400
plugins/muc/muc.lib: Use occupant methods where possible daurnimator Fri, 28 Mar 2014 20:28:20 -0400
plugins/muc/muc.lib: Subjects get sent even if empty. daurnimator Fri, 28 Mar 2014 20:25:10 -0400
plugins/muc/muc.lib: Fix typo (moderators vs moderator) daurnimator Fri, 28 Mar 2014 18:47:35 -0400
plugins/muc/muc.lib: nick change unavailables should be from original occupant jid daurnimator Fri, 28 Mar 2014 18:33:57 -0400
plugins/muc/muc.lib: Status codes should be inside of x element daurnimator Fri, 28 Mar 2014 18:33:38 -0400
plugins/muc/muc.lib: Improve set affiliation logic; daurnimator Fri, 28 Mar 2014 17:58:25 -0400
plugins/muc/muc.lib: Smarter validation in set_affiliation daurnimator Fri, 28 Mar 2014 14:15:18 -0400
plugins/muc/muc.lib: Fix anonymous check in `send_occupant_list` daurnimator Fri, 28 Mar 2014 13:34:46 -0400
plugins/muc/muc.lib: Allow `:send_occupant_list` to have no filter daurnimator Fri, 28 Mar 2014 13:14:33 -0400
plugins/muc/muc.lib: Fix sending occupant jid instead of real jid in <item/> actor daurnimator Fri, 28 Mar 2014 13:11:11 -0400
plugins/muc/muc.lib: Clean up :set_role. Removes :can_set_role daurnimator Fri, 28 Mar 2014 13:05:36 -0400
plugins/muc/muc.lib: Remove callback parameter from set_role and set_affiliation daurnimator Fri, 28 Mar 2014 11:05:52 -0400
plugins/muc/muc.lib: non-function changes (reordering, semicolons and comments) daurnimator Thu, 27 Mar 2014 19:18:57 -0400
plugins/muc: Massive refactor daurnimator Thu, 27 Mar 2014 19:16:13 -0400
mod_muc/muc.lib: Fix parameters to send_history() (thanks Peter Villeneuve) Matthew Wild Sat, 10 May 2014 21:30:00 +0100
Merge with daurnimator Matthew Wild Thu, 17 Apr 2014 09:01:32 +0100
plugins/muc/muc.lib: If decline is to person in room; route to all sessions daurnimator Thu, 27 Mar 2014 19:16:46 -0400
plugins/muc/muc.lib: Have timestamp as seconds since epoch inside of history daurnimator Thu, 27 Mar 2014 18:10:34 -0400
plugins/muc: Rename admin query hook daurnimator Thu, 27 Mar 2014 18:09:42 -0400
plugins/muc/muc.lib: Add :broadcast method; use it from :broadcast_except_nick and :broadcast_message daurnimator Mon, 24 Mar 2014 16:32:18 -0400
plugins/muc/muc.lib: Extra utility functions around subjects daurnimator Mon, 24 Mar 2014 13:36:43 -0400
plugins/muc/muc.lib: Add muc-get-history event; it uses an iterator in the event object so that messages don't need to be all in memory at once daurnimator Mon, 24 Mar 2014 13:34:06 -0400
plugins/muc/muc.lib: Add muc-broadcast-message event. Use it for saving to history daurnimator Mon, 24 Mar 2014 13:10:54 -0400
plugins/muc/muc.lib: Better password check daurnimator Mon, 24 Mar 2014 12:44:31 -0400
plugins/muc/muc.lib: Add muc-occupant-prejoin events; Use it for banned, members-only, password, nick-conflict and lock checks daurnimator Mon, 24 Mar 2014 10:25:43 -0400
plugins/muc/muc.lib: Move password check and nick conflict check into `handle_join` daurnimator Fri, 21 Mar 2014 14:01:02 -0400
plugins/muc/muc.lib: Additional `route_to_occupant` usage daurnimator Thu, 20 Mar 2014 16:19:13 -0400
plugins/muc/muc.lib: Remove duplicate variable; it can never be nil. daurnimator Thu, 20 Mar 2014 16:14:22 -0400
plugins/muc/muc.lib: Add decline event for parity with invite daurnimator Thu, 20 Mar 2014 15:50:29 -0400
plugins/muc/muc.lib: Add route_to_occupant function to send a stanza to all occupant sessions daurnimator Thu, 20 Mar 2014 15:22:02 -0400
plugins/muc: Have utility methods for locking the room daurnimator Thu, 20 Mar 2014 11:06:10 -0400
plugins/muc/muc.lib: Use occupant jids when whois == "moderators" daurnimator Wed, 19 Mar 2014 17:50:49 -0400
plugins/muc/muc.lib: Allow users with affiliations to invite while not in room themselves daurnimator Wed, 19 Mar 2014 17:50:00 -0400
plugins/muc/muc.lib: Use `get_role` in `handle_admin_item_get_command`. Removed a TODO that's already done daurnimator Wed, 19 Mar 2014 17:46:25 -0400
plugins/muc/muc.lib: Send invite out from event: removes '-prepared' from event name daurnimator Wed, 19 Mar 2014 17:33:32 -0400
plugins/muc/muc.lib: Check role instead of current_nick daurnimator Wed, 19 Mar 2014 17:30:21 -0400
plugins/muc/muc.lib: Remove `payload` argument from `handle_mediated_*`; extract it from inside. daurnimator Wed, 19 Mar 2014 16:28:11 -0400
plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block daurnimator Wed, 19 Mar 2014 16:24:17 -0400
plugins/muc/muc.lib: Add muc-invite-prepared event; Use it for granting affiliations in members only rooms daurnimator Wed, 19 Mar 2014 16:19:31 -0400
plugins/muc/muc.lib: Don't get same variable twice..... daurnimator Wed, 19 Mar 2014 15:01:18 -0400
plugins/muc/muc.lib: Use `get_occupant_jid` method instead of indexing _jid_nick daurnimator Wed, 19 Mar 2014 15:00:53 -0400
plugins/muc/muc.lib: Fetch config via accessors instead of using `_data` daurnimator Wed, 19 Mar 2014 14:39:31 -0400
plugins/muc/muc.lib: In `_route_stanza` access occupant data less often daurnimator Wed, 19 Mar 2014 14:35:17 -0400
plugins/muc/muc.lib: Tidy up `get_filtered_presence` daurnimator Wed, 19 Mar 2014 14:06:04 -0400
plugins/muc/muc.lib: Tidy up is_kickable_error: it didn't need to return the condition. daurnimator Wed, 19 Mar 2014 13:59:59 -0400
plugins/muc/muc.lib: Use module.host where `muc_domain` was previously daurnimator Wed, 19 Mar 2014 13:57:02 -0400
plugins/muc/muc.lib: Remove unused methods (breaks api) daurnimator Wed, 19 Mar 2014 13:56:14 -0400
plugins/muc/muc.lib: Use more modern stanza methods daurnimator Wed, 19 Mar 2014 12:19:44 -0400
plugins/muc: Provide a reasonable default `route_stanza` daurnimator Wed, 19 Mar 2014 12:03:15 -0400
plugins/muc/muc: Add 'muc-occupant-left' event daurnimator Tue, 18 Mar 2014 18:52:28 -0400
plugins/muc/muc: Only call get_password once in invite creation daurnimator Tue, 18 Mar 2014 16:01:53 -0400
plugins/muc/muc: When there's no history; return an empty iterator daurnimator Tue, 18 Mar 2014 15:42:48 -0400
plugins/muc/muc: Support mediated declines daurnimator Tue, 18 Mar 2014 15:15:28 -0400
plugins/muc/muc: Rename `handle_invite_to_room` to `handle_mediated_invite`; clean up logic daurnimator Tue, 18 Mar 2014 15:15:14 -0400
plugins/muc/muc: Check for mediated invites in a smarter way daurnimator Tue, 18 Mar 2014 14:56:20 -0400
plugins/muc/muc: Add copyright for daurnimator daurnimator Tue, 18 Mar 2014 14:54:41 -0400
plugins/muc/muc.lib: Add disco iq handlers with compatible argument signature daurnimator Fri, 21 Feb 2014 19:06:33 -0500
plugins/muc/muc.lib: Move all kick code into one place daurnimator Fri, 21 Feb 2014 18:04:38 -0500
plugins/muc/muc.lib: Make use of return values to send service-unavailable errors daurnimator Fri, 21 Feb 2014 17:52:40 -0500
plugins/muc/muc.lib: Add some missing return values daurnimator Fri, 21 Feb 2014 17:40:16 -0500
plugins/muc/muc.lib: Move (de)construct_stanza_id into `handle_iq_to_occupant` daurnimator Fri, 21 Feb 2014 17:17:01 -0500
plugins/muc/muc.lib: Refactor _to_occupant handlers daurnimator Fri, 21 Feb 2014 16:30:43 -0500
plugins/muc/muc.lib: Split out the room iq handler into functions daurnimator Fri, 21 Feb 2014 15:48:26 -0500