Houkime
4b2eda25f6
test(service, backup): move dummy service fixtures to conftest.py
2024-01-08 13:12:27 +00:00
Houkime
5214d5e462
test(services): add unauthorized move test
2024-01-08 13:12:27 +00:00
Houkime
1a65545c29
test(backups, token_repo): move non-graphql tests out of graphql
2024-01-08 13:12:27 +00:00
Houkime
7ef751db98
test(services): break out graphql basics
2024-01-08 13:12:27 +00:00
Houkime
69a05de3d7
test(backup): ensure we actually call backup fixture and related resets
2024-01-08 13:12:27 +00:00
Houkime
96bff873a9
test(backups): use backup fixture (weird, i surely used it before)
2023-11-17 14:33:03 +00:00
Inex Code
8b840d4c2c
fix(backups): expose snapshot reason and set the default value
2023-09-09 09:52:20 +03:00
Inex Code
dedd6a9cc9
refactor(backups): use restic-like rotation policy
2023-09-09 03:26:41 +03:00
Inex Code
ad9384c850
fix(graphql): backup quotas field typing
2023-08-30 12:03:19 +03:00
Houkime
9fdc536f9f
BROKEN(backups): hooking up quotas to API fails. AutobackupQuotas needs to be an input type, but if input type, it fails because it needs to be an Output type, which is not documented
2023-08-28 18:24:29 +00:00
Houkime
2934e2beca
test(backups): test forgetting via API
2023-07-28 11:32:48 +00:00
Inex Code
c6919293b6
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-06-21 06:46:56 +03:00
Houkime
e3a87f1d98
test(backups): ensure asking to reload snaps does not explode the server
2023-06-19 14:12:50 +00:00
Houkime
25f3115c05
test(backups): setting autobackup period
2023-06-19 13:28:02 +00:00
Houkime
612a46ee42
feature(backups): actually dealing with situation when the provider is not configured
2023-06-19 11:09:10 +00:00
Houkime
79c3b9598c
feature(backups): resetting json config too
2023-06-16 15:09:39 +00:00
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
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
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
Houkime
c47977c100
test(backups): actual testfile
2023-06-14 10:16:53 +00:00