dsh-config-manager 0.1.55 → 0.1.56
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.
- package/lib/client.d.ts +1 -1
- package/lib/client.js +127 -127
- package/lib/client.js.map +1 -1
- package/lib/core/messages.d.ts +1 -0
- package/lib/core/messages.js +2 -0
- package/lib/core/messages.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/sync/webdav/webdav-transport.d.ts +4 -2
- package/lib/sync/webdav/webdav-transport.js +92 -6
- package/lib/sync/webdav/webdav-transport.js.map +1 -1
- package/package.json +1 -1
- package/src/client/sync/sync-locales.ts +2 -2
- package/src/core/messages.ts +2 -0
- package/src/index.ts +1 -1
- package/src/sync/webdav/webdav-transport.test.ts +333 -0
- package/src/sync/webdav/webdav-transport.ts +104 -7
package/lib/client.d.ts
CHANGED
|
@@ -2307,7 +2307,7 @@ declare const zh$2: {
|
|
|
2307
2307
|
readonly 'channel.currentUrl': "当前地址";
|
|
2308
2308
|
readonly 'webdav.title': "WebDAV 配置";
|
|
2309
2309
|
readonly 'webdav.url': "服务器地址";
|
|
2310
|
-
readonly 'webdav.urlHint': "WebDAV 服务器根地址(https://…)。同步快照与索引存放于该地址的
|
|
2310
|
+
readonly 'webdav.urlHint': "WebDAV 服务器根地址(https://…)。同步快照与索引存放于该地址的 dsh-config-manager/ 子目录下。请勿在地址中包含用户名/密码。";
|
|
2311
2311
|
readonly 'webdav.username': "用户名";
|
|
2312
2312
|
readonly 'webdav.usernameHint': "HTTP Basic 认证用户名(非敏感,可回显)。";
|
|
2313
2313
|
readonly 'webdav.password': "密码";
|
package/lib/client.js
CHANGED
|
@@ -3465,152 +3465,152 @@ if (typeof document !== "undefined" && document.querySelector("style[data-tag=\"
|
|
|
3465
3465
|
document.head.appendChild(tag);
|
|
3466
3466
|
}
|
|
3467
3467
|
var config_manager_module_css_default = {
|
|
3468
|
-
"
|
|
3469
|
-
"
|
|
3470
|
-
"
|
|
3468
|
+
"actionRow": "_367UGW_actionRow",
|
|
3469
|
+
"progressBarDone": "_367UGW_progressBarDone",
|
|
3470
|
+
"select": "_367UGW_select",
|
|
3471
|
+
"viewBody": "_367UGW_viewBody",
|
|
3472
|
+
"warnText": "_367UGW_warnText",
|
|
3473
|
+
"sectionTitleBlock": "_367UGW_sectionTitleBlock",
|
|
3474
|
+
"reportFooter": "_367UGW_reportFooter",
|
|
3475
|
+
"conflictOptions": "_367UGW_conflictOptions",
|
|
3476
|
+
"dshCmIndeterminate": "_367UGW_dshCmIndeterminate",
|
|
3477
|
+
"logJumpButton": "_367UGW_logJumpButton",
|
|
3478
|
+
"errorAction": "_367UGW_errorAction",
|
|
3479
|
+
"dshCmSpin": "_367UGW_dshCmSpin",
|
|
3480
|
+
"progressMeta": "_367UGW_progressMeta",
|
|
3481
|
+
"backupFileRow": "_367UGW_backupFileRow",
|
|
3482
|
+
"errorList": "_367UGW_errorList",
|
|
3483
|
+
"dialogBody": "_367UGW_dialogBody",
|
|
3484
|
+
"pathIssueKind": "_367UGW_pathIssueKind",
|
|
3485
|
+
"errorReason": "_367UGW_errorReason",
|
|
3471
3486
|
"empty": "_367UGW_empty",
|
|
3487
|
+
"modeHint": "_367UGW_modeHint",
|
|
3488
|
+
"kindTagOk": "_367UGW_kindTagOk",
|
|
3489
|
+
"aboutAuthor": "_367UGW_aboutAuthor",
|
|
3490
|
+
"checkboxRow": "_367UGW_checkboxRow",
|
|
3491
|
+
"sectionSubtitle": "_367UGW_sectionSubtitle",
|
|
3492
|
+
"kindTagWarn": "_367UGW_kindTagWarn",
|
|
3493
|
+
"dialogCard": "_367UGW_dialogCard",
|
|
3494
|
+
"profileRowHeader": "_367UGW_profileRowHeader",
|
|
3495
|
+
"field": "_367UGW_field",
|
|
3496
|
+
"spinner": "_367UGW_spinner",
|
|
3472
3497
|
"historyTime": "_367UGW_historyTime",
|
|
3473
|
-
"
|
|
3498
|
+
"ghostButton": "_367UGW_ghostButton",
|
|
3499
|
+
"progressLabel": "_367UGW_progressLabel",
|
|
3500
|
+
"section": "_367UGW_section",
|
|
3474
3501
|
"reportList": "_367UGW_reportList",
|
|
3475
|
-
"errorActionLabel": "_367UGW_errorActionLabel",
|
|
3476
|
-
"input": "_367UGW_input",
|
|
3477
|
-
"progressDetail": "_367UGW_progressDetail",
|
|
3478
|
-
"secretsList": "_367UGW_secretsList",
|
|
3479
|
-
"aboutLinkRow": "_367UGW_aboutLinkRow",
|
|
3480
|
-
"errorList": "_367UGW_errorList",
|
|
3481
|
-
"groupLabel": "_367UGW_groupLabel",
|
|
3482
|
-
"dshCmSpin": "_367UGW_dshCmSpin",
|
|
3483
|
-
"select": "_367UGW_select",
|
|
3484
|
-
"logHeader": "_367UGW_logHeader",
|
|
3485
|
-
"reportView": "_367UGW_reportView",
|
|
3486
3502
|
"conflictHead": "_367UGW_conflictHead",
|
|
3487
|
-
"warnText": "_367UGW_warnText",
|
|
3488
|
-
"sectionHeader": "_367UGW_sectionHeader",
|
|
3489
|
-
"severityError": "_367UGW_severityError",
|
|
3490
|
-
"dialogHeaderRow": "_367UGW_dialogHeaderRow",
|
|
3491
|
-
"errorItem": "_367UGW_errorItem",
|
|
3492
|
-
"badgeOk": "_367UGW_badgeOk",
|
|
3493
|
-
"planScroll": "_367UGW_planScroll",
|
|
3494
|
-
"viewTabs": "_367UGW_viewTabs",
|
|
3495
|
-
"historyGroup": "_367UGW_historyGroup",
|
|
3496
|
-
"secretFields": "_367UGW_secretFields",
|
|
3497
|
-
"consultScroll": "_367UGW_consultScroll",
|
|
3498
|
-
"optionsCard": "_367UGW_optionsCard",
|
|
3499
3503
|
"backupFileNote": "_367UGW_backupFileNote",
|
|
3500
|
-
"progressBlock": "_367UGW_progressBlock",
|
|
3501
|
-
"pathMappingList": "_367UGW_pathMappingList",
|
|
3502
|
-
"snapshotRowHeader": "_367UGW_snapshotRowHeader",
|
|
3503
|
-
"cliCommand": "_367UGW_cliCommand",
|
|
3504
|
-
"kindTagOk": "_367UGW_kindTagOk",
|
|
3505
|
-
"section": "_367UGW_section",
|
|
3506
|
-
"categoryItem": "_367UGW_categoryItem",
|
|
3507
|
-
"warnList": "_367UGW_warnList",
|
|
3508
|
-
"spinner": "_367UGW_spinner",
|
|
3509
|
-
"pathRow": "_367UGW_pathRow",
|
|
3510
3504
|
"logEmpty": "_367UGW_logEmpty",
|
|
3511
|
-
"actionRow": "_367UGW_actionRow",
|
|
3512
|
-
"progressMeta": "_367UGW_progressMeta",
|
|
3513
|
-
"banner": "_367UGW_banner",
|
|
3514
|
-
"sectionSubtitle": "_367UGW_sectionSubtitle",
|
|
3515
|
-
"groupNote": "_367UGW_groupNote",
|
|
3516
|
-
"groupHeader": "_367UGW_groupHeader",
|
|
3517
|
-
"badgeWarn": "_367UGW_badgeWarn",
|
|
3518
|
-
"groupItems": "_367UGW_groupItems",
|
|
3519
3505
|
"errorFooter": "_367UGW_errorFooter",
|
|
3520
|
-
"
|
|
3521
|
-
"
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3524
|
-
"
|
|
3525
|
-
"
|
|
3526
|
-
"
|
|
3527
|
-
"
|
|
3506
|
+
"errorLine": "_367UGW_errorLine",
|
|
3507
|
+
"severityError": "_367UGW_severityError",
|
|
3508
|
+
"backupFileList": "_367UGW_backupFileList",
|
|
3509
|
+
"dialogBodyScroll": "_367UGW_dialogBodyScroll",
|
|
3510
|
+
"logLine": "_367UGW_logLine",
|
|
3511
|
+
"progressBadgeCount": "_367UGW_progressBadgeCount",
|
|
3512
|
+
"groupItems": "_367UGW_groupItems",
|
|
3513
|
+
"cliCommand": "_367UGW_cliCommand",
|
|
3514
|
+
"logHeader": "_367UGW_logHeader",
|
|
3515
|
+
"errorActionLabel": "_367UGW_errorActionLabel",
|
|
3516
|
+
"progressBlock": "_367UGW_progressBlock",
|
|
3517
|
+
"optionsCard": "_367UGW_optionsCard",
|
|
3518
|
+
"planScroll": "_367UGW_planScroll",
|
|
3528
3519
|
"consultDimension": "_367UGW_consultDimension",
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3520
|
+
"viewTab": "_367UGW_viewTab",
|
|
3521
|
+
"logPanel": "_367UGW_logPanel",
|
|
3522
|
+
"rollbackBox": "_367UGW_rollbackBox",
|
|
3531
3523
|
"backupFileMeta": "_367UGW_backupFileMeta",
|
|
3532
|
-
"
|
|
3533
|
-
"
|
|
3524
|
+
"input": "_367UGW_input",
|
|
3525
|
+
"badgeWarn": "_367UGW_badgeWarn",
|
|
3526
|
+
"dialogMask": "_367UGW_dialogMask",
|
|
3527
|
+
"secretsList": "_367UGW_secretsList",
|
|
3528
|
+
"nextStepsGroup": "_367UGW_nextStepsGroup",
|
|
3529
|
+
"progressPercent": "_367UGW_progressPercent",
|
|
3530
|
+
"modeTab": "_367UGW_modeTab",
|
|
3531
|
+
"reportView": "_367UGW_reportView",
|
|
3532
|
+
"historyScroll": "_367UGW_historyScroll",
|
|
3533
|
+
"kindTagError": "_367UGW_kindTagError",
|
|
3534
|
+
"categoryItem": "_367UGW_categoryItem",
|
|
3535
|
+
"snapshotList": "_367UGW_snapshotList",
|
|
3536
|
+
"badge": "_367UGW_badge",
|
|
3534
3537
|
"dialogWide": "_367UGW_dialogWide",
|
|
3535
|
-
"
|
|
3536
|
-
"cliName": "_367UGW_cliName",
|
|
3537
|
-
"sectionBody": "_367UGW_sectionBody",
|
|
3538
|
-
"spinnerWrap": "_367UGW_spinnerWrap",
|
|
3539
|
-
"progressBarDone": "_367UGW_progressBarDone",
|
|
3540
|
-
"pullScroll": "_367UGW_pullScroll",
|
|
3538
|
+
"historyGroup": "_367UGW_historyGroup",
|
|
3541
3539
|
"primaryButton": "_367UGW_primaryButton",
|
|
3542
|
-
"
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3545
|
-
"
|
|
3546
|
-
"errorReason": "_367UGW_errorReason",
|
|
3547
|
-
"errorBanner": "_367UGW_errorBanner",
|
|
3548
|
-
"kindTagInfo": "_367UGW_kindTagInfo",
|
|
3549
|
-
"snapshotList": "_367UGW_snapshotList",
|
|
3550
|
-
"historySummary": "_367UGW_historySummary",
|
|
3540
|
+
"groupNote": "_367UGW_groupNote",
|
|
3541
|
+
"conflictItem": "_367UGW_conflictItem",
|
|
3542
|
+
"reportScroll": "_367UGW_reportScroll",
|
|
3543
|
+
"wizardCard": "_367UGW_wizardCard",
|
|
3551
3544
|
"sectionTitle": "_367UGW_sectionTitle",
|
|
3552
|
-
"
|
|
3553
|
-
"
|
|
3554
|
-
"kindTagWarn": "_367UGW_kindTagWarn",
|
|
3555
|
-
"progressPercent": "_367UGW_progressPercent",
|
|
3556
|
-
"inspectGroup": "_367UGW_inspectGroup",
|
|
3557
|
-
"dialogBodyScroll": "_367UGW_dialogBodyScroll",
|
|
3558
|
-
"historyRow": "_367UGW_historyRow",
|
|
3559
|
-
"kindTag": "_367UGW_kindTag",
|
|
3545
|
+
"progressBar": "_367UGW_progressBar",
|
|
3546
|
+
"spinnerLabel": "_367UGW_spinnerLabel",
|
|
3560
3547
|
"progressIndeterminate": "_367UGW_progressIndeterminate",
|
|
3561
|
-
"
|
|
3562
|
-
"
|
|
3548
|
+
"logScroll": "_367UGW_logScroll",
|
|
3549
|
+
"pathNew": "_367UGW_pathNew",
|
|
3550
|
+
"banner": "_367UGW_banner",
|
|
3551
|
+
"consultScroll": "_367UGW_consultScroll",
|
|
3552
|
+
"sectionBody": "_367UGW_sectionBody",
|
|
3553
|
+
"categoryName": "_367UGW_categoryName",
|
|
3563
3554
|
"progressTrack": "_367UGW_progressTrack",
|
|
3555
|
+
"radioLabel": "_367UGW_radioLabel",
|
|
3556
|
+
"profileRowMain": "_367UGW_profileRowMain",
|
|
3557
|
+
"kindTagInfo": "_367UGW_kindTagInfo",
|
|
3564
3558
|
"diffScroll": "_367UGW_diffScroll",
|
|
3565
|
-
"
|
|
3566
|
-
"rowActions": "_367UGW_rowActions",
|
|
3567
|
-
"categoryName": "_367UGW_categoryName",
|
|
3568
|
-
"logJumpButton": "_367UGW_logJumpButton",
|
|
3569
|
-
"fieldLabel": "_367UGW_fieldLabel",
|
|
3570
|
-
"pathNew": "_367UGW_pathNew",
|
|
3571
|
-
"backupFileName": "_367UGW_backupFileName",
|
|
3572
|
-
"dialogCard": "_367UGW_dialogCard",
|
|
3573
|
-
"statRow": "_367UGW_statRow",
|
|
3559
|
+
"dialogHeader": "_367UGW_dialogHeader",
|
|
3574
3560
|
"modeTabs": "_367UGW_modeTabs",
|
|
3575
|
-
"card": "_367UGW_card",
|
|
3576
|
-
"formError": "_367UGW_formError",
|
|
3577
|
-
"historyRowMain": "_367UGW_historyRowMain",
|
|
3578
|
-
"errorLine": "_367UGW_errorLine",
|
|
3579
|
-
"nextStepsGroup": "_367UGW_nextStepsGroup",
|
|
3580
|
-
"progressBar": "_367UGW_progressBar",
|
|
3581
|
-
"badgeInfo": "_367UGW_badgeInfo",
|
|
3582
|
-
"ghostButton": "_367UGW_ghostButton",
|
|
3583
|
-
"modeHint": "_367UGW_modeHint",
|
|
3584
3561
|
"profileRow": "_367UGW_profileRow",
|
|
3585
|
-
"
|
|
3586
|
-
"
|
|
3587
|
-
"categoryDesc": "_367UGW_categoryDesc",
|
|
3588
|
-
"profileRowMain": "_367UGW_profileRowMain",
|
|
3589
|
-
"badgeError": "_367UGW_badgeError",
|
|
3590
|
-
"progressBadge": "_367UGW_progressBadge",
|
|
3591
|
-
"kindTagError": "_367UGW_kindTagError",
|
|
3592
|
-
"hint": "_367UGW_hint",
|
|
3593
|
-
"dshCmIndeterminate": "_367UGW_dshCmIndeterminate",
|
|
3594
|
-
"reportFooter": "_367UGW_reportFooter",
|
|
3595
|
-
"conflictItem": "_367UGW_conflictItem",
|
|
3596
|
-
"dialogHeader": "_367UGW_dialogHeader",
|
|
3597
|
-
"badge": "_367UGW_badge",
|
|
3598
|
-
"wizardCard": "_367UGW_wizardCard",
|
|
3562
|
+
"errorItem": "_367UGW_errorItem",
|
|
3563
|
+
"historyRowMain": "_367UGW_historyRowMain",
|
|
3599
3564
|
"historySections": "_367UGW_historySections",
|
|
3600
|
-
"
|
|
3601
|
-
"
|
|
3602
|
-
"
|
|
3603
|
-
"
|
|
3604
|
-
"
|
|
3605
|
-
"
|
|
3565
|
+
"kindTag": "_367UGW_kindTag",
|
|
3566
|
+
"errorTitle": "_367UGW_errorTitle",
|
|
3567
|
+
"pathRow": "_367UGW_pathRow",
|
|
3568
|
+
"sectionHeader": "_367UGW_sectionHeader",
|
|
3569
|
+
"dialogClose": "_367UGW_dialogClose",
|
|
3570
|
+
"groupLabel": "_367UGW_groupLabel",
|
|
3606
3571
|
"confirmScroll": "_367UGW_confirmScroll",
|
|
3572
|
+
"dangerButton": "_367UGW_dangerButton",
|
|
3607
3573
|
"progressBadgeSection": "_367UGW_progressBadgeSection",
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3610
|
-
"
|
|
3574
|
+
"pathOld": "_367UGW_pathOld",
|
|
3575
|
+
"dialogHeaderRow": "_367UGW_dialogHeaderRow",
|
|
3576
|
+
"statRow": "_367UGW_statRow",
|
|
3577
|
+
"viewTabs": "_367UGW_viewTabs",
|
|
3578
|
+
"badgeOk": "_367UGW_badgeOk",
|
|
3579
|
+
"secretFields": "_367UGW_secretFields",
|
|
3611
3580
|
"snapshotRowMain": "_367UGW_snapshotRowMain",
|
|
3612
|
-
"
|
|
3613
|
-
"
|
|
3581
|
+
"pullScroll": "_367UGW_pullScroll",
|
|
3582
|
+
"badgeError": "_367UGW_badgeError",
|
|
3583
|
+
"optionsHeader": "_367UGW_optionsHeader",
|
|
3584
|
+
"conflictId": "_367UGW_conflictId",
|
|
3585
|
+
"pathMappingList": "_367UGW_pathMappingList",
|
|
3586
|
+
"spinnerWrap": "_367UGW_spinnerWrap",
|
|
3587
|
+
"formError": "_367UGW_formError",
|
|
3588
|
+
"groupCard": "_367UGW_groupCard",
|
|
3589
|
+
"card": "_367UGW_card",
|
|
3590
|
+
"hint": "_367UGW_hint",
|
|
3591
|
+
"categoryDesc": "_367UGW_categoryDesc",
|
|
3592
|
+
"historyRow": "_367UGW_historyRow",
|
|
3593
|
+
"hiddenFile": "_367UGW_hiddenFile",
|
|
3594
|
+
"groupList": "_367UGW_groupList",
|
|
3595
|
+
"historySummary": "_367UGW_historySummary",
|
|
3596
|
+
"fieldLabel": "_367UGW_fieldLabel",
|
|
3597
|
+
"conflictList": "_367UGW_conflictList",
|
|
3598
|
+
"rowActions": "_367UGW_rowActions",
|
|
3599
|
+
"badgeInfo": "_367UGW_badgeInfo",
|
|
3600
|
+
"progressBadge": "_367UGW_progressBadge",
|
|
3601
|
+
"inspectGroup": "_367UGW_inspectGroup",
|
|
3602
|
+
"backupFileName": "_367UGW_backupFileName",
|
|
3603
|
+
"reportText": "_367UGW_reportText",
|
|
3604
|
+
"snapshotRow": "_367UGW_snapshotRow",
|
|
3605
|
+
"cliName": "_367UGW_cliName",
|
|
3606
|
+
"warnList": "_367UGW_warnList",
|
|
3607
|
+
"snapshotRowHeader": "_367UGW_snapshotRowHeader",
|
|
3608
|
+
"errorBanner": "_367UGW_errorBanner",
|
|
3609
|
+
"groupHeader": "_367UGW_groupHeader",
|
|
3610
|
+
"progressDetail": "_367UGW_progressDetail",
|
|
3611
|
+
"pathValue": "_367UGW_pathValue",
|
|
3612
|
+
"aboutLinkRow": "_367UGW_aboutLinkRow",
|
|
3613
|
+
"conflictDetail": "_367UGW_conflictDetail"
|
|
3614
3614
|
};
|
|
3615
3615
|
//#endregion
|
|
3616
3616
|
//#region src/client/common/ui.tsx
|
|
@@ -16525,7 +16525,7 @@ const zh$3 = {
|
|
|
16525
16525
|
"channel.currentUrl": "当前地址",
|
|
16526
16526
|
"webdav.title": "WebDAV 配置",
|
|
16527
16527
|
"webdav.url": "服务器地址",
|
|
16528
|
-
"webdav.urlHint": "WebDAV 服务器根地址(https://…)。同步快照与索引存放于该地址的
|
|
16528
|
+
"webdav.urlHint": "WebDAV 服务器根地址(https://…)。同步快照与索引存放于该地址的 dsh-config-manager/ 子目录下。请勿在地址中包含用户名/密码。",
|
|
16529
16529
|
"webdav.username": "用户名",
|
|
16530
16530
|
"webdav.usernameHint": "HTTP Basic 认证用户名(非敏感,可回显)。",
|
|
16531
16531
|
"webdav.password": "密码",
|
|
@@ -16700,7 +16700,7 @@ const en$3 = {
|
|
|
16700
16700
|
"channel.currentUrl": "Current URL",
|
|
16701
16701
|
"webdav.title": "WebDAV Configuration",
|
|
16702
16702
|
"webdav.url": "Server URL",
|
|
16703
|
-
"webdav.urlHint": "WebDAV server root URL (https://…). Sync snapshots and the index are stored under a
|
|
16703
|
+
"webdav.urlHint": "WebDAV server root URL (https://…). Sync snapshots and the index are stored under a dsh-config-manager/ subdirectory of that URL. Do not include a username/password in the URL.",
|
|
16704
16704
|
"webdav.username": "Username",
|
|
16705
16705
|
"webdav.usernameHint": "HTTP Basic auth username (not sensitive, may be shown).",
|
|
16706
16706
|
"webdav.password": "Password",
|