Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
| | | | ||||||
* | | | plugins/muc: Move locking to seperate module | daurnimator | 2014-04-02 | 1 | -30/+0 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Move description functions out to own file | daurnimator | 2014-04-02 | 1 | -24/+4 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Modify muc-config-submitted to keep a list of status ↵ | daurnimator | 2014-04-02 | 1 | -13/+12 | |
| | | | | | | | | | | | | codes instead of fields changed | |||||
* | | | plugins/muc/muc.lib: Refactor out process_form into hooks | daurnimator | 2014-04-01 | 1 | -46/+71 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Move default config layout into hooks | daurnimator | 2014-04-01 | 1 | -64/+84 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Split up get_disco_info into events | daurnimator | 2014-04-01 | 1 | -16/+39 | |
| | | | | | | | | | | | | This was done so we can split off functionality to other files later (e.g. plugins/muc/password) | |||||
* | | | plugins/muc/muc.lib: Add muc-room-locked event | daurnimator | 2014-03-31 | 1 | -0/+1 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: restrict invitations in members only rooms to admins | daurnimator | 2014-03-31 | 1 | -0/+11 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Don't try and get occupant jids for annotating invite ↵ | daurnimator | 2014-03-31 | 1 | -2/+1 | |
| | | | | | | | | | | | | affiliation changes | |||||
* | | | plugins/muc/muc.lib: Update declines to be more like invites | daurnimator | 2014-03-31 | 1 | -26/+27 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Add pre-invite event. Move role check to it | daurnimator | 2014-03-31 | 1 | -19/+25 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Tidy up muc-invite event. | daurnimator | 2014-03-31 | 1 | -20/+44 | |
| | | | | | | | | | | | | | | | - Send inside of the actual handle_invite function - Move password, compat and body tagging into event handlers | |||||
* | | | plugins/muc/muc.lib: Remove top level pre-join event. Assign event ↵ | daurnimator | 2014-03-31 | 1 | -13/+7 | |
| | | | | | | | | | | | | priorities for other handlers | |||||
* | | | plugins/muc/muc.lib: Use occupant methods where possible | daurnimator | 2014-03-28 | 1 | -2/+3 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Subjects get sent even if empty. | daurnimator | 2014-03-28 | 1 | -11/+6 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fix typo (moderators vs moderator) | daurnimator | 2014-03-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: nick change unavailables should be from original ↵ | daurnimator | 2014-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | occupant jid | |||||
* | | | plugins/muc/muc.lib: Status codes should be inside of x element | daurnimator | 2014-03-28 | 1 | -2/+3 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Improve set affiliation logic; | daurnimator | 2014-03-28 | 1 | -32/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | - Each affiliation and role is now ranked - Changes up in affiliation will not downgrade your role - Now sends a new set of presences if you gained moderator in a semi-anonymous room. - Better input validation; matches closer with ':set_role' - Don't short circuit; as if user has non-default role they will not get updated | |||||
* | | | plugins/muc/muc.lib: Smarter validation in set_affiliation | daurnimator | 2014-03-28 | 1 | -2/+14 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fix anonymous check in `send_occupant_list` | daurnimator | 2014-03-28 | 1 | -4/+12 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Allow `:send_occupant_list` to have no filter | daurnimator | 2014-03-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Fix sending occupant jid instead of real jid in <item/> ↵ | daurnimator | 2014-03-28 | 1 | -6/+6 | |
| | | | | | | | | | | | | actor | |||||
* | | | plugins/muc/muc.lib: Clean up :set_role. Removes :can_set_role | daurnimator | 2014-03-28 | 1 | -23/+35 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Remove callback parameter from set_role and set_affiliation | daurnimator | 2014-03-28 | 1 | -15/+10 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: non-function changes (reordering, semicolons and comments) | daurnimator | 2014-03-27 | 1 | -14/+14 | |
| | | | ||||||
* | | | plugins/muc: Massive refactor | daurnimator | 2014-03-27 | 1 | -364/+415 | |
| | | | | | | | | | | | | | | | | | | We now have occupant objects; you grab them, modify them, save them. New presence handling code. Modify all presence sending to go via new functions. | |||||
* | | | plugins/muc/muc.lib: If decline is to person in room; route to all sessions | daurnimator | 2014-03-27 | 1 | -1/+7 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Have timestamp as seconds since epoch inside of history | daurnimator | 2014-03-27 | 1 | -3/+4 | |
| | | | ||||||
* | | | plugins/muc: Rename admin query hook | daurnimator | 2014-03-27 | 1 | -2/+2 | |
| | | | ||||||
* | | | plugins/muc/muc.lib: Add :broadcast method; use it from ↵ | daurnimator | 2014-03-24 | 1 | -5/+9 | |
| | | | | | | | | | | | | :broadcast_except_nick and :broadcast_message |