summaryrefslogtreecommitdiff
path: root/src/mod_muc_room.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Don't crash on malformed IQEvgeniy Khramtsov2017-12-191-1/+2
| | | | Fixes #2175
* Use xmpp:try_subtag/2 wherever possibleEvgeniy Khramtsov2017-12-111-1/+5
|
* Include <x/> tag in presence errors related to nick changeEvgeniy Khramtsov2017-12-091-3/+6
| | | | | Refer to example 52 and example 53 of XEP-0045 for details. Thanks to Daniel Gultsch for spotting this.
* mod_muc_room: Fix typoHolger Weiss2017-12-061-1/+1
| | | | Thanks to Evgeniy for spotting this.
* mod_muc_room: Include 110 status on shutdownHolger Weiss2017-11-301-1/+1
| | | | | Add the 110 status code to the presence unavailable stanzas sent to room occupants on system shutdown.
* Improve muc#roominfo and muc#roomconfig formsEvgeniy Khramtsov2017-11-271-4/+28
| | | | | | Now 'muc#roominfo_contactjid' and 'muc#roominfo_pubsub' fields are returned within muc#roominfo form. Also, both 'muc#roominfo_pubsub' and 'muc#roomconfig_pubsub' are now validated.
* Announce support for stanza IDsHolger Weiss2017-11-151-1/+1
| | | | Announce the namespace for stanza IDs as per XEP-0359 v0.5.0.
* Use xmpp:io_format_error/1 wherever possibleEvgeniy Khramtsov2017-11-141-2/+2
|
* Properly store <subject/> elementEvgeniy Khramtsov2017-11-131-9/+14
| | | | Fixes #2099
* Improve a diagnostic textEvgeniy Khramtsov2017-11-111-1/+1
|
* Use new API for IQ routingEvgeniy Khramtsov2017-11-101-66/+35
| | | | | Functions ejabberd_local:route_iq/2,3 are now depecated: ejabberd_router:route_iq/2,3,4 should be used instead.
* Prepare version 0.6.1 of XEP-0313 (MAM) supportEvgeniy Khramtsov2017-11-081-1/+1
|
* Use store_room where possiblePaweł Chmielowski2017-10-311-2/+1
|
* Optimize muc subscriptions handlingChristophe Romain2017-10-311-3/+6
|
* Show real jid in mucsub subscription change eventsPaweł Chmielowski2017-10-301-4/+2
|
* Fix last commitPaweł Chmielowski2017-10-301-4/+10
|
* Add mucsub event for subscribers list changesPaweł Chmielowski2017-10-301-1/+39
|
* Reflect changes in the xmpp libEvgeniy Khramtsov2017-10-131-1/+1
|
* Send presence-unavailable when expulsing a participantEvgeniy Khramtsov2017-10-131-2/+10
|
* Resend presences and history if presence possesses <x/> MUC elementEvgeniy Khramtsov2017-10-091-6/+18
| | | | | | | | | | Behave according to the new rule from XEP-0045, section 7.2.2: > When a MUC service receives an <x/> tagged join stanza from an > already-joined client (as identified by the client's full JID), > the service should assume that the client lost its synchronization, > and therefore it SHOULD send exactly the same stanzas to the client > as if it actually just joined the MUC.
* Don't forget to route presence-unavailableEvgeniy Khramtsov2017-09-281-2/+10
| | | | | | | | When a user has several resources joined to a room using the same nick attempts to leave the room from a single resource, route presence-unavailable back to this (and only this) resource. Fixes #2007
* Improve presence-error processingEvgeniy Khramtsov2017-09-261-1/+6
| | | | | | | When a presence-error is received from a participant in a MUC, kick only this particular participant's full JID, leaving other resources untouched. This will prevent from erroneous kicking all user's resources in the presence of "multi-session nicks".
* Add script to extract translation stringsEvgeniy Khramtsov2017-09-241-2/+2
|
* Fix crash when destroying room without providing reason (#1954)Badlop2017-08-211-1/+1
|
* Replace gen_fsm with p1_fsm to avoid warnings in OTP20+Evgeniy Khramtsov2017-08-051-6/+6
|
* Add muc related hooksChristophe Romain2017-07-271-0/+2
|
* Fix mod_muc_admin:set_room_affiliationMarc Philipp2017-06-211-3/+10
|
* Deprecate misc:encode_base64/1 and misc:decode_base64/1Evgeniy Khramtsov2017-05-231-2/+2
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-35/+10
| | | | | | | | | | | | | | The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
* Allow a room admin also to subscribe another JIDBadlop2017-04-261-1/+16
|
* Use #jid{} type for #muc_unsubscribe.jidHolger Weiss2017-04-191-10/+8
|
* Don't use jid:from_string as it's deprecated, see jid.erl line 43Badlop2017-04-191-3/+6
|
* Allow a room admin to unsubscribe another JIDBadlop2017-04-131-0/+13
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-2/+2
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-2/+2
| | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
* Merge branch 'new_queue'Evgeniy Khramtsov2017-03-241-71/+97
|\ | | | | | | | | | | Conflicts: rebar.config src/mod_muc_admin.erl
| * Add support for file-based queuesEvgeniy Khramtsov2017-03-101-71/+97
| | | | | | | | | | | | | | | | | | | | | | It's now possible to use files as internal packet queues. The following options are introduced: * queue_type: the option can be set to `ram` (default) or `file`. The option can be set per virtual host. * queue_dir: path to the directory where queues will be allocated. The default is 'queue' directory inside Mnesia directory. This is a global option and cannot be set per virtual host.
* | Use new xdata compiler APIEvgeniy Khramtsov2017-03-201-5/+3
|/
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-12/+12
|
* Don't pass empty resource to jid:make()Evgeniy Khramtsov2017-02-251-2/+2
|
* Don't pass 'from' and 'to' along with stanza in hooks' argumentsEvgeniy Khramtsov2017-02-241-19/+15
|
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-181-63/+49
|
* Change routing APIEvgeniy Khramtsov2017-02-161-111/+91
| | | | | | | | | | | Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet}
* Set subscribers nicks when recreating room (thanks to Girdhar Sojitra)(#1495)Badlop2017-01-311-11/+14
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-24/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * Implement database backend interface for MUC, BOSH and auth_anonyousEvgeniy Khramtsov2017-01-131-24/+11
| |
* | Restore muc_invite_hook (#1467)Evgeniy Khramtsov2017-01-191-0/+3
| |
* | Restore multiple invitations support (#1468)Evgeniy Khramtsov2017-01-191-80/+88
| |
* | Don't forget to convert muc#roomconfig_mamEvgeniy Khramtsov2017-01-191-0/+2
| |