Commit graph

  • 889c7eee6a test(tokens-repo): offload empty_keys fixture to json tests Houkime 2022-12-28 11:14:36 +00:00
  • 8065921862 test(tokens-repo): make empty_tokens fixture, even more minimal Houkime 2022-12-28 11:09:24 +00:00
  • 3e7ea01a42 test(tokens-repo): make empty_keys fixture (and derived) shareable Houkime 2022-12-28 11:00:55 +00:00
  • 8554879dc2 Merge remote-tracking branch 'upstream/restic-rewrite-api' into restic-rewrite Houkime 2023-06-14 10:27:50 +00:00
  • c47977c100 test(backups): actual testfile Houkime 2023-06-14 10:09:38 +00:00
  • d9bde6930b fix(backups): register queries Houkime 2023-06-14 10:06:01 +00:00
  • 865e304f42 test(backups): test backup API - backing up Houkime 2023-06-14 09:52:44 +00:00
  • d356fad534 fix(backups): Handle orphaned snapshots 1722990726406885488/tmp_refs/heads/restic-rewrite-api 1722990726406885488/restic-rewrite-api 1722990726241361356/tmp_refs/heads/restic-rewrite-api 1722990726241361356/restic-rewrite-api 1722990696935198235/tmp_refs/heads/restic-rewrite-api 1722990696935198235/restic-rewrite-api 1722990696722195509/tmp_refs/heads/restic-rewrite-api 1722990696722195509/restic-rewrite-api 1722990666090261816/tmp_refs/heads/restic-rewrite-api 1722990666090261816/restic-rewrite-api 1722990665284303929/tmp_refs/heads/restic-rewrite-api 1722990665284303929/restic-rewrite-api restic-rewrite-api Inex Code 2023-06-14 02:52:10 +03:00
  • f4df1f6a62 fix(backups): return type of encryption key Inex Code 2023-06-14 01:40:53 +03:00
  • 0ef6569d97 fix(backups): try to actually get backup configuration Inex Code 2023-06-14 00:43:01 +03:00
  • f950dd1e93 feat(backups): register backups in GraphQL schema Inex Code 2023-06-14 00:00:29 +03:00
  • d02302c7b2 fix: BackupConfiguration argument order Inex Code 2023-06-13 23:54:02 +03:00
  • 549b149aaf feature(backups): check available space before restoring Houkime 2023-06-07 16:33:13 +00:00
  • 981445d594 refactor(backups): expect one more error of restic json output parsing Houkime 2023-06-07 15:55:38 +00:00
  • 7f984b678f feature(backups): integration between restore and jobs Houkime 2023-06-07 15:05:58 +00:00
  • 98de85e569 fix(backups): return one job, not an array of one Houkime 2023-06-07 14:27:37 +00:00
  • 4b8abb6a66 fix(backups): return 400, not 300 Houkime 2023-06-07 14:25:17 +00:00
  • 0c95c5913b BREAKING CHANGE(backups): support only individual service backup requests(combinable) Houkime 2023-06-07 14:11:22 +00:00
  • ff58bdccbb feature(backups): set autobackup period from gql Houkime 2023-06-05 11:49:37 +00:00
  • d6609b29e8 feature(backups): get all snapshots if requested by api Houkime 2023-06-05 11:36:58 +00:00
  • 2168037a10 refactor(backups): introduce get_all_snapshots() Houkime 2023-06-05 11:28:53 +00:00
  • 9d5335f62c feature(backups): feature(backups): return a snapshot from start_backup Houkime 2023-06-05 11:19:01 +00:00
  • 47d1a0f4a4 refactor(i10l): Move services string localization to API layer 1722990738382793226/tmp_refs/heads/l10n 1722990738382793226/l10n 1722990706755631147/tmp_refs/heads/l10n 1722990706755631147/l10n 1722990677043761660/tmp_refs/heads/l10n 1722990677043761660/l10n l10n Inex Code 2023-06-01 22:42:27 +03:00
  • 9a94f7624e feature(backups): a graphql call to invalidate cache Houkime 2023-06-01 16:12:32 +00:00
  • 50952d688a feature(backups): graphql mutation for restore Houkime 2023-06-01 14:03:26 +00:00
  • f7c0821675 fix(backups): return correct snapshots per service Houkime 2023-06-01 12:44:14 +00:00
  • 4b07d4de41 refactor(backups): global snapshots Houkime 2023-05-31 13:16:08 +00:00
  • 603ed2ddf9 feature(backups): start backup graphql API Houkime 2023-05-31 11:30:09 +00:00
  • 9c4d2a0ba5 feature(backups): drop repository call Houkime 2023-05-29 18:24:38 +00:00
  • c3696d3a4b feature(backups): global init instead of per-service Houkime 2023-05-29 16:50:14 +00:00
  • 345e2c10c4 feature(backups): a graphql query to get provider info Houkime 2023-05-29 16:12:22 +00:00
  • 97e4c529f6 feature(backups): init repo mutation Houkime 2023-05-29 15:34:26 +00:00
  • 0dc6f74754 fix(backups): make sure location and credentials get properly passed around Houkime 2023-05-22 16:01:57 +00:00
  • 03d4632465 refactor(backups): remove extraneous asserts from jobs Houkime 2023-05-17 20:24:29 +00:00
  • 9fab596f91 refactor(backups): refactor realtime updating Houkime 2023-05-17 20:21:37 +00:00
  • b1d0a80963 feature(backups): realtime progress updates of backups Houkime 2023-05-17 20:09:29 +00:00
  • 54a8e0b2b0 test(backups): break out obtaining finished jobs Houkime 2023-05-17 20:02:21 +00:00
  • 60806cd536 feature(backups): job progress logs Houkime 2023-05-17 18:36:39 +00:00
  • ddd2176a5d refactor(backups): break out job logs status prefix Houkime 2023-05-17 17:59:56 +00:00
  • deb857bca9 refactor(backups): use single repo and multiplex by tags Houkime 2023-05-17 17:48:06 +00:00
  • a6b3a5e590 feature(backups): deny adding a backup job if another one is already queued Houkime 2023-05-12 11:07:55 +00:00
  • e25aa2cb33 test(backups): test that the job has run Houkime 2023-05-08 12:43:11 +00:00
  • 7ddfad10d4 refactor(backups): quick-expiration logs of jobs status updates Houkime 2023-05-08 12:21:02 +00:00
  • b2e231ebae feature(backups): set job status to error if backup fails Houkime 2023-05-08 10:55:22 +00:00
  • 0bf18dcdc7 refactor(backups): cleanup unused imports in tasks Houkime 2023-05-08 10:49:18 +00:00
  • 396b42b69c test(backups): test jobs starting and finishing when from Backups Houkime 2023-04-24 17:03:56 +00:00
  • d340b0ca67 test(backups): break out a finished job checker Houkime 2023-04-24 16:50:22 +00:00
  • ad6cc5e1bc refactor(backups): make a backup job running when the backup code itself is executed Houkime 2023-04-24 16:37:07 +00:00
  • c0dfbb3ca2 refactor(backups): delete unused redis import from backups ckass Houkime 2023-04-24 16:16:45 +00:00
  • 3eb8382d9b feature(backups): also create a job if not called from a task Houkime 2023-04-24 16:15:12 +00:00
  • cb1dd1011e test(backups): assure that jobs are created and not duplicated Houkime 2023-04-21 12:19:59 +00:00
  • 108fca0eb3 feature(backups): simplest jobs intergration in tasks: created and finished Houkime 2023-04-21 11:59:15 +00:00
  • d1425561d9 feature(backups): restore task Houkime 2023-04-19 15:09:06 +00:00
  • 72f4fc8ae7 test(backups): test local secrets Houkime 2023-04-19 14:24:53 +00:00
  • fa360655fe refactor(services): make local secret setting public Houkime 2023-04-19 13:59:03 +00:00
  • 65acd3173a refactor(services): use fully generic foldermoves Houkime 2023-04-19 12:43:47 +00:00
  • dde86725b9 test(services): test derivation of foldermoves Houkime 2023-04-19 12:12:46 +00:00
  • ba72fadb8d test(services): test that we indeed return correct folders and owned folders from real services Houkime 2023-04-19 11:34:14 +00:00
  • 043675ce14 fix(services): folder methods typing Houkime 2023-04-17 16:04:21 +00:00
  • 238a656cd9 refactor(services): make a foldermove from owned path Houkime 2023-04-17 16:01:51 +00:00
  • ad66513f27 refactor(services): add folder owner derivation Houkime 2023-04-17 15:37:11 +00:00
  • c34eb6d447 refactor(services): add overridable get owner and get group Houkime 2023-04-17 15:00:36 +00:00
  • 0b7d2d0bf4 refactor(services): add OwnedPath struct Houkime 2023-04-17 14:54:42 +00:00
  • a664ab3dd4 refactor(services): remove special storage counting from pleroma Houkime 2023-04-17 14:31:04 +00:00
  • 3605a71c1d refactor(services): remove special storage counting from ocserv Houkime 2023-04-17 14:28:12 +00:00
  • 617f7f1628 refactor(services): remove special storage counting from nextcloud Houkime 2023-04-17 14:19:15 +00:00
  • 4475bcea45 documentation(services): move the storage count docstring to parent service class Houkime 2023-04-17 14:18:44 +00:00
  • 042a2e4cf2 refactor(services): remove special storage counting from mail Houkime 2023-04-17 14:14:48 +00:00
  • 312328af95 refactor(services): remove special storage counting from jitsi Houkime 2023-04-17 14:11:47 +00:00
  • c040f0825c refactor(services): remove special storage counting from gitea Houkime 2023-04-17 14:07:04 +00:00
  • f8edcac33f refactor(services): remove special storage counting from bitwarden Houkime 2023-04-17 14:05:17 +00:00
  • 789fd71e2f refactor(services): add a generic storage counter Houkime 2023-04-17 14:02:07 +00:00
  • a34b14449b refactor(services): make get_folders() a mandatory part of Service interface Houkime 2023-04-17 13:53:51 +00:00
  • 8a4f256c12 refactor(services): add get_folders() to the rest of the services Houkime 2023-04-17 13:47:49 +00:00
  • 0207b5a473 fix(services): use get_foldername() for moving around Houkime 2023-04-17 12:54:21 +00:00
  • 1c0e3f0f92 test(backups): implement get_folders() for gitea Houkime 2023-04-17 12:48:11 +00:00
  • 378f0ebd73 test(backups): implement get_folders() for bitwarden Houkime 2023-04-17 12:33:27 +00:00
  • 48359ffd20 test(backups): test 2-folder restoration Houkime 2023-04-14 13:06:17 +00:00
  • a68e94fad3 test(backups): actually back up 2 folders Houkime 2023-04-14 12:40:41 +00:00
  • 30ac990985 refactor(backups): set a list of folders for our dummy service Houkime 2023-04-14 12:29:23 +00:00
  • fa26379a68 refactor(backups): actually accept a list of folders Houkime 2023-04-14 11:58:39 +00:00
  • 08739f7ca8 refactor(backups): make api accept a list of folders Houkime 2023-04-14 11:20:03 +00:00
  • 919ba1ad03 refactor(backups): make a dedicated get_folders() function Houkime 2023-04-14 10:32:14 +00:00
  • 1b1052d205 refactor(services): rename get_location() to get_drive() Houkime 2023-04-14 10:18:21 +00:00
  • 0ae4192081 test(backups): register dummy service Houkime 2023-04-12 17:18:12 +00:00
  • 4018dca184 feature(backups): automatic backup Houkime 2023-04-10 16:35:35 +00:00
  • ec85f060f8 test(backups): test autobackup timing Houkime 2023-04-10 15:51:54 +00:00
  • 283c8d09cc refactor(backups): split out storage Houkime 2023-04-10 13:22:33 +00:00
  • f25e57c51a test(backups): test that we do use cache Houkime 2023-04-07 18:12:05 +00:00
  • 5ad9f50b94 feature(backups): enable snapshot cache usage Houkime 2023-04-07 17:24:53 +00:00
  • a2ff74244e feature(backups): add snapshot cache sync functions Houkime 2023-04-07 15:41:02 +00:00
  • 7699ba0d9b test(backups): test last backup date retrieval Houkime 2023-04-07 15:18:54 +00:00
  • 146b0ca02f feature(backups): add a datetime validator function for huey autobackups Houkime 2023-04-03 23:23:47 +00:00
  • d4cad61d56 test(backups): test setting autobackup period Houkime 2023-04-03 22:39:04 +00:00
  • 3c42d8c413 test(backups): test setting services as enabled for autobackups Houkime 2023-04-03 21:59:14 +00:00
  • e043720289 feature(backups): methods for autobackup period setting and getting Houkime 2023-04-03 18:54:27 +00:00
  • 417533fc04 fix(backups): remove self from static method Houkime 2023-04-03 18:39:55 +00:00
  • 45f33e2d31 feature(backups): check, set and unset service autobackup status Houkime 2023-04-03 18:37:12 +00:00
  • 18d5cd2b83 feature(backups): cache snapshots and last backup timestamps Houkime 2023-04-03 18:18:23 +00:00
  • ae065867b3 test(backups): test that we do return snapshot on backup Houkime 2023-04-03 17:23:16 +00:00