gammafn
24e4b42986
Use a shorter alias list
...
With my !eval module, the "- {alias} => {name}" format was really long,
so here I invert the dictionary to shorten it up considerably.
2021-04-24 16:55:30 -05:00
gammafn
86b1144b8c
Add long helps for some commands
2021-04-24 12:38:28 -05:00
gammafn
4e1787aa14
Add "!sethelp msg true" to get !help to respond to only the user.
2021-04-24 12:38:00 -05:00
gammafn
77d30c6a82
Add !help [modulename]
2021-04-23 14:05:14 -05:00
Ville Ranki
b6774f15a4
Merge pull request #141 from aspacca/master
...
Adding giphy, gfycat and Tautulli bot, splitted handling for image upload and send
2021-04-23 12:42:30 +03:00
Andrea Spacca
e528b9600b
cr fix
2021-04-23 11:01:50 +02:00
Andrea Spacca
4af5825bff
fix bug
2021-04-22 15:39:44 +02:00
Andrea Spacca
030ec5d779
New bots (giphy, gfycat, tautulli), changes for upload and send image with url or blob content
2021-04-22 09:46:19 +02:00
gammafn
9d852b6735
Add !bot import|export
2021-04-21 21:40:59 -05:00
gammafn
1c58f33c79
Make short response all one line
...
Fixes #138
2021-04-17 16:14:41 -05:00
Ville Ranki
ef061deaa1
Store indices of flights, not just count to make sure all landed flights are notified. Fixes #136
2021-04-14 23:02:50 +03:00
Ville Ranki
2cf1f75ec9
Lie user-agent for google. Seems to fix Youtube titles. Thank Google for this nonsense!
2021-04-14 22:20:37 +03:00
gammafn
669530a8c8
Fall back to video['uuid'] if video['url'] doesn't exist
2021-04-12 12:37:20 -05:00
Ville Ranki
5ee81f4f0f
Fix peertube init when no config set
2021-04-11 23:11:07 +03:00
Ville Ranki
eff9c4153c
Added Peertube (pt) module
2021-04-11 23:01:23 +03:00
Ville Ranki
8b655663b5
Fix flog's live mode
2021-04-10 23:22:11 +03:00
Ville Ranki
166757674b
flog module changed to use glidernet log api
2021-04-10 00:31:54 +03:00
Ville Ranki
35593de3b9
Url: support blacklisting certain urls (to work around youtube suckiness)
2021-04-08 20:47:49 +03:00
gammafn
f0aa5530db
docstring for parse_api_response
2021-04-06 12:54:09 -05:00
gammafn
0e69efcc11
Rewrite !wa to use html output
2021-04-06 12:39:38 -05:00
gammafn
b6e10928f0
Rewrite wa:
...
- Work around upstream bug when result has only one pod
- Add !wafull alias to output all result
2021-04-05 13:45:15 -05:00
gammafn
6ce7e36b18
Add !alias commnd to user-alias modules
2021-03-30 11:53:06 -05:00
gammafn
87dd319385
Add add_module_aliases convenience function
2021-03-30 11:04:43 -05:00
Konstantinos
6913fe7576
KeyError on module welcome_serverfix
2021-02-28 07:47:36 +01:00
Ville Ranki
a84db65d93
Refactored Github asset management code, changed to use domains and color-coded labels. See README for updated info.
2021-02-07 23:43:37 +02:00
Ville Ranki
090ccc3011
Added ghproj github project managerment module.
2021-02-04 21:34:05 +02:00
Dylan Hackworth
6640fdeb70
Revisioned Module Listing
...
It's a little spammy
2021-01-23 14:16:21 -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
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
b0d2ed5fd2
Only talk to external services when enabled explicitly
2020-11-15 21:02:10 +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
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
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
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
7bf0ff5e13
Allow welcome behavior to be configured via chat commands
2020-09-14 23:35:47 -04: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
Andreas 'count' Kotes
e2f9daa00b
Don't enable cmd module by default
2020-07-15 23:06:37 +02:00
Ville Ranki
11f2917d49
Url: Use og:title meta property if found. Fixes #90 .
2020-07-13 23:06:55 +03:00
Tatu Wikman
76667548a9
make sure title exists before trying to use it, fixes #83
2020-06-18 14:17:58 +03:00
Jackson Egan
6c8dd0ed96
Add time command to show datetime and timezone that the cron command will use.
2020-05-26 13:02:32 -04:00
Ville Ranki
d59ea52204
flog - allow checking any field's log
2020-05-03 23:39:27 +03:00
Ville Ranki
e4a3022c82
Added flog module
2020-05-03 23:27:39 +03:00
Ville Ranki
da0ac100e3
Added timeout to url module. Fixes #79
2020-04-25 22:51:39 +03:00
Dylan Hackworth
7cb3723b53
modules/room: Added help
2020-04-01 00:46:34 -05:00
Dylan Hackworth
a49ae6ce63
modules/room: Polished
2020-04-01 00:32:17 -05:00
Dylan Hackworth
2289aa335f
modules/room: Added kicked command
2020-03-31 23:58:04 -05:00
Dylan Hackworth
98ba1bc6c0
modules/room: Added banned command
2020-03-31 23:56:48 -05:00
Dylan Hackworth
3e52dc516f
modules/room: Added joined command
...
Signed-off-by: Dylan Hackworth <dhpf@pm.me>
2020-03-31 23:54:47 -05:00
Dylan Hackworth
664dd66dd3
modules/room: Added servers command
...
Signed-off-by: Dylan Hackworth <dhpf@pm.me>
2020-03-31 23:54:03 -05:00
Dylan Hackworth
5541f6b6b8
Room module init
...
Signed-off-by: Dylan Hackworth <dhpf@pm.me>
2020-03-31 23:53:40 -05:00
Ville Ranki
2607afcde2
Some mxma specific tuning, fixes #71 . Added some debugging to slow polling services.
2020-03-30 22:04:41 +03:00
Ville Ranki
6a9a1f845c
Merge pull request #65 from dhghf/cmd-refactor
...
CMD module refactor
2020-03-30 21:36:38 +03:00
Dylan Hackworth
9b00214dd3
Command names instead of numbers
2020-03-29 17:04:10 -05:00
Ville Ranki
2134048957
Merge branch 'master' of github.com:vranki/hemppa
2020-03-29 23:50:57 +03:00
Ville Ranki
87998001f5
Added mxma module
2020-03-29 23:50:33 +03:00
Ville Ranki
533bcd029a
Merge pull request #67 from ancho/feature/more-debug-apod
...
add more debugging output to apod module uploading a file
2020-03-29 20:57:00 +03:00
Ville Ranki
48d8298828
Add support to ignore m.text messages and fix url module to use this. Fix url not saving message type.
2020-03-29 20:34:57 +03:00
Ville Ranki
e3ad073fad
Added wolfram alpha module
2020-03-28 23:08:21 +02:00
Ville Ranki
3eeadb8956
A bit more tighter help
2020-03-28 22:06:39 +02:00
Ville Ranki
18fea2501c
Allow setting message type in \!url
2020-03-28 22:04:15 +02:00
Frank Becker
d6a37754cd
handle image upload failure
2020-03-26 19:43:59 +01:00
Frank Becker
70c1a0bd66
retry upload url if hdurl fails
2020-03-26 19:35:17 +01:00
Frank Becker
5de192097a
add more debugging output to apod module uploading a file
2020-03-21 11:02:24 +01:00
Dylan Hackworth
4c693205a7
CMD module refactor
2020-03-20 15:32:56 -05:00
Dylan Hackworth
edf5c3d6fe
#63 patch
2020-03-19 15:27:49 -05:00
Ville Ranki
2e78289a2b
Merge pull request #60 from ancho/feature/nasa-apod-module
...
apod send order title -> picture -> description
2020-03-18 20:09:12 +02:00
Frank Becker
fbf7932c4a
remove original-url from explanation. add date to title
2020-03-17 21:44:04 +01:00
Dylan Hackworth
6814cae5ca
> Except in cron module to allow running timed commands.
2020-03-17 12:40:41 -05:00
Frank Becker
9e2fb2ba6a
apod send order title -> picture -> description
2020-03-16 07:37:52 +01:00
Frank Becker
58c12ebae8
apod split messages for better irc support
2020-03-15 19:30:46 +01:00
Frank Becker
e537bbc84d
remove unsupported media type message
2020-03-15 18:56:11 +01:00
Frank Becker
1ad251d184
add apod bot owner command apikey
2020-03-15 18:49:24 +01:00
Frank Becker
facec3111d
add apod bot commands help, stats and clear
2020-03-15 18:11:00 +01:00
Frank Becker
fb10d73f61
add support to query astronomy picture by date and cache all uploads
...
* !apod 2020-03-04
2020-03-15 17:38:17 +01:00
Frank Becker
967ab33528
added Astronomy Picture of the Day module
...
* upload astronomy picture of the day to the room
* cache latest response
* use own api key by setting environment variable
APOD_API_KEY (default: DEMO_KEY)
2020-03-14 21:10:27 +01:00
Ville Ranki
55d9c55948
More info link text
2020-02-27 22:28:57 +02:00
Ville Ranki
77bcbf0862
Simple html stripping
2020-02-27 22:28:42 +02:00
Ville Ranki
72a9595122
Added cmd command.
2020-02-27 22:20:13 +02:00