Houkime
|
ae7f53d1ec
|
refactor(services): remove special storage counting from nextcloud
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
34854b5118
|
documentation(services): move the storage count docstring to parent service class
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
f5de4974e7
|
refactor(services): remove special storage counting from mail
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
208e256c0f
|
refactor(services): remove special storage counting from jitsi
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
44041662c2
|
refactor(services): remove special storage counting from gitea
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
3b8168c25d
|
refactor(services): remove special storage counting from bitwarden
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
c2cd972805
|
refactor(services): add a generic storage counter
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
0a9848be47
|
refactor(services): make get_folders() a mandatory part of Service interface
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ac04425221
|
refactor(services): add get_folders() to the rest of the services
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
1019031b5b
|
fix(services): use get_foldername() for moving around
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
95b88ea2e4
|
test(backups): implement get_folders() for gitea
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
498208f083
|
test(backups): implement get_folders() for bitwarden
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
b21d63be63
|
refactor(backups): set a list of folders for our dummy service
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
3aefbaaf0b
|
refactor(backups): actually accept a list of folders
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
f0aabec947
|
refactor(backups): make api accept a list of folders
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d1e1039519
|
refactor(backups): make a dedicated get_folders() function
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
507cdb3bbd
|
refactor(services): rename get_location() to get_drive()
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
6132f1bb4c
|
test(backups): register dummy service
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
1940b29161
|
feature(backups): automatic backup
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
5e9c651c65
|
test(backups): test autobackup timing
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
b305c19559
|
refactor(backups): split out storage
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
f9eaaab929
|
feature(backups): enable snapshot cache usage
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
2c510ae884
|
feature(backups): add snapshot cache sync functions
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ed0861aacc
|
test(backups): test last backup date retrieval
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
054b07baa3
|
feature(backups): add a datetime validator function for huey autobackups
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
343fda0630
|
test(backups): test setting autobackup period
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
0a4338596b
|
test(backups): test setting services as enabled for autobackups
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
79b9bb352a
|
feature(backups): methods for autobackup period setting and getting
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
951bb8d5ec
|
fix(backups): remove self from static method
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d354f4ac0b
|
feature(backups): check, set and unset service autobackup status
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
43b6ebd04d
|
feature(backups): cache snapshots and last backup timestamps
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d57dc3f7d2
|
test(backups): test that we do return snapshot on backup
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
35a4fec9d4
|
feature(backups): return snapshot info from backup function
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
a134009165
|
feature(backups): huey task to back up
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
d972fdc3cc
|
refactor(backups): make backups stateless
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
6f8f5cbb9e
|
feature(backups): repo init tracking
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
02deae217d
|
feature(backups): provider storage and retrieval
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
48dc63a590
|
refactor(backups): add a provider model for redis storage
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
873bc8282e
|
refactor(backups): redis model storage utils
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
c928263fce
|
feature(backups): load from json
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
0847e16089
|
feat(backups): local secret generation and storage
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
60dcde458c
|
feat(backups): sizing up snapshots
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
1d403b0e94
|
test(backups): test restoring a file
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
c8a8d45110
|
feat(backups): add restore_snapshot and restore_service_from_snapshot
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
ff6bc2a142
|
feat(backups): a better error on failed snapshot retrieval
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
e56907f2cd
|
feat(backups): return proper snapshot structs when listing
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
228eab44bb
|
feat(backups): throw an error on a failed backup
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
348ece8b9c
|
fix(backups): singleton metaclass was screwing with tests
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
a280e5c999
|
test(backups): localfile repo by default in tests
|
2023-07-17 16:05:00 +03:00 |
|
Houkime
|
add4e21f39
|
feature(backups): throw an error if repo init fails
|
2023-07-17 16:05:00 +03:00 |
|