feat: Use redis as a data storage for auth data #68
inex
commented 2023-11-01 18:52:47 +02:00
Owner
There is no content yet.
inex
added 71 commits 2023-11-01 18:52:47 +02:00
3e7ea01a42
test(tokens-repo): make empty_keys fixture (and derived) shareable
8065921862
test(tokens-repo): make empty_tokens fixture, even more minimal
889c7eee6a
test(tokens-repo): offload empty_keys fixture to json tests
e125f3a4b1
test(tokens-repo): remove test tokens.json files
f542c1e6c7
test(tokens-repo): break out assert_original() in rest
7e0e6015cf
test(tokens-repo): break out rest_get_token_info()
270e569af2
test(tokens-repo): use rest token info in token deletion test
07fe2f8a55
test(tokens-repo): check refreshed token validity by trying to auth
1d6275b75b
test(tokens-repo): delete standalone get new device test
179078aed2
test(tokens-repo): break out getting new device token
bfcec3d51d
test(tokens-repo): break out checking token validity
458c4fd28a
test(tokens-repo): make new device tests a bit more readable
0bf18603d4
test(tokens-repo): travel in time to check expiration
74777c4343
test(tokens-repo): fix typo in contets
0239f3174e
test(tokens-repo): do not read json in generate recovery test
548f47963a
test(tokens-repo): break out obtaining recovery tokens
ac4d4e0127
test(tokens-repo): break out recovery time operations
203940096c
test(tokens-repo): break out recovery token use
e0bd6efcb2
test(tokens-repo): use new recovery functions
3aa3d197e2
test(tokens-repo): use mock time for recovery tokens expiration test
42fa5fe524
test(tokens-repo): allow ading uses in a helper recovery function
02bfffa75f
test(tokens-repo): refactor the rest of auth tests
e55a55ef6f
test(tokens-repo): beautify test_auth.py
f45567b87b
fix(tokens-repo): readd gitkeep to services data folder after rebase
8f645113e2
test(tokens-repo): new assert_original(), no more json
824b018487
test(tokens-repo): make shared test token state use token repo api for loading
00ba76c074
refactor(tokens-repo): delete a stray comment
2f707cc0cc
test(tokens-repo): delete extraneous test token content copies
d26d115172
test(tokens-repo): break out assert_original() in graphql device tests
d8c78cc14c
test(tokens-repo): untie token deletion tests from json
7f5236701e
test(tokens-repo): break out assert_ok() and assert_errorcode() in graphql
5a1b48fa3d
test(tokens-repo): break out assert_empty()
4676e364a6
test(tokens-repo): break out assert_data()
ba5f91b000
test(tokens-repo): apply assert_ok and assert_error()
469f9d292d
test(tokens-repo): make sure we try to delete the token we authed with
6eb5800e4e
test(tokens-repo): untie refresh token testing from token repo
102d6b1c5c
test(tokens-repo): delete get new device key standalone test
e739921835
test(tokens-repo): untie get and delete new device from json
367ba51c9d
test(tokens-repo): untie authorize new device from json
592d62f53f
test(tokens-repo): untie double new device auth from json
0aaa90f54a
test(tokens-repo): shrink invalid new device test
f5faf84a2b
test(tokens-repo): move timewarping to test commons
1305144112
test(tokens-repo): complete untying graphql device tests from json
d09cd1bbe1
test(tokens-repo): use assert_empty consistently
503c9c99ef
test(tokens-repo): break out getting status
851d90b30c
test(tokens-repo): break out getting recovery key
6cb9cc6d03
test(tokens-repo): use assert recent
92b2a67479
test(tokens-repo): use get recovery status in test of recovery use
137ae58b42
test(tokens-repo): break out using recovery key
de27032191
test(tokens-repo): move token utils to graphql common
ce4fbdae0a
test(tokens-repo): check for token existense in recovery tests
18f5ff815c
test(tokens-repo): rework expiring recovery key tests
2d6406c8c1
test(tokens-repo): rework recovery expiration in the past
0b28fa2637
test(tokens-repo): rework limited uses test
72fdd412d9
test(tokens-repo): complete the recovery test rework
e5756a0dd1
test(tokens-repo): cleanup recovery tests
9cc6e304c0
test(tokens-repo): remove device order dependence from graphql test__api
158c1f13a6
refactor(tokens-repo): switch token backend to redis
51018dd6c2
refactor(tokens-repo): cleanup actions/api_tokens.py
baf72b730b
refactor(tokens-repo): move reset to AbstractTokensRepo
817f414dd9
refactor(tokens-repo): break out storing recovery keys
da19cc8c0e
refactor(tokens-repo): move create recovery key to abstract token repository
d0a17d7b7a
fix(tokens-repo): make json _get_stored_new_device_key return tz-aware keys
5fbfaa73ea
feat(tokens-repo): add clone() method
3344ab7c5d
feat(tokens-repo): add migration of tokens to redis
c77191864e
style: reformat
5be3c83952
fix(tokens-repo): persistent hashing
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
inex
referenced this pull request 2023-11-01 18:52:57 +02:00
WIP: feat: Use redis as a data storage for auth data #40
inex
merged commit bc98e41be8 into master 2023-11-10 10:58:00 +02:00
inex
deleted branch redis/connection-pool-merged 2023-11-10 10:58:00 +02:00
inex
referenced this issue from a commit 2023-11-10 10:58:00 +02:00
Merge pull request 'feat: Use redis as a data storage for auth data' (#68) from redis/connection-pool-merged into master
No reviewers
Labels
No Label
Bug
Contributions welcome
Did not do
Duplicate
Feature
Module
Backups
Module
GraphQL
Priority
High
Priority
Low
Priority
Medium
Refactor
Severity
High
Severity
Low
Severity
Medium
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SelfPrivacy/selfprivacy-rest-api#68
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "redis/connection-pool-merged"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?