Inex Code
f2c972ed5f
chore: bump version
2023-08-23 14:51:15 +03:00
Inex Code
d6cf2abdc2
style: remove unused imports
2023-08-23 14:51:01 +03:00
Houkime
b2c7e8b73a
feature(backups): caps for autobackups
2023-08-21 12:45:31 +00:00
Houkime
30b62c351a
feature(redis): compatibility with str enums
2023-08-21 11:31:29 +00:00
Houkime
1b9761293c
test(backup): test reasons
2023-08-21 11:30:35 +00:00
Houkime
027a37bb47
feature(backup): remember the reason for making a snapshot
2023-08-21 11:11:56 +00:00
Houkime
d621ca6449
refactor(backups): clean up unused mounting tools
2023-08-14 12:50:45 +00:00
Houkime
c89f9cf89d
feature(backups): do not rely on mounting
2023-08-14 12:43:44 +00:00
Houkime
69f6e62877
test(backups): more checks regarding tmpdirs and mounting
2023-08-14 11:59:44 +00:00
Inex Code
36e915907f
Merge pull request 'Forgetting' ( #46 ) from backups-forget into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/46
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-08-14 05:29:12 +03:00
Houkime
2c9011cc87
fix(backups): robustness against stale locks: everything else
2023-08-09 15:18:20 +00:00
Houkime
0eb70e1551
fix(backups): robustness against stale locks: snapshot sizing
2023-08-09 14:46:27 +00:00
Houkime
26ab7b4d7b
fix(backups): robustness against stale locks: is_initted
2023-08-09 14:27:14 +00:00
Houkime
eca4b26a31
fix(backups): robustness against stale locks: backing up
2023-08-09 13:47:18 +00:00
Houkime
752a0b807e
feature(backups): lock and unlock at will
2023-08-07 13:33:10 +00:00
Inex Code
52336b885d
fix: check if repo is initted by checking retcode
2023-08-04 14:08:23 +03:00
Inex Code
ff70a3588e
chore: bump version
2023-08-04 12:57:31 +03:00
Inex Code
e6189e4e73
Merge branch 'master' into backups-forget
2023-08-04 12:46:08 +03:00
Inex Code
a1267946fc
Merge pull request 'Volume management fixes' ( #45 ) from fix/do-volumes into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/45
Reviewed-by: houkime <houkime@protonmail.com>
2023-08-02 15:16:12 +03:00
Inex Code
f4263b0288
style: remove unused imports
2023-08-02 08:54:18 +03:00
Inex Code
f08eafc3d8
refactor(services): extract get_drive to the base Service class
2023-08-02 08:51:42 +03:00
Inex Code
a87889b252
refactor: Change Mail Server id from "mailserver" to "email"
...
Nix config uses "email" so we should too.
2023-08-02 07:41:55 +03:00
Houkime
2934e2beca
test(backups): test forgetting via API
2023-07-28 11:32:48 +00:00
Houkime
bba837530a
feature(backups): expose forget to API
2023-07-28 10:40:40 +00:00
Inex Code
88af27a8ba
chore: bump version
2023-07-28 03:20:33 +03:00
Inex Code
641ab26069
fix(storage): fix root device detection and ignore iso9660
2023-07-28 03:14:50 +03:00
Inex Code
829915029d
test: Add test for getting root block device
2023-07-28 02:36:10 +03:00
Inex Code
6660e1d9d5
fix(services): ocserv and jitsi were returning wrong volumes too
2023-07-28 02:31:28 +03:00
Inex Code
3bff43a6bf
fix(mailserver): Location of the "location" attribute was inconsistent
2023-07-28 02:18:05 +03:00
Houkime
00317cc7e4
test(backups): erase repos between tests
2023-07-26 16:52:58 +00:00
Houkime
cfa7f4ae59
feature(backups): add full repo erasure capability
2023-07-26 16:45:08 +00:00
Houkime
ffec344ba8
test(backups): make the test repo overridable by envs
2023-07-26 14:26:04 +00:00
Houkime
aa7cc71557
feature(backups):add a function to set provider from env
2023-07-26 11:54:17 +00:00
Houkime
e9bb6d9973
test(backups):check that snapshot cache invalidation invalidates both ways.
2023-07-26 10:09:35 +00:00
houkime
c5b7ca7565
Merge pull request 'refactor(jobs):track 100-on-finished as a progress update' ( #44 ) from fix-no-updates-if-delayed into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/44
2023-07-21 16:30:28 +03:00
Houkime
d664fcbdc4
refactor(jobs):track 100-on-finished as a progress update
2023-07-21 13:06:18 +00:00
houkime
e8c59f5068
Merge pull request 'fix(backup):force backup function to return same length ids as when getting snapshots' ( #43 ) from fix-forget into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/43
2023-07-21 14:20:42 +03:00
Houkime
26488aa12f
fix(backup):force backup function to return same length ids as when getting snapshots
2023-07-21 11:11:24 +00:00
Inex Code
b01247bc55
refactor: remove legacy backups implementations
2023-07-20 20:11:42 +03:00
Inex Code
413911849d
refactor(backups): remove calls of legacy backups API
2023-07-20 20:06:39 +03:00
Inex Code
eafc7a412c
fix: timezone awareness of automatic backup task
2023-07-20 19:42:44 +03:00
Inex Code
c9d20e8efd
fix(backups): make datetimes from huey timezone aware
2023-07-20 19:39:10 +03:00
Inex Code
e0a5ecdd9d
style: reformat
2023-07-20 19:37:01 +03:00
Inex Code
95dbd4fac2
chore: bump version
2023-07-20 19:35:35 +03:00
Inex Code
f965546ca6
Merge pull request 'Rewrite backups' ( #35 ) from restic-rewrite into master
...
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/35
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-07-20 18:42:56 +03:00
Inex Code
ac236569b0
chore: bump version to 2.2.0
2023-07-20 18:28:00 +03:00
Inex Code
4b575b6138
fix(graphql): duplicate imports
2023-07-20 18:25:32 +03:00
Inex Code
0245d629fd
refactor(backups): linting
2023-07-20 18:24:26 +03:00
Inex Code
2df448a4a9
fix(backups): Do not shut down the service during backup
...
We do not want the user to expirience outages during automatic backups.
Generally, they are not even needed.
We should use hooks to service-specific tasks, such as
creating the database dump, so we don't have to shut down Postgres.
2023-07-20 17:11:02 +03:00
Houkime
f4ac3d29a9
feature(backup):remove code for finegrained autobackup control
2023-07-19 15:36:25 +00:00