@futo-org/backups-orchestrator-ui 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,6 +255,10 @@ msgstr "Approve the connection from Immich and save your recovery key. FUTO cann
255
255
  msgid "Attempted"
256
256
  msgstr "Attempted"
257
257
 
258
+ #: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
259
+ msgid "Automatic ({count})"
260
+ msgstr "Automatic ({count})"
261
+
258
262
  #: src/lib/components/onboarding/upsell/UpsellBackupFeaturesGrid.svelte
259
263
  msgid "Automatic backups"
260
264
  msgstr "Automatic backups"
@@ -441,6 +445,10 @@ msgstr "Backup your photos, videos, albums, metadata, database, configuration, a
441
445
  msgid "Backups"
442
446
  msgstr "Backups"
443
447
 
448
+ #: src/lib/components/integrations/immich/ImmichResticMissingAlert.svelte
449
+ msgid "Backups can't run on this Immich image"
450
+ msgstr "Backups can't run on this Immich image"
451
+
444
452
  #: src/lib/components/backups/BackupsList.svelte
445
453
  msgid "Backups found elsewhere"
446
454
  msgstr "Backups found elsewhere"
@@ -505,13 +513,17 @@ msgid "Can't access, is your recovery key correct?"
505
513
  msgstr "Can't access, is your recovery key correct?"
506
514
 
507
515
  #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
508
- msgid "Can't change your Immich image, or not using Immich?"
509
- msgstr "Can't change your Immich image, or not using Immich?"
516
+ #~ msgid "Can't change your Immich image, or not using Immich?"
517
+ #~ msgstr "Can't change your Immich image, or not using Immich?"
510
518
 
511
519
  #: src/lib/components/backups/dialogs/ImportRepositoryModal.svelte
512
520
  msgid "Can't read repository."
513
521
  msgstr "Can't read repository."
514
522
 
523
+ #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
524
+ msgid "Can't update Immich to v3.4.0 yet, or not using Immich?"
525
+ msgstr "Can't update Immich to v3.4.0 yet, or not using Immich?"
526
+
515
527
  #: src/lib/components/backends/dialogs/OAuthDeviceFlowModal.svelte
516
528
  #: src/lib/components/backends/dialogs/SelectBackendModal.svelte
517
529
  #: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
@@ -1154,8 +1166,8 @@ msgid "FUTO Backups adds backup support to your existing Immich setup, giving yo
1154
1166
  msgstr "FUTO Backups adds backup support to your existing Immich setup, giving you more ways to protect your library if something goes wrong."
1155
1167
 
1156
1168
  #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1157
- msgid "FUTO Backups already creates the same database backups as Immich."
1158
- msgstr "FUTO Backups already creates the same database backups as Immich."
1169
+ #~ msgid "FUTO Backups already creates the same database backups as Immich."
1170
+ #~ msgstr "FUTO Backups already creates the same database backups as Immich."
1159
1171
 
1160
1172
  #: src/lib/components/onboarding/steps/OnboardingStepBetaDisclaimer.svelte
1161
1173
  msgid "FUTO Backups is free during the closed beta. You won't be charged for any usage."
@@ -1166,6 +1178,14 @@ msgstr "FUTO Backups is free during the closed beta. You won't be charged for an
1166
1178
  msgid "FUTO Backups is in closed beta"
1167
1179
  msgstr "FUTO Backups is in closed beta"
1168
1180
 
