Commit graph

417 commits

Author SHA1 Message Date
Houkime cc09e933ed feat(backups): return proper snapshot structs when listing 2023-04-03 23:29:02 +00:00
Houkime de12685d3d test(backups): reenable snapshot testing 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 d7f96a9adf test(backups): basic file backend init test 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 6821b245d2 test(backups): test repo init 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 de6b96f446 test(backup): use a backup service function 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 d5e0a3894b test(backup): make a testfile to backup 2023-04-03 23:29:02 +00:00
Houkime b6650b52c3 test(backup): init an in-memory backup class 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
Houkime 5450b92454 test(backup): add restic to the dev shell 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 6aadbabbc4 Merge pull request 'feat: Add Digital Ocean as a DNS provider' (#34) from providers/digital-ocan-dns into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/34
2023-02-06 13:18:55 +02:00
Inex Code 8ce13f0ad2 feat: Add Digital Ocean as a DNS provider 2023-02-06 11:50:43 +03:00
Inex Code 392ed79e92 chore: Project files for IDEA 2023-02-06 11:50:16 +03:00
Inex Code 1035f9215d Merge pull request 'fix(dns-records): Fix DKIM parser' (#33) from fix/dkim_parser into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/33
2023-01-16 17:48:24 +02: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 b5ee542693 Merge pull request 'API 2.1.0 release' (#30) from redis/connection-pool into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/30
2022-12-30 20:25:58 +02:00
Inex Code 2db40650ad Merge remote-tracking branch 'origin/master' into redis/connection-pool 2022-12-30 21:24:49 +03:00
def 2fc635da71 docs: add CONTRIBUTING.md 2022-12-30 21:21:34 +03:00