Commit Graph

351 Commits

Author SHA1 Message Date
Ville Ranki c4ebafc1e9
Merge pull request #117 from dylhack/optional-empty-rooms
Added LEAVE_EMPTY_ROOMS env var
2021-01-23 22:00:33 +02:00
Dylan Hackworth 6722fd01a4
Added LEAVE_EMPTY_ROOMS env var 2021-01-23 13:41:24 -06:00
Dylan Hackworth a3692d2646
Merge branch 'join-on-invite-patch' into dylhack-master 2021-01-23 13:29:47 -06:00
Dylan Hackworth f27d0af90f
Revisioned Join on Invite env var 2021-01-23 13:23:48 -06:00
Ville Ranki dcc9049a89 Dont spam streaming, even in debug output 2020-12-20 21:42:42 +02:00
Ville Ranki e7b35d9c55 Moved image upload code to shared function in bot.py. Removed the original urls for less spam. 2020-12-20 21:42:18 +02:00
Ville Ranki e55af556ae Wolfram Alpha works again. Fixes #114. 2020-12-17 22:07:11 +02:00
Ville Ranki 9b6d8efaf7 Lie user agent to fix Youtube. Fixes #115. 2020-12-17 21:50:17 +02:00
Ville Ranki 19aaa1a546 Disabled a few modules by default, added docs and scripts for running locally. 2020-11-25 22:09:18 +02:00
Ville Ranki cfe303d654 Fixes 2020-11-24 23:02:47 +02:00
Ville Ranki b4441964ae Printing: Allow setting paper size. Documentation enhancements. 2020-11-24 23:02:39 +02:00
Ville Ranki 5876d8bc5b Added printing module 2020-11-23 00:20:09 +02:00
Ville Ranki 7fcd4fd5bf Bump base image version, add cups stuff 2020-11-23 00:19:43 +02:00
Ville Ranki 578ec4908e Log when all modules started or stopped 2020-11-23 00:19:23 +02:00
Ville Ranki ab04436e11
Merge pull request #111 from berlincount/missing_bs4
Re-add url dependency that went missing
2020-11-15 22:35:52 +02:00
Andreas Kotes 230d8c24df
Re-add url dependency that went missing 2020-11-15 21:34:21 +01:00
Ville Ranki 0dafd62a61
Merge pull request #110 from berlincount/poll_only_enabled
Only talk to external services when enabled explicitly
2020-11-15 22:26:50 +02:00
Andreas Kotes 0839b653f4
Yank unreliable Twitter module and related stuff 2020-11-15 21:24:17 +01:00
Andreas Kotes 0e4a55f77a
Update README about disabled modules 2020-11-15 21:22:15 +01:00
Andreas Kotes b0d2ed5fd2
Only talk to external services when enabled explicitly 2020-11-15 21:02:10 +01:00
Ville Ranki 9e8902f7ab
Merge pull request #109 from berlincount/ssl_support
Allow connecting to SSL endpoints
2020-11-15 22:00:18 +02:00
Tatu Wikman 6c3f2f6d05
Merge pull request #108 from tswfi/url_useragent
[URL] add useragent, fixes #107
2020-11-15 21:25:05 +02:00
Andreas Kotes b403e947ae
Allow connecting to SSL endpoints 2020-11-15 20:03:57 +01:00
Tatu Wikman d48163a058
[URL] add useragent, fixes #107
Follows googlebot useragent convention and afaik follows RFC7231

Do we want bot.owners here also?
2020-11-14 15:32:07 +02:00
Ville Ranki 3cbcbc06c3 Changed Url module timeout and maxsize to get youtube working again 2020-11-04 22:18:34 +02:00
Ville Ranki 39c1b98f88 Added relay module for relaybot functionality 2020-11-04 21:53:23 +02:00
Ville Ranki ea8fd74a85
Merge pull request #104 from tswfi/url/fix_reply_spam
url: don't check urls in reply messages, fixes #80
2020-10-10 22:30:51 +03:00
Ville Ranki 28cfe0916f
Merge pull request #103 from tswfi/url/fix_reading_stream_forever
url: fix reading streaming responses forever, fixes #79
2020-10-10 22:30:41 +03:00
Tatu Wikman d9b9d9483e
url: don't check urls in reply messages, fixes #80 2020-10-10 21:51:39 +03:00
Tatu Wikman b818353885
url: fix reading streaming responses forever, fixes #79 2020-10-10 21:42:53 +03:00
Ville Ranki 2cc98e3524
Merge pull request #102 from tswfi/url/fix_matrix_to_pill_spam
url module: don't spam matrix.to urls, skip edited events, fixes #98
2020-10-10 20:21:52 +03:00
Tatu Wikman 8187bb5478
blacken url module 2020-10-10 20:19:30 +03:00
Tatu Wikman 4bad8fe66d
url module: don't spam matrix.to urls and skip edited messages, fixes #98
Also change a few log levels and skip edited messages completely
2020-10-10 20:15:37 +03:00
Ville Ranki a87b8b5934
Merge pull request #101 from tswfi/url/fix_timeout
Fix timeout definition
2020-10-10 19:45:58 +03:00
Tatu Wikman 905da2fbf7
Fix timeout definition
From: https://github.com/encode/httpx/blob/master/CHANGELOG.md#0150-september-22nd-2020

The verbose httpx.Timeout(5.0, connect_timeout=60.0) style had previously been deprecated in favour of httpx.Timeout(5.0, connect=60.0). It is now fully removed.
2020-10-10 17:19:02 +03:00
Ville Ranki 4ffdb03a24
Merge pull request #99 from Sneagan/feature/welcome
Welcome Feature
2020-09-16 14:48:14 +03:00
Jackson Egan b63c135781 Fix server user detection to prevent spamming existing users. 2020-09-15 10:05:12 -04:00
Jackson Egan b41aaf3c72 Remove vestigial welcome volume mount 2020-09-14 23:53:33 -04:00
Jackson Egan 9c80395bff Add welcome modules ro README 2020-09-14 23:52:12 -04:00
Jackson Egan 7bf0ff5e13 Allow welcome behavior to be configured via chat commands 2020-09-14 23:35:47 -04:00
Ville Ranki a1f1a53a84 Disregard previous - PL50 should be fine. Problem is with IRC bridge. Probably. 2020-09-12 18:13:22 +03:00
Ville Ranki 34b642840a Set admin power level to be more than 50 as that's what bridged users seem to get. 2020-09-12 17:28:25 +03:00
Ville Ranki 6634e98676 Fixed bug that only room admins can use toot per-room 2020-09-12 17:09:51 +03:00
Ville Ranki e372aadd73 Mastodon: Per-room accounts 2020-09-12 16:48:47 +03:00
Jackson Egan d38c8c7b1c Add welcome file 2020-09-10 23:30:16 -04:00
Jackson Egan 9205af74b7 Add welcome bot behavior 2020-09-10 22:31:20 -04:00
Ville Ranki 28db0fedfe Added Mastodon module 2020-08-06 14:23:50 +03:00
Ville Ranki 30178503ca Catch exceptions in jitsi unknown callback 2020-07-21 00:36:03 +03:00
Ville Ranki d74522ec0c More robust detection of jitsi call 2020-07-21 00:24:40 +03:00
Ville Ranki f74f3a6df7 Added jitsi module (fixes #94). Modified dockerfile (fixes #92). 2020-07-21 00:06:17 +03:00