1181
+ #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1182
+ msgid "FUTO Backups makes a fresh database backup before every run, in the same folder as Immich's own nightly ones. Turning off Immich's nightly backups avoids doing the work twice. Your database backups still land in that folder, so any other backup you run of it keeps working."
1183
+ msgstr "FUTO Backups makes a fresh database backup before every run, in the same folder as Immich's own nightly ones. Turning off Immich's nightly backups avoids doing the work twice. Your database backups still land in that folder, so any other backup you run of it keeps working."
1184
+
1185
+ #: src/lib/components/integrations/immich/ImmichResticMissingAlert.svelte
1186
+ msgid "FUTO Backups needs the restic program, and this Immich image does not include it. Switch to the official Immich image, or use the FUTO Backups standalone container."
1187
+ msgstr "FUTO Backups needs the restic program, and this Immich image does not include it. Switch to the official Immich image, or use the FUTO Backups standalone container."
1188
+
1169
1189
  #: src/lib/components/onboarding/steps/OnboardingStep3SaveRecoveryKey.svelte
1170
1190
  msgid "FUTO cannot restore your backups without this key."
1171
1191
  msgstr "FUTO cannot restore your backups without this key."
@@ -1257,20 +1277,24 @@ msgid "ID {id}"
1257
1277
  msgstr "ID {id}"
1258
1278
 
1259
1279
  #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1260
- msgid "Ignore"
1261
- msgstr "Ignore"
1280
+ #~ msgid "Ignore"
1281
+ #~ msgstr "Ignore"
1262
1282
 
1263
1283
  #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1264
- msgid "Immich database backups are still enabled"
1265
- msgstr "Immich database backups are still enabled"
1284
+ #~ msgid "Immich database backups are still enabled"
1285
+ #~ msgstr "Immich database backups are still enabled"
1266
1286
 
1267
1287
  #: src/lib/components/onboarding/steps/OnboardingStep4FirstBackup.svelte
1268
1288
  msgid "Immich has prepared recommended settings for your first backup. You can update these anytime from the Backups dashboard."
1269
1289
  msgstr "Immich has prepared recommended settings for your first backup. You can update these anytime from the Backups dashboard."
1270
1290
 
1291
+ #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1292
+ msgid "Immich is also making database backups"
1293
+ msgstr "Immich is also making database backups"
1294
+
1271
1295
  #: src/lib/components/backups/BackupStatus.svelte
1272
- msgid "Immich is backing up your library. You can close this window and continue using Immich while the backup runs in the background."
1273
- msgstr "Immich is backing up your library. You can close this window and continue using Immich while the backup runs in the background."
1296
+ #~ msgid "Immich is backing up your library. You can close this window and continue using Immich while the backup runs in the background."
1297
+ #~ msgstr "Immich is backing up your library. You can close this window and continue using Immich while the backup runs in the background."
1274
1298
 
1275
1299
  #: src/lib/components/backups/dialogs/ImportRepositoryModal.svelte
1276
1300
  #: src/lib/services/repository.service.ts
@@ -1363,6 +1387,10 @@ msgstr "Join the beta"
1363
1387
  msgid "Keep backing up"
1364
1388
  msgstr "Keep backing up"
1365
1389
 
1390
+ #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1391
+ msgid "Keep both"
1392
+ msgstr "Keep both"
1393
+
1366
1394
  #: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
1367
1395
  msgid "Keep latest two backups"
1368
1396
  msgstr "Keep latest two backups"
@@ -1456,8 +1484,12 @@ msgid "Link Discord account @{0} to {1}?"
1456
1484
  msgstr "Link Discord account @{0} to {1}?"
1457
1485
 
1458
1486
  #: src/lib/components/onboarding/steps/OnboardingStep2ConnectAccount.svelte
1459
- msgid "Link this Immich server to your FUTO account"
1460
- msgstr "Link this Immich server to your FUTO account"
1487
+ #~ msgid "Link this Immich server to your FUTO account"
1488
+ #~ msgstr "Link this Immich server to your FUTO account"
1489
+
1490
+ #: src/lib/components/onboarding/steps/OnboardingStep2ConnectAccount.svelte
1491
+ msgid "Link this server to your FUTO account"
1492
+ msgstr "Link this server to your FUTO account"
1461
1493
 
1462
1494
  #: src/lib/components/backups/metrics-history/MetricsHistoryModal.svelte
1463
1495
  msgid "Load more"
