Commit Graph

364 Commits

Author SHA1 Message Date
Ville Ranki 7cca9b7688
Replace tab with spaces to fix the syntax 2021-08-31 12:29:33 +03:00
Ville Ranki bb8c5196e8
Merge pull request #171 from fredronnv/master
Bugfix: filesize required for AsyncClient upload
2021-08-31 12:22:56 +03:00
Ville Ranki 56586708d5
Merge pull request #169 from aspacca/tautulli-bump
fix for new version of tautulli
2021-08-31 12:16:30 +03:00
Ville Ranki 58b1fc96f6
Merge pull request #168 from davralin/master
Update github actions, add dependabot to handle future updates
2021-08-31 12:16:06 +03:00
Fredrik Rönnvall 0c122dda12 Bugfix: filesize required for AsyncClient upload 2021-08-31 07:20:32 +02:00
Andrea Spacca 1ef7344b4f fix for new version of tautulli 2021-08-21 17:12:31 +02:00
davralin c49e8d0826
Update github actions, add dependabot to handle these updates in the future 2021-08-21 01:32:37 +02:00
Ville Ranki 67d239a045
Merge pull request #166 from davralin/master
Add github-action for building container-image and publish it to github-container-repo.
2021-08-09 00:01:37 +03:00
Ville Ranki d62e6d8079
Merge pull request #162 from pintman/spaceapi
added module space api
2021-08-09 00:00:46 +03:00
davralin c9bc69549c
Build and push to github registry 2021-08-03 13:33:24 +02:00
davralin 2011ecb1f6
Test 2021-08-03 12:13:34 +02:00
Marco Bakera da1d899115 spaceapi: doc for settings 2021-08-03 10:57:03 +02:00
Marco Bakera 5c8b0f1f46 spaceapi: add documentation 2021-08-03 10:52:53 +02:00
Ville Ranki 32cf34f625
Merge pull request #163 from vranki/license
chore(LICENSE): Add copyright attributes
2021-08-02 22:44:00 +03:00
Ville Ranki 62996848a8
Merge pull request #165 from xPMo/mumble
Add !mumble
2021-08-02 22:43:05 +03:00
gammafn b0f96911c3 Add !mumble 2021-08-02 14:33:50 -05:00
Ville Ranki 20539782e5
Merge pull request #164 from xPMo/master
!sethelp info and more
2021-08-02 20:19:03 +03:00
gammafn 2fe571c665 Use "- " for list instead of second newline 2021-07-28 15:32:30 -05:00
gammafn 373ed1331d Add !sethelp info 2021-07-28 15:29:34 -05:00
Dylan Hackworth b144e5c07a
chore(LICENSE): Added copyright attributes 2021-07-24 08:42:33 -05:00
Marco Bakera 99dd2858af added module space api
Allows for polling the open/closed status of hackspaces supporting the SpaceAPI.
2021-07-21 11:56:16 +02:00
Ville Ranki 3e2ef459fe Don't cache RASP image as it changes in same url 2021-07-19 22:44:32 +03:00
Ville Ranki f66c76e09c Option not to cache uploaded image 2021-07-19 22:44:10 +03:00
Ville Ranki 40aa62282d Use requests library instead of urllib. Fixes #160 2021-07-19 00:03:48 +03:00
Ville Ranki 1291e324ce Handle sync error and quit if initial sync fails 2021-07-18 22:50:34 +03:00
gammafn 549fa08918 bot ping: send_text is a bot attribute, not a client attribute 2021-06-06 10:10:50 -05:00
Ville Ranki c7697f2994 Nicer and more correct error on image failure 2021-05-27 23:36:18 +03:00
Ville Ranki 4c3a21e562 Added RASP module 2021-05-27 23:35:53 +03:00
Ville Ranki 0361814459 Added some power level checks 2021-05-20 10:03:19 +03:00
Ville Ranki c4eeae2e7b \!room tombstoning support, dont send blank urls (fixes #156), \!loc quotes (fixes #152), \!user (fixes #144 ), better explanation (fixes #151) 2021-05-19 23:01:04 +03:00
gammafn ff281e0e2e !bot reload: update message when all modules are loaded 2021-05-17 16:21:13 -05:00
gammafn 1800b0c0fc Simplify !bot ping by having bot return await room_send() 2021-05-17 16:20:41 -05:00
Andrea Spacca a9681e04d7 url_or_bytes as more explaining param of upload_image 2021-05-15 21:55:10 -05:00
Andrea Spacca d553750941 idiomatic upload_image with raise 2021-05-15 21:55:10 -05:00
Andrea Spacca 4e42b14e50 fix cache for blob 2021-05-15 21:55:10 -05:00
gammafn c1dff18c60 Correct note on names and aliases 2021-05-12 13:39:48 -05:00
gammafn 7fc86fc30c Add missing bot long help 2021-05-12 06:43:22 -05:00
xPMo 7cdecaf4f6
Merge pull request #153 from xPMo/upload-send-uri
Change bot.upload_and_send() and !apod
2021-05-12 05:43:41 -05:00
gammafn 8888a6265c Add uricache to readme, and move bot owner commands to a subheading 2021-05-11 12:56:32 -05:00
gammafn 0a95377893 Add !bot uricache [view | clean] command 2021-05-11 12:52:50 -05:00
gammafn 44bd02d3b4 Fix bot.upload_and_send()
- Move matrix_uri_cache idea from apod into global bot, persist on restart
- TODO: add "!bot uricache [ view | clean ]" command
2021-05-11 12:52:40 -05:00
xPMo 6b9bd1620d
Merge pull request #149 from xPMo/bot-logs
Print recent logs with !bot logs
2021-05-08 19:18:49 -05:00
gammafn 47c1c4d0ec Add [count] arg to !bot logs 2021-05-08 19:18:29 -05:00
gammafn e1e2613845 Add !bot logs to readme 2021-05-06 16:12:20 -05:00
gammafn 809df07c14 !bot logs: Codeblock, argument to match against module name 2021-05-06 16:09:17 -05:00
gammafn 528a596d68 Split find_and_create_room out of send_msg 2021-05-06 16:08:49 -05:00
Ville Ranki d212dcf2bd
Merge pull request #150 from aspacca/patch-1
Send only text notification without art
2021-05-06 11:20:29 +03:00
Andrea Spacca 52bbc4ffca
Send only text notification without art
if `entry["art"]` is empty `pms.get_image` will return `None` and previous implementation would return without sending any notification
Now at lest the text notification without image will be sent
2021-05-06 10:19:39 +02:00
gammafn 9fefb730a9 Replace traceback.print_exc() with logger.exception() 2021-05-04 23:56:06 -05:00
gammafn 321a20d721 Add !bot logs
Partial solution to #48.
2021-05-04 23:28:44 -05:00