553 Commits

Author SHA1 Message Date
Badlop
2be66bb69f Provide another way to install mod_pottymouth deps, works better for me 2019-01-23 11:40:10 +01:00
Badlop
5c94639bf2 mod_irc: Disable spurious vCard->WHOIS requests (thanks to Kousu)(#874)
It makes sense that vCard in XMPP roughly maps to WHOIS in IRC,
but there is no code that actually handles receiving WHOISes properly:
they just get passed through as plain messages coming from user!ircserver@irc.xmppserver.tld.
I suppose sometimes you want to manually be able to run a WHOIS and see the results,
so I don't want them banned entirely, but I don't want them on each run.

Sending spurious WHOISes pisses off Xabber, which overenthusiastically sends "get vCard"
IQ stanzas on every single presence change (even "unavailable"); this has the horrible
side effect of spawning a huge number of private chats with users I have never talked to,
and buzzing my phone uncontrollably for a good minute, whenever I join a channel with more
than 50 people in it, and the same every time someone's connection drops.

Disabling this scratches an itch for me and patches over what is arguably Xabber's problem,
but in fact, this code was already half-disabled: *even though it sends IRC commands* it
returns ?ERR_FEATURE_NOT_IMPLEMENTED.  Was this an oversight?
2019-01-21 14:55:31 +01:00
Holger Weiss
cfad261cf4 mod_message_log: Update for ejabberd 18.12 2018-12-10 12:17:19 +01:00
Badlop
774cc46481 Use p1_rand:bytes instead of crypto to work in supported Erlang versions (#243) 2018-11-07 13:33:54 +01:00
Badlop
18be432fdf Fix crash using Conversations requesting xml/ (#261)
Conversations doesn't set Priority, in that case assume it's zero:
   If no priority is provided, the processing server or client MUST
   consider the priority to be zero ("0").
   https://tools.ietf.org/html/rfc6121#section-4.7.2.3
2018-11-07 13:00:33 +01:00
Badlop
1fcf7b5cb1 Provide meaningful Show when user is online with no Show set (#260) 2018-10-19 18:08:18 +02:00
Badlop
a43bc6f794 Update mod_filter to work with recent ejabberd 2018-09-18 11:53:25 +02:00
Badlop
1a6284efa9 Add documentation, default configuration, description 2018-09-18 11:53:09 +02:00
Badlop
95ef06b768 Copy mod_filter.erl from https://github.com/knobo/mod_filter 2018-09-18 11:38:10 +02:00
Holger Weiss
954fb94017 mod_message_log: Replace outdated function calls 2018-09-10 12:07:03 +02:00
Badlop
4ebf99a1d1 Add default ejabberd_auth_http configuration file 2018-09-06 13:00:59 +02:00
Badlop
97de583107 Check ejabberd_auth_http options names and values 2018-09-06 12:59:43 +02:00
Badlop
8978f38c22 Configuration and examples in mod_rest should match 2018-09-05 12:07:42 +02:00
Badlop
2627182cdb Don't call directly mod_mam in mod_rest, instead run a hook 2018-09-05 12:06:14 +02:00
Badlop
b130567e16 Update mod_rest to work with recent ejabberd's jid instead of jlib (#257) 2018-09-05 12:05:48 +02:00
Badlop
f20d6239db Fix mod_webpresence to work with recent ejabberd (#232) 2018-08-21 12:27:44 +02:00
Holger Weiss
b7b6af8315 mod_deny_omemo: Also reject actual OMEMO messages
Users might send/receive OMEMO messages using sessions established in
the past.  Let mod_deny_omemo also reject those.
2018-08-17 02:02:47 +02:00
Badlop
7191ddd6f3 Update to compile with recent ejabberd versions 2018-08-08 13:11:57 +02:00
Badlop
e138359c7f Update modules for ejabberd 18.06 lack of jlib.hrl and ejabberd.hrl (#251) 2018-07-13 16:18:34 +02:00
Evgeny Khramtsov
562fb1640d
Merge pull request #253 from ytkang/master
Fix mod_pottymouth install error about issue #252
2018-07-11 12:49:11 +03:00
ytkang
8045f4c60e Fix mod_pottymouth install error 2018-07-11 17:46:45 +09:00
Paweł Chmielowski
017ce87198 mod_rest don't really need ejabebrd.hrl 2018-07-02 10:07:44 +02:00
Badlop
06dbe80c65 Add mod_options callback function (#250) 2018-06-27 11:38:17 +02:00
Evgeniy Khramtsov
acc32abf17 Add mod_irc.hrl 2018-06-20 11:51:31 +03:00
Evgeniy Khramtsov
de4e42c20d Add SQL schemas for mod_irc 2018-06-20 11:47:48 +03:00
Evgeniy Khramtsov
65575478a3 Move here mod_irc module from the main ejabberd repo 2018-06-20 11:38:22 +03:00
Badlop
721ca125ea Update to work with recent ejabberd
TODO:
- Registration does not support enabling/disabling different features
- Avatar does not work at all
- Check all he configurable options are really used
2018-04-28 11:27:31 +02:00
Holger Weiss
cd54f70943 mod_s2s_log: Add mod_options/1 callback 2018-04-07 21:47:33 +02:00
Holger Weiss
fa5c601325 mod_s2s_log: Remove outdated comments 2018-04-07 21:40:54 +02:00
Holger Weiss
d37bb1cd2d mod_message_log: Update init() parameter 2018-04-06 00:00:11 +02:00
Holger Weiss
435d0bcc3d mod_message_log: Update gen_mod:get_opt() call 2018-04-04 02:04:55 +02:00
Holger Weiss
9c3943b703 mod_message_log: Use global process
Start only one mod_message_log process for all virtual hosts.
2018-04-04 01:55:35 +02:00
Holger Weiss
450f2eb5f4 mod_message_log: Fix logging of offline message 2018-04-04 01:44:13 +02:00
Holger Weiss
ef7c92233d mod_message_log: Add copyright notice 2018-04-04 01:36:05 +02:00
Holger Weiss
79a804ac3b Update mod_message_log to work with ejabberd 18.x 2018-04-04 01:34:53 +02:00
Holger Weiss
7d2a7aa418 mod_deny_omemo: Fix hook_result() type 2018-03-27 00:21:35 +02:00
Holger Weiss
89c5bc0546 mod_deny_omemo: Fix matching of devicelist queries
Devicelist queries don't include an <item/> element.
2018-03-26 01:35:36 +02:00
Holger Weiss
d783cc7cca mod_deny_omemo: Fix node deletion 2018-03-26 01:08:40 +02:00
Holger Weiss
d84204bdb8 Import mod_deny_omemo
Add a module that can be used to prevent OMEMO sessions from being
established.
2018-03-19 22:58:32 +01:00
Badlop
494ba6f941 Fix url path in request_handlers example configs 2018-02-15 17:04:53 +01:00
Badlop
9fe5f383dc Fix code to support sending iq and presence, not only message 2018-02-15 17:01:05 +01:00
Badlop
fc40a38780 Fix some stats where host is a string but tables store as binary 2018-01-23 23:54:09 +01:00
Badlop
9a14b7f7f7 Fix to work with mod_stats2file in recent ejabberd 2018-01-23 20:59:32 +01:00
Badlop
74e068d91c Fix typo in previous commit 2018-01-23 20:30:58 +01:00
Badlop
aa6519209e Updated to fix traffic stats 2018-01-12 11:57:30 +01:00
Badlop
4d3acc1637 Updated to fix iq:version stats 2018-01-11 20:05:38 +01:00
Badlop
e99866d835 Fixed stats: login, logout, accounts registered and deleted (#235) 2018-01-11 00:18:39 +01:00
Badlop
babc6213f9 Update mod_grafite to start correctly in recent ejabberd (#234) 2018-01-10 16:51:59 +01:00
Badlop
156331c123 Change proposed to update module to last ejabberd_auth API (#228, #230) 2018-01-03 17:22:49 +01:00
Evgeniy Khramtsov
6a4b9a08d5 Update mod_s2s_log to work with ejabberd 17.x 2017-10-11 11:19:37 +03:00