Commit graph

418 commits

Author SHA1 Message Date
missytake 51929f8071 [doc] Fix ending of a file in CONTRIBUTING.md 2023-04-09 10:31:07 +00:00
missytake c773308a28 [doc] Users -> hood admins 2023-04-09 10:31:07 +00:00
missytake 7468344d81 [doc] Document how to implement the frontend for a platform 2023-04-09 10:31:07 +00:00
missytake 061d29325f [mastodon] Dismiss old notifications in the migration script, so they aren't reposted by ticketfrei3 2023-04-08 16:53:21 +00:00
missytake e9eb98dba8 [misc] Migration script creates nice output now 2023-04-08 16:53:21 +00:00
missytake ea58f4a150 [misc] Wrote migration script ticketfrei 2 -> 3 2023-04-08 16:53:21 +00:00
missytake 91e93b3e20 [mastodon] Fix instance load which broke with #17 2023-04-01 21:25:49 +02:00
Thomas Lindner 5bff62487b [misc] Migrate to TortoiseORM 2023-04-01 19:41:53 +02:00
Thomas Lindner 26818da430 [doc] Avoid global angular installation 2023-04-01 19:32:44 +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 ec0abb5e24 [frontend] Add initial mastodon frontend 2023-03-19 18:36:15 +01:00
ogdbd3h5qze42igcv8wcrqk3 d897f369f7 [mastodon] Fix delete endpoint for mastodon 2023-03-19 18:36:15 +01:00
ogdbd3h5qze42igcv8wcrqk3 9c7607b7ca [frontend] Regenerate openapi for frontend due to mastodon API changes 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
ogdbd3h5qze42igcv8wcrqk3 66fff6fd7d [frontend] Fix openapi-generator run for mastodon 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 7fd716cecc [misc] Added pytest and pytest-aiohttp to test dependencies 2023-03-19 18:36:15 +01:00
missytake 3d482dd5f5 [mastodon] Generated openAPI routes for frontend 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 5fa5a9f48e Revert "[doc] Document how to disable strict CORS checking"
This reverts commit bd17d5321b.
2023-03-19 18:36:15 +01:00
missytake 9704ed4ddf [mastodon] Working now: toot reports from mastodon, but only when the next report arrives 2023-03-19 18:36:15 +01:00
missytake 12935b79cb [mastodon] Load database references 2023-03-19 18:36:15 +01:00
missytake 37f7b98c67 [mastodon] Import mastodon API correctly 2023-03-19 18:36:12 +01:00
missytake d120d718f9 [mastodon] Added a TODO flair 2023-03-19 18:34:57 +01:00
missytake b1f8c08d25 [mastodon] Some web routes to add a Mastodon Account to Ticketfrei 2023-03-19 18:34:57 +01:00
missytake 4dc4b9cfca [mastodon] Changed MastodonAccount column: instance_id -> instance 2023-03-19 18:34:57 +01:00
missytake 07bc5a2686 [mastodon] First approach to a mastodon bot 2023-03-19 18:34:57 +01:00
missytake 3ae4a08ad5 [doc] Document how to disable strict CORS checking 2023-03-19 18:34:57 +01:00
Thomas Lindner 767c92000b [misc] Add some type annotations 2023-03-19 01:15:37 +01:00