@@ -1582,8 +1614,8 @@ msgid "Monthly"
1582
1614
  msgstr "Monthly"
1583
1615
 
1584
1616
  #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
1585
- msgid "Most users should select \"use FUTO Backups only\"."
1586
- msgstr "Most users should select \"use FUTO Backups only\"."
1617
+ #~ msgid "Most users should select \"use FUTO Backups only\"."
1618
+ #~ msgstr "Most users should select \"use FUTO Backups only\"."
1587
1619
 
1588
1620
  #: src/lib/components/schedules/RepositoryPicker.svelte
1589
1621
  msgid "Move {name} down"
@@ -1843,6 +1875,10 @@ msgstr "Overview"
1843
1875
  msgid "Page {item}"
1844
1876
  msgstr "Page {item}"
1845
1877
 
1878
+ #: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
1879
+ msgid "Parallel uploads to storage. Raise on fast links, lower if your network or disk is struggling. Leave empty for automatic."
1880
+ msgstr "Parallel uploads to storage. Raise on fast links, lower if your network or disk is struggling. Leave empty for automatic."
1881
+
1846
1882
  #: src/lib/components/backends/dialogs/CreateLocalBackendModal.svelte
1847
1883
  msgid "Path"
1848
1884
  msgstr "Path"
@@ -2277,6 +2313,10 @@ msgstr "Set up Backups"
2277
2313
  msgid "Set up FUTO Cloud as your backup storage"
2278
2314
  msgstr "Set up FUTO Cloud as your backup storage"
2279
2315
 
2316
+ #: src/lib/components/integrations/immich/ImmichResticMissingAlert.svelte
2317
+ msgid "Set up the standalone container"
2318
+ msgstr "Set up the standalone container"
2319
+
2280
2320
  #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
2281
2321
  msgid "Setup guide"
2282
2322
  msgstr "Setup guide"
@@ -2438,8 +2478,8 @@ msgid "Support mode is off."
2438
2478
  msgstr "Support mode is off."
2439
2479
 
2440
2480
  #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
2441
- msgid "Switch Immich to the beta build"
2442
- msgstr "Switch Immich to the beta build"
2481
+ #~ msgid "Switch Immich to the beta build"
2482
+ #~ msgstr "Switch Immich to the beta build"
2443
2483
 
2444
2484
  #: src/lib/components/backups/dialogs/RestoreSnapshotModal.svelte
2445
2485
  msgid "Target"
@@ -2496,13 +2536,17 @@ msgid "This invite link has expired. Go back to Discord and claim it again to ge
2496
2536
  msgstr "This invite link has expired. Go back to Discord and claim it again to get a fresh one."
2497
2537
 
2498
2538
  #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
2499
- msgid "This is a development build of Immich. Back up your Immich data first and don't use a server you can't afford to break."
2500
- msgstr "This is a development build of Immich. Back up your Immich data first and don't use a server you can't afford to break."
2539
+ #~ msgid "This is a development build of Immich. Back up your Immich data first and don't use a server you can't afford to break."
2540
+ #~ msgstr "This is a development build of Immich. Back up your Immich data first and don't use a server you can't afford to break."
2501
2541
 
2502
2542
  #: src/lib/components/integrations/immich/ImmichManageBackupPage.svelte
2503
2543
  msgid "This is an early version of FUTO Backups. The service may be reset and your backup data may be deleted when the beta ends. Please don't rely on it as your only backup."
2504
2544
  msgstr "This is an early version of FUTO Backups. The service may be reset and your backup data may be deleted when the beta ends. Please don't rely on it as your only backup."
2505
2545
 
2546
+ #: src/lib/components/onboarding/RecoveryKeyDisplay.svelte
2547
+ msgid "This is one key. It is split across lines only to make it easier to read."
2548
+ msgstr "This is one key. It is split across lines only to make it easier to read."
2549
+
2506
2550
  #: ../../web/src/routes/link/discord/+page.svelte
