Commit graph

26 commits

Author SHA1 Message Date
missytake 0504d3083f [mastodon] Fix load order of API routers 2023-03-19 19:20:09 +01:00
ogdbd3h5qze42igcv8wcrqk3 d897f369f7 [mastodon] Fix delete endpoint for mastodon 2023-03-19 18:36:15 +01:00
missytake 0f4b25fcde [tests] Make Mastodon tests a bit more readable 2023-03-19 18:36:15 +01:00
missytake 4f96dfbee7 [mastodon] Deprecate GET mastodon route 2023-03-19 18:36:15 +01:00
missytake afd0894952 [mastodon] Return instance name in read_public API 2023-03-19 18:36:15 +01:00
missytake f0757619a7 [tests] Test mastodon_read route 2023-03-19 18:36:15 +01:00
missytake 90469a052a [tests] Replace single quotes with double quotes 2023-03-19 18:36:15 +01:00
missytake 16c325a9cb [tests] Test mastodon_delete route 2023-03-19 18:36:15 +01:00
missytake b49c4767a0 [mastodon] Remove redundant error class 2023-03-19 18:36:15 +01:00
missytake a61c48e99e [mastodon] Fix tests 2023-03-19 18:36:15 +01:00
ogdbd3h5qze42igcv8wcrqk3 dfd17aa27c [mastodon] Fix locking issue with synchronous Mastodon.py and replace last_seen with notification_dismiss 2023-03-19 18:36:15 +01:00
missytake a548c2febc [tests] Testing the mastodon_create API endpoint 2023-03-19 18:36:15 +01:00
missytake f533efee4f [mastodon] Return 422 error for invalid input when creating mastodon bot 2023-03-19 18:36:15 +01:00
missytake cb88c24e2e [mastodon] Change mastodon_create to accept json instead of URL parameters 2023-03-19 18:36:15 +01:00
missytake 36638b1c64 [mastodon] New style: double quotes instead of single quotes 2023-03-19 18:36:15 +01:00
missytake fb1e88ab03 [mastodon] Moved mastodon module to new backend directory 2023-03-19 18:36:15 +01:00
missytake 37f7b98c67 [mastodon] Import mastodon API correctly 2023-03-19 18:36:12 +01:00
missytake 07bc5a2686 [mastodon] First approach to a mastodon bot 2023-03-19 18:34:57 +01:00
Thomas Lindner 767c92000b [misc] Add some type annotations 2023-03-19 01:15:37 +01:00
Thomas Lindner 13c20ca245 [misc] Use double-quotes (black default) 2023-03-18 18:47:02 +01:00
Thomas Lindner fd09b381a6 [misc] Add some type annotations 2023-03-18 18:42:59 +01:00
Thomas Lindner 35eff0c416 [core] Don't read configs at the module top-level 2023-03-18 18:18:44 +01:00
Thomas Lindner 82129b958e [tests] Remove twitter tests 2023-03-18 16:49:01 +01:00
Thomas Lindner 20fdb1ae11 [tests] Prevent pytest from hanging 2023-03-18 16:49:01 +01:00
Thomas Lindner 4c110e2c71 [misc] Cleanup python packaging 2023-03-18 16:49:01 +01:00
Thomas Lindner fb543cffb9 [misc] Move things to the right place 2023-03-18 16:48:59 +01:00