houkime pushed to redis/tokens-switch at SelfPrivacy/selfprivacy-rest-api
- 2c7842c018 feat(tokens-repo): add migration of tokens to redis
- 12bc8f9d00 feat(tokens-repo): add clone() method
- b8607e1707 fix(tokens-repo): make json _get_stored_new_device_key return tz-aware keys
- 0682817104 refactor(tokens-repo): move create recovery key to abstract token repository
- e5c494d8b7 refactor(tokens-repo): break out storing recovery keys
- Compare 6 commits »
houkime created pull request SelfPrivacy/selfprivacy-rest-api#32
WIP: Switch token storage to Redishoukime pushed to redis/tokens-switch at SelfPrivacy/selfprivacy-rest-api
- 352fd1bca9 refactor(tokens-repo): cleanup actions/api_tokens.py
houkime created branch redis/tokens-switch in SelfPrivacy/selfprivacy-rest-api
houkime pushed to redis/tokens-switch at SelfPrivacy/selfprivacy-rest-api
- bd73ffc9f9 refactor(tokens-repo): switch token backend to redis
- fba97ef234 test(tokens-repo): remove device order dependence from graphql test__api
- ba6d1768c6 test(tokens-repo): cleanup recovery tests
- fb08893e4b test(tokens-repo): complete the recovery test rework
- f00e30cb07 test(tokens-repo): rework limited uses test
- Compare 10 commits »
houkime pushed to redis/rest-tests at SelfPrivacy/selfprivacy-rest-api
- 710ad7221b refactor(tokens-repo): delete a stray comment
houkime created pull request SelfPrivacy/selfprivacy-rest-api#31
Token backend-agnostic rest API testinghoukime created branch redis/rest-tests in SelfPrivacy/selfprivacy-rest-api
houkime pushed to redis/rest-tests at SelfPrivacy/selfprivacy-rest-api
- 91bbc3520b test(tokens-repo): make shared test token state use token repo api for loading
- 7a27af9173 test(tokens-repo): new assert_original(), no more json
- d3c337853e fix(tokens-repo): readd gitkeep to services data folder after rebase
- 2f0a7c35f3 test(tokens-repo): beautify test_auth.py
- cd1afb8464 test(tokens-repo): refactor the rest of auth tests
- Compare 10 commits »
houkime created pull request SelfPrivacy/selfprivacy-rest-api#28
Migrate to AbstractTokenRepository APIhoukime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- 67872d7c55 test(tokens-repo): use mnemonic_from_hex consistently
- 3ecfb2eacb refactor(tokens-repo): delete auth utils
- 450ff41ebd feat(tokens-repo): make device names unique before storage
- 8235c3595c refactor(tokens-repo): delete is_token_valid from auth utils
- 7d9bccf4ec fix(tokens-repo): make is_token_valid infallible
- Compare 32 commits »
houkime merged pull request SelfPrivacy/selfprivacy-rest-api#26
Implement redis token repository
houkime pushed to redis/connection-pool at SelfPrivacy/selfprivacy-rest-api
- 66480c9904 Merge pull request 'Implement redis token repository' (#26) from redis/token-repo into redis/connection-pool
- 5a25e2a270 feat(tokens-repo): getting stored device key
- 0ae7c43ebf refactor(tokens-repo): break out generic hash_as_model casting
- 6f6a9f5ef0 test(tokens-repo): do not require order in test_delete_not_found_token
- fda5d315a9 fix(tokens-repo): return device key instead of NewDeviceKey class
- Compare 57 commits »
houkime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- 5a25e2a270 feat(tokens-repo): getting stored device key
- 0ae7c43ebf refactor(tokens-repo): break out generic hash_as_model casting
- 6f6a9f5ef0 test(tokens-repo): do not require order in test_delete_not_found_token
- fda5d315a9 fix(tokens-repo): return device key instead of NewDeviceKey class
- 13e84e2697 feat(tokens-repo): recovery key uses decrement
- Compare 56 commits »
houkime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- 155af763cc feat(tokens-repo) getting stored device key
- f65a19e56c refactor(tokens-repo) break out generic hash_as_model casting
- 6d838afc8f test(tokens-repo) do not require order in test_delete_not_found_token
- e29bdb27a8 fix(tokens-repo) return device key instead of NewDeviceKey class
- 1427ae95e7 feat(tokens-repo) recovery key uses decrement
- Compare 20 commits »
houkime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- e45049c09f refactor(tokens-repository): move use_mnemonic_new_device_key() to abstract class
- f830723306 fix(tokens-repository): use_mnemonic_new_device_key() now stores a token
- 42bfd3f632 refactor(tokens-repository): dissect use_mnemonic_new_device_key()
- bec52d87a4 refactor(tokens-repository): move use_mnemonic_recovery_key() to abstract class
- 3a3cdffdc4 refactor(tokens-repository): dissect use_mnemonic_recovery_key()
- Compare 5 commits »
houkime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- da3ef803d2 json_tokens_repository: move token refreshing to parent class
- 5cb10aa579 move create_token to abstract class
- Compare 2 commits »
houkime created pull request SelfPrivacy/selfprivacy-rest-api#26
WIP: implement redis token repositoryhoukime created branch redis/token-repo in SelfPrivacy/selfprivacy-rest-api
houkime pushed to redis/token-repo at SelfPrivacy/selfprivacy-rest-api
- 88d994438c json_tokens_repository: rewrite token refresh
- e9ecc5fef9 json token repo: separate token storing
- 29c8d9a4d5 json_tokens_repository: move token getters to abstract class
- 67552af8d9 json_tokens_repository: simplify getting tokens
- 4a2c591368 token tests: re-add delete token test
- Compare 10 commits »