Commit graph

37 commits

Author SHA1 Message Date
Thomas Lindner 344c9b0639 [misc] Migrate to TortoiseORM 2023-04-01 17:35:27 +02:00
missytake c468543fa5 [tests] Rename asyncclient into client 2023-04-01 15:32:10 +02:00
missytake f829bf8694 [tests] Get rid of non-async test client 2023-04-01 15:30:42 +02:00
missytake 16c4ebc84b [tests] Ported telegram tests to async 2023-04-01 15:23:33 +02:00
missytake f0e15f1d37 [tests] Ported mastodon tests to async 2023-04-01 15:13:50 +02:00
missytake b876e645de [tests] Ported email tests to async 2023-04-01 14:57:41 +02:00
missytake 6b6a2777bb [tests] Ported other hood webAPI tests to async 2023-04-01 14:51:32 +02:00
missytake c1b8ad2984 [tests] Disable trio backend for AnyIO 2023-04-01 14:40:02 +02:00
missytake 48e3b6f6bc [tests] Port first test to async #23 2023-04-01 14:18:24 +02:00
missytake 64715f5aa5 [mastodon] Also dismiss notifications which have no status 2023-03-19 20:29:25 +01:00
missytake f7d9baa8a3 [mastodon] Fix: boosting public toots instead of posting them as own 2023-03-19 20:27:48 +01:00
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