Commit Graph

614 Commits

Author SHA1 Message Date
Sonny Piers d7d054cf05
ejabberd_auth_http: add troubleshooting section
https://github.com/processone/ejabberd-contrib/issues/288
2020-09-01 19:40:57 +02:00
Badlop cfea844cec Add commands to execute system and erlang calls 2020-04-28 12:15:58 +02:00
Badlop 21d78a74c1 Update mod_post_log parsing url option, so it starts with recent ejabberd 2020-04-28 11:31:42 +02:00
Badlop 05a3c87239 Document in mod_filter that it requires patching ejabberd (#289) 2020-04-28 11:20:57 +02:00
Badlop 68c8116102 httpc:request expects strings, not binaries (#286) 2020-03-03 18:23:38 +01:00
Badlop 5fdcb0a6e3 Fix names of many mod_webpresence pixmaps (thanks to debalance)(#285) 2020-02-28 18:15:52 +01:00
Badlop 6220d58e43 Remove default ejabberd_auth_http.yml, README explains how to enable (#284) 2020-02-19 13:53:52 +01:00
Badlop 2fcf924747 Update ejabberd_auth_http by fixing Dialyzer error reports (#284) 2020-02-11 22:51:37 +01:00
Badlop 9d51b80051 Remove opt_type, as ejabberd expects it to be in ejabberd_options (#284) 2020-02-03 18:25:34 +01:00
Badlop f32bb792bc Update copyright to 2020 (processone/ejabberd#3149) 2020-01-29 11:38:28 +01:00
Badlop 0ab2007a3a mod_post_log Warning: undefined callback function mod_options/1 #283 2019-11-22 12:38:43 +01:00
Evgeny Khramtsov 75129ec0bc Add mod_isolation
The source was at https://gist.github.com/zinid/2525b45610422838c87b88f2847f9bfe
2019-11-10 19:13:10 +03:00
Holger Weiss 20fb74c363 mod_spam_filter: Update code for ejabberd >= 19.08
Update mod_spam_filter to use ejabberd's new configuration parsing
infrastructure.

Closes #280.
2019-11-07 01:08:10 +01:00
Badlop 20ba631f3e Fix modules to work when WebAdmin has custom base URL (#3043) 2019-10-02 13:14:33 +02:00
Badlop b7222c8828 Fixed problems detected with Xref and a few more Dialyzer (#277) 2019-08-28 16:09:37 +02:00
Badlop b8c42a4766 Fix errors detected with Dialyzer (#277) 2019-08-23 12:59:53 +02:00
Badlop 857d350a71 Update some modules to work with ejabberd 19.08 (#277) 2019-08-19 20:42:03 +02:00
Badlop 4753268b5f Update copyright of other modules 2019-07-17 10:45:29 +02:00
Badlop a4465fbeaa Update copyright of scram2.erl to 2019 (thanks to Neustradamus) 2019-07-15 18:31:38 +02:00
Holger Weiss f2faca6dc9 mod_spam_filter: Fix unregistration of global hook
Don't unregister the 'reopen_log_hook' if the module is loaded for
another host.
2019-07-14 15:10:11 +02:00
Holger Weiss b410f64f33 mod_spam_filter: Fix previous simplification 2019-07-13 15:01:07 +02:00
Holger Weiss 7c1b83941c mod_spam_filter: Apply small code simplification 2019-07-13 14:43:16 +02:00
Holger Weiss 2a7ae832a8 mod_spam_filter: Fix function specification 2019-07-12 21:11:21 +02:00
Holger Weiss 4af4244975 mod_spam_filter: Remove unused macro 2019-07-12 14:29:13 +02:00
Evgeny Khramtsov 9404980f0d Use new validator in mod_deny_omemo 2019-06-21 21:46:24 +03:00
Badlop 0db6868aa6 Fix wrong encoding of filenames in mod_log_chat (#275) 2019-06-05 13:14:03 +02:00
Mickaël Rémond fc2dfb0f1d
Better error handling 2019-05-17 11:10:41 +02:00
Holger Weiss 48f5cc3b88 mod_default_contacts: Fix configuration example
Thanks to Thomas Leister for reporting the issue.
2019-05-14 20:45:37 +02:00
Holger Weiss 6bf9a45c93 mod_default_contacts: Fix spec file name
Thanks to Thomas Leister for reporting the mistake.
2019-05-14 19:25:39 +02:00
Holger Weiss 4cb537c693 Import mod_default_contacts
Add a module that can be used to auto-add contacts to the user's roster
on registration.
2019-05-14 00:07:23 +02:00
Holger Weiss 5f612b7dab mod_default_rooms: Set empty "rooms" by default
Explicitly specify an empty list of "rooms" in the default configuration
file, just to make configuration slightly more intuitive.
2019-05-12 22:59:31 +02:00
Holger Weiss 694b45474c mod_default_rooms: Fix example in documentation
The @HOST@ keyword is not supported.
2019-05-12 22:42:10 +02:00
Badlop b07766ab93 Include Content-Type header in POST requests (#273) 2019-05-07 20:11:10 +02:00
Holger Weiss 689f526cea mod_spam_filter: Register 'reopen_log_hook'
Don't forget to register the 'reopen_log_hook' for reopening the spam
dump file.

Thanks to Nico Wellpott for reporting this issue.
2019-05-05 21:49:34 +02:00
Holger Weiss 34bf1a7d6c mod_spam_filter: Add some debug output
Log a [debug] line when the spam dump file is opened or closed.
2019-05-05 21:33:53 +02:00
Holger Weiss 0bf94ba446 mod_spam_filter: Update type specification 2019-04-25 18:27:11 +02:00
Holger Weiss 92fadcdf4e mod_spam_filter: Auto-create dump directory
If the directory holding the specified "spam_dump_file" doesn't exist,
create it on startup.
2019-04-25 18:23:17 +02:00
Holger Weiss fe121057f2 mod_spam_filter: Don't create wrong dump file name
Don't attempt creation of the dump file while checking the validity of
the "spam_dump_file" option, as the @HOST@ keyword can't be expanded at
this point.

Thanks to Nico Wellpott for reporting this issue.
2019-04-25 17:53:42 +02:00
Holger Weiss cb0a14c89a mod_spam_filter: Check whether module is loaded
If the API commands are called with 'global' instead of a host name,
only run the command for those virtual hosts that actually have the
module loaded.
2019-04-25 11:08:32 +02:00
Holger Weiss 4476c95f14 mod_spam_filter: Silence reload_spam_filter_files
Don't let the reload_spam_filter_files command spit out text on success.
2019-04-25 10:05:47 +02:00
Holger Weiss a0a9aaa1e0 mod_default_rooms: Don't depend on mod_register
The mod_default_rooms module doesn't just work in conjunction with
mod_register, as bookmarks are also auto-added for users registered via,
for example, the "ejabberdctl register" command.  Update the code and
the documentation accordingly.

Thanks to Licaon_Kter for noting this.
2019-04-24 19:45:38 +02:00
Holger Weiss 4e15dcbd7d mod_spam_filter: Clarify "spam_dump_file" docs
Mention that the spam messages will be dumped in raw XML format, and
that a <delay/> tag is added.
2019-04-24 19:36:23 +02:00
Holger Weiss 6fc4fccfbb mod_spam_filter: Adjust docs regarding file paths
The specified file paths don't actually have to be absolute path names.
2019-04-24 19:22:36 +02:00
Holger Weiss 362c866862 mod_spam_filter: Add "spam_dump_file" option
If the new "spam_dump_file" option is used, messages classified as spam
will be written to the specified file path.
2019-04-24 19:19:15 +02:00
Holger Weiss e26ea15d7f Merge remote-tracking branch 'processone/pr/271'
* processone/pr/271:
  Stop the OMEMO hate
2019-04-24 15:13:02 +02:00
Licaon_Kter 86f90153c4
Stop the OMEMO hate 2019-04-24 12:26:50 +03:00
Holger Weiss c1591030b0 mod_spam_filter: Don't filter MUC messages 2019-04-15 00:15:10 +02:00
Holger Weiss 4787e890af mod_spam_filter: Fix typo in log message 2019-04-10 01:49:39 +02:00
Holger Weiss 05a5f002a3 mod_spam_filter: Return error for presence spam
Also return an error stanza for rejected presence spam, not just for
rejected messages.
2019-04-10 01:34:19 +02:00
Holger Weiss e6249c41e2 mod_spam_filter: Also log spam recipient
Also log the recipient of rejected stanzas, not just the sender.
2019-04-10 01:12:20 +02:00