summaryrefslogtreecommitdiff
path: root/src/mod_multicast.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correctly strip only other bcc addresses i.e. bcc receiver should still be ↵Emmet McPoland2021-07-071-2/+17
| | | | able to see their bcc address element and no other bcc address element
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* XEP-0033 (#3467)Neustradamus2021-01-051-1/+1
| | | XEP-0033
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Update syntax of some options so they are better displayed in DocsBadlop2020-05-121-8/+8
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Do not use ~ts format in string that are put in xmpp payloadPaweł Chmielowski2020-01-221-1/+1
| | | | | We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later.
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-1/+80
| | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package).
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Don't retain module option on gen_mod supervisorEvgeny Khramtsov2019-08-041-1/+2
| | | | | | When module's options were updated (e.g. by reloading ejabberd.yml) and, later, the module's process crashed, gen_mod supervisor restarts the process with outdated options. This is now fixed.
* Introduce 'vcard' option for the modules supporting vCardsEvgeny Khramtsov2019-08-021-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The mapping between vCard's XML elements and YAML elements of 'vcard' option is straightforward. For example, if you want mod_muc to return the following vCard: ``` <vCard xmlns='vcard-temp'> <FN>Conferences</FN> <ADR> <WORK/> <STREET>Elm Street</STREET> </ADR> </vCard> ``` you need to set the configuration as: ``` modules: ... mod_muc: vcard: fn: Conferences adr: - work: true street: Elm Street ... ```
* mod_multicast service discovery bugfix (thanks to McPo)(#2968)Badlop2019-07-291-2/+2
|
* Make logging messages more consistentEvgeny Khramtsov2019-06-241-1/+1
|
* Improve extraction of translated stringsEvgeny Khramtsov2019-06-221-10/+10
| | | | | | | | | | | | | Now every such string MUST be encapsulated into ?T() macro. The macro itself is defined in include/translate.hrl. Example: -module(foo). -export([bar/1]). -include("translate.hrl"). bar(Lang) -> translate:translate(Lang, ?T("baz")).
* Get rid of "well-known" typeEvgeny Khramtsov2019-06-151-2/+2
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-32/+38
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Fix for the previous commitAlexey Shchepin2018-11-091-1/+1
|
* Track presences sent via a multicast serviceAlexey Shchepin2018-11-091-1/+40
|
* Fix unused variable warningBadlop2018-11-061-1/+1
|
* Local stanzas are routed one by one, not by multicastBadlop2018-11-061-0/+3
|
* Fix some dialyzer warningsEvgeny Khramtsov2018-09-091-4/+4
|
* Better detection of duplicated routes/hostsEvgeniy Khramtsov2018-07-081-3/+2
|
* Move move randoms module to p1_utils repoEvgeniy Khramtsov2018-07-051-3/+3
|
* Restore forgotten translations from previous commitEvgeniy Khramtsov2018-06-201-1/+1
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-5/+3
| | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
* Improve mod_multicastPaweł Chmielowski2018-04-041-265/+232
|
* Remove unused variableEvgeniy Khramtsov2018-03-291-1/+1
|
* Fix process_discoitems_result in mod_multicastPaweł Chmielowski2018-03-281-1/+2
|
* Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov2018-01-231-13/+18
| | | | | | | The callback is supposed to provide known options and their default values, as long as the documentation. Passing default values into get_mod functions is now deprecated: all defaults should be provided by the Mod:mod_options/1 callback.
* Process 'name' option for all route-registering modulesEvgeniy Khramtsov2018-01-081-3/+6
| | | | | | | | | | | | | | | | | | | | | The option allows to set arbitrary text for disco#info identity name. Previously, option 'name' was supported by mod_proxy65 and mod_http_upload only. Now, all the following modules support this option as well: - mod_disco - mod_irc - mod_muc - mod_multicast - mod_pubsub - mod_vcard Example: ``` modules: ... mod_disco: name: "Cool XMPP Server" ... ```
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Use xmpp:try_subtag/2 wherever possibleEvgeniy Khramtsov2017-12-111-1/+1
|
* Use xmpp:io_format_error/1 wherever possibleEvgeniy Khramtsov2017-11-141-1/+1
|
* Fix mod_multicast start and reading of configured limits (#1949)Badlop2017-08-181-6/+8
|
* Write validator for mod_multicast's limits optionBadlop2017-06-261-3/+10
|
* Use YAML syntax for limits option in mod_multicastBadlop2017-06-261-3/+2
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-16/+4
| | | | | | | | | | | | | | 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.
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-5/+5
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-2/+28
|
* Change routing APIEvgeniy Khramtsov2017-02-161-44/+45
| | | | | | | | | | | 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}
* Attach modules to gen_mod's supervisorEvgeniy Khramtsov2017-02-141-17/+3
|
* Improve modules start/stop proceduresEvgeniy Khramtsov2017-02-141-2/+3
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Improve handling of mnesia schemaChristophe Romain2016-11-301-1/+1
|
* Move copyright definition to ejabberd.hrlEvgeniy Khramtsov2016-11-231-2/+1
|
* Rename #error{} record to #stanza_error{}Evgeniy Khramtsov2016-09-081-1/+1
|
* Rewrite multicast code to use XML generatorEvgeniy Khramtsov2016-08-041-304/+196
|
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+4
|
* Use {access,shaper}_rules_validator in other places where access rules are usedPaweł Chmielowski2016-06-211-2/+2
|