Commit graph

242 commits

Author SHA1 Message Date
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
Houkime 4547f02e1b fix(backup): add memory backup class,forgot to add to git 2023-04-03 23:29:02 +00:00
Houkime 6a11cd67ac feat(backup): add backuping to restic backuper 2023-04-03 23:29:02 +00:00
Houkime 83ed93b271 feat(backup): add in-memory backup 2023-04-03 23:29:02 +00:00
Houkime 5fd7b6c4ed feat(backup): allow no auth 2023-04-03 23:29:02 +00:00
Houkime 696cb406a8 test(backup): dummy service 2023-04-03 23:29:02 +00:00
Houkime 327ad8171f test(backup): provider class selection 2023-04-03 23:29:02 +00:00
Houkime 19ad9a5113 feature(backups): copy cli logic to new restic backuper 2023-04-03 23:29:02 +00:00
Houkime 96b6dfabbe feature(backups): placeholders for the backupers and backup providers 2023-04-03 23:29:02 +00:00
Houkime 61ff2724f3 feature(backups): placeholders for the modules of the new backup system 2023-04-03 23:29:02 +00:00
Houkime fbed185475 feature(backups): add backup structures and queries 2023-04-03 23:29:02 +00:00
Houkime cdcb4ec4c0 refactor(backup): do not use config file 2023-04-03 23:29:02 +00:00
Houkime 4e8050727a refactor(backup): pass key and account to exec 2023-04-03 23:29:02 +00:00
Houkime 7956829981 refactor(backup): extract restic repo 2023-04-03 23:29:02 +00:00
Houkime c7f304744c refactor(backup): extract rclone args 2023-04-03 23:29:02 +00:00
Houkime 2d761f7311 refactor(backup): delete unused import 2023-04-03 23:29:02 +00:00
Inex Code 5ada12d2f3 feat: Add a migration that will prepare server for 22.11 upgrade 2023-03-17 16:37:47 +03:00
Inex Code 8ce13f0ad2 feat: Add Digital Ocean as a DNS provider 2023-02-06 11:50:43 +03:00
Inex Code 4e7261c9c4 fix(dns-records): Fix DKIM parser
Previously API relied on client to parse DKIM DNS string, as it was a
separate endpoint. But now client blindly trusts the API, but parser
was not migrated over to the API.
2023-01-16 18:41:54 +03:00
Inex Code e7a49e170d fix: module models not found 2022-12-30 21:39:28 +03:00
Inex Code 24353ca56a chore: bump API version 2022-12-30 21:10:55 +03:00
Inex Code cb403a94bd fix: typing 2022-12-30 21:06:16 +03:00
Houkime 3ecfb2eacb refactor(tokens-repo): delete auth utils 2022-12-26 15:54:33 +00:00
Houkime 450ff41ebd feat(tokens-repo): make device names unique before storage 2022-12-26 15:51:12 +00:00