Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | plugins/muc/muc.lib: Fire muc-occupant-left from other places an occupant ↵ | daurnimator | 2014-09-26 | 1 | -1/+9 | |
| | | | | | | | | | | | | may leave the room | |||||
* | | | plugins/muc/muc.lib: Validate affiliations and roles to admin query get | daurnimator | 2014-09-26 | 1 | -3/+7 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Add missing :up() | daurnimator | 2014-09-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Use occupants iterator instead of assuming pairs | daurnimator | 2014-09-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | muc: Add 'occupant' to muc-occupant-{joined,left,session-new} events (thanks ↵ | Matthew Wild | 2014-09-26 | 1 | -4/+8 | |
| | | | | | | | | | | | | daurnimator/fippo) | |||||
* | | | plugins/muc: Add muc-occupant-groupchat event | daurnimator | 2014-09-25 | 1 | -12/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | - Plugins can cancel messages before they are broadcast; and while they still have real from jid - Use it for subject changes - Allows for custom roles (via role_rank) - Roles are now checked before subject - Removed muc-subject-change event | |||||
* | | | plugins/muc/muc.lib: Fix iq results coming from the real jid, not the ↵ | daurnimator | 2014-09-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | in-room jid (thanks Lance) | |||||
* | | | plugins/muc/muc.lib: Allow plugins to reject broadcasts in the ↵ | daurnimator | 2014-09-16 | 1 | -1/+4 | |
| | | | | | | | | | | | | muc-broadcast-message event. | |||||
* | | | plugins/muc: Add affiliation_notify config option to send out status code 101 | daurnimator | 2014-09-05 | 1 | -0/+2 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Add muc-set-affiliation event | daurnimator | 2014-09-05 | 1 | -0/+11 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Use get_affilation() inside of set_affiliation(), so ↵ | daurnimator | 2014-09-05 | 1 | -3/+2 | |
| | | | | | | | | | | | | that the override in mod_muc works | |||||
* | | | plugins/muc/muc.lib: Add instant room support | daurnimator | 2014-09-05 | 1 | -4/+9 | |
| | | | ||||||
* | | | mod_muc/muc.lib: Remove is_anonymous from event (fix for ec57067c1e0d) | Matthew Wild | 2014-07-25 | 1 | -2/+2 | |
| | | | ||||||
* | | | mod_muc/muc.lib: Pass all info to muc-broadcast-presence handlers that would ↵ | Matthew Wild | 2014-07-25 | 1 | -1/+5 | |
| | | | | | | | | | | | | be required to use room:build_item_list() - useful for plugins | |||||
* | | | plugins/muc/muc: Fire broadcast presences event before creating full/anon ↵ | daurnimator | 2014-06-17 | 1 | -11/+13 | |
| | | | | | | | | | | | | presences | |||||
* | | | plugins/muc: Fix use of incorrect event on occupant join | daurnimator | 2014-06-17 | 1 | -2/+5 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Deliver declines to in-room jids correctly | daurnimator | 2014-06-11 | 1 | -1/+5 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Don't add invite/decline bodies if they already have one | daurnimator | 2014-06-06 | 1 | -10/+14 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Use original decline as template for medated decline | daurnimator | 2014-06-06 | 1 | -2/+4 | |
| | | | ||||||
* | | | plugins/muc/muc: When forwarding mediated invites; use filtered version of ↵ | daurnimator | 2014-06-05 | 1 | -2/+4 | |
| | | | | | | | | | | | | original invite instead of new object | |||||
* | | | plugins/muc/muc.lib: Fix incorrect whois logic (thanks mva) | daurnimator | 2014-06-01 | 1 | -3/+3 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fix whois check when broadcasting occupant presence | Waqas Hussain | 2014-06-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fire event for presence broadcast | daurnimator | 2014-05-29 | 1 | -0/+3 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Even unavailable session need to be routed to sometimes ↵ | daurnimator | 2014-05-21 | 1 | -4/+2 | |
| | | | | | | | | | | | | (e.g. their own leave) | |||||
* | | | plugins/muc/muc: Only set role to nil if it's the last session to leave | daurnimator | 2014-05-21 | 1 | -1/+3 | |
| | | | ||||||
* | | | plugins/muc/muc: Better check for live sessions | daurnimator | 2014-05-19 | 1 | -3/+13 | |
| | | | ||||||
* | | | plugins/muc/muc: Always send occupant list to joining sessions | daurnimator | 2014-05-19 | 1 | -1/+1 | |
| | | | ||||||
* | | | plugins/muc: Move 'module:get_option_number("max_history_messages")' from ↵ | daurnimator | 2014-04-29 | 1 | -2/+0 | |
| | | | | | | | | | | | | mod_muc into history lib; remove from muclib exports | |||||
* | | | plugins/muc: Add room:has_occupant() method | daurnimator | 2014-04-29 | 1 | -0/+4 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Move sending of occupant list to joining user out of ↵ | daurnimator | 2014-04-21 | 1 | -9/+8 | |
| | | | | | | | | | | | | hook, and into main flow: It has to occur before publication of their status | |||||
* | | | plugins/muc/muc.lib: Remove reversed conditionals when firing pre- events | daurnimator | 2014-04-21 | 1 | -2/+2 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: When user leaves; set their role to nil | daurnimator | 2014-04-18 | 1 | -0/+1 | |
| | | | ||||||
* | | | plugins/muc: Move 'moderated' code to seperate file; changes default ↵ | daurnimator | 2014-04-18 | 1 | -32/+5 | |
| | | | | | | | | | | | | "muc-get-default-role" behaviour | |||||
* | | | plugins/muc: Move 'hidden' ('public') code to own file | daurnimator | 2014-04-16 | 1 | -30/+10 | |
| | | | ||||||
* | | | plugins/muc: Move subject code to seperate module | daurnimator | 2014-04-16 | 1 | -61/+7 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Refactor subject logic; fix bug of mixed up subject/author | daurnimator | 2014-04-15 | 1 | -18/+23 | |
| | | | ||||||
* | | | plugins/muc: Move persistent room configuration to own module | daurnimator | 2014-04-15 | 1 | -25/+4 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Move members_only into seperate file | daurnimator | 2014-04-04 | 1 | -62/+4 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Turn get_default_role into an event | daurnimator | 2014-04-03 | 1 | -7/+21 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fix getting a list of occupants by role (it was sending ↵ | daurnimator | 2014-04-03 | 1 | -3/+10 | |
| | | | | | | | | | | | | presences instead of items inside an iq) | |||||
* | | | plugins/muc: Move valid_roles, valid_affiliations and is_kickable_error to ↵ | daurnimator | 2014-04-03 | 1 | -35/+3 | |
| | | | | | | | | | | | | new muc/util module | |||||
* | | | plugins/muc/muc.lib: Use util.iterators to count occupants | daurnimator | 2014-04-03 | 1 | -1/+2 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Move occupancy check to later in ↵ | daurnimator | 2014-04-03 | 1 | -3/+5 | |
| | | | | | | | | | | | | `deconstruct_stanza_id`: As vcards are from the bare jid, you need to use the `from_jid` out of the encoded `id` | |||||
* | | | plugins/muc: Move history to an external module | daurnimator | 2014-04-03 | 1 | -146/+21 | |
| | | | | | | | | | | | | This resulted in the split up of the main muc-occupant-joined event handler into 3 seperate ones, handling occupant list, history and subject | |||||
* | | | plugins/muc: Move `whois` code to seperate file | daurnimator | 2014-04-03 | 1 | -49/+5 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Remember to coerce nil role to "none" | daurnimator | 2014-04-03 | 1 | -2/+3 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Refactor of change-nick presence handling | daurnimator | 2014-04-03 | 1 | -35/+31 | |
| | | | | | | | | | | | | | | | - Allow `nick` to be passed to `publicise_occupant_status`. - Moves multi-session handling to a more 'edge-case' area of code | |||||
* | | | plugins/muc/muc.lib: Clean up whois handling | daurnimator | 2014-04-03 | 1 | -26/+39 | |
| | | | | | | | | | | | | | | | - adds functions `can_see_real_jids` and `get_base_presence` - In `publicise_occupant_status`, we don't generate each type of presence until it's used | |||||
* | | | plugins/muc: Move name functions to seperate module | daurnimator | 2014-04-02 | 1 | -24/+4 | |
| | | | ||||||
* | | | plugins/muc: Move password functions to seperate module | daurnimator | 2014-04-02 | 1 | -48/+4 | |
| | | |