Commit graph

265 commits

Author SHA1 Message Date
Houkime
170cf1923e refactor(services): rename get_location() to get_drive() 2023-04-29 15:28:21 +03:00
Houkime
5101f41437 test(backups): register dummy service 2023-04-29 15:28:21 +03:00
Inex Code
c7a65febe7 feat: Locale extension to parse the Accept-Language header 2023-04-12 16:59:23 +03:00
Inex Code
e0ea004e80 feat: Test if getting headers works 2023-04-12 16:13:30 +03:00
Inex Code
9376fe151f feat(l10n): Add option for localizing the output of strings in Service classes 2023-04-12 14:55:34 +03:00
Houkime
3d4d05ff11 feature(backups): automatic backup 2023-04-10 16:35:35 +00:00
Houkime
d7316f8e79 test(backups): test autobackup timing 2023-04-10 15:51:54 +00:00
Houkime
a11627da7d refactor(backups): split out storage 2023-04-10 13:23:17 +00:00
Houkime
d68e9a4141 feature(backups): enable snapshot cache usage 2023-04-07 17:24:53 +00:00
Houkime
942c35b7e6 feature(backups): add snapshot cache sync functions 2023-04-07 15:41:02 +00:00
Houkime
644a0b96b8 test(backups): test last backup date retrieval 2023-04-07 15:18:54 +00:00
Houkime
f6402f2394 feature(backups): add a datetime validator function for huey autobackups 2023-04-03 23:29:02 +00:00
Houkime
aeec3ad0a2 test(backups): test setting autobackup period 2023-04-03 23:29:02 +00:00
Houkime
9edfe10128 test(backups): test setting services as enabled for autobackups 2023-04-03 23:29:02 +00:00
Houkime
7f99fd044e feature(backups): methods for autobackup period setting and getting 2023-04-03 23:29:02 +00:00
Houkime
3e93572648 fix(backups): remove self from static method 2023-04-03 23:29:02 +00:00
Houkime
58086909a4 feature(backups): check, set and unset service autobackup status 2023-04-03 23:29:02 +00:00
Houkime
d9102eba37 feature(backups): cache snapshots and last backup timestamps 2023-04-03 23:29:02 +00:00
Houkime
3a65f0845a test(backups): test that we do return snapshot on backup 2023-04-03 23:29:02 +00:00
Houkime
a82a986997 feature(backups): return snapshot info from backup function 2023-04-03 23:29:02 +00:00
Houkime
daa40d1142 feature(backups): huey task to back up 2023-04-03 23:29:02 +00:00
Houkime
baf3afb25b refactor(backups): make backups stateless 2023-04-03 23:29:02 +00:00
Houkime
b4a3658c78 feature(backups): repo init tracking 2023-04-03 23:29:02 +00:00
Houkime
e02c1a878b feature(backups): provider storage and retrieval 2023-04-03 23:29:02 +00:00
Houkime
36907aa9c2 refactor(backups): add a provider model for redis storage 2023-04-03 23:29:02 +00:00
Houkime
f785e6724a refactor(backups): redis model storage utils 2023-04-03 23:29:02 +00:00
Houkime
d8a0e05602 feature(backups): load from json 2023-04-03 23:29:02 +00:00
Houkime
719c81d2f4 feat(backups): local secret generation and storage 2023-04-03 23:29:02 +00:00
Houkime
5d5ceee1cf feat(backups): sizing up snapshots 2023-04-03 23:29:02 +00:00
Houkime
48f8f95d83 test(backups): test restoring a file 2023-04-03 23:29:02 +00:00
Houkime
f2aab38085 feat(backups): add restore_snapshot and restore_service_from_snapshot 2023-04-03 23:29:02 +00:00
Houkime
39a97cf6d8 feat(backups): a better error on failed snapshot retrieval 2023-04-03 23:29:02 +00:00
Houkime
cc09e933ed feat(backups): return proper snapshot structs when listing 2023-04-03 23:29:02 +00:00
Houkime
86467788d3 feat(backups): throw an error on a failed backup 2023-04-03 23:29:02 +00:00
Houkime
8f019c99e3 fix(backups): singleton metaclass was screwing with tests 2023-04-03 23:29:02 +00:00
Houkime
090198c300 test(backups): localfile repo by default in tests 2023-04-03 23:29:02 +00:00
Houkime
7cb6ca9641 feature(backups): throw an error if repo init fails 2023-04-03 23:29:02 +00:00
Houkime
0ce6624d5a feature(backups): register localfile backend 2023-04-03 23:29:02 +00:00
Houkime
aeb66b9c72 feature(backups): localfile repo 2023-04-03 23:29:02 +00:00
Houkime
ad1b1c4972 refactor(backups): repo init service method 2023-04-03 23:29:02 +00:00
Houkime
d1dbcbae5e refactor(backups): add repo init 2023-04-03 23:29:02 +00:00
Houkime
cbf917ad8a refactor(backups): snapshotlist and local secret groundwork 2023-04-03 23:29:02 +00:00
Houkime
37b747f87f test(backup): no snapshots 2023-04-03 23:29:02 +00:00
Houkime
6989dd0f7c refactor(backup): snapshot model 2023-04-03 23:29:02 +00:00
Houkime
6376503793 feature(backup): loading snapshots 2023-04-03 23:29:02 +00:00
Houkime
e7062d72c6 feature(backup): add a restore function to restic backuper 2023-04-03 23:29:02 +00:00
Houkime
0381a9c671 feat(backup): hooks 2023-04-03 23:29:02 +00:00
Houkime
bf3b698b34 refactor(backup): add a backup function to Backups singleton class 2023-04-03 23:29:02 +00:00
Houkime
33df16f743 refactor(backup): add a placeholder Backups singleton class 2023-04-03 23:29:02 +00:00
Houkime
88b715464d test(backup): try to back up! 2023-04-03 23:29:02 +00:00