Houkime
5e07a9eaeb
feature(backup): error handling for the full restore endpoint
2024-09-13 12:11:56 +00:00
Houkime
d4998ded46
refactor(services): migrate service management to a special service
2024-09-13 12:11:56 +00:00
Houkime
f6151ee451
feature(backup): add migration specific endpoints
2024-09-13 12:11:56 +00:00
Inex Code
e6b7a1c168
style: linting
2024-09-11 13:58:48 +03:00
Houkime
68d0ee8c5d
test(system): dns migration
2024-09-11 13:58:48 +03:00
Houkime
77fb99d84e
feature(system): dns migration
2024-09-11 13:58:48 +03:00
Inex Code
1259c081ef
style: Reformat with new Black version
2024-07-26 22:59:44 +03:00
Inex Code
9b93107b36
feat: Service configuration ( #127 )
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/127
2024-07-26 18:33:04 +03:00
Inex Code
524adaa8bc
add nix-collect-garbage endpoint ( #112 )
...
Continuation of the broken #21
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-authored-by: def <dettlaff@riseup.net>
Co-authored-by: Houkime <>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/112
Reviewed-by: houkime <houkime@protonmail.com>
2024-05-01 16:10:39 +03:00
Houkime
3f9d2b2481
refactor(services): remove too many imports and cleanup
2024-03-06 18:40:05 +03:00
Houkime
1e51f51844
feature(backups): intermittent commit for binds, to be replaced
2024-03-06 18:40:05 +03:00
Houkime
17a1e34c0d
feature(services): check before moving task and before move itself
2024-03-06 18:40:05 +03:00
Houkime
7fd09982a4
fix(services): a better error message
2024-03-06 18:39:27 +03:00
Houkime
d34db3d661
fix(services): report moving errors fully
2024-03-06 18:39:27 +03:00
Inex Code
2019da1e10
feat: Track the status of the nixos rebuild systemd unit
2024-02-12 18:17:18 +03:00
Inex Code
a0eb5d572f
fix(graphql): Typing of the deprecated move_service function
2024-01-10 15:05:10 +02:00
Houkime
b8d02231cf
fix(services): handle the async nature of moving.
2024-01-08 13:12:27 +00:00
Houkime
4a580e9b7b
feature(system): better error handling for shell calls
2024-01-08 13:12:27 +00:00
Houkime
2e775dad90
fix(users): handle no admin name defined when adding a user
2024-01-08 13:12:27 +00:00
Houkime
1b520a8093
feature(ssh): change ssh settings from graphql
2024-01-08 13:12:27 +00:00
Houkime
f5999516fa
feature(services): better error reporting in disable and enable service
2024-01-08 13:12:27 +00:00
Houkime
267cdd391b
fix(backup): do not store maybe unpicklable service on the queue
2024-01-08 13:12:27 +00:00
Houkime
a12126f685
feature(service): error handling on moves
2024-01-08 13:12:27 +00:00
Houkime
993b58d52d
beauty(backup): remove stray comments and imports, format
2023-11-20 11:29:42 +00:00
Houkime
f1a452009a
refactor(backups): only async snapshot trimming
2023-11-17 15:39:21 +00:00
Houkime
5ac93c30ae
refactor(backups): async quota setting
2023-11-17 15:22:21 +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
cebb71ff4a
feat(ssh): Add support for ecdsa keys
2023-10-03 16:51:06 +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
Inex Code
ff70a3588e
chore: bump version
2023-08-04 12:57:31 +03:00
Houkime
bba837530a
feature(backups): expose forget to API
2023-07-28 10:40:40 +00:00
Inex Code
0245d629fd
refactor(backups): linting
2023-07-20 18:24:26 +03:00
Houkime
1cefaefa3b
feature(backups): expose restore strategies to the API
2023-07-07 13:24:05 +00:00
Houkime
bae81b2f69
refactor(backups): rename force_snapshot_reload to force_snapshot_cache_reload
2023-06-26 19:20:49 +00:00
Inex Code
1664f857ea
fix(backups): Providers were not initialized corretly
2023-06-23 14:36:16 +03:00
Inex Code
e7e0fdc4a1
refactor(backups): fix typing errors
2023-06-23 12:40:10 +03: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
25f3115c05
test(backups): setting autobackup period
2023-06-19 13:28:02 +00:00
Houkime
47aee3c1f1
fix(backups): fix output API return types for configuration
2023-06-16 14:39:00 +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
865e304f42
test(backups): test backup API - backing up
2023-06-14 10:16:31 +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
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
603ed2ddf9
feature(backups): start backup graphql API
2023-05-31 12:07:47 +00:00