Log

plugins/muc/muc.lib.lua @ 6227:bb75c011b15e

description author age
plugins/muc/muc.lib: When user leaves; set their role to nil daurnimator 2014-04-18
plugins/muc: Move 'moderated' code to seperate file; changes default "muc-get-default-role" behaviour daurnimator 2014-04-18
plugins/muc: Move 'hidden' ('public') code to own file daurnimator 2014-04-16
plugins/muc: Move subject code to seperate module daurnimator 2014-04-16
plugins/muc/muc.lib: Refactor subject logic; fix bug of mixed up subject/author daurnimator 2014-04-15
plugins/muc: Move persistent room configuration to own module daurnimator 2014-04-15
plugins/muc/muc.lib: Move members_only into seperate file daurnimator 2014-04-04
plugins/muc/muc.lib: Turn get_default_role into an event daurnimator 2014-04-03
plugins/muc/muc.lib: Fix getting a list of occupants by role (it was sending presences instead of items inside an iq) daurnimator 2014-04-03
plugins/muc: Move valid_roles, valid_affiliations and is_kickable_error to new muc/util module daurnimator 2014-04-03
plugins/muc/muc.lib: Use util.iterators to count occupants daurnimator 2014-04-03
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 2014-04-03
plugins/muc: Move history to an external module daurnimator 2014-04-03
plugins/muc: Move `whois` code to seperate file daurnimator 2014-04-03
plugins/muc/muc.lib: Remember to coerce nil role to "none" daurnimator 2014-04-03
plugins/muc/muc.lib: Refactor of change-nick presence handling daurnimator 2014-04-03
plugins/muc/muc.lib: Clean up whois handling daurnimator 2014-04-03
plugins/muc: Move name functions to seperate module daurnimator 2014-04-02
plugins/muc: Move password functions to seperate module daurnimator 2014-04-02
plugins/muc: Move locking to seperate module daurnimator 2014-04-02
plugins/muc/muc.lib: Move description functions out to own file daurnimator 2014-04-02
plugins/muc/muc.lib: Modify muc-config-submitted to keep a list of status codes instead of fields changed daurnimator 2014-04-02
plugins/muc/muc.lib: Refactor out process_form into hooks daurnimator 2014-04-01
plugins/muc/muc.lib: Move default config layout into hooks daurnimator 2014-04-01
plugins/muc/muc.lib: Split up get_disco_info into events daurnimator 2014-04-01
plugins/muc/muc.lib: Add muc-room-locked event daurnimator 2014-03-31
plugins/muc/muc.lib: restrict invitations in members only rooms to admins daurnimator 2014-03-31
plugins/muc/muc.lib: Don't try and get occupant jids for annotating invite affiliation changes daurnimator 2014-03-31
plugins/muc/muc.lib: Update declines to be more like invites daurnimator 2014-03-31
plugins/muc/muc.lib: Add pre-invite event. Move role check to it daurnimator 2014-03-31
plugins/muc/muc.lib: Tidy up muc-invite event. daurnimator 2014-03-31
plugins/muc/muc.lib: Remove top level pre-join event. Assign event priorities for other handlers daurnimator 2014-03-31
plugins/muc/muc.lib: Use occupant methods where possible daurnimator 2014-03-29
plugins/muc/muc.lib: Subjects get sent even if empty. daurnimator 2014-03-29
plugins/muc/muc.lib: Fix typo (moderators vs moderator) daurnimator 2014-03-28
plugins/muc/muc.lib: nick change unavailables should be from original occupant jid daurnimator 2014-03-28
plugins/muc/muc.lib: Status codes should be inside of x element daurnimator 2014-03-28
plugins/muc/muc.lib: Improve set affiliation logic; daurnimator 2014-03-28
plugins/muc/muc.lib: Smarter validation in set_affiliation daurnimator 2014-03-28
plugins/muc/muc.lib: Fix anonymous check in `send_occupant_list` daurnimator 2014-03-28
plugins/muc/muc.lib: Allow `:send_occupant_list` to have no filter daurnimator 2014-03-28
plugins/muc/muc.lib: Fix sending occupant jid instead of real jid in <item/> actor daurnimator 2014-03-28
plugins/muc/muc.lib: Clean up :set_role. Removes :can_set_role daurnimator 2014-03-28
plugins/muc/muc.lib: Remove callback parameter from set_role and set_affiliation daurnimator 2014-03-28
plugins/muc/muc.lib: non-function changes (reordering, semicolons and comments) daurnimator 2014-03-27
plugins/muc: Massive refactor daurnimator 2014-03-27
mod_muc/muc.lib: Fix parameters to send_history() (thanks Peter Villeneuve) Matthew Wild 2014-05-10
Merge with daurnimator Matthew Wild 2014-04-17
plugins/muc/muc.lib: If decline is to person in room; route to all sessions daurnimator 2014-03-27
plugins/muc/muc.lib: Have timestamp as seconds since epoch inside of history daurnimator 2014-03-27
plugins/muc: Rename admin query hook daurnimator 2014-03-27
plugins/muc/muc.lib: Add :broadcast method; use it from :broadcast_except_nick and :broadcast_message daurnimator 2014-03-24
plugins/muc/muc.lib: Extra utility functions around subjects daurnimator 2014-03-24
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 2014-03-24
plugins/muc/muc.lib: Add muc-broadcast-message event. Use it for saving to history daurnimator 2014-03-24
plugins/muc/muc.lib: Better password check daurnimator 2014-03-24
plugins/muc/muc.lib: Add muc-occupant-prejoin events; Use it for banned, members-only, password, nick-conflict and lock checks daurnimator 2014-03-24
plugins/muc/muc.lib: Move password check and nick conflict check into `handle_join` daurnimator 2014-03-21
plugins/muc/muc.lib: Additional `route_to_occupant` usage daurnimator 2014-03-20
plugins/muc/muc.lib: Remove duplicate variable; it can never be nil. daurnimator 2014-03-20
plugins/muc/muc.lib: Add decline event for parity with invite daurnimator 2014-03-20
plugins/muc/muc.lib: Add route_to_occupant function to send a stanza to all occupant sessions daurnimator 2014-03-20
plugins/muc: Have utility methods for locking the room daurnimator 2014-03-20
plugins/muc/muc.lib: Use occupant jids when whois == "moderators" daurnimator 2014-03-19
plugins/muc/muc.lib: Allow users with affiliations to invite while not in room themselves daurnimator 2014-03-19
plugins/muc/muc.lib: Use `get_role` in `handle_admin_item_get_command`. Removed a TODO that's already done daurnimator 2014-03-19
plugins/muc/muc.lib: Send invite out from event: removes '-prepared' from event name daurnimator 2014-03-19
plugins/muc/muc.lib: Check role instead of current_nick daurnimator 2014-03-19
plugins/muc/muc.lib: Remove `payload` argument from `handle_mediated_*`; extract it from inside. daurnimator 2014-03-19
plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block daurnimator 2014-03-19
plugins/muc/muc.lib: Add muc-invite-prepared event; Use it for granting affiliations in members only rooms daurnimator 2014-03-19
plugins/muc/muc.lib: Don't get same variable twice..... daurnimator 2014-03-19
plugins/muc/muc.lib: Use `get_occupant_jid` method instead of indexing _jid_nick daurnimator 2014-03-19
plugins/muc/muc.lib: Fetch config via accessors instead of using `_data` daurnimator 2014-03-19
plugins/muc/muc.lib: In `_route_stanza` access occupant data less often daurnimator 2014-03-19
plugins/muc/muc.lib: Tidy up `get_filtered_presence` daurnimator 2014-03-19
plugins/muc/muc.lib: Tidy up is_kickable_error: it didn't need to return the condition. daurnimator 2014-03-19
plugins/muc/muc.lib: Use module.host where `muc_domain` was previously daurnimator 2014-03-19
plugins/muc/muc.lib: Remove unused methods (breaks api) daurnimator 2014-03-19
plugins/muc/muc.lib: Use more modern stanza methods daurnimator 2014-03-19
plugins/muc: Provide a reasonable default `route_stanza` daurnimator 2014-03-19
plugins/muc/muc: Add 'muc-occupant-left' event daurnimator 2014-03-18
plugins/muc/muc: Only call get_password once in invite creation daurnimator 2014-03-18
plugins/muc/muc: When there's no history; return an empty iterator daurnimator 2014-03-18
plugins/muc/muc: Support mediated declines daurnimator 2014-03-18
plugins/muc/muc: Rename `handle_invite_to_room` to `handle_mediated_invite`; clean up logic daurnimator 2014-03-18
plugins/muc/muc: Check for mediated invites in a smarter way daurnimator 2014-03-18
plugins/muc/muc: Add copyright for daurnimator daurnimator 2014-03-18
plugins/muc/muc.lib: Add disco iq handlers with compatible argument signature daurnimator 2014-02-22
plugins/muc/muc.lib: Move all kick code into one place daurnimator 2014-02-21
plugins/muc/muc.lib: Make use of return values to send service-unavailable errors daurnimator 2014-02-21
plugins/muc/muc.lib: Add some missing return values daurnimator 2014-02-21
plugins/muc/muc.lib: Move (de)construct_stanza_id into `handle_iq_to_occupant` daurnimator 2014-02-21
plugins/muc/muc.lib: Refactor _to_occupant handlers daurnimator 2014-02-21
plugins/muc/muc.lib: Split out the room iq handler into functions daurnimator 2014-02-21
plugins/muc/muc.lib: Factor `handle_to_occupant` out into many functions daurnimator 2014-02-20
plugins/muc/muc.lib: Split up `handle_to_room` into smaller handlers (thanks sysko) daurnimator 2014-02-20
plugins/muc/muc.lib: Split out `send_history` into `parse_history` and `get_history` daurnimator 2014-02-19
Merge 0.9->0.10 Matthew Wild 2014-04-02
MUC: Fixed traceback when a JID not in a room requested a role change for an occupant. Waqas Hussain 2014-04-01
MUC: Tag PMs with <x>, like presence stanzas Kim Alvefur 2014-01-28
MUC: Split out sending of the topic into method separate from sending history Kim Alvefur 2014-01-18
MUC: Split saving to history into a separate method Kim Alvefur 2014-01-18
Merge 0.9->0.10 Matthew Wild 2013-10-05
muc.lib.lua: Fix Spark jabber client not displaying conference room lists, seemingly due to a missing value tag for the room description if the description has not been set Paul 2013-10-05
mod_muc: Support for locking newly-created rooms until they are configured (enabled with muc_room_locking = true) Matthew Wild 2013-08-30
Remove all trailing whitespace Florian Zeitz 2013-08-09
Merge 0.9->trunk Matthew Wild 2013-06-13
mod_muc: Fix incorrect variable name Matthew Wild 2013-05-21
mod_muc: Remove some old TODO comments Matthew Wild 2013-05-21
mod_muc: Fix incorrect variable name Matthew Wild 2013-05-21
mod_muc: Remove unused variable Matthew Wild 2013-05-21
mod_muc: Use stanza:maptags() instead of custom filtering functions, 7 insertions, 19 deletions! Matthew Wild 2013-05-21
mod_muc: Replace getText() with get_child_text(), 1 insertion, 12 deletions! Matthew Wild 2013-05-21
mod_muc: Pass actor (requesting JID) when generating the config form, and to the muc-config-form event handler Matthew Wild 2013-05-18
mod_muc: Add getter/setter for 'whois' (fixes traceback) Matthew Wild 2013-05-18
mod_muc: Refactor config form handling, and allow for clients to submit incomplete forms. Fixes #246 Matthew Wild 2013-05-16
mod_muc: Fire muc-room-created and muc-room-destroyed events (thanks nik) Matthew Wild 2013-05-14
MUC: Allow actor == true to set roles (like affiliations) Matthew Wild 2013-04-29
MUC: Allow plugins to add and handle options in the MUC config form Matthew Wild 2013-04-29
MUC: add __tostring on room metatable Matthew Wild 2013-04-25
mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications) to the room history (thanks louiz’, Link Mauve, poezio and all its users) Matthew Wild 2013-03-28
MUC: Always return <service-unavailable/> when a node is present in service discovery requests. Waqas Hussain 2013-02-26
MUC: Fix affiliation check for admins, and bring it in line with the spec (thanks Maranda). Waqas Hussain 2013-02-26
MUC: Don't reply to errors (thanks iron) Kim Alvefur 2013-01-09
MUC: Support invite messages when stanza type is explicitly set to "normal" or to an unknown value. Waqas Hussain 2012-12-15
muc: Make max_history_messages simply a service-wide config option, and don't store it per-room (rooms still have their own history_message, but this is a global limit) Matthew Wild 2012-11-22
MUC: Fix traceback caused by faulty logic precedence. (thanks waqas, nulani) Kim Alvefur 2012-09-25