2507
2551
  msgid "This link is invalid or has expired. Click the support button in Discord to get a new one."
2508
2552
  msgstr "This link is invalid or has expired. Click the support button in Discord to get a new one."
@@ -2551,6 +2595,10 @@ msgstr "Total Stored"
2551
2595
  msgid "Try again"
2552
2596
  msgstr "Try again"
2553
2597
 
2598
+ #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
2599
+ msgid "Turn off Immich's nightly backups"
2600
+ msgstr "Turn off Immich's nightly backups"
2601
+
2554
2602
  #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
2555
2603
  msgid "Turn on backups in Immich"
2556
2604
  msgstr "Turn on backups in Immich"
@@ -2567,13 +2615,21 @@ msgstr "Unable to link your Discord account."
2567
2615
  msgid "Until"
2568
2616
  msgstr "Until"
2569
2617
 
2618
+ #: ../../web/src/lib/components/onboarding/GetStartedChecklist.svelte
2619
+ msgid "Update Immich to v3.4.0"
2620
+ msgstr "Update Immich to v3.4.0"
2621
+
2622
+ #: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
2623
+ msgid "Upload connections"
2624
+ msgstr "Upload connections"
2625
+
2570
2626
  #: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
2571
2627
  msgid "Upload speed"
2572
2628
  msgstr "Upload speed"
2573
2629
 
2574
2630
  #: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
2575
- msgid "Use FUTO Backups only"
2576
- msgstr "Use FUTO Backups only"
2631
+ #~ msgid "Use FUTO Backups only"
2632
+ #~ msgstr "Use FUTO Backups only"
2577
2633
 
2578
2634
  #: src/lib/components/onboarding/steps/OnboardingStep2ConnectAccount.svelte
2579
2635
  msgid "Use local storage"
@@ -2688,6 +2744,10 @@ msgstr "write-only"
2688
2744
  msgid "Write-only"
2689
2745
  msgstr "Write-only"
2690
2746
 
2747
+ #: src/lib/components/backups/BackupStatus.svelte
2748
+ msgid "You can close this window and the backup will continue in the background."
2749
+ msgstr "You can close this window and the backup will continue in the background."
2750
+
2691
2751
  #: src/lib/components/backups/BackupStatus.svelte
2692
2752
  msgid "You can close this window and the prune will continue in the background."
2693
2753
  msgstr "You can close this window and the prune will continue in the background."
@@ -2809,5 +2869,9 @@ msgid "Your restore was interrupted"
2809
2869
  msgstr "Your restore was interrupted"
2810
2870
 
2811
2871
  #: src/lib/components/onboarding/steps/OnboardingStep1FinishSetup.svelte
2812
- msgid "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
2813
- msgstr "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
2872
+ #~ msgid "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
2873
+ #~ msgstr "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
2874
+
2875
+ #: src/lib/components/onboarding/steps/OnboardingStep1FinishSetup.svelte
2876
+ msgid "Your subscription is active. Finish setup to create your recovery key and start backing up your library."
2877
+ msgstr "Your subscription is active. Finish setup to create your recovery key and start backing up your library."
@@ -1,4 +1,4 @@
1
- import { type BandwidthDto, type ConfigUpdateRequestDto } from '../fetch-client';
1
+ import { type BandwidthDto, type ConfigUpdateRequestDto, type ConnectionsDto } from '../fetch-client';
2
2
  export declare const configKeys: {
3
3
  all: readonly ["config"];
4
4
  };
