Houkime
42fa5fe524
test(tokens-repo): allow ading uses in a helper recovery function
2023-06-14 14:02:22 +03:00
Houkime
3aa3d197e2
test(tokens-repo): use mock time for recovery tokens expiration test
2023-06-14 14:02:22 +03:00
Houkime
e0bd6efcb2
test(tokens-repo): use new recovery functions
2023-06-14 14:02:22 +03:00
Houkime
203940096c
test(tokens-repo): break out recovery token use
2023-06-14 14:02:22 +03:00
Houkime
ac4d4e0127
test(tokens-repo): break out recovery time operations
2023-06-14 14:02:22 +03:00
Houkime
548f47963a
test(tokens-repo): break out obtaining recovery tokens
2023-06-14 14:02:22 +03:00
Houkime
0239f3174e
test(tokens-repo): do not read json in generate recovery test
2023-06-14 14:02:22 +03:00
Houkime
74777c4343
test(tokens-repo): fix typo in contets
2023-06-14 14:02:22 +03:00
Houkime
0bf18603d4
test(tokens-repo): travel in time to check expiration
2023-06-14 14:02:22 +03:00
Houkime
458c4fd28a
test(tokens-repo): make new device tests a bit more readable
2023-06-14 14:02:22 +03:00
Houkime
bfcec3d51d
test(tokens-repo): break out checking token validity
2023-06-14 14:02:22 +03:00
Houkime
179078aed2
test(tokens-repo): break out getting new device token
2023-06-14 14:02:22 +03:00
Houkime
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.
2023-06-14 14:02:22 +03:00
Houkime
07fe2f8a55
test(tokens-repo): check refreshed token validity by trying to auth
2023-06-14 14:02:22 +03:00
Houkime
270e569af2
test(tokens-repo): use rest token info in token deletion test
2023-06-14 14:02:22 +03:00
Houkime
7e0e6015cf
test(tokens-repo): break out rest_get_token_info()
2023-06-14 14:02:22 +03:00
Houkime
f542c1e6c7
test(tokens-repo): break out assert_original() in rest
2023-06-14 14:02:22 +03:00
Houkime
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
2023-06-14 14:02:22 +03:00
Houkime
889c7eee6a
test(tokens-repo): offload empty_keys fixture to json tests
2023-06-14 14:02:22 +03:00
Houkime
8065921862
test(tokens-repo): make empty_tokens fixture, even more minimal
2023-06-14 14:02:22 +03:00
Houkime
3e7ea01a42
test(tokens-repo): make empty_keys fixture (and derived) shareable
2023-06-14 14:02:22 +03:00
Houkime
8554879dc2
Merge remote-tracking branch 'upstream/restic-rewrite-api' into restic-rewrite
2023-06-14 10:27:50 +00:00
Houkime
c47977c100
test(backups): actual testfile
2023-06-14 10:16:53 +00:00
Houkime
d9bde6930b
fix(backups): register queries
2023-06-14 10:16:53 +00:00
Houkime
865e304f42
test(backups): test backup API - backing up
2023-06-14 10:16:31 +00:00
Inex Code
d356fad534
fix(backups): Handle orphaned snapshots
2023-06-14 02:52:10 +03:00
Inex Code
f4df1f6a62
fix(backups): return type of encryption key
2023-06-14 01:40:53 +03:00
Inex Code
0ef6569d97
fix(backups): try to actually get backup configuration
2023-06-14 00:43:01 +03:00
Inex Code
f950dd1e93
feat(backups): register backups in GraphQL schema
2023-06-14 00:00:29 +03:00
Inex Code
d02302c7b2
fix: BackupConfiguration argument order
2023-06-13 23:54:02 +03:00
Houkime
549b149aaf
feature(backups): check available space before restoring
2023-06-07 16:33:13 +00:00
Houkime
981445d594
refactor(backups): expect one more error of restic json output parsing
2023-06-07 15:55:38 +00:00
Houkime
7f984b678f
feature(backups): integration between restore and jobs
2023-06-07 15:05:58 +00:00
Houkime
98de85e569
fix(backups): return one job, not an array of one
2023-06-07 14:27:37 +00:00
Houkime
4b8abb6a66
fix(backups): return 400, not 300
2023-06-07 14:25:17 +00:00
Houkime
0c95c5913b
BREAKING CHANGE(backups): support only individual service backup requests(combinable)
2023-06-07 14:11:22 +00:00
Houkime
ff58bdccbb
feature(backups): set autobackup period from gql
2023-06-05 11:49:37 +00:00
Houkime
d6609b29e8
feature(backups): get all snapshots if requested by api
2023-06-05 11:36:58 +00:00
Houkime
2168037a10
refactor(backups): introduce get_all_snapshots()
2023-06-05 11:28:53 +00:00
Houkime
9d5335f62c
feature(backups): feature(backups): return a snapshot from start_backup
2023-06-05 11:26:58 +00:00
Houkime
9a94f7624e
feature(backups): a graphql call to invalidate cache
2023-06-01 16:12:32 +00:00
Houkime
50952d688a
feature(backups): graphql mutation for restore
2023-06-01 14:03:40 +00:00
Houkime
f7c0821675
fix(backups): return correct snapshots per service
2023-06-01 12:44:14 +00:00
Houkime
4b07d4de41
refactor(backups): global snapshots
2023-05-31 13:16:08 +00:00
Houkime
603ed2ddf9
feature(backups): start backup graphql API
2023-05-31 12:07:47 +00:00
Houkime
9c4d2a0ba5
feature(backups): drop repository call
2023-05-29 18:24:38 +00:00
Houkime
c3696d3a4b
feature(backups): global init instead of per-service
2023-05-29 16:50:14 +00:00
Houkime
345e2c10c4
feature(backups): a graphql query to get provider info
2023-05-29 16:12:31 +00:00
Houkime
97e4c529f6
feature(backups): init repo mutation
2023-05-29 15:34:26 +00:00
Houkime
0dc6f74754
fix(backups): make sure location and credentials get properly passed around
2023-05-22 16:01:57 +00:00