Commit Graph

425 Commits

Author SHA1 Message Date
Ville Ranki 832ae1615d
Merge pull request #178 from EnigmaCurry/fix_blob_images
Fix upload_image for blobs
2021-10-18 10:17:50 +03:00
EnigmaCurry d3c337e50c Fix upload_image for blobs 2021-10-17 23:19:49 +00:00
Ville Ranki cc65d630a0
Merge pull request #174 from aspacca/fix-upload_and_send_image-error-msg
Fix upload_and_send_image error message
2021-09-14 13:52:16 +03:00
Andrea Spacca 1e9ac6035f Fix upload_and_send_image error message 2021-09-14 08:51:03 +02:00
Ville Ranki 2d19affee8 Fixes to users, better room listing in bot module. 2021-09-12 14:03:14 +03:00
Ville Ranki e1e162643d More fixes to users.. i can't use break it seems 2021-09-11 23:54:09 +03:00
Ville Ranki fb3046b11e Fixes and tuning to users module 2021-09-11 23:21:19 +03:00
Ville Ranki 87aa703512 users module: add user classification and stats commands. 2021-09-11 22:35:41 +03:00
gammafn 9b5ac99a40 Merge branch 'upload-image-and-avatar' 2021-09-01 10:12:47 -05:00
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
gammafn bdc9713a14 Add avatar support to !apod
Check if is_admin before allowing avatar
2021-08-24 23:03:28 -05:00
gammafn 074bd36451 Support room avatar, and refactor image uploading
Rationale:

Refactor caching into get_uri_cache for use in both upload_and_send and
in module-specific uses. I don't want to also make "uplaod_and_set_avatar".
2021-08-22 16:10:56 -05: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