Commit graph

407 commits

Author SHA1 Message Date
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
def bcfb8e62e9 refactor(repository): Tokens repository JSON backend (#18)
Co-authored-by: def <dettlaff@riseup.net>
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/18
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2022-12-30 21:20:17 +03:00
Inex Code 24353ca56a chore: bump API version 2022-12-30 21:10:55 +03:00
Inex Code 45c6133881 Merge pull request 'Migrate to AbstractTokenRepository API' (#28) from redis/token-repo into redis/connection-pool
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/28
2022-12-30 20:06:43 +02:00
Inex Code cb403a94bd fix: typing 2022-12-30 21:06:16 +03:00
Inex Code 7b526b7bd9 Merge branch 'redis/connection-pool' into redis/token-repo 2022-12-30 18:31:46 +02:00
Inex Code 34b1a47d04 Merge pull request 'docs: add CONTRIBUTING.md' (#29) from def/add_contributing_guide into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/29
2022-12-29 20:33:22 +02:00
def 5c30f80479 docs: add CONTRIBUTING.md 2022-12-29 20:30:21 +02:00
Inex Code 999dd95cab ci: Add redis to CI pipeline 2022-12-27 07:13:03 +03:00
Houkime 67872d7c55 test(tokens-repo): use mnemonic_from_hex consistently 2022-12-26 16:22:16 +00:00
Houkime 3ecfb2eacb refactor(tokens-repo): delete auth utils 2022-12-26 15:54:33 +00:00