@@ -13,5 +13,7 @@ export type BandwidthForm = {
13
13
  export declare const toBandwidthForm: ({ bytesPerSec, quietHours, }: BandwidthDto) => BandwidthForm;
14
14
  export declare const toBytesPerSec: (mbps?: number) => number;
15
15
  export declare const toBandwidthDto: ({ mbps, quiet, quietStart, quietEnd, }: BandwidthForm) => BandwidthDto;
16
+ export declare const toConnectionsOverride: (value: number | undefined, { min, max }: Pick<ConnectionsDto, "min" | "max">) => number | null;
17
+ export declare const formatAutomaticConnections: ({ placements, }: Pick<ConnectionsDto, "placements">) => string;
16
18
  export declare const useConfig: () => import("@tanstack/svelte-query").CreateQueryResult<import("../fetch-client").ConfigResponseDto, Error>;
17
19
  export declare const useUpdateConfig: () => import("@tanstack/svelte-query").CreateMutationResult<import("../fetch-client").ConfigResponseDto, Error, ConfigUpdateRequestDto, unknown>;
@@ -26,6 +26,15 @@ export const toBandwidthDto = ({ mbps, quiet, quietStart, quietEnd, }) => {
26
26
  quietHours: bytesPerSec && quiet ? `${quietStart}-${quietEnd}` : undefined,
27
27
  };
28
28
  };
29
+ export const toConnectionsOverride = (value, { min, max }) => value === undefined || Number.isNaN(value)
30
+ ? null
31
+ : Math.min(max, Math.max(min, Math.round(value)));
32
+ export const formatAutomaticConnections = ({ placements, }) => {
33
+ const counts = placements.map(({ automatic }) => automatic);
34
+ const lowest = Math.min(...counts);
35
+ const highest = Math.max(...counts);
36
+ return lowest === highest ? String(lowest) : `${lowest}–${highest}`;
37
+ };
29
38
  export const useConfig = () => createQuery(() => ({
30
39
  queryKey: configKeys.all,
31
40
  queryFn: () => futoBackupsGetConfig(),
@@ -31,6 +31,7 @@ export declare const useImmichBackupStatus: () => {
31
31
  readonly repository: import("../fetch-client").LocalRepositoryDto | undefined;
32
32
  readonly schedule: import("../fetch-client").ScheduleDto | undefined;
33
33
  readonly status: ImmichBackupStatus;
34
+ readonly resticMissing: boolean;
34
35
  readonly needsAttention: boolean;
35
36
  };
36
37
  export declare const useConfigureImmichDatabaseDump: () => import("@tanstack/svelte-query").CreateMutationResult<never, Error, ConfigureImmichDatabaseDumpRequestDto, unknown>;
@@ -84,6 +84,9 @@ export const useImmichBackupStatus = () => {
84
84
  get status() {
85
85
  return toImmichBackupStatus(query.data, query.isLoading);
86
86
  },
87
+ get resticMissing() {
88
+ return query.data?.resticAvailable === false;
89
+ },
87
90
  get needsAttention() {
88
91
  const usingImmichDbDump = query.data?.databaseDump?.enabled === true &&
89
92
  query.data.schedule !== undefined &&
@@ -57,7 +57,6 @@ export const handleRestoreFromPoint = async (repositoryId, snapshotId, backendId
57
57
  export const handleForgetSnapshot = async (repositoryId, snapshotId) => {
58
58
  toastManager.info(gt `Deleting snapshot`, {
59
59
  id: snapshotId,
60
- closable: false,
61
60
  timeout: null,
62
61
  });
63
62
  try {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@futo-org/backups-orchestrator-ui",
3
3
  "repository": "https://github.com/futo-org/backups",
4
4
  "description": "Backups orchestrator (UI library)",
5
- "version": "1.14.0",
5
+ "version": "1.16.0",
6
6
  "license": "Source First License 1.1",
7
7
  "files": [
8
8
  "dist",
@@ -69,7 +69,7 @@
69
69
  "luxon": "^3.7.2",
70
70
  "socket.io-client": "^4.8.3",
71
71
  "svelte-i18n-lingui": "^0.2.2",
72
- "@futo-org/backups-api-client": "^1.14.0"
72
+ "@futo-org/backups-api-client": "^1.16.0"
73
73
  },
74
74
  "scripts": {
75
75
  "dev": "vite dev --port 5174",