Houkime
c94b4d07bf
fix(tokens-repo): persistent hashing
2023-07-17 16:05:00 +03:00
Inex Code
4225772573
fix(backups): Providers were not initialized corretly
2023-07-17 16:05:00 +03:00
Inex Code
f27a3df807
refactor(backups): fix typing errors
2023-07-17 16:05:00 +03:00
Inex Code
b78ee5fcca
refactor(api): Group mutations
...
I've learned that there is no problem in grouping mutations like we do with queries.
This is a big mistake from my side, now we have legacy not so conveniently placed endpoints.
I've grouped all mutations, left the copies of old ones flattened in the root for backwards compatibility.
We will migrate to mutation groups on client side, and backups now only use grouped mutations.
Tests are updated.
2023-07-17 16:05:00 +03:00
Houkime
53dfb38284
test(backups): ensure asking to reload snaps does not explode the server
2023-07-17 16:05:00 +03:00
Houkime
ecf72948b1
test(backups): setting autobackup period
2023-07-17 16:05:00 +03:00
Houkime
f829a34dc7
refactor(backups): delete legacy provider setting
2023-07-17 16:05:00 +03:00
Houkime
9f096ed2c0
feature(backups): actually dealing with situation when the provider is not configured
2023-07-17 16:05:00 +03:00
Houkime
cd32aa83b7
refactor(backups): NoneBackupper class for those cases when we do not know
2023-07-17 16:05:00 +03:00
Houkime
a56461fb96
refactor(backups): make a dir for backuppers
2023-07-17 16:05:00 +03:00
Houkime
806fb3c84b
feature(backups): resetting json config too
2023-07-17 16:05:00 +03:00
Houkime
1fd5db9ff3
fix(backups): fix output API return types for configuration
2023-07-17 16:05:00 +03:00
Houkime
5d95c1b44e
test(backups): preliminary test of repo reset
2023-07-17 16:05:00 +03:00
Houkime
1c96743c5d
test(backups): test reinitting repository
2023-07-17 16:05:00 +03:00
Houkime
38de01da8b
refactor(backups): cleanup localfile-specific logic
2023-07-17 16:05:00 +03:00
Houkime
8475ae3375
refactor(backups): make localfile repos normal
2023-07-17 16:05:00 +03:00
Houkime
53638b7e06
test(backups): make dummy service more compliant
2023-07-17 16:05:00 +03:00
Inex Code
93b98cd4fd
fix(backups): Handle orphaned snapshots
2023-07-17 16:05:00 +03:00
Inex Code
421c92d12e
fix(backups): return type of encryption key
2023-07-17 16:05:00 +03:00
Inex Code
c603394449
fix(backups): try to actually get backup configuration
2023-07-17 16:05:00 +03:00
Houkime
b04dfc6c4e
fix(backups): register queries
2023-07-17 16:05:00 +03:00
Houkime
42a5b6f70a
test(backups): test backup API - backing up
2023-07-17 16:05:00 +03:00
Inex Code
32a242b560
feat(backups): register backups in GraphQL schema
2023-07-17 16:05:00 +03:00
Inex Code
a4b0e6f208
fix: BackupConfiguration argument order
2023-07-17 16:05:00 +03:00
Houkime
ad130e392c
feature(backups): check available space before restoring
2023-07-17 16:05:00 +03:00
Houkime
780c12df6c
refactor(backups): expect one more error of restic json output parsing
2023-07-17 16:05:00 +03:00
Houkime
6da0791b47
feature(backups): integration between restore and jobs
2023-07-17 16:05:00 +03:00
Houkime
792dcd459d
fix(backups): return one job, not an array of one
2023-07-17 16:05:00 +03:00
Houkime
5100f1a497
fix(backups): return 400, not 300
2023-07-17 16:05:00 +03:00
Houkime
44e45a5124
BREAKING CHANGE(backups): support only individual service backup requests(combinable)
2023-07-17 16:05:00 +03:00
Houkime
0b8f77e6f7
feature(backups): set autobackup period from gql
2023-07-17 16:05:00 +03:00
Houkime
e3545d4541
feature(backups): get all snapshots if requested by api
2023-07-17 16:05:00 +03:00
Houkime
550f7fa620
refactor(backups): introduce get_all_snapshots()
2023-07-17 16:05:00 +03:00
Houkime
cc073155db
feature(backups): feature(backups): return a snapshot from start_backup
2023-07-17 16:05:00 +03:00
Houkime
891993e4cd
feature(backups): a graphql call to invalidate cache
2023-07-17 16:05:00 +03:00
Houkime
7e022e0cfe
feature(backups): graphql mutation for restore
2023-07-17 16:05:00 +03:00
Houkime
44ddd27e84
fix(backups): return correct snapshots per service
2023-07-17 16:05:00 +03:00
Houkime
761b6be4e5
refactor(backups): global snapshots
2023-07-17 16:05:00 +03:00
Houkime
a76b4ac134
feature(backups): start backup graphql API
2023-07-17 16:05:00 +03:00
Houkime
ac9fbbff3e
feature(backups): drop repository call
2023-07-17 16:05:00 +03:00
Houkime
bdae6cfb75
feature(backups): global init instead of per-service
2023-07-17 16:05:00 +03:00
Houkime
e7683352cd
feature(backups): a graphql query to get provider info
2023-07-17 16:05:00 +03:00
Houkime
d0b27da641
feature(backups): init repo mutation
2023-07-17 16:05:00 +03:00
Houkime
d10bf99927
fix(backups): make sure location and credentials get properly passed around
2023-07-17 16:05:00 +03:00
Houkime
c5c41b3ced
refactor(backups): remove extraneous asserts from jobs
2023-07-17 16:05:00 +03:00
Houkime
c8512eacdc
refactor(backups): refactor realtime updating
2023-07-17 16:05:00 +03:00
Houkime
d38b8180cb
feature(backups): realtime progress updates of backups
2023-07-17 16:05:00 +03:00
Houkime
135fb0c42d
feature(backups): job progress logs
2023-07-17 16:05:00 +03:00
Houkime
ca036b294a
refactor(backups): break out job logs status prefix
2023-07-17 16:05:00 +03:00
Houkime
afdbf01cfc
refactor(backups): use single repo and multiplex by tags
2023-07-17 16:05:00 +03:00