Commit graph

17 commits

Author SHA1 Message Date
Inex Code 829aca14be Merge branch 'master' into redis/connection-pool 2023-10-24 19:25:36 +03:00
Houkime 158c1f13a6 refactor(tokens-repo): switch token backend to redis
And use timezone-aware comparisons for expiry checks
2023-06-14 14:02:23 +03:00
Houkime d26d115172 test(tokens-repo): break out assert_original() in graphql device tests 2023-06-14 14:02:22 +03:00
Houkime 00ba76c074 refactor(tokens-repo): delete a stray comment 2023-06-14 14:02:22 +03:00
Houkime 824b018487 test(tokens-repo): make shared test token state use token repo api for loading 2023-06-14 14:02:22 +03:00
Houkime e125f3a4b1 test(tokens-repo): remove test tokens.json files
except for one which will temporarily remain
gitkeeps are to prevent shared_datadir from erroring out in a freshly
cloned repo. for now huey database and jobs fixtures use shared_datadir
2023-06-14 14:02:22 +03:00
Houkime ea6a047478 feature(backups): load from json 2023-05-17 20:27:41 +00:00
Inex Code 7935de0fe1 Migrate to FastAPI (#13)
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/13
2022-08-25 20:03:56 +03:00
def 9bd2896db8 fix recovery tests 2022-07-07 15:53:19 +02:00
Inex Code e5405dfc6b linting 2022-07-05 15:54:21 +03:00
Inex Code 40501401b4 More auth tests 2022-01-24 22:01:37 +02:00
Inex Code 5140081cdb Some test and bupfixes 2022-01-18 17:20:47 +02:00
Inex Code 759e90f734 Formatting and fix swagger test 2022-01-17 13:29:54 +02:00
Inex Code ea696d0f0e Inital auth work, untested 2022-01-14 08:38:53 +03:00
Inex Code 13cef67204 More unit tests and bugfixes (#7)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/7
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Co-committed-by: Inex Code <inex.code@selfprivacy.org>
2022-01-10 22:35:00 +02:00
Inex Code 69eb91a1ea Reformat code with Black 2021-12-01 00:53:39 +03:00
Inex Code 245964c998 First wave of unit tests, and bugfixes caused by them 2021-11-29 22:16:08 +03:00