Houkime
|
d9b5710007
|
feat(tokens-repo): add migration of tokens to redis
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
4c61c874c4
|
feat(tokens-repo): add clone() method
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
628d7ed4a8
|
fix(tokens-repo): make json _get_stored_new_device_key return tz-aware keys
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c3d797b0ab
|
refactor(tokens-repo): move create recovery key to abstract token repository
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
72681c5330
|
refactor(tokens-repo): break out storing recovery keys
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
496f0bc452
|
refactor(tokens-repo): move reset to AbstractTokensRepo
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
a8ac9e7c64
|
refactor(tokens-repo): cleanup actions/api_tokens.py
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c624529670
|
refactor(tokens-repo): switch token backend to redis
And use timezone-aware comparisons for expiry checks
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
dc13235332
|
test(tokens-repo): remove device order dependence from graphql test__api
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
eba1f19a55
|
test(tokens-repo): cleanup recovery tests
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
cf87b3590b
|
test(tokens-repo): complete the recovery test rework
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c8ccd415fe
|
test(tokens-repo): rework limited uses test
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
59f5ec2e2e
|
test(tokens-repo): rework recovery expiration in the past
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
5280aca544
|
test(tokens-repo): rework expiring recovery key tests
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
8e1e917bff
|
test(tokens-repo): check for token existense in recovery tests
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
6b6cc33b8e
|
test(tokens-repo): move token utils to graphql common
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
0160f4aac0
|
test(tokens-repo): break out using recovery key
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
5382558655
|
test(tokens-repo): use get recovery status in test of recovery use
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
b6dff04f42
|
test(tokens-repo): use assert recent
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
f742c256d7
|
test(tokens-repo): break out getting recovery key
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
88508985c9
|
test(tokens-repo): break out getting status
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
8d15955124
|
test(tokens-repo): use assert_empty consistently
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
3e641b1107
|
test(tokens-repo): complete untying graphql device tests from json
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
e537dd5f45
|
test(tokens-repo): move timewarping to test commons
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
a0bd3eb0ff
|
test(tokens-repo): shrink invalid new device test
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c7222fd8b9
|
test(tokens-repo): untie double new device auth from json
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
93b02752df
|
test(tokens-repo): untie authorize new device from json
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
ff6128b96e
|
test(tokens-repo): untie get and delete new device from json
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
e9934a2567
|
test(tokens-repo): delete get new device key standalone test
we can only see if device key is valid by using it or deleting it.
another test does it
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
74c36afc2d
|
test(tokens-repo): untie refresh token testing from token repo
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
37fd3574a1
|
test(tokens-repo): make sure we try to delete the token we authed with
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
e7f0d76001
|
test(tokens-repo): apply assert_ok and assert_error()
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
e5083c308a
|
test(tokens-repo): break out assert_data()
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c917c411fd
|
test(tokens-repo): break out assert_empty()
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
4582bfe6c4
|
test(tokens-repo): break out assert_ok() and assert_errorcode() in graphql
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
c597850fa5
|
test(tokens-repo): untie token deletion tests from json
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
70c82cf142
|
test(tokens-repo): break out assert_original() in graphql device tests
|
2023-01-13 13:43:04 +00:00 |
Houkime
|
a8d91a7a63
|
test(tokens-repo): delete extraneous test token content copies
|
2023-01-13 13:43:04 +00:00 |
Inex Code
|
33b53cb320
|
Merge branch 'master' into redis/connection-pool
|
2023-01-13 15:59:15 +03:00 |
Inex Code
|
d84b4e9ad6
|
Merge pull request 'Token backend-agnostic rest API testing' (#31) from redis/rest-tests into redis/connection-pool
Reviewed-on: SelfPrivacy/selfprivacy-rest-api#31
|
2023-01-06 11:43:11 +02:00 |
Houkime
|
710ad7221b
|
refactor(tokens-repo): delete a stray comment
|
2023-01-02 18:22:04 +00:00 |
Houkime
|
91bbc3520b
|
test(tokens-repo): make shared test token state use token repo api for loading
|
2023-01-02 17:22:18 +00:00 |
Houkime
|
7a27af9173
|
test(tokens-repo): new assert_original(), no more json
|
2023-01-02 15:49:55 +00:00 |
Houkime
|
d3c337853e
|
fix(tokens-repo): readd gitkeep to services data folder after rebase
|
2023-01-02 14:33:48 +00:00 |
Houkime
|
2f0a7c35f3
|
test(tokens-repo): beautify test_auth.py
|
2023-01-02 14:28:00 +00:00 |
Houkime
|
cd1afb8464
|
test(tokens-repo): refactor the rest of auth tests
|
2023-01-02 14:28:00 +00:00 |
Houkime
|
a252c11e7d
|
test(tokens-repo): allow ading uses in a helper recovery function
|
2023-01-02 14:28:00 +00:00 |
Houkime
|
406f5ee921
|
test(tokens-repo): use mock time for recovery tokens expiration test
|
2023-01-02 14:28:00 +00:00 |
Houkime
|
fc24290f1c
|
test(tokens-repo): use new recovery functions
|
2023-01-02 14:28:00 +00:00 |
Houkime
|
b254e40961
|
test(tokens-repo): break out recovery token use
|
2023-01-02 14:28:00 +00:00 |