Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add :broadcast method; use it from ↵ | daurnimator | 2014-03-24 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :broadcast_except_nick and :broadcast_message | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Extra utility functions around subjects | daurnimator | 2014-03-24 | 1 | -7/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add muc-get-history event; it uses an iterator in the ↵ | daurnimator | 2014-03-24 | 1 | -9/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event object so that messages don't need to be all in memory at once | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add muc-broadcast-message event. Use it for saving to ↵ | daurnimator | 2014-03-24 | 1 | -15/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | history | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Better password check | daurnimator | 2014-03-24 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add muc-occupant-prejoin events; Use it for banned, ↵ | daurnimator | 2014-03-24 | 1 | -20/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | members-only, password, nick-conflict and lock checks This reorders some of the checks. Importantly; affiliations are checked first: this means banned users cannot try and guess passwords | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Move password check and nick conflict check into ↵ | daurnimator | 2014-03-21 | 1 | -24/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `handle_join` | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Additional `route_to_occupant` usage | daurnimator | 2014-03-20 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Remove duplicate variable; it can never be nil. | daurnimator | 2014-03-20 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add decline event for parity with invite | daurnimator | 2014-03-20 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add route_to_occupant function to send a stanza to all ↵ | daurnimator | 2014-03-20 | 1 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | occupant sessions | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc: Have utility methods for locking the room | daurnimator | 2014-03-20 | 2 | -9/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Use occupant jids when whois == "moderators" | daurnimator | 2014-03-19 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Allow users with affiliations to invite while not in ↵ | daurnimator | 2014-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | room themselves | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Use `get_role` in `handle_admin_item_get_command`. ↵ | daurnimator | 2014-03-19 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed a TODO that's already done | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Send invite out from event: removes '-prepared' from ↵ | daurnimator | 2014-03-19 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event name | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Check role instead of current_nick | daurnimator | 2014-03-19 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Remove `payload` argument from `handle_mediated_*`; ↵ | daurnimator | 2014-03-19 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extract it from inside. | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block | daurnimator | 2014-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add muc-invite-prepared event; Use it for granting ↵ | daurnimator | 2014-03-19 | 1 | -4/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | affiliations in members only rooms | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Don't get same variable twice..... | daurnimator | 2014-03-19 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Use `get_occupant_jid` method instead of indexing _jid_nick | daurnimator | 2014-03-19 | 1 | -13/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Fetch config via accessors instead of using `_data` | daurnimator | 2014-03-19 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: In `_route_stanza` access occupant data less often | daurnimator | 2014-03-19 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Tidy up `get_filtered_presence` | daurnimator | 2014-03-19 | 1 | -8/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Tidy up is_kickable_error: it didn't need to return the ↵ | daurnimator | 2014-03-19 | 1 | -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 previously | daurnimator | 2014-03-19 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Remove unused methods (breaks api) | daurnimator | 2014-03-19 | 1 | -72/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Use more modern stanza methods | daurnimator | 2014-03-19 | 1 | -22/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc: Provide a reasonable default `route_stanza` | daurnimator | 2014-03-19 | 2 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/mod_muc: host sessions have a .send these days | daurnimator | 2014-03-18 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/mod_muc: Refactor to use new methods available | daurnimator | 2014-03-18 | 1 | -38/+72 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Add 'muc-occupant-left' event | daurnimator | 2014-03-18 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Only call get_password once in invite creation | daurnimator | 2014-03-18 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: When there's no history; return an empty iterator | daurnimator | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Support mediated declines | daurnimator | 2014-03-18 | 1 | -0/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Rename `handle_invite_to_room` to `handle_mediated_invite`; ↵ | daurnimator | 2014-03-18 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clean up logic | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Check for mediated invites in a smarter way | daurnimator | 2014-03-18 | 1 | -7/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc: Add copyright for daurnimator | daurnimator | 2014-03-18 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add disco iq handlers with compatible argument signature | daurnimator | 2014-02-21 | 1 | -4/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Move all kick code into one place | daurnimator | 2014-02-21 | 1 | -27/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Make use of return values to send service-unavailable ↵ | daurnimator | 2014-02-21 | 1 | -11/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | errors | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Add some missing return values | daurnimator | 2014-02-21 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Move (de)construct_stanza_id into `handle_iq_to_occupant` | daurnimator | 2014-02-21 | 1 | -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 handlers | daurnimator | 2014-02-21 | 1 | -53/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Split out the room iq handler into functions | daurnimator | 2014-02-21 | 1 | -87/+129 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Factor `handle_to_occupant` out into many functions | daurnimator | 2014-02-20 | 1 | -186/+269 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Split up `handle_to_room` into smaller handlers (thanks ↵ | daurnimator | 2014-02-20 | 1 | -156/+186 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sysko) | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/muc.lib: Split out `send_history` into `parse_history` and ↵ | daurnimator | 2014-02-19 | 1 | -33/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `get_history` | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | plugins/muc/mod_muc: Move Xep-0307 MUC unique to seperate file | daurnimator | 2014-02-18 | 2 | -21/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |