aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | plugins/muc: Move valid_roles, valid_affiliations and is_kickable_error to ↵daurnimator2014-04-032-35/+47
| | | | | | | | | | | | | | | | | | | | new muc/util module
| | * | | plugins/muc/muc.lib: Use util.iterators to count occupantsdaurnimator2014-04-031-1/+2
| | | | |
| | * | | plugins/muc/muc.lib: Move occupancy check to later in ↵daurnimator2014-04-031-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 moduledaurnimator2014-04-032-146/+182
| | | | | | | | | | | | | | | | | | | | 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 filedaurnimator2014-04-032-49/+72
| | | | |
| | * | | plugins/muc/muc.lib: Remember to coerce nil role to "none"daurnimator2014-04-031-2/+3
| | | | |
| | * | | plugins/muc/muc.lib: Refactor of change-nick presence handlingdaurnimator2014-04-031-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 handlingdaurnimator2014-04-031-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/occupant.lib: Don't allow an unavailable session to be the ↵daurnimator2014-04-021-5/+17
| | | | | | | | | | | | | | | | | | | | primary jid
| | * | | plugins/muc: Move name functions to seperate moduledaurnimator2014-04-022-24/+51
| | | | |
| | * | | plugins/muc: Move password functions to seperate moduledaurnimator2014-04-022-48/+74
| | | | |
| | * | | plugins/muc/lock.lib: Need to let creator into the locked room :)daurnimator2014-04-021-1/+1
| | | | |
| | * | | plugins/muc: Move locking to seperate moduledaurnimator2014-04-023-46/+66
| | | | |
| | * | | plugins/muc/mod_muc: Move room locking into hookdaurnimator2014-04-021-4/+8
| | | | |
| | * | | plugins/muc/muc.lib: Move description functions out to own filedaurnimator2014-04-022-24/+47
| | | | |
| | * | | plugins/muc/muc.lib: Modify muc-config-submitted to keep a list of status ↵daurnimator2014-04-021-13/+12
| | | | | | | | | | | | | | | | | | | | codes instead of fields changed
| | * | | plugins/muc/muc.lib: Refactor out process_form into hooksdaurnimator2014-04-011-46/+71
| | | | |
| | * | | plugins/muc/muc.lib: Move default config layout into hooksdaurnimator2014-04-011-64/+84
| | | | |
| | * | | plugins/muc/muc.lib: Split up get_disco_info into eventsdaurnimator2014-04-011-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 eventdaurnimator2014-03-311-0/+1
| | | | |
| | * | | plugins/muc/muc.lib: restrict invitations in members only rooms to adminsdaurnimator2014-03-311-0/+11
| | | | |
| | * | | plugins/muc/muc.lib: Don't try and get occupant jids for annotating invite ↵daurnimator2014-03-311-2/+1
| | | | | | | | | | | | | | | | | | | | affiliation changes
| | * | | plugins/muc/muc.lib: Update declines to be more like invitesdaurnimator2014-03-311-26/+27
| | | | |
| | * | | plugins/muc/muc.lib: Add pre-invite event. Move role check to itdaurnimator2014-03-311-19/+25
| | | | |
| | * | | plugins/muc/muc.lib: Tidy up muc-invite event.daurnimator2014-03-311-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 ↵daurnimator2014-03-311-13/+7
| | | | | | | | | | | | | | | | | | | | priorities for other handlers
| | * | | plugins/muc/muc.lib: Use occupant methods where possibledaurnimator2014-03-281-2/+3
| | | | |
| | * | | plugins/muc/muc.lib: Subjects get sent even if empty.daurnimator2014-03-281-11/+6
| | | | |
| | * | | plugins/muc/muc.lib: Fix typo (moderators vs moderator)daurnimator2014-03-281-1/+1
| | | | |
| | * | | plugins/muc/muc.lib: nick change unavailables should be from original ↵daurnimator2014-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | occupant jid
| | * | | plugins/muc/muc.lib: Status codes should be inside of x elementdaurnimator2014-03-281-2/+3
| | | | |
| | * | | plugins/muc/muc.lib: Improve set affiliation logic;daurnimator2014-03-281-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_affiliationdaurnimator2014-03-281-2/+14
| | | | |
| | * | | plugins/muc/muc.lib: Fix anonymous check in `send_occupant_list`daurnimator2014-03-281-4/+12
| | | | |
| | * | | plugins/muc/muc.lib: Allow `:send_occupant_list` to have no filterdaurnimator2014-03-281-1/+1
| | | | |
| | * | | plugins/muc/muc.lib: Fix sending occupant jid instead of real jid in <item/> ↵daurnimator2014-03-281-6/+6
| | | | | | | | | | | | | | | | | | | | actor
| | * | | plugins/muc/muc.lib: Clean up :set_role. Removes :can_set_roledaurnimator2014-03-281-23/+35
| | | | |
| | * | | plugins/muc/muc.lib: Remove callback parameter from set_role and set_affiliationdaurnimator2014-03-281-15/+10
| | | | |
| | * | | plugins/muc/muc.lib: non-function changes (reordering, semicolons and comments)daurnimator2014-03-271-14/+14
| | | | |
| | * | | plugins/muc: Massive refactordaurnimator2014-03-273-380/+503
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | mod_muc/muc.lib: Fix parameters to send_history() (thanks Peter Villeneuve)Matthew Wild2014-05-101-2/+2
| | | | |
* | | | | Merge 0.10->trunkKim Alvefur2014-05-121-20/+68
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | mod_admin_telnet: Remove dead codeKim Alvefur2014-05-121-11/+0
| | | | |
| * | | | mod_admin_telnet: Show which hosts are components and what type of component ↵Kim Alvefur2014-05-121-1/+11
| | | | | | | | | | | | | | | | | | | | in host:list()
| * | | | mod_admin_telnet: Add c2s:show_tls(), behaves like s2s:show_tls()Kim Alvefur2014-05-111-2/+8
| | | | |
| * | | | mod_admin_telnet: Move generation of log tag for s2s:show() (adds it to ↵Kim Alvefur2014-05-111-2/+11
| | | | | | | | | | | | | | | | | | | | c2s:show() too)
| * | | | mod_admin_telnet: Add s2s:show_tls() for showing ciphers used on s2s connectionsKim Alvefur2014-05-111-2/+24
| | | | |
| * | | | mod_admin_telnet: Move extraction of c2s presence info into session_flags()Kim Alvefur2014-05-111-5/+8
| | | | |
| * | | | mod_admin_telnet: Split (secure) into (authenticated) + (secure)Kim Alvefur2014-05-111-2/+3
| | | | |
| * | | | mod_admin_telnet: Send NUL byte as keepalive on read timeoutsKim Alvefur2014-05-111-0/+8
| | | | |