Commit graph

1232 commits

Author SHA1 Message Date
Houkime 8e1e37c766 test(backups): preliminary test of repo reset 2023-06-16 14:33:48 +00:00
Houkime 33c60f971d test(backups): test reinitting repository 2023-06-16 13:43:41 +00:00
dettlaff d6c4d458f7 tests: fix some tests 2023-06-16 08:08:36 +04:00
dettlaff 28701e1608 fix: do a redis reset() 2023-06-16 08:08:36 +04:00
dettlaff 96c013c4e7 refactor: delete purest of nix_collect_garbage() 2023-06-16 08:08:36 +04:00
ВашÐdettlaff 03b5a6b5e4 fix: percentage 2023-06-16 08:08:36 +04:00
def af0129bdfe fix: types, add tests 2023-06-16 04:06:49 +00:00
def 7553202a69 test: fix nix collect garbage, add tests 2023-06-16 04:06:49 +00:00
def 7e3adffb68 refactor: nix-collect-garbage is now pure 2023-06-16 04:06:49 +00:00
def f42594f1fb refactor: delete unnecessary import 2023-06-16 04:06:49 +00:00
def 6ef9222e32 feat: loading percentage 2023-06-16 04:06:49 +00:00
def ba168fc92b fix: subprocess.check_output 2023-06-16 04:06:49 +00:00
def 57ec87bf43 feat: add nix-collect-garbage job 2023-06-16 04:06:49 +00:00
Inex Code b3a37e8b1f fix: Migrate to SP channel from 22.11 installations 2023-06-14 19:27:11 +03:00
Houkime b3724e240e refactor(backups): cleanup localfile-specific logic 2023-06-14 14:17:04 +00:00
Houkime 9e0b0d8caa refactor(backups): make localfile repos normal 2023-06-14 14:07:51 +00:00
Houkime cbedd196e4 fix(backups): non-nullable service when backing up 2023-06-14 13:06:32 +00:00
Houkime 4862cdc72f test(backups): test restore 2023-06-14 13:00:39 +00:00
Houkime 17c7dffb07 test(backups): use get_data 2023-06-14 12:41:45 +00:00
Houkime 39cd4b714b test(backups): check snapshots getting created 2023-06-14 12:35:41 +00:00
Houkime 92322d8fad test(backups): test dummy service compliance 2023-06-14 12:08:07 +00:00
Houkime 21791f20a2 test(backups): make dummy service more compliant 2023-06-14 11:55:46 +00:00
Houkime aa9d082adc test(backups): display errors from api 2023-06-14 11:54:24 +00:00
Houkime f1654c699c fix(backups): shorten snapshot query signature 2023-06-14 11:52:57 +00:00
Houkime 928f026e7c test(backups): snapshot query 2023-06-14 11:14:52 +00:00
Inex Code c77191864e style: reformat 2023-06-14 14:03:14 +03:00
Houkime 3344ab7c5d feat(tokens-repo): add migration of tokens to redis 2023-06-14 14:03:14 +03:00
Houkime 5fbfaa73ea feat(tokens-repo): add clone() method 2023-06-14 14:02:23 +03:00
Houkime d0a17d7b7a fix(tokens-repo): make json _get_stored_new_device_key return tz-aware keys 2023-06-14 14:02:23 +03:00
Houkime da19cc8c0e refactor(tokens-repo): move create recovery key to abstract token repository 2023-06-14 14:02:23 +03:00
Houkime 817f414dd9 refactor(tokens-repo): break out storing recovery keys 2023-06-14 14:02:23 +03:00
Houkime baf72b730b refactor(tokens-repo): move reset to AbstractTokensRepo 2023-06-14 14:02:23 +03:00
Houkime 51018dd6c2 refactor(tokens-repo): cleanup actions/api_tokens.py 2023-06-14 14:02:23 +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 9cc6e304c0 test(tokens-repo): remove device order dependence from graphql test__api 2023-06-14 14:02:23 +03:00
Houkime e5756a0dd1 test(tokens-repo): cleanup recovery tests 2023-06-14 14:02:23 +03:00
Houkime 72fdd412d9 test(tokens-repo): complete the recovery test rework 2023-06-14 14:02:23 +03:00
Houkime 0b28fa2637 test(tokens-repo): rework limited uses test 2023-06-14 14:02:23 +03:00
Houkime 2d6406c8c1 test(tokens-repo): rework recovery expiration in the past 2023-06-14 14:02:23 +03:00
Houkime 18f5ff815c test(tokens-repo): rework expiring recovery key tests 2023-06-14 14:02:23 +03:00
Houkime ce4fbdae0a test(tokens-repo): check for token existense in recovery tests 2023-06-14 14:02:23 +03:00
Houkime de27032191 test(tokens-repo): move token utils to graphql common 2023-06-14 14:02:23 +03:00
Houkime 137ae58b42 test(tokens-repo): break out using recovery key 2023-06-14 14:02:23 +03:00
Houkime 92b2a67479 test(tokens-repo): use get recovery status in test of recovery use 2023-06-14 14:02:23 +03:00
Houkime 6cb9cc6d03 test(tokens-repo): use assert recent 2023-06-14 14:02:23 +03:00
Houkime 851d90b30c test(tokens-repo): break out getting recovery key 2023-06-14 14:02:23 +03:00
Houkime 503c9c99ef test(tokens-repo): break out getting status 2023-06-14 14:02:23 +03:00
Houkime d09cd1bbe1 test(tokens-repo): use assert_empty consistently 2023-06-14 14:02:22 +03:00
Houkime 1305144112 test(tokens-repo): complete untying graphql device tests from json 2023-06-14 14:02:22 +03:00
Houkime f5faf84a2b test(tokens-repo): move timewarping to test commons 2023-06-14 14:02:22 +03:00