feat: Use redis as a data storage for auth data #68

Merged
inex merged 71 commits from redis/connection-pool-merged into master 2023-11-10 10:58:00 +02:00
There is no content yet.
inex added 71 commits 2023-11-01 18:52:47 +02:00
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
1d6275b75b test(tokens-repo): delete standalone get new device test
At rest api level, we can only check the existence of new device token
by using it, and this test already exists.
102d6b1c5c 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
158c1f13a6 refactor(tokens-repo): switch token backend to redis
And use timezone-aware comparisons for expiry checks
continuous-integration/drone/push Build is failing Details
829aca14be
Merge branch 'master' into redis/connection-pool
continuous-integration/drone/push Build is failing Details
b7cd703eaa
fix(tokens): missing timezone import
continuous-integration/drone/push Build is failing Details
3deaeb28c5
test(auth): fix assert_ok's wrt nested structure
continuous-integration/drone/push Build is failing Details
a66ee2d3e5
test(auth): fix future expiring too fast
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
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy-rest-api#68
There is no content yet.