summaryrefslogtreecommitdiff
path: root/src/mod_block_strangers.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* mod_block_strangers: Bounce an error messageHolger Weiss2018-01-031-2/+5
| | | | | | | Return a stanza error when a message is rejected, in order to make legitimate users aware of the issue. Closes #2197.
* Introduce option 'allow_transports'Evgeniy Khramtsov2017-09-081-10/+39
| | | | | | | | This is a boolean option. If set to `true` and some server's JID is in user's roster, then messages from any user of this server are accepted even if no subscription present. The option is enabled by default.
* Always accept messages from local (sub)domainsEvgeniy Khramtsov2017-09-071-1/+1
|
* Fix a typo and improve logging messageEvgeniy Khramtsov2017-09-071-4/+4
|
* Block messages from strangers before mod_mam/mod_offline processingEvgeniy Khramtsov2017-09-021-18/+36
| | | | Fixes #1713
* Revert "Fix get_module_opt call in mod_block_strangers"Christophe Romain2017-07-271-4/+1
| | | | This reverts commit e5f64bc24af581b7e8ffd73e7490cc93423d960b.
* Fix get_module_opt call in mod_block_strangersAlexey Shchepin2017-07-271-1/+4
|
* Add allow_local_users to mod_block_strangers (#1804, #1809)Alexey Shchepin2017-06-291-2/+7
|
* Implement cache for rosterEvgeniy Khramtsov2017-05-171-27/+28
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-8/+2
| | | | | | | | | | | | | | 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.
* Don't block contacts with subscription=to in mod_block_strangers (#1609)Alexey Shchepin2017-03-211-3/+9
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+4
|
* Compatibility with R17 in mod_block_strangersAlexey Shchepin2017-01-231-1/+20
|
* Check message subject in mod_block_strangersAlexey Shchepin2017-01-231-1/+2
|
* Drop only messages with <body/> in mod_block_strangersAlexey Shchepin2017-01-171-1/+2
|
* Stop hook on message drop in mod_block_strangersAlexey Shchepin2017-01-161-1/+1
|
* Use user_receive_packet hook in mod_block_strangersAlexey Shchepin2017-01-161-11/+10
|
* Remove stub in mob_block_strangersAlexey Shchepin2017-01-161-4/+4
|
* Add mod_block_strangersAlexey Shchepin2017-01-161-0/+107