@synopackageland/cli 0.8.0 → 0.9.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.
- package/CHANGELOG.md +124 -0
- package/README.md +26 -4
- package/dist/add.js +4 -17
- package/dist/authorization-sdk.d.ts +0 -1
- package/dist/authorization-sdk.js +0 -1
- package/dist/build-spk/gateway.js +2 -2
- package/dist/build-spk/notices.js +12 -8
- package/dist/capability-overlays.d.ts +15 -0
- package/dist/capability-overlays.js +18 -0
- package/dist/cli-version.d.ts +2 -0
- package/dist/cli-version.js +3 -0
- package/dist/cli.js +3 -1
- package/dist/error-registry.js +12 -4
- package/dist/info.js +2 -1
- package/dist/init.js +52 -58
- package/dist/reproducible.js +1 -1
- package/dist/runtime/delegate-contract.d.ts +15 -0
- package/dist/runtime/delegate-contract.js +2 -0
- package/dist/runtime/executor-build.d.ts +15 -1
- package/dist/runtime/executor-build.js +42 -11
- package/dist/runtime/executor-digests.json +13 -0
- package/dist/runtime/executor-inspect.d.ts +1 -0
- package/dist/runtime/executor-inspect.js +5 -2
- package/dist/runtime/executor-policy.d.ts +3 -1
- package/dist/runtime/executor-policy.js +7 -2
- package/dist/runtime/executor-source.d.ts +21 -0
- package/dist/runtime/executor-source.js +35 -0
- package/dist/runtime/executor-tasks.d.ts +5 -2
- package/dist/runtime/executor-tasks.js +6 -4
- package/dist/runtime/sdk-source.d.ts +31 -0
- package/dist/runtime/sdk-source.js +92 -0
- package/dist/standalone/api-permissions.d.ts +4 -1
- package/dist/standalone/api-permissions.js +10 -18
- package/dist/standalone/build.d.ts +1 -0
- package/dist/standalone/build.js +11 -4
- package/dist/standalone/daemon.js +2 -2
- package/dist/standalone/dsm-window.js +2 -2
- package/dist/standalone/manifest.d.ts +5 -2
- package/dist/standalone/manifest.js +9 -3
- package/dist/standalone/root-window.d.ts +1 -1
- package/dist/standalone/root-window.js +0 -1
- package/dist/standalone/sdk-check.d.ts +9 -0
- package/dist/standalone/sdk-check.js +43 -0
- package/dist/standalone/spk.js +1 -1
- package/dist/template-paths.d.ts +7 -2
- package/dist/template-paths.js +18 -6
- package/package.json +13 -3
- package/dist/templates/_executor/README.md +0 -318
- package/dist/templates/_executor/anchor.go +0 -156
- package/dist/templates/_executor/anchor_test.go +0 -161
- package/dist/templates/_executor/apppriv_review_test.go +0 -28
- package/dist/templates/_executor/auth_presence_review_test.go +0 -38
- package/dist/templates/_executor/cancel_contract_test.go +0 -236
- package/dist/templates/_executor/cmd/lifecycle/main.go +0 -42
- package/dist/templates/_executor/cookie_review_test.go +0 -27
- package/dist/templates/_executor/copy.go +0 -64
- package/dist/templates/_executor/copy_test.go +0 -88
- package/dist/templates/_executor/digest_review_test.go +0 -120
- package/dist/templates/_executor/directories.go +0 -40
- package/dist/templates/_executor/dsm.go +0 -369
- package/dist/templates/_executor/dsm_test.go +0 -290
- package/dist/templates/_executor/executor.go +0 -735
- package/dist/templates/_executor/executor_test.go +0 -314
- package/dist/templates/_executor/go.mod +0 -5
- package/dist/templates/_executor/identity.go +0 -74
- package/dist/templates/_executor/identity_kernel_linux_test.go +0 -60
- package/dist/templates/_executor/identity_linux.go +0 -82
- package/dist/templates/_executor/identity_security_test.go +0 -43
- package/dist/templates/_executor/internal/lifecycle/lifecycle.go +0 -95
- package/dist/templates/_executor/internal/lifecycle/lifecycle_test.go +0 -232
- package/dist/templates/_executor/internal/taskscript/boot.sh +0 -31
- package/dist/templates/_executor/internal/taskscript/cmd/main.go +0 -19
- package/dist/templates/_executor/internal/taskscript/control.sh +0 -31
- package/dist/templates/_executor/internal/taskscript/tasks.go +0 -44
- package/dist/templates/_executor/json_review_test.go +0 -40
- package/dist/templates/_executor/lifecycle_test.go +0 -97
- package/dist/templates/_executor/link_linux.go +0 -28
- package/dist/templates/_executor/long_running_test.go +0 -530
- package/dist/templates/_executor/main.go +0 -576
- package/dist/templates/_executor/managed.go +0 -117
- package/dist/templates/_executor/managed_test.go +0 -137
- package/dist/templates/_executor/move_linux.go +0 -490
- package/dist/templates/_executor/move_linux_test.go +0 -460
- package/dist/templates/_executor/move_validation.go +0 -46
- package/dist/templates/_executor/move_validation_test.go +0 -187
- package/dist/templates/_executor/operations.go +0 -926
- package/dist/templates/_executor/path_test.go +0 -35
- package/dist/templates/_executor/pid.go +0 -37
- package/dist/templates/_executor/pid_test.go +0 -113
- package/dist/templates/_executor/platform_linux.go +0 -187
- package/dist/templates/_executor/platform_linux_test.go +0 -191
- package/dist/templates/_executor/platform_other.go +0 -76
- package/dist/templates/_executor/process.go +0 -142
- package/dist/templates/_executor/purge_log.go +0 -18
- package/dist/templates/_executor/records.go +0 -242
- package/dist/templates/_executor/scope_cancel_contract_test.go +0 -91
- package/dist/templates/_executor/scope_client.go +0 -37
- package/dist/templates/_executor/scope_contract.go +0 -12
- package/dist/templates/_executor/selected_scope.go +0 -146
- package/dist/templates/_executor/selected_scope_test.go +0 -186
- package/dist/templates/_executor/socket_linux_test.go +0 -46
- package/dist/templates/_executor/status_disabled_test.go +0 -33
- package/dist/templates/_executor/store.go +0 -91
- package/dist/templates/_executor/supervise.go +0 -109
- package/dist/templates/_executor/supervise_test.go +0 -130
- package/dist/templates/_executor/task_race_review_test.go +0 -47
- package/dist/templates/_executor/tasks.go +0 -320
- package/dist/templates/_executor/tasks_dsm71_test.go +0 -114
- package/dist/templates/_executor/tasks_review_test.go +0 -43
- package/dist/templates/_executor/tasks_test.go +0 -223
- package/dist/templates/_executor/testdata/evidence/cleanup.json +0 -24
- package/dist/templates/_executor/testdata/evidence/final-smoke.jsonl +0 -9
- package/dist/templates/_executor/testdata/evidence/kernel-acl.json +0 -6
- package/dist/templates/_executor/testdata/evidence/linux-tests.log +0 -123
- package/dist/templates/_executor/testdata/evidence/live.jsonl +0 -23
- package/dist/templates/_executor/testdata/evidence/storage.json +0 -90
- package/dist/templates/_executor/testdata/evidence/validation.json +0 -55
- package/dist/templates/_executor/testdata/live_probe.py +0 -98
- package/dist/templates/_executor/upgrade_watch_test.go +0 -244
- package/dist/templates/_executor/watch.go +0 -164
- package/dist/templates/_executor/watch_test.go +0 -291
- package/dist/templates/_executor/write_review_linux_test.go +0 -87
- package/dist/templates/_shared/AGENTS.md +0 -146
- package/dist/templates/_shared/CLAUDE.md +0 -1
- package/dist/templates/_shared/third-party-notices.mjs +0 -51
- package/dist/templates/binary/LICENSES/GO-LICENSE +0 -27
- package/dist/templates/binary/LICENSES/GO-PATENTS +0 -22
- package/dist/templates/binary/dsm-package.yaml +0 -46
- package/dist/templates/binary/example/main.go +0 -16
- package/dist/templates/binary/gitignore +0 -2
- package/dist/templates/binary/i18n/messages/de.json +0 -4
- package/dist/templates/binary/i18n/messages/en.json +0 -4
- package/dist/templates/binary/i18n/messages/es.json +0 -4
- package/dist/templates/binary/i18n/messages/fr.json +0 -4
- package/dist/templates/binary/i18n/messages/it.json +0 -4
- package/dist/templates/binary/i18n/messages/ja.json +0 -4
- package/dist/templates/binary/i18n/messages/ko.json +0 -4
- package/dist/templates/binary/i18n/messages/zh-CN.json +0 -4
- package/dist/templates/binary/i18n/messages/zh-TW.json +0 -4
- package/dist/templates/binary/ui/app.css +0 -4
- package/dist/templates/binary/ui/app.js +0 -32
- package/dist/templates/compose/compose.yaml +0 -8
- package/dist/templates/compose/synology-app.yaml +0 -16
- package/dist/templates/native-authorization/AuthorizationGate.vue +0 -91
- package/dist/templates/native-authorization/i18n/de.json +0 -37
- package/dist/templates/native-authorization/i18n/en.json +0 -37
- package/dist/templates/native-authorization/i18n/es.json +0 -37
- package/dist/templates/native-authorization/i18n/fr.json +0 -37
- package/dist/templates/native-authorization/i18n/index.ts +0 -15
- package/dist/templates/native-authorization/i18n/it.json +0 -37
- package/dist/templates/native-authorization/i18n/ja.json +0 -37
- package/dist/templates/native-authorization/i18n/ko.json +0 -37
- package/dist/templates/native-authorization/i18n/zh-CN.json +0 -37
- package/dist/templates/native-authorization/i18n/zh-TW.json +0 -37
- package/dist/templates/native-go/README.md +0 -459
- package/dist/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +0 -61
- package/dist/templates/native-go/backend/cmd/app/main.go +0 -95
- package/dist/templates/native-go/backend/cmd/background-worker/main.go +0 -38
- package/dist/templates/native-go/backend/go.mod +0 -9
- package/dist/templates/native-go/backend/go.sum +0 -4
- package/dist/templates/native-go/backend/internal/api/cgi_framing_test.go +0 -32
- package/dist/templates/native-go/backend/internal/api/cookie_review_test.go +0 -28
- package/dist/templates/native-go/backend/internal/api/deadline_test.go +0 -114
- package/dist/templates/native-go/backend/internal/api/dsm-session.go +0 -54
- package/dist/templates/native-go/backend/internal/api/dsm-session_test.go +0 -51
- package/dist/templates/native-go/backend/internal/api/entry_test.go +0 -47
- package/dist/templates/native-go/backend/internal/api/errors.go +0 -47
- package/dist/templates/native-go/backend/internal/api/permissions.go +0 -161
- package/dist/templates/native-go/backend/internal/api/permissions.json +0 -5
- package/dist/templates/native-go/backend/internal/api/permissions_test.go +0 -113
- package/dist/templates/native-go/backend/internal/api/policy_fixture_test.go +0 -8
- package/dist/templates/native-go/backend/internal/api/registry.go +0 -142
- package/dist/templates/native-go/backend/internal/api/registry_test.go +0 -344
- package/dist/templates/native-go/backend/internal/api/resource_limits_test.go +0 -87
- package/dist/templates/native-go/backend/internal/api/sdk-permissions.json +0 -59
- package/dist/templates/native-go/backend/internal/api/sdk_policy_test.go +0 -31
- package/dist/templates/native-go/backend/internal/api/server.go +0 -305
- package/dist/templates/native-go/backend/internal/api/testdata/permissions-cases.json +0 -172
- package/dist/templates/native-go/backend/internal/app/background.go +0 -249
- package/dist/templates/native-go/backend/internal/app/background_none.go +0 -8
- package/dist/templates/native-go/backend/internal/app/background_owner.go +0 -38
- package/dist/templates/native-go/backend/internal/app/background_owner_test.go +0 -163
- package/dist/templates/native-go/backend/internal/app/background_schedule.go +0 -69
- package/dist/templates/native-go/backend/internal/app/background_schedule_test.go +0 -62
- package/dist/templates/native-go/backend/internal/app/background_test.go +0 -320
- package/dist/templates/native-go/backend/internal/app/delegate_config.go +0 -57
- package/dist/templates/native-go/backend/internal/app/delegate_config_test.go +0 -28
- package/dist/templates/native-go/backend/internal/app/delegate_none.go +0 -5
- package/dist/templates/native-go/backend/internal/app/identity.go +0 -20
- package/dist/templates/native-go/backend/internal/app/identity_test.go +0 -15
- package/dist/templates/native-go/backend/internal/app/migrations.go +0 -41
- package/dist/templates/native-go/backend/internal/app/migrations_test.go +0 -41
- package/dist/templates/native-go/backend/internal/app/portal.go +0 -30
- package/dist/templates/native-go/backend/internal/app/portal_test.go +0 -55
- package/dist/templates/native-go/backend/internal/app/root_none.go +0 -9
- package/dist/templates/native-go/backend/internal/app/routes.go +0 -137
- package/dist/templates/native-go/backend/internal/app/routes_test.go +0 -165
- package/dist/templates/native-go/backend/internal/app/session_files.go +0 -9
- package/dist/templates/native-go/backend/internal/app/session_files_test.go +0 -14
- package/dist/templates/native-go/backend/internal/app/shared_folder.go +0 -144
- package/dist/templates/native-go/backend/internal/app/shared_folder_test.go +0 -158
- package/dist/templates/native-go/backend/internal/background/access.go +0 -57
- package/dist/templates/native-go/backend/internal/background/lock_test.go +0 -131
- package/dist/templates/native-go/backend/internal/background/owner_test.go +0 -118
- package/dist/templates/native-go/backend/internal/background/runner.go +0 -185
- package/dist/templates/native-go/backend/internal/background/runner_test.go +0 -209
- package/dist/templates/native-go/backend/internal/background/schedule.go +0 -336
- package/dist/templates/native-go/backend/internal/background/schedule_test.go +0 -368
- package/dist/templates/native-go/backend/internal/background/store.go +0 -825
- package/dist/templates/native-go/backend/internal/background/store_test.go +0 -365
- package/dist/templates/native-go/backend/internal/datamigrate/migrate.go +0 -191
- package/dist/templates/native-go/backend/internal/datamigrate/migrate_test.go +0 -177
- package/dist/templates/native-go/backend/internal/dsm/admin.go +0 -76
- package/dist/templates/native-go/backend/internal/dsm/admin_linux.go +0 -110
- package/dist/templates/native-go/backend/internal/dsm/admin_linux_test.go +0 -105
- package/dist/templates/native-go/backend/internal/dsm/admin_other.go +0 -15
- package/dist/templates/native-go/backend/internal/dsm/admin_test.go +0 -67
- package/dist/templates/native-go/backend/internal/dsm/apppriv.go +0 -30
- package/dist/templates/native-go/backend/internal/dsm/auth.go +0 -94
- package/dist/templates/native-go/backend/internal/dsm/auth_test.go +0 -159
- package/dist/templates/native-go/backend/internal/dsm/bridge_file.go +0 -75
- package/dist/templates/native-go/backend/internal/dsm/bridge_file_test.go +0 -57
- package/dist/templates/native-go/backend/internal/dsm/entry.go +0 -177
- package/dist/templates/native-go/backend/internal/dsm/entry_test.go +0 -315
- package/dist/templates/native-go/backend/internal/dsm/native/admin-aarch64.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/admin-armv7.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/admin-x86_64.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/admin_check.c +0 -28
- package/dist/templates/native-go/backend/internal/dsm/native/apppriv-aarch64.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/apppriv-armv7.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/apppriv-x86_64.elf +0 -0
- package/dist/templates/native-go/backend/internal/dsm/native/apppriv_check.c +0 -33
- package/dist/templates/native-go/backend/internal/dsm/native/build.sh +0 -18
- package/dist/templates/native-go/backend/internal/dsm/native/licenses/GLIBC-NOTICES.txt +0 -400
- package/dist/templates/native-go/backend/internal/dsm/native/licenses/LGPL-2.1.txt +0 -501
- package/dist/templates/native-go/backend/internal/dsm/native/licenses/SOURCE.txt +0 -5
- package/dist/templates/native-go/backend/internal/dsm/native/licenses/ZIG-MIT.txt +0 -21
- package/dist/templates/native-go/backend/internal/dsm/native/provenance.json +0 -18
- package/dist/templates/native-go/backend/internal/filestation/browse_test.go +0 -67
- package/dist/templates/native-go/backend/internal/filestation/check_permission.go +0 -71
- package/dist/templates/native-go/backend/internal/filestation/check_permission_test.go +0 -77
- package/dist/templates/native-go/backend/internal/filestation/client.go +0 -337
- package/dist/templates/native-go/backend/internal/filestation/client_test.go +0 -155
- package/dist/templates/native-go/backend/internal/filestation/doc.go +0 -4
- package/dist/templates/native-go/backend/internal/filestation/download_dsm71_test.go +0 -82
- package/dist/templates/native-go/backend/internal/filestation/http.go +0 -70
- package/dist/templates/native-go/backend/internal/filestation/http_test.go +0 -188
- package/dist/templates/native-go/backend/internal/filestation/operations_test.go +0 -206
- package/dist/templates/native-go/backend/internal/filestation/read_file_test.go +0 -89
- package/dist/templates/native-go/backend/internal/filestation/sdk_policy_test.go +0 -39
- package/dist/templates/native-go/backend/internal/filestation/service.go +0 -254
- package/dist/templates/native-go/backend/internal/filestation/service_test.go +0 -74
- package/dist/templates/native-go/backend/internal/filestation/upload_stream.go +0 -76
- package/dist/templates/native-go/backend/internal/filestation/upload_stream_test.go +0 -77
- package/dist/templates/native-go/backend/internal/filestation/write.go +0 -32
- package/dist/templates/native-go/backend/internal/filestation/write_test.go +0 -124
- package/dist/templates/native-go/backend/internal/identity/README.md +0 -59
- package/dist/templates/native-go/backend/internal/identity/dsm.go +0 -115
- package/dist/templates/native-go/backend/internal/identity/http.go +0 -291
- package/dist/templates/native-go/backend/internal/identity/identity_test.go +0 -530
- package/dist/templates/native-go/backend/internal/identity/service.go +0 -159
- package/dist/templates/native-go/backend/internal/identity/store.go +0 -109
- package/dist/templates/native-go/backend/internal/jsonlimits/limits.go +0 -48
- package/dist/templates/native-go/backend/internal/jsonlimits/limits_test.go +0 -52
- package/dist/templates/native-go/backend/internal/portal/portal.go +0 -138
- package/dist/templates/native-go/backend/internal/portal/portal_test.go +0 -89
- package/dist/templates/native-go/dsm-package.yaml +0 -71
- package/dist/templates/native-go/gitignore +0 -1
- package/dist/templates/native-go/i18n/glossary.json +0 -663
- package/dist/templates/native-go/i18n/messages/de.json +0 -29
- package/dist/templates/native-go/i18n/messages/en.json +0 -29
- package/dist/templates/native-go/i18n/messages/es.json +0 -29
- package/dist/templates/native-go/i18n/messages/fr.json +0 -29
- package/dist/templates/native-go/i18n/messages/it.json +0 -29
- package/dist/templates/native-go/i18n/messages/ja.json +0 -29
- package/dist/templates/native-go/i18n/messages/ko.json +0 -29
- package/dist/templates/native-go/i18n/messages/zh-CN.json +0 -29
- package/dist/templates/native-go/i18n/messages/zh-TW.json +0 -29
- package/dist/templates/native-go/ui/app.css +0 -45
- package/dist/templates/native-go/ui/app.js +0 -111
- package/dist/templates/native-go-delegate/DELEGATE.md +0 -263
- package/dist/templates/native-go-delegate/backend/cmd/background-worker/main.go +0 -48
- package/dist/templates/native-go-delegate/backend/internal/app/delegate.go +0 -25
- package/dist/templates/native-go-delegate/backend/internal/app/delegate_on.go +0 -5
- package/dist/templates/native-go-delegate/backend/internal/app/delegate_routes_test.go +0 -31
- package/dist/templates/native-go-delegate/backend/internal/background/delegate_review_test.go +0 -174
- package/dist/templates/native-go-delegate/backend/internal/background/delegated.go +0 -277
- package/dist/templates/native-go-delegate/backend/internal/background/delegated_moves.go +0 -270
- package/dist/templates/native-go-delegate/backend/internal/background/delegated_test.go +0 -34
- package/dist/templates/native-go-delegate/backend/internal/delegate/admission_recovery_test.go +0 -410
- package/dist/templates/native-go-delegate/backend/internal/delegate/busy_review_test.go +0 -15
- package/dist/templates/native-go-delegate/backend/internal/delegate/cancel_contract_test.go +0 -95
- package/dist/templates/native-go-delegate/backend/internal/delegate/client.go +0 -151
- package/dist/templates/native-go-delegate/backend/internal/delegate/client_test.go +0 -214
- package/dist/templates/native-go-delegate/backend/internal/delegate/destination.go +0 -110
- package/dist/templates/native-go-delegate/backend/internal/delegate/destination_state.go +0 -117
- package/dist/templates/native-go-delegate/backend/internal/delegate/destination_state_test.go +0 -60
- package/dist/templates/native-go-delegate/backend/internal/delegate/destination_test.go +0 -116
- package/dist/templates/native-go-delegate/backend/internal/delegate/example.go +0 -81
- package/dist/templates/native-go-delegate/backend/internal/delegate/example_test.go +0 -91
- package/dist/templates/native-go-delegate/backend/internal/delegate/executor_contract_test.go +0 -511
- package/dist/templates/native-go-delegate/backend/internal/delegate/files.go +0 -132
- package/dist/templates/native-go-delegate/backend/internal/delegate/long_running_routes.go +0 -92
- package/dist/templates/native-go-delegate/backend/internal/delegate/long_running_routes_test.go +0 -99
- package/dist/templates/native-go-delegate/backend/internal/delegate/move.go +0 -348
- package/dist/templates/native-go-delegate/backend/internal/delegate/move_test.go +0 -351
- package/dist/templates/native-go-delegate/backend/internal/delegate/operations_list.go +0 -65
- package/dist/templates/native-go-delegate/backend/internal/delegate/operations_list_test.go +0 -114
- package/dist/templates/native-go-delegate/backend/internal/delegate/retry.go +0 -106
- package/dist/templates/native-go-delegate/backend/internal/delegate/retry_test.go +0 -143
- package/dist/templates/native-go-delegate/backend/internal/delegate/service.go +0 -364
- package/dist/templates/native-go-delegate/backend/internal/delegate/service_test.go +0 -318
- package/dist/templates/native-go-delegate/backend/internal/delegate/staging.go +0 -121
- package/dist/templates/native-go-delegate/backend/internal/delegate/status_disabled_test.go +0 -51
- package/dist/templates/native-go-delegate/backend/internal/delegate/testdata/executor_contract.txt +0 -112
- package/dist/templates/native-go-delegate/backend/internal/delegate/transient_contract_test.go +0 -137
- package/dist/templates/native-go-delegate/backend/internal/delegate/wait_cancel_test.go +0 -101
- package/dist/templates/native-go-delegate/backend/internal/delegate/worker.go +0 -225
- package/dist/templates/native-go-delegate/backend/internal/filestation/files.go +0 -43
- package/dist/templates/native-go-delegate/backend/internal/filestation/files_test.go +0 -59
- package/dist/templates/native-go-delegate/frontend/src/CapabilityPanels.vue +0 -37
- package/dist/templates/native-go-delegate/frontend/src/delegate/BackgroundSavePanel.vue +0 -113
- package/dist/templates/native-go-delegate/frontend/src/delegate/DelegatePanel.vue +0 -70
- package/dist/templates/native-go-delegate/frontend/src/delegate/copy.ts +0 -8
- package/dist/templates/native-go-delegate/frontend/src/delegate/i18n/waiting.json +0 -11
- package/dist/templates/native-go-delegate/frontend/test/background-save.test.ts +0 -121
- package/dist/templates/native-go-delegate/frontend/test/delegate.test.ts +0 -145
- package/dist/templates/native-go-delegate/frontend/test/scope-settings.test.ts +0 -49
- package/dist/templates/native-go-delegate/test-frontend.sh +0 -12
- package/dist/templates/native-go-delegate/test.sh +0 -18
- package/dist/templates/native-go-jobs/BACKGROUND.md +0 -108
- package/dist/templates/native-go-jobs/backend/internal/app/background_on.go +0 -7
- package/dist/templates/native-go-jobs/backend/internal/app/background_routes_test.go +0 -90
- package/dist/templates/native-go-jobs/frontend/src/background/BackgroundPanel.vue +0 -170
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/de.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/en.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/es.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/fr.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/it.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/ja.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/ko.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/zh-CN.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n/zh-TW.json +0 -75
- package/dist/templates/native-go-jobs/frontend/src/background/i18n.ts +0 -19
- package/dist/templates/native-go-jobs/frontend/src/background/picker-provider.ts +0 -12
- package/dist/templates/native-go-jobs/frontend/src/background/request-key.ts +0 -5
- package/dist/templates/native-go-jobs/frontend/test/background.test.ts +0 -205
- package/dist/templates/native-go-root-ops/backend/internal/app/executor.go +0 -140
- package/dist/templates/native-go-root-ops/backend/internal/app/executor_test.go +0 -117
- package/dist/templates/native-go-root-ops/root/whoami.sh +0 -3
- package/dist/templates/native-go-vue/README.md +0 -47
- package/dist/templates/native-go-vue/frontend/DESIGN.md +0 -61
- package/dist/templates/native-go-vue/frontend/package-lock.json +0 -2530
- package/dist/templates/native-go-vue/frontend/package.json +0 -6
- package/dist/templates/native-go-vue/frontend/src/App.vue +0 -96
- package/dist/templates/native-go-vue/frontend/src/CapabilityPanels.vue +0 -6
- package/dist/templates/native-go-vue/frontend/src/context.ts +0 -78
- package/dist/templates/native-go-vue/frontend/src/delegate/ExecutorSettings.vue +0 -70
- package/dist/templates/native-go-vue/frontend/src/delegate/catalogs.ts +0 -11
- package/dist/templates/native-go-vue/frontend/src/delegate/copy.test.ts +0 -12
- package/dist/templates/native-go-vue/frontend/src/delegate/copy.ts +0 -4
- package/dist/templates/native-go-vue/frontend/src/delegate/executor-settings.test.ts +0 -23
- package/dist/templates/native-go-vue/frontend/src/delegate/executor-setup.ts +0 -24
- package/dist/templates/native-go-vue/frontend/src/delegate/facade.test.ts +0 -100
- package/dist/templates/native-go-vue/frontend/src/delegate/facade.ts +0 -85
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/de.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/en.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/es.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/fr.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/it.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/ja.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/ko.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/de.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/en.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/es.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/fr.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/it.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/ja.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/ko.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/zh-CN.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/save/zh-TW.json +0 -42
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/zh-CN.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/i18n/zh-TW.json +0 -47
- package/dist/templates/native-go-vue/frontend/src/delegate/long-running.ts +0 -57
- package/dist/templates/native-go-vue/frontend/src/delegate/save-copy.test.ts +0 -12
- package/dist/templates/native-go-vue/frontend/src/delegate/save-copy.ts +0 -24
- package/dist/templates/native-go-vue/frontend/src/delegate/scoped-picker.test.ts +0 -12
- package/dist/templates/native-go-vue/frontend/src/delegate/scoped-picker.ts +0 -21
- package/dist/templates/native-go-vue/frontend/src/files/FileBrowser.vue +0 -131
- package/dist/templates/native-go-vue/frontend/src/files/FilesPage.vue +0 -35
- package/dist/templates/native-go-vue/frontend/src/files/files.test.ts +0 -100
- package/dist/templates/native-go-vue/frontend/src/files/provider.test.ts +0 -48
- package/dist/templates/native-go-vue/frontend/src/files/transfers.test.ts +0 -27
- package/dist/templates/native-go-vue/frontend/src/files/transfers.ts +0 -25
- package/dist/templates/native-go-vue/frontend/src/i18n/de.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/en.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/es.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/fr.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/it.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/ja.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/ko.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/zh-CN.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n/zh-TW.json +0 -20
- package/dist/templates/native-go-vue/frontend/src/i18n.ts +0 -13
- package/dist/templates/native-go-vue/frontend/src/identity/DESIGN.md +0 -46
- package/dist/templates/native-go-vue/frontend/src/identity/LoginPage.vue +0 -78
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/de.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/en.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/es.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/fr.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/it.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/ja.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/ko.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/zh-CN.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n/zh-TW.json +0 -27
- package/dist/templates/native-go-vue/frontend/src/identity/i18n.ts +0 -14
- package/dist/templates/native-go-vue/frontend/src/identity/login.test.ts +0 -32
- package/dist/templates/native-go-vue/frontend/src/identity/session.test.ts +0 -33
- package/dist/templates/native-go-vue/frontend/src/identity/session.ts +0 -74
- package/dist/templates/native-go-vue/frontend/src/main.ts +0 -32
- package/dist/templates/native-go-vue/frontend/src/nas/NasPicker.vue +0 -42
- package/dist/templates/native-go-vue/frontend/src/nas/contract.ts +0 -12
- package/dist/templates/native-go-vue/frontend/src/nas/destination.test.ts +0 -48
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/de.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/en.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/es.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/fr.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/it.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/ja.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/ko.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/zh-CN.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/zh-TW.json +0 -41
- package/dist/templates/native-go-vue/frontend/src/nas/i18n.ts +0 -2
- package/dist/templates/native-go-vue/frontend/src/nas/locale.ts +0 -24
- package/dist/templates/native-go-vue/frontend/src/nas/provider.ts +0 -50
- package/dist/templates/native-go-vue/frontend/src/nas/use-request.ts +0 -18
- package/dist/templates/native-go-vue/frontend/src/portal/PortalSettings.vue +0 -39
- package/dist/templates/native-go-vue/frontend/src/shell/AppShell.vue +0 -48
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/de.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/en.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/es.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/fr.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/it.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/ja.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/ko.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/zh-CN.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n/zh-TW.json +0 -4
- package/dist/templates/native-go-vue/frontend/src/shell/i18n.ts +0 -17
- package/dist/templates/native-go-vue/frontend/src/shell/pages.ts +0 -15
- package/dist/templates/native-go-vue/frontend/src/style.css +0 -27
- package/dist/templates/native-go-vue/frontend/test/apps.test.ts +0 -57
- package/dist/templates/native-go-vue/frontend/test/native-controls.test.ts +0 -27
- package/dist/templates/native-go-vue/frontend/test/portal-settings.test.ts +0 -71
- package/dist/templates/native-go-vue/frontend/test/shell-i18n.test.ts +0 -50
- package/dist/templates/native-go-vue/frontend/test/shell-ui.test.ts +0 -20
- package/dist/templates/native-go-vue/frontend/test/shell.test.ts +0 -30
- package/dist/templates/native-go-vue/frontend/tsconfig.json +0 -1
- package/dist/templates/native-go-vue/frontend/vite.config.ts +0 -10
- package/dist/templates/native-go-vue/gitignore +0 -2
- package/templates/_daemon/fixture_linux_test.go +0 -15
- package/templates/_daemon/fixture_other_test.go +0 -7
- package/templates/_daemon/go.mod +0 -5
- package/templates/_daemon/main.go +0 -611
- package/templates/_daemon/main_test.go +0 -315
- package/templates/_daemon/process_linux.go +0 -55
- package/templates/_daemon/process_linux_test.go +0 -161
- package/templates/_daemon/process_other.go +0 -14
- package/templates/_daemon/testdata/child.go +0 -44
- package/templates/_executor/README.md +0 -318
- package/templates/_executor/anchor.go +0 -156
- package/templates/_executor/anchor_test.go +0 -161
- package/templates/_executor/apppriv_review_test.go +0 -28
- package/templates/_executor/auth_presence_review_test.go +0 -38
- package/templates/_executor/cancel_contract_test.go +0 -236
- package/templates/_executor/cmd/lifecycle/main.go +0 -42
- package/templates/_executor/cookie_review_test.go +0 -27
- package/templates/_executor/copy.go +0 -64
- package/templates/_executor/copy_test.go +0 -88
- package/templates/_executor/digest_review_test.go +0 -120
- package/templates/_executor/directories.go +0 -40
- package/templates/_executor/dsm.go +0 -369
- package/templates/_executor/dsm_test.go +0 -290
- package/templates/_executor/executor.go +0 -735
- package/templates/_executor/executor_test.go +0 -314
- package/templates/_executor/go.mod +0 -5
- package/templates/_executor/identity.go +0 -74
- package/templates/_executor/identity_kernel_linux_test.go +0 -60
- package/templates/_executor/identity_linux.go +0 -82
- package/templates/_executor/identity_security_test.go +0 -43
- package/templates/_executor/internal/lifecycle/lifecycle.go +0 -95
- package/templates/_executor/internal/lifecycle/lifecycle_test.go +0 -232
- package/templates/_executor/internal/taskscript/boot.sh +0 -31
- package/templates/_executor/internal/taskscript/cmd/main.go +0 -19
- package/templates/_executor/internal/taskscript/control.sh +0 -31
- package/templates/_executor/internal/taskscript/tasks.go +0 -44
- package/templates/_executor/json_review_test.go +0 -40
- package/templates/_executor/lifecycle_test.go +0 -97
- package/templates/_executor/link_linux.go +0 -28
- package/templates/_executor/long_running_test.go +0 -530
- package/templates/_executor/main.go +0 -576
- package/templates/_executor/managed.go +0 -117
- package/templates/_executor/managed_test.go +0 -137
- package/templates/_executor/move_linux.go +0 -490
- package/templates/_executor/move_linux_test.go +0 -460
- package/templates/_executor/move_validation.go +0 -46
- package/templates/_executor/move_validation_test.go +0 -187
- package/templates/_executor/operations.go +0 -926
- package/templates/_executor/path_test.go +0 -35
- package/templates/_executor/pid.go +0 -37
- package/templates/_executor/pid_test.go +0 -113
- package/templates/_executor/platform_linux.go +0 -187
- package/templates/_executor/platform_linux_test.go +0 -191
- package/templates/_executor/platform_other.go +0 -76
- package/templates/_executor/process.go +0 -142
- package/templates/_executor/purge_log.go +0 -18
- package/templates/_executor/records.go +0 -242
- package/templates/_executor/scope_cancel_contract_test.go +0 -91
- package/templates/_executor/scope_client.go +0 -37
- package/templates/_executor/scope_contract.go +0 -12
- package/templates/_executor/selected_scope.go +0 -146
- package/templates/_executor/selected_scope_test.go +0 -186
- package/templates/_executor/socket_linux_test.go +0 -46
- package/templates/_executor/status_disabled_test.go +0 -33
- package/templates/_executor/store.go +0 -91
- package/templates/_executor/supervise.go +0 -109
- package/templates/_executor/supervise_test.go +0 -130
- package/templates/_executor/task_race_review_test.go +0 -47
- package/templates/_executor/tasks.go +0 -320
- package/templates/_executor/tasks_dsm71_test.go +0 -114
- package/templates/_executor/tasks_review_test.go +0 -43
- package/templates/_executor/tasks_test.go +0 -223
- package/templates/_executor/testdata/evidence/cleanup.json +0 -24
- package/templates/_executor/testdata/evidence/final-smoke.jsonl +0 -9
- package/templates/_executor/testdata/evidence/kernel-acl.json +0 -6
- package/templates/_executor/testdata/evidence/linux-tests.log +0 -123
- package/templates/_executor/testdata/evidence/live.jsonl +0 -23
- package/templates/_executor/testdata/evidence/storage.json +0 -90
- package/templates/_executor/testdata/evidence/validation.json +0 -55
- package/templates/_executor/testdata/live_probe.py +0 -98
- package/templates/_executor/upgrade_watch_test.go +0 -244
- package/templates/_executor/watch.go +0 -164
- package/templates/_executor/watch_test.go +0 -291
- package/templates/_executor/write_review_linux_test.go +0 -87
- package/templates/_gateway/auth.go +0 -101
- package/templates/_gateway/auth_test.go +0 -216
- package/templates/_gateway/cgi.go +0 -133
- package/templates/_gateway/cgi_test.go +0 -156
- package/templates/_gateway/csrf.go +0 -73
- package/templates/_gateway/csrf_test.go +0 -155
- package/templates/_gateway/directory.go +0 -108
- package/templates/_gateway/directory_test.go +0 -202
- package/templates/_gateway/gateway.go +0 -412
- package/templates/_gateway/gateway_test.go +0 -676
- package/templates/_gateway/go.mod +0 -5
- package/templates/_gateway/groups.go +0 -66
- package/templates/_gateway/main.go +0 -45
- package/templates/_shared/AGENTS.md +0 -146
- package/templates/_shared/CLAUDE.md +0 -1
- package/templates/_shared/GO-LICENSE +0 -27
- package/templates/_shared/GO-PATENTS +0 -22
- package/templates/_shared/LICENSES/TEMPLATE.txt +0 -21
- package/templates/_shared/third-party-notices.mjs +0 -51
- package/templates/binary/LICENSES/GO-LICENSE +0 -27
- package/templates/binary/LICENSES/GO-PATENTS +0 -22
- package/templates/binary/dsm-package.yaml +0 -46
- package/templates/binary/example/main.go +0 -16
- package/templates/binary/gitignore +0 -2
- package/templates/binary/i18n/messages/de.json +0 -4
- package/templates/binary/i18n/messages/en.json +0 -4
- package/templates/binary/i18n/messages/es.json +0 -4
- package/templates/binary/i18n/messages/fr.json +0 -4
- package/templates/binary/i18n/messages/it.json +0 -4
- package/templates/binary/i18n/messages/ja.json +0 -4
- package/templates/binary/i18n/messages/ko.json +0 -4
- package/templates/binary/i18n/messages/zh-CN.json +0 -4
- package/templates/binary/i18n/messages/zh-TW.json +0 -4
- package/templates/binary/ui/app.css +0 -4
- package/templates/binary/ui/app.js +0 -32
- package/templates/compose/compose.yaml +0 -8
- package/templates/compose/synology-app.yaml +0 -16
- package/templates/native-authorization/AuthorizationGate.vue +0 -91
- package/templates/native-authorization/i18n/de.json +0 -37
- package/templates/native-authorization/i18n/en.json +0 -37
- package/templates/native-authorization/i18n/es.json +0 -37
- package/templates/native-authorization/i18n/fr.json +0 -37
- package/templates/native-authorization/i18n/index.ts +0 -15
- package/templates/native-authorization/i18n/it.json +0 -37
- package/templates/native-authorization/i18n/ja.json +0 -37
- package/templates/native-authorization/i18n/ko.json +0 -37
- package/templates/native-authorization/i18n/zh-CN.json +0 -37
- package/templates/native-authorization/i18n/zh-TW.json +0 -37
- package/templates/native-go/README.md +0 -459
- package/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +0 -61
- package/templates/native-go/backend/cmd/app/main.go +0 -95
- package/templates/native-go/backend/cmd/background-worker/main.go +0 -38
- package/templates/native-go/backend/go.mod +0 -9
- package/templates/native-go/backend/go.sum +0 -4
- package/templates/native-go/backend/internal/api/cgi_framing_test.go +0 -32
- package/templates/native-go/backend/internal/api/cookie_review_test.go +0 -28
- package/templates/native-go/backend/internal/api/deadline_test.go +0 -114
- package/templates/native-go/backend/internal/api/dsm-session.go +0 -54
- package/templates/native-go/backend/internal/api/dsm-session_test.go +0 -51
- package/templates/native-go/backend/internal/api/entry_test.go +0 -47
- package/templates/native-go/backend/internal/api/errors.go +0 -47
- package/templates/native-go/backend/internal/api/permissions.go +0 -161
- package/templates/native-go/backend/internal/api/permissions.json +0 -5
- package/templates/native-go/backend/internal/api/permissions_test.go +0 -113
- package/templates/native-go/backend/internal/api/policy_fixture_test.go +0 -8
- package/templates/native-go/backend/internal/api/registry.go +0 -142
- package/templates/native-go/backend/internal/api/registry_test.go +0 -344
- package/templates/native-go/backend/internal/api/resource_limits_test.go +0 -87
- package/templates/native-go/backend/internal/api/sdk-permissions.json +0 -59
- package/templates/native-go/backend/internal/api/sdk_policy_test.go +0 -31
- package/templates/native-go/backend/internal/api/server.go +0 -305
- package/templates/native-go/backend/internal/api/testdata/permissions-cases.json +0 -172
- package/templates/native-go/backend/internal/app/background.go +0 -249
- package/templates/native-go/backend/internal/app/background_none.go +0 -8
- package/templates/native-go/backend/internal/app/background_owner.go +0 -38
- package/templates/native-go/backend/internal/app/background_owner_test.go +0 -163
- package/templates/native-go/backend/internal/app/background_schedule.go +0 -69
- package/templates/native-go/backend/internal/app/background_schedule_test.go +0 -62
- package/templates/native-go/backend/internal/app/background_test.go +0 -320
- package/templates/native-go/backend/internal/app/delegate_config.go +0 -57
- package/templates/native-go/backend/internal/app/delegate_config_test.go +0 -28
- package/templates/native-go/backend/internal/app/delegate_none.go +0 -5
- package/templates/native-go/backend/internal/app/identity.go +0 -20
- package/templates/native-go/backend/internal/app/identity_test.go +0 -15
- package/templates/native-go/backend/internal/app/migrations.go +0 -41
- package/templates/native-go/backend/internal/app/migrations_test.go +0 -41
- package/templates/native-go/backend/internal/app/portal.go +0 -30
- package/templates/native-go/backend/internal/app/portal_test.go +0 -55
- package/templates/native-go/backend/internal/app/root_none.go +0 -9
- package/templates/native-go/backend/internal/app/routes.go +0 -137
- package/templates/native-go/backend/internal/app/routes_test.go +0 -165
- package/templates/native-go/backend/internal/app/session_files.go +0 -9
- package/templates/native-go/backend/internal/app/session_files_test.go +0 -14
- package/templates/native-go/backend/internal/app/shared_folder.go +0 -144
- package/templates/native-go/backend/internal/app/shared_folder_test.go +0 -158
- package/templates/native-go/backend/internal/background/access.go +0 -57
- package/templates/native-go/backend/internal/background/lock_test.go +0 -131
- package/templates/native-go/backend/internal/background/owner_test.go +0 -118
- package/templates/native-go/backend/internal/background/runner.go +0 -185
- package/templates/native-go/backend/internal/background/runner_test.go +0 -209
- package/templates/native-go/backend/internal/background/schedule.go +0 -336
- package/templates/native-go/backend/internal/background/schedule_test.go +0 -368
- package/templates/native-go/backend/internal/background/store.go +0 -825
- package/templates/native-go/backend/internal/background/store_test.go +0 -365
- package/templates/native-go/backend/internal/datamigrate/migrate.go +0 -191
- package/templates/native-go/backend/internal/datamigrate/migrate_test.go +0 -177
- package/templates/native-go/backend/internal/dsm/admin.go +0 -76
- package/templates/native-go/backend/internal/dsm/admin_linux.go +0 -110
- package/templates/native-go/backend/internal/dsm/admin_linux_test.go +0 -105
- package/templates/native-go/backend/internal/dsm/admin_other.go +0 -15
- package/templates/native-go/backend/internal/dsm/admin_test.go +0 -67
- package/templates/native-go/backend/internal/dsm/apppriv.go +0 -30
- package/templates/native-go/backend/internal/dsm/auth.go +0 -94
- package/templates/native-go/backend/internal/dsm/auth_test.go +0 -159
- package/templates/native-go/backend/internal/dsm/bridge_file.go +0 -75
- package/templates/native-go/backend/internal/dsm/bridge_file_test.go +0 -57
- package/templates/native-go/backend/internal/dsm/entry.go +0 -177
- package/templates/native-go/backend/internal/dsm/entry_test.go +0 -315
- package/templates/native-go/backend/internal/dsm/native/admin-aarch64.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/admin-armv7.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/admin-x86_64.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/admin_check.c +0 -28
- package/templates/native-go/backend/internal/dsm/native/apppriv-aarch64.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/apppriv-armv7.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/apppriv-x86_64.elf +0 -0
- package/templates/native-go/backend/internal/dsm/native/apppriv_check.c +0 -33
- package/templates/native-go/backend/internal/dsm/native/build.sh +0 -18
- package/templates/native-go/backend/internal/dsm/native/licenses/GLIBC-NOTICES.txt +0 -400
- package/templates/native-go/backend/internal/dsm/native/licenses/LGPL-2.1.txt +0 -501
- package/templates/native-go/backend/internal/dsm/native/licenses/SOURCE.txt +0 -5
- package/templates/native-go/backend/internal/dsm/native/licenses/ZIG-MIT.txt +0 -21
- package/templates/native-go/backend/internal/dsm/native/provenance.json +0 -18
- package/templates/native-go/backend/internal/filestation/browse_test.go +0 -67
- package/templates/native-go/backend/internal/filestation/check_permission.go +0 -71
- package/templates/native-go/backend/internal/filestation/check_permission_test.go +0 -77
- package/templates/native-go/backend/internal/filestation/client.go +0 -337
- package/templates/native-go/backend/internal/filestation/client_test.go +0 -155
- package/templates/native-go/backend/internal/filestation/doc.go +0 -4
- package/templates/native-go/backend/internal/filestation/download_dsm71_test.go +0 -82
- package/templates/native-go/backend/internal/filestation/http.go +0 -70
- package/templates/native-go/backend/internal/filestation/http_test.go +0 -188
- package/templates/native-go/backend/internal/filestation/operations_test.go +0 -206
- package/templates/native-go/backend/internal/filestation/read_file_test.go +0 -89
- package/templates/native-go/backend/internal/filestation/sdk_policy_test.go +0 -39
- package/templates/native-go/backend/internal/filestation/service.go +0 -254
- package/templates/native-go/backend/internal/filestation/service_test.go +0 -74
- package/templates/native-go/backend/internal/filestation/upload_stream.go +0 -76
- package/templates/native-go/backend/internal/filestation/upload_stream_test.go +0 -77
- package/templates/native-go/backend/internal/filestation/write.go +0 -32
- package/templates/native-go/backend/internal/filestation/write_test.go +0 -124
- package/templates/native-go/backend/internal/identity/README.md +0 -59
- package/templates/native-go/backend/internal/identity/dsm.go +0 -115
- package/templates/native-go/backend/internal/identity/http.go +0 -291
- package/templates/native-go/backend/internal/identity/identity_test.go +0 -530
- package/templates/native-go/backend/internal/identity/service.go +0 -159
- package/templates/native-go/backend/internal/identity/store.go +0 -109
- package/templates/native-go/backend/internal/jsonlimits/limits.go +0 -48
- package/templates/native-go/backend/internal/jsonlimits/limits_test.go +0 -52
- package/templates/native-go/backend/internal/portal/portal.go +0 -138
- package/templates/native-go/backend/internal/portal/portal_test.go +0 -89
- package/templates/native-go/dsm-package.yaml +0 -71
- package/templates/native-go/gitignore +0 -1
- package/templates/native-go/i18n/glossary.json +0 -663
- package/templates/native-go/i18n/messages/de.json +0 -29
- package/templates/native-go/i18n/messages/en.json +0 -29
- package/templates/native-go/i18n/messages/es.json +0 -29
- package/templates/native-go/i18n/messages/fr.json +0 -29
- package/templates/native-go/i18n/messages/it.json +0 -29
- package/templates/native-go/i18n/messages/ja.json +0 -29
- package/templates/native-go/i18n/messages/ko.json +0 -29
- package/templates/native-go/i18n/messages/zh-CN.json +0 -29
- package/templates/native-go/i18n/messages/zh-TW.json +0 -29
- package/templates/native-go/ui/app.css +0 -45
- package/templates/native-go/ui/app.js +0 -111
- package/templates/native-go-delegate/DELEGATE.md +0 -263
- package/templates/native-go-delegate/backend/cmd/background-worker/main.go +0 -48
- package/templates/native-go-delegate/backend/internal/app/delegate.go +0 -25
- package/templates/native-go-delegate/backend/internal/app/delegate_on.go +0 -5
- package/templates/native-go-delegate/backend/internal/app/delegate_routes_test.go +0 -31
- package/templates/native-go-delegate/backend/internal/background/delegate_review_test.go +0 -174
- package/templates/native-go-delegate/backend/internal/background/delegated.go +0 -277
- package/templates/native-go-delegate/backend/internal/background/delegated_moves.go +0 -270
- package/templates/native-go-delegate/backend/internal/background/delegated_test.go +0 -34
- package/templates/native-go-delegate/backend/internal/delegate/admission_recovery_test.go +0 -410
- package/templates/native-go-delegate/backend/internal/delegate/busy_review_test.go +0 -15
- package/templates/native-go-delegate/backend/internal/delegate/cancel_contract_test.go +0 -95
- package/templates/native-go-delegate/backend/internal/delegate/client.go +0 -151
- package/templates/native-go-delegate/backend/internal/delegate/client_test.go +0 -214
- package/templates/native-go-delegate/backend/internal/delegate/destination.go +0 -110
- package/templates/native-go-delegate/backend/internal/delegate/destination_state.go +0 -117
- package/templates/native-go-delegate/backend/internal/delegate/destination_state_test.go +0 -60
- package/templates/native-go-delegate/backend/internal/delegate/destination_test.go +0 -116
- package/templates/native-go-delegate/backend/internal/delegate/example.go +0 -81
- package/templates/native-go-delegate/backend/internal/delegate/example_test.go +0 -91
- package/templates/native-go-delegate/backend/internal/delegate/executor_contract_test.go +0 -511
- package/templates/native-go-delegate/backend/internal/delegate/files.go +0 -132
- package/templates/native-go-delegate/backend/internal/delegate/long_running_routes.go +0 -92
- package/templates/native-go-delegate/backend/internal/delegate/long_running_routes_test.go +0 -99
- package/templates/native-go-delegate/backend/internal/delegate/move.go +0 -348
- package/templates/native-go-delegate/backend/internal/delegate/move_test.go +0 -351
- package/templates/native-go-delegate/backend/internal/delegate/operations_list.go +0 -65
- package/templates/native-go-delegate/backend/internal/delegate/operations_list_test.go +0 -114
- package/templates/native-go-delegate/backend/internal/delegate/retry.go +0 -106
- package/templates/native-go-delegate/backend/internal/delegate/retry_test.go +0 -143
- package/templates/native-go-delegate/backend/internal/delegate/service.go +0 -364
- package/templates/native-go-delegate/backend/internal/delegate/service_test.go +0 -318
- package/templates/native-go-delegate/backend/internal/delegate/staging.go +0 -121
- package/templates/native-go-delegate/backend/internal/delegate/status_disabled_test.go +0 -51
- package/templates/native-go-delegate/backend/internal/delegate/testdata/executor_contract.txt +0 -112
- package/templates/native-go-delegate/backend/internal/delegate/transient_contract_test.go +0 -137
- package/templates/native-go-delegate/backend/internal/delegate/wait_cancel_test.go +0 -101
- package/templates/native-go-delegate/backend/internal/delegate/worker.go +0 -225
- package/templates/native-go-delegate/backend/internal/filestation/files.go +0 -43
- package/templates/native-go-delegate/backend/internal/filestation/files_test.go +0 -59
- package/templates/native-go-delegate/frontend/src/CapabilityPanels.vue +0 -37
- package/templates/native-go-delegate/frontend/src/delegate/BackgroundSavePanel.vue +0 -113
- package/templates/native-go-delegate/frontend/src/delegate/DelegatePanel.vue +0 -70
- package/templates/native-go-delegate/frontend/src/delegate/copy.ts +0 -8
- package/templates/native-go-delegate/frontend/src/delegate/i18n/waiting.json +0 -11
- package/templates/native-go-delegate/frontend/test/background-save.test.ts +0 -121
- package/templates/native-go-delegate/frontend/test/delegate.test.ts +0 -145
- package/templates/native-go-delegate/frontend/test/scope-settings.test.ts +0 -49
- package/templates/native-go-delegate/test-frontend.sh +0 -12
- package/templates/native-go-delegate/test.sh +0 -18
- package/templates/native-go-jobs/BACKGROUND.md +0 -108
- package/templates/native-go-jobs/backend/internal/app/background_on.go +0 -7
- package/templates/native-go-jobs/backend/internal/app/background_routes_test.go +0 -90
- package/templates/native-go-jobs/frontend/src/background/BackgroundPanel.vue +0 -170
- package/templates/native-go-jobs/frontend/src/background/i18n/de.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/en.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/es.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/fr.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/it.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/ja.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/ko.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/zh-CN.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n/zh-TW.json +0 -75
- package/templates/native-go-jobs/frontend/src/background/i18n.ts +0 -19
- package/templates/native-go-jobs/frontend/src/background/picker-provider.ts +0 -12
- package/templates/native-go-jobs/frontend/src/background/request-key.ts +0 -5
- package/templates/native-go-jobs/frontend/test/background.test.ts +0 -205
- package/templates/native-go-root-ops/backend/internal/app/executor.go +0 -140
- package/templates/native-go-root-ops/backend/internal/app/executor_test.go +0 -117
- package/templates/native-go-root-ops/root/whoami.sh +0 -3
- package/templates/native-go-vue/README.md +0 -47
- package/templates/native-go-vue/frontend/DESIGN.md +0 -61
- package/templates/native-go-vue/frontend/package-lock.json +0 -2530
- package/templates/native-go-vue/frontend/package.json +0 -6
- package/templates/native-go-vue/frontend/src/App.vue +0 -96
- package/templates/native-go-vue/frontend/src/CapabilityPanels.vue +0 -6
- package/templates/native-go-vue/frontend/src/context.ts +0 -78
- package/templates/native-go-vue/frontend/src/delegate/ExecutorSettings.vue +0 -70
- package/templates/native-go-vue/frontend/src/delegate/catalogs.ts +0 -11
- package/templates/native-go-vue/frontend/src/delegate/copy.test.ts +0 -12
- package/templates/native-go-vue/frontend/src/delegate/copy.ts +0 -4
- package/templates/native-go-vue/frontend/src/delegate/executor-settings.test.ts +0 -23
- package/templates/native-go-vue/frontend/src/delegate/executor-setup.ts +0 -24
- package/templates/native-go-vue/frontend/src/delegate/facade.test.ts +0 -100
- package/templates/native-go-vue/frontend/src/delegate/facade.ts +0 -85
- package/templates/native-go-vue/frontend/src/delegate/i18n/de.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/en.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/es.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/fr.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/it.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/ja.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/ko.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/de.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/en.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/es.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/fr.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/it.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/ja.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/ko.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/zh-CN.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/save/zh-TW.json +0 -42
- package/templates/native-go-vue/frontend/src/delegate/i18n/zh-CN.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/i18n/zh-TW.json +0 -47
- package/templates/native-go-vue/frontend/src/delegate/long-running.ts +0 -57
- package/templates/native-go-vue/frontend/src/delegate/save-copy.test.ts +0 -12
- package/templates/native-go-vue/frontend/src/delegate/save-copy.ts +0 -24
- package/templates/native-go-vue/frontend/src/delegate/scoped-picker.test.ts +0 -12
- package/templates/native-go-vue/frontend/src/delegate/scoped-picker.ts +0 -21
- package/templates/native-go-vue/frontend/src/files/FileBrowser.vue +0 -131
- package/templates/native-go-vue/frontend/src/files/FilesPage.vue +0 -35
- package/templates/native-go-vue/frontend/src/files/files.test.ts +0 -100
- package/templates/native-go-vue/frontend/src/files/provider.test.ts +0 -48
- package/templates/native-go-vue/frontend/src/files/transfers.test.ts +0 -27
- package/templates/native-go-vue/frontend/src/files/transfers.ts +0 -25
- package/templates/native-go-vue/frontend/src/i18n/de.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/en.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/es.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/fr.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/it.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/ja.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/ko.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/zh-CN.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n/zh-TW.json +0 -20
- package/templates/native-go-vue/frontend/src/i18n.ts +0 -13
- package/templates/native-go-vue/frontend/src/identity/DESIGN.md +0 -46
- package/templates/native-go-vue/frontend/src/identity/LoginPage.vue +0 -78
- package/templates/native-go-vue/frontend/src/identity/i18n/de.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/en.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/es.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/fr.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/it.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/ja.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/ko.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/zh-CN.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n/zh-TW.json +0 -27
- package/templates/native-go-vue/frontend/src/identity/i18n.ts +0 -14
- package/templates/native-go-vue/frontend/src/identity/login.test.ts +0 -32
- package/templates/native-go-vue/frontend/src/identity/session.test.ts +0 -33
- package/templates/native-go-vue/frontend/src/identity/session.ts +0 -74
- package/templates/native-go-vue/frontend/src/main.ts +0 -32
- package/templates/native-go-vue/frontend/src/nas/NasPicker.vue +0 -42
- package/templates/native-go-vue/frontend/src/nas/contract.ts +0 -12
- package/templates/native-go-vue/frontend/src/nas/destination.test.ts +0 -48
- package/templates/native-go-vue/frontend/src/nas/i18n/files/de.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/en.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/es.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/fr.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/it.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/ja.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/ko.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/zh-CN.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n/files/zh-TW.json +0 -41
- package/templates/native-go-vue/frontend/src/nas/i18n.ts +0 -2
- package/templates/native-go-vue/frontend/src/nas/locale.ts +0 -24
- package/templates/native-go-vue/frontend/src/nas/provider.ts +0 -50
- package/templates/native-go-vue/frontend/src/nas/use-request.ts +0 -18
- package/templates/native-go-vue/frontend/src/portal/PortalSettings.vue +0 -39
- package/templates/native-go-vue/frontend/src/shell/AppShell.vue +0 -48
- package/templates/native-go-vue/frontend/src/shell/i18n/de.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/en.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/es.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/fr.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/it.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/ja.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/ko.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/zh-CN.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n/zh-TW.json +0 -4
- package/templates/native-go-vue/frontend/src/shell/i18n.ts +0 -17
- package/templates/native-go-vue/frontend/src/shell/pages.ts +0 -15
- package/templates/native-go-vue/frontend/src/style.css +0 -27
- package/templates/native-go-vue/frontend/test/apps.test.ts +0 -57
- package/templates/native-go-vue/frontend/test/native-controls.test.ts +0 -27
- package/templates/native-go-vue/frontend/test/portal-settings.test.ts +0 -71
- package/templates/native-go-vue/frontend/test/shell-i18n.test.ts +0 -50
- package/templates/native-go-vue/frontend/test/shell-ui.test.ts +0 -20
- package/templates/native-go-vue/frontend/test/shell.test.ts +0 -30
- package/templates/native-go-vue/frontend/tsconfig.json +0 -1
- package/templates/native-go-vue/frontend/vite.config.ts +0 -10
- package/templates/native-go-vue/gitignore +0 -2
- /package/{dist/templates/_daemon → assets/go/daemon}/fixture_linux_test.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/fixture_other_test.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/go.mod +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/main.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/main_test.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/process_linux.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/process_linux_test.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/process_other.go +0 -0
- /package/{dist/templates/_daemon → assets/go/daemon}/testdata/child.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/auth.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/auth_test.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/cgi.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/cgi_test.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/csrf.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/csrf_test.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/directory.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/directory_test.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/gateway.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/gateway_test.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/go.mod +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/groups.go +0 -0
- /package/{dist/templates/_gateway → assets/go/gateway}/main.go +0 -0
- /package/{dist/templates/_shared → assets/licenses}/GO-LICENSE +0 -0
- /package/{dist/templates/_shared → assets/licenses}/GO-PATENTS +0 -0
- /package/{dist/templates/_shared/LICENSES → assets/licenses}/TEMPLATE.txt +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface FileTransport {endpoint:string;token?:()=>string|undefined}
|
|
2
|
-
export function createFileTransfers(transport:FileTransport){
|
|
3
|
-
const url=(method:string,params:Record<string,string>)=>`${transport.endpoint}?${new URLSearchParams({method,...params})}`
|
|
4
|
-
const frames=new Set<HTMLIFrameElement>()
|
|
5
|
-
return {
|
|
6
|
-
download(path:string):void{
|
|
7
|
-
const frame=document.createElement('iframe'),form=document.createElement('form'),input=document.createElement('input')
|
|
8
|
-
frame.name=`spl-download-${crypto.getRandomValues(new Uint32Array(4)).join('-')}`;frame.hidden=true
|
|
9
|
-
frames.add(frame);document.body.append(frame)
|
|
10
|
-
form.method='POST';form.action=url('nas.files.download',{path});form.target=frame.name;form.hidden=true
|
|
11
|
-
input.type='hidden';input.name='SynoToken';input.value=transport.token?.()??'';form.append(input);document.body.append(form)
|
|
12
|
-
try{form.submit()}finally{input.value='';form.remove()}
|
|
13
|
-
},
|
|
14
|
-
dispose(){for(const frame of frames)frame.remove();frames.clear()},
|
|
15
|
-
async upload(parent:string,file:File,signal:AbortSignal):Promise<void>{
|
|
16
|
-
if(file.size>16*1024**3)throw {code:'upload_size_required'}
|
|
17
|
-
const headers:Record<string,string>={'Content-Type':'application/octet-stream'},token=transport.token?.()
|
|
18
|
-
if(token)headers['X-SYNO-TOKEN']=token
|
|
19
|
-
let body:any
|
|
20
|
-
try{const response=await fetch(url('nas.files.upload',{parent,name:file.name}),{method:'POST',credentials:'same-origin',headers,body:file,signal});body=await response.json()}
|
|
21
|
-
catch{throw {code:'commit-uncertain'}}
|
|
22
|
-
if(body?.success!==true)throw {code:typeof body?.error?.code==='string'?body.error.code:'commit-uncertain'}
|
|
23
|
-
},
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "Sitzung wird geprüft…",
|
|
3
|
-
"refresh": "Aktualisieren",
|
|
4
|
-
"signOut": "Abmelden",
|
|
5
|
-
"settings": "Paketeinstellungen",
|
|
6
|
-
"loading": "Paketdaten werden geladen…",
|
|
7
|
-
"actionRequired": "Aktion erforderlich",
|
|
8
|
-
"statusTitle": "Paketstatus",
|
|
9
|
-
"statusError": "Der Status konnte nicht geladen werden. Aktualisieren Sie die Ansicht und versuchen Sie es erneut.",
|
|
10
|
-
"greeting": "Begrüßung",
|
|
11
|
-
"save": "Speichern",
|
|
12
|
-
"saved": "Begrüßung gespeichert.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "Ihre DSM-Sitzung ist abgelaufen. Melden Sie sich erneut an.",
|
|
15
|
-
"admin_required": "Diese Aktion muss ein DSM-Administrator ausführen.",
|
|
16
|
-
"app_privilege_denied": "Die DSM-Anwendungsberechtigungen erlauben diesem Konto nicht, diese App zu verwenden.",
|
|
17
|
-
"auth_unavailable": "Die DSM-Authentifizierung ist nicht verfügbar. Aktualisieren Sie die Ansicht und versuchen Sie es erneut.",
|
|
18
|
-
"request_failed": "Anfrage fehlgeschlagen ({code}). Aktualisieren Sie die Ansicht und versuchen Sie es erneut."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "Checking session…",
|
|
3
|
-
"refresh": "Refresh",
|
|
4
|
-
"signOut": "Sign out",
|
|
5
|
-
"settings": "Package settings",
|
|
6
|
-
"loading": "Loading package data…",
|
|
7
|
-
"actionRequired": "Action required",
|
|
8
|
-
"statusTitle": "Package status",
|
|
9
|
-
"statusError": "Status could not be loaded. Refresh to try again.",
|
|
10
|
-
"greeting": "Greeting",
|
|
11
|
-
"save": "Save",
|
|
12
|
-
"saved": "Greeting saved.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "Your DSM session expired. Sign in again.",
|
|
15
|
-
"admin_required": "A DSM administrator must perform this action.",
|
|
16
|
-
"app_privilege_denied": "DSM Application Privileges do not allow this account to use this app.",
|
|
17
|
-
"auth_unavailable": "DSM authentication is unavailable. Refresh to try again.",
|
|
18
|
-
"request_failed": "Request failed ({code}). Refresh and try again."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "Comprobando la sesión…",
|
|
3
|
-
"refresh": "Actualizar",
|
|
4
|
-
"signOut": "Cerrar sesión",
|
|
5
|
-
"settings": "Configuración del paquete",
|
|
6
|
-
"loading": "Cargando datos del paquete…",
|
|
7
|
-
"actionRequired": "Acción necesaria",
|
|
8
|
-
"statusTitle": "Estado del paquete",
|
|
9
|
-
"statusError": "No se pudo cargar el estado. Actualice e inténtelo de nuevo.",
|
|
10
|
-
"greeting": "Saludo",
|
|
11
|
-
"save": "Guardar",
|
|
12
|
-
"saved": "Saludo guardado.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "Su sesión de DSM ha caducado. Vuelva a iniciar sesión.",
|
|
15
|
-
"admin_required": "Un administrador de DSM debe realizar esta acción.",
|
|
16
|
-
"app_privilege_denied": "Los privilegios de aplicación de DSM no permiten que esta cuenta use esta aplicación.",
|
|
17
|
-
"auth_unavailable": "La autenticación de DSM no está disponible. Actualice e inténtelo de nuevo.",
|
|
18
|
-
"request_failed": "La solicitud falló ({code}). Actualice e inténtelo de nuevo."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "Vérification de la session…",
|
|
3
|
-
"refresh": "Actualiser",
|
|
4
|
-
"signOut": "Se déconnecter",
|
|
5
|
-
"settings": "Paramètres du paquet",
|
|
6
|
-
"loading": "Chargement des données du paquet…",
|
|
7
|
-
"actionRequired": "Action requise",
|
|
8
|
-
"statusTitle": "État du paquet",
|
|
9
|
-
"statusError": "Impossible de charger l’état. Actualisez et réessayez.",
|
|
10
|
-
"greeting": "Message d’accueil",
|
|
11
|
-
"save": "Sauvegarder",
|
|
12
|
-
"saved": "Message d’accueil enregistré.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "Votre session DSM a expiré. Reconnectez-vous.",
|
|
15
|
-
"admin_required": "Un administrateur DSM doit effectuer cette action.",
|
|
16
|
-
"app_privilege_denied": "Les privilèges d’application DSM n’autorisent pas ce compte à utiliser cette application.",
|
|
17
|
-
"auth_unavailable": "L’authentification DSM n’est pas disponible. Actualisez et réessayez.",
|
|
18
|
-
"request_failed": "La requête a échoué ({code}). Actualisez et réessayez."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "Verifica della sessione…",
|
|
3
|
-
"refresh": "Aggiorna",
|
|
4
|
-
"signOut": "Disconnetti",
|
|
5
|
-
"settings": "Impostazioni del pacchetto",
|
|
6
|
-
"loading": "Caricamento dei dati del pacchetto…",
|
|
7
|
-
"actionRequired": "Azione richiesta",
|
|
8
|
-
"statusTitle": "Stato del pacchetto",
|
|
9
|
-
"statusError": "Impossibile caricare lo stato. Aggiornare e riprovare.",
|
|
10
|
-
"greeting": "Saluto",
|
|
11
|
-
"save": "Salva",
|
|
12
|
-
"saved": "Saluto salvato.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "La sessione DSM è scaduta. Accedere di nuovo.",
|
|
15
|
-
"admin_required": "Questa azione deve essere eseguita da un amministratore DSM.",
|
|
16
|
-
"app_privilege_denied": "I privilegi delle applicazioni DSM non consentono a questo account di usare questa app.",
|
|
17
|
-
"auth_unavailable": "L’autenticazione DSM non è disponibile. Aggiornare e riprovare.",
|
|
18
|
-
"request_failed": "Richiesta non riuscita ({code}). Aggiornare e riprovare."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "セッションを確認しています…",
|
|
3
|
-
"refresh": "最新の情報に更新",
|
|
4
|
-
"signOut": "サインアウト",
|
|
5
|
-
"settings": "パッケージ設定",
|
|
6
|
-
"loading": "パッケージデータを読み込み中…",
|
|
7
|
-
"actionRequired": "対応が必要です",
|
|
8
|
-
"statusTitle": "パッケージの状態",
|
|
9
|
-
"statusError": "状態を読み込めませんでした。最新の情報に更新してから、もう一度お試しください。",
|
|
10
|
-
"greeting": "あいさつ",
|
|
11
|
-
"save": "保存",
|
|
12
|
-
"saved": "あいさつを保存しました。",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "DSM セッションの有効期限が切れました。もう一度サインインしてください。",
|
|
15
|
-
"admin_required": "この操作は DSM 管理者が行う必要があります。",
|
|
16
|
-
"app_privilege_denied": "DSM のアプリケーション権限により、このアカウントはこのアプリを使用できません。",
|
|
17
|
-
"auth_unavailable": "DSM 認証を利用できません。最新の情報に更新してから、もう一度お試しください。",
|
|
18
|
-
"request_failed": "リクエストに失敗しました({code})。最新の情報に更新してから、もう一度お試しください。"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "세션 확인 중…",
|
|
3
|
-
"refresh": "새로 고침",
|
|
4
|
-
"signOut": "로그아웃",
|
|
5
|
-
"settings": "패키지 설정",
|
|
6
|
-
"loading": "패키지 데이터를 불러오는 중…",
|
|
7
|
-
"actionRequired": "조치 필요",
|
|
8
|
-
"statusTitle": "패키지 상태",
|
|
9
|
-
"statusError": "상태를 불러올 수 없습니다. 새로 고친 후 다시 시도하십시오.",
|
|
10
|
-
"greeting": "인사말",
|
|
11
|
-
"save": "저장",
|
|
12
|
-
"saved": "인사말이 저장되었습니다.",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "DSM 세션이 만료되었습니다. 다시 로그인하십시오.",
|
|
15
|
-
"admin_required": "이 작업은 DSM 관리자가 수행해야 합니다.",
|
|
16
|
-
"app_privilege_denied": "DSM 응용 프로그램 권한에서 이 계정의 앱 사용이 허용되지 않습니다.",
|
|
17
|
-
"auth_unavailable": "DSM 인증을 사용할 수 없습니다. 새로 고친 후 다시 시도하십시오.",
|
|
18
|
-
"request_failed": "요청이 실패했습니다({code}). 새로 고친 후 다시 시도하십시오."
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "正在检查登录状态…",
|
|
3
|
-
"refresh": "刷新",
|
|
4
|
-
"signOut": "注销",
|
|
5
|
-
"settings": "套件设置",
|
|
6
|
-
"loading": "正在加载套件数据…",
|
|
7
|
-
"actionRequired": "需要处理",
|
|
8
|
-
"statusTitle": "套件状态",
|
|
9
|
-
"statusError": "无法加载状态,请刷新后重试。",
|
|
10
|
-
"greeting": "问候语",
|
|
11
|
-
"save": "保存",
|
|
12
|
-
"saved": "问候语已保存。",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "DSM 登录已过期,请重新登录。",
|
|
15
|
-
"admin_required": "此操作必须由 DSM 管理员执行。",
|
|
16
|
-
"app_privilege_denied": "DSM 应用程序权限不允许此帐户使用此 App。",
|
|
17
|
-
"auth_unavailable": "DSM 验证暂时不可用,请刷新后重试。",
|
|
18
|
-
"request_failed": "请求失败({code}),请刷新后重试。"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checking": "正在檢查登入狀態…",
|
|
3
|
-
"refresh": "重新整理",
|
|
4
|
-
"signOut": "登出",
|
|
5
|
-
"settings": "套件設定",
|
|
6
|
-
"loading": "正在載入套件資料…",
|
|
7
|
-
"actionRequired": "需要處理",
|
|
8
|
-
"statusTitle": "套件狀態",
|
|
9
|
-
"statusError": "無法載入狀態,請重新整理後再試。",
|
|
10
|
-
"greeting": "問候語",
|
|
11
|
-
"save": "儲存",
|
|
12
|
-
"saved": "問候語已儲存。",
|
|
13
|
-
"errors": {
|
|
14
|
-
"session_required": "DSM 登入已逾時,請重新登入。",
|
|
15
|
-
"admin_required": "此操作須由 DSM 管理員執行。",
|
|
16
|
-
"app_privilege_denied": "DSM 應用程式權限不允許此帳號使用這個 App。",
|
|
17
|
-
"auth_unavailable": "DSM 驗證目前無法使用,請重新整理後再試。",
|
|
18
|
-
"request_failed": "要求失敗({code}),請重新整理後再試。"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import en from './i18n/en.json'
|
|
2
|
-
import zhTW from './i18n/zh-TW.json'
|
|
3
|
-
import zhCN from './i18n/zh-CN.json'
|
|
4
|
-
import ja from './i18n/ja.json'
|
|
5
|
-
import ko from './i18n/ko.json'
|
|
6
|
-
import de from './i18n/de.json'
|
|
7
|
-
import fr from './i18n/fr.json'
|
|
8
|
-
import es from './i18n/es.json'
|
|
9
|
-
import it from './i18n/it.json'
|
|
10
|
-
import {uiLocale} from './nas/locale'
|
|
11
|
-
export type AppCopy=typeof en
|
|
12
|
-
export const appCatalogs:Record<string,AppCopy>={en,'zh-TW':zhTW,'zh-CN':zhCN,ja,ko,de,fr,es,it}
|
|
13
|
-
export function appCopy(locale:string):AppCopy{return appCatalogs[uiLocale(locale)]!}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Native DSM identity surface
|
|
3
|
-
description: Synology account sign-in within the inherited embedded DSM theme.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Design System: Identity
|
|
7
|
-
|
|
8
|
-
## Overview
|
|
9
|
-
|
|
10
|
-
This Operate surface inherits the frontend design system and public
|
|
11
|
-
`@synopackageland/ui` controls with `themes/dsm7-embedded.css`. It introduces no
|
|
12
|
-
new palette, global tokens or decorative identity. The task is signing in to the
|
|
13
|
-
app with an account on this NAS.
|
|
14
|
-
|
|
15
|
-
## Layout
|
|
16
|
-
|
|
17
|
-
The centered form has a maximum width of 36rem, theme spacing and vertical
|
|
18
|
-
overflow. Keep `Form` in automatic direction: labels stack below 520px of
|
|
19
|
-
container width. Actions follow the fields and retain the library's responsive
|
|
20
|
-
layout and keyboard focus treatment.
|
|
21
|
-
|
|
22
|
-
## Components
|
|
23
|
-
|
|
24
|
-
Account stays visible with `autocomplete="username"`; password is masked with
|
|
25
|
-
`autocomplete="current-password"`. HTTPS is required and insecure-page sign-in
|
|
26
|
-
controls are disabled.
|
|
27
|
-
|
|
28
|
-
When DSM requests OTP, the verification field visually replaces the password
|
|
29
|
-
field. The password remains only in component memory for verification; success,
|
|
30
|
-
restart, other errors and unmount clear it. OTP uses numeric input hints and
|
|
31
|
-
`autocomplete="one-time-code"`. Focus moves to OTP after busy clears and the
|
|
32
|
-
field renders.
|
|
33
|
-
|
|
34
|
-
Busy state disables competing actions and shows “Signing in…”. Danger callouts
|
|
35
|
-
provide safe errors and retry guidance; “Use another account” restarts OTP.
|
|
36
|
-
“Continue with DSM” attempts the browser session. Session expiry returns to
|
|
37
|
-
sign-in with a notice; expiry and successful sign-out clear loaded app data,
|
|
38
|
-
greeting text and feedback.
|
|
39
|
-
|
|
40
|
-
## Do's and Don'ts
|
|
41
|
-
|
|
42
|
-
Use inherited controls and theme semantics. Local HTTPS fixture captures at
|
|
43
|
-
1100 by 740 and 390 by 640 pixels verify credential and OTP layout. Keyboard
|
|
44
|
-
submission, enabled OTP focus, app data loading and sign-out were exercised
|
|
45
|
-
locally. The finish review disposition is Ship, with the OTP focus finding
|
|
46
|
-
resolved. This evidence does not establish NAS visual acceptance.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import {computed, nextTick, onUnmounted, ref} from 'vue'
|
|
3
|
-
import {Button, Callout, Form, FormActions, FormItem, Input, SettingsSection} from '@synopackageland/ui'
|
|
4
|
-
import type {IdentitySession} from './session'
|
|
5
|
-
import {identityCopy} from './i18n'
|
|
6
|
-
const props = defineProps<{session: IdentitySession; locale: string}>()
|
|
7
|
-
const copy = computed(() => identityCopy(props.locale))
|
|
8
|
-
const account = ref('')
|
|
9
|
-
const password = ref('')
|
|
10
|
-
const otp = ref('')
|
|
11
|
-
const needsOTP = ref(false)
|
|
12
|
-
const busy = ref(false)
|
|
13
|
-
const error = ref('')
|
|
14
|
-
const otpField = ref<HTMLElement>()
|
|
15
|
-
const secure = computed(() => window.location.protocol === 'https:')
|
|
16
|
-
let disposed = false
|
|
17
|
-
function message(e: unknown) {
|
|
18
|
-
const code = (e as {code?: string})?.code
|
|
19
|
-
return (copy.value.errors as Record<string, string>)[code || ''] || copy.value.errors.failed
|
|
20
|
-
}
|
|
21
|
-
async function submit() {
|
|
22
|
-
if (busy.value || !secure.value || !account.value || !password.value || (needsOTP.value && !otp.value)) return
|
|
23
|
-
busy.value = true; error.value = ''
|
|
24
|
-
try {
|
|
25
|
-
await props.session.login(account.value, password.value, otp.value)
|
|
26
|
-
password.value = ''; otp.value = ''
|
|
27
|
-
} catch (e) {
|
|
28
|
-
if (disposed) return
|
|
29
|
-
otp.value = ''
|
|
30
|
-
if ((e as {code?: string})?.code === 'otp_required') {
|
|
31
|
-
needsOTP.value = true
|
|
32
|
-
} else {error.value = message(e); password.value = ''; needsOTP.value = false}
|
|
33
|
-
} finally {
|
|
34
|
-
if (!disposed) {
|
|
35
|
-
busy.value = false
|
|
36
|
-
if (needsOTP.value) {await nextTick(); if (!disposed) otpField.value?.querySelector('input')?.focus()}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
async function useDSM() {
|
|
41
|
-
if (busy.value) return
|
|
42
|
-
busy.value = true; error.value = ''
|
|
43
|
-
try {await props.session.bootstrap()}
|
|
44
|
-
catch (e) {if (!disposed) error.value = message(e)}
|
|
45
|
-
finally {if (!disposed) busy.value = false}
|
|
46
|
-
}
|
|
47
|
-
function restart() {password.value = ''; otp.value = ''; needsOTP.value = false; error.value = ''}
|
|
48
|
-
onUnmounted(() => {disposed = true; password.value = ''; otp.value = ''})
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<template>
|
|
52
|
-
<main class="identity-login" :aria-busy="busy">
|
|
53
|
-
<SettingsSection :title="copy.title" :collapsible="false">
|
|
54
|
-
<p>{{ copy.intro }}</p>
|
|
55
|
-
<Callout v-if="!secure" tone="warning" :title="copy.httpsTitle">{{ copy.errors.https_required }}</Callout>
|
|
56
|
-
<p v-if="session.notice.value" role="status">{{ copy.notices[session.notice.value] }}</p>
|
|
57
|
-
<Callout v-if="error" tone="danger" :title="copy.failedTitle"><span role="alert">{{ error }}</span></Callout>
|
|
58
|
-
<Form @submit.prevent="submit">
|
|
59
|
-
<FormItem :label="copy.account"><Input v-model="account" autocomplete="username" :disabled="busy || needsOTP || !secure" /></FormItem>
|
|
60
|
-
<FormItem v-if="!needsOTP" :label="copy.password"><Input v-model="password" type="password" autocomplete="current-password" :disabled="busy || !secure" /></FormItem>
|
|
61
|
-
<template v-else>
|
|
62
|
-
<p role="status">{{ copy.otpPrompt }}</p>
|
|
63
|
-
<div ref="otpField"><FormItem :label="copy.otp"><Input v-model="otp" inputmode="numeric" autocomplete="one-time-code" :disabled="busy" /></FormItem></div>
|
|
64
|
-
</template>
|
|
65
|
-
<FormActions>
|
|
66
|
-
<Button type="submit" variant="primary" :disabled="busy || !secure || !account || !password || (needsOTP && !otp)">{{ busy ? copy.signingIn : needsOTP ? copy.verify : copy.signIn }}</Button>
|
|
67
|
-
<Button v-if="needsOTP" variant="secondary" :disabled="busy" @click="restart">{{ copy.otherAccount }}</Button>
|
|
68
|
-
<Button v-else variant="secondary" :disabled="busy || !secure" @click="useDSM">{{ copy.continueDSM }}</Button>
|
|
69
|
-
</FormActions>
|
|
70
|
-
</Form>
|
|
71
|
-
</SettingsSection>
|
|
72
|
-
</main>
|
|
73
|
-
</template>
|
|
74
|
-
|
|
75
|
-
<style scoped>
|
|
76
|
-
.identity-login {max-width: 36rem; margin-inline: auto; padding: var(--ui-space-4, 16px); overflow: auto; max-height: 100%; color: var(--ui-text); font-family: var(--ui-font-sans); font-size: 13px; line-height: 1.5;}
|
|
77
|
-
.identity-login p {margin-block: var(--ui-space-4, 16px); overflow-wrap: anywhere;}
|
|
78
|
-
</style>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Mit Ihrem Synology-Konto anmelden",
|
|
3
|
-
"intro": "Melden Sie sich mit Ihrem Konto auf diesem NAS bei der App an.",
|
|
4
|
-
"httpsTitle": "HTTPS erforderlich",
|
|
5
|
-
"failedTitle": "Anmeldung fehlgeschlagen",
|
|
6
|
-
"account": "Konto",
|
|
7
|
-
"password": "Passwort",
|
|
8
|
-
"otpPrompt": "Geben Sie den Bestätigungscode aus Ihrer Authentifizierungs-App ein.",
|
|
9
|
-
"otp": "Bestätigungscode",
|
|
10
|
-
"signingIn": "Anmeldung läuft…",
|
|
11
|
-
"verify": "Bestätigen und anmelden",
|
|
12
|
-
"signIn": "Anmelden",
|
|
13
|
-
"otherAccount": "Anderes Konto verwenden",
|
|
14
|
-
"continueDSM": "Mit DSM fortfahren",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "Zu viele Anmeldeversuche. Warten Sie eine Minute und versuchen Sie es erneut.",
|
|
17
|
-
"https_required": "Öffnen Sie diese App über HTTPS, um sich anzumelden.",
|
|
18
|
-
"auth_unavailable": "Die DSM-Anmeldung ist nicht verfügbar. Versuchen Sie es erneut.",
|
|
19
|
-
"session_required": "Melden Sie sich in diesem Browser bei DSM an und versuchen Sie es dann erneut.",
|
|
20
|
-
"failed": "Die Anmeldung konnte nicht abgeschlossen werden. Prüfen Sie Ihre Anmeldedaten oder wenden Sie sich an Ihren Administrator."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "Ihre Sitzung ist abgelaufen. Melden Sie sich erneut an.",
|
|
24
|
-
"revalidate": "Melden Sie sich in diesem Browser bei DSM an und wählen Sie dann „Mit DSM fortfahren“.",
|
|
25
|
-
"unavailable": "Die Anmeldung ist nicht verfügbar. Aktualisieren Sie die Ansicht und versuchen Sie es erneut."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Sign in with your Synology account",
|
|
3
|
-
"intro": "Use your account on this NAS to sign in to the app.",
|
|
4
|
-
"httpsTitle": "HTTPS required",
|
|
5
|
-
"failedTitle": "Sign-in failed",
|
|
6
|
-
"account": "Account",
|
|
7
|
-
"password": "Password",
|
|
8
|
-
"otpPrompt": "Enter the verification code from your authenticator app.",
|
|
9
|
-
"otp": "Verification code",
|
|
10
|
-
"signingIn": "Signing in…",
|
|
11
|
-
"verify": "Verify and sign in",
|
|
12
|
-
"signIn": "Sign in",
|
|
13
|
-
"otherAccount": "Use another account",
|
|
14
|
-
"continueDSM": "Continue with DSM",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "Too many sign-in attempts. Wait one minute and try again.",
|
|
17
|
-
"https_required": "Open this app using HTTPS to sign in.",
|
|
18
|
-
"auth_unavailable": "DSM sign-in is unavailable. Try again.",
|
|
19
|
-
"session_required": "Sign in to DSM in this browser, then try again.",
|
|
20
|
-
"failed": "Sign-in could not be completed. Check your credentials or contact your administrator."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "Your session expired. Sign in again.",
|
|
24
|
-
"revalidate": "Sign in to DSM in this browser, then choose Continue with DSM.",
|
|
25
|
-
"unavailable": "Sign-in is unavailable. Refresh to try again."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Iniciar sesión con su cuenta de Synology",
|
|
3
|
-
"intro": "Use su cuenta de este NAS para iniciar sesión en la aplicación.",
|
|
4
|
-
"httpsTitle": "Se requiere HTTPS",
|
|
5
|
-
"failedTitle": "Error al iniciar sesión",
|
|
6
|
-
"account": "Cuenta",
|
|
7
|
-
"password": "Contraseña",
|
|
8
|
-
"otpPrompt": "Introduzca el código de verificación de su aplicación de autenticación.",
|
|
9
|
-
"otp": "Código de verificación",
|
|
10
|
-
"signingIn": "Iniciando sesión…",
|
|
11
|
-
"verify": "Verificar e iniciar sesión",
|
|
12
|
-
"signIn": "Iniciar sesión",
|
|
13
|
-
"otherAccount": "Usar otra cuenta",
|
|
14
|
-
"continueDSM": "Continuar con DSM",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "Demasiados intentos de inicio de sesión. Espere un minuto e inténtelo de nuevo.",
|
|
17
|
-
"https_required": "Abra esta aplicación con HTTPS para iniciar sesión.",
|
|
18
|
-
"auth_unavailable": "El inicio de sesión de DSM no está disponible. Inténtelo de nuevo.",
|
|
19
|
-
"session_required": "Inicie sesión en DSM en este navegador e inténtelo de nuevo.",
|
|
20
|
-
"failed": "No se pudo completar el inicio de sesión. Compruebe sus credenciales o póngase en contacto con su administrador."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "Su sesión ha caducado. Vuelva a iniciar sesión.",
|
|
24
|
-
"revalidate": "Inicie sesión en DSM en este navegador y luego elija «Continuar con DSM».",
|
|
25
|
-
"unavailable": "El inicio de sesión no está disponible. Actualice e inténtelo de nuevo."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Se connecter avec votre compte Synology",
|
|
3
|
-
"intro": "Utilisez votre compte sur ce NAS pour vous connecter à l’application.",
|
|
4
|
-
"httpsTitle": "HTTPS requis",
|
|
5
|
-
"failedTitle": "Échec de la connexion",
|
|
6
|
-
"account": "Compte",
|
|
7
|
-
"password": "Mot de passe",
|
|
8
|
-
"otpPrompt": "Saisissez le code de vérification de votre application d’authentification.",
|
|
9
|
-
"otp": "Code de vérification",
|
|
10
|
-
"signingIn": "Connexion…",
|
|
11
|
-
"verify": "Vérifier et se connecter",
|
|
12
|
-
"signIn": "Se connecter",
|
|
13
|
-
"otherAccount": "Utiliser un autre compte",
|
|
14
|
-
"continueDSM": "Continuer avec DSM",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "Trop de tentatives de connexion. Patientez une minute et réessayez.",
|
|
17
|
-
"https_required": "Ouvrez cette application en HTTPS pour vous connecter.",
|
|
18
|
-
"auth_unavailable": "La connexion DSM n’est pas disponible. Réessayez.",
|
|
19
|
-
"session_required": "Connectez-vous à DSM dans ce navigateur, puis réessayez.",
|
|
20
|
-
"failed": "La connexion n’a pas pu aboutir. Vérifiez vos identifiants ou contactez votre administrateur."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "Votre session a expiré. Reconnectez-vous.",
|
|
24
|
-
"revalidate": "Connectez-vous à DSM dans ce navigateur, puis choisissez « Continuer avec DSM ».",
|
|
25
|
-
"unavailable": "La connexion n’est pas disponible. Actualisez et réessayez."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Accedi con l’account Synology",
|
|
3
|
-
"intro": "Usare l’account di questo NAS per accedere all’app.",
|
|
4
|
-
"httpsTitle": "HTTPS obbligatorio",
|
|
5
|
-
"failedTitle": "Accesso non riuscito",
|
|
6
|
-
"account": "Account",
|
|
7
|
-
"password": "Password",
|
|
8
|
-
"otpPrompt": "Inserire il codice di verifica dell’app di autenticazione.",
|
|
9
|
-
"otp": "Codice di verifica",
|
|
10
|
-
"signingIn": "Accesso in corso…",
|
|
11
|
-
"verify": "Verifica e accedi",
|
|
12
|
-
"signIn": "Accedi",
|
|
13
|
-
"otherAccount": "Usa un altro account",
|
|
14
|
-
"continueDSM": "Continua con DSM",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "Troppi tentativi di accesso. Attendere un minuto e riprovare.",
|
|
17
|
-
"https_required": "Aprire questa app tramite HTTPS per accedere.",
|
|
18
|
-
"auth_unavailable": "L’accesso a DSM non è disponibile. Riprovare.",
|
|
19
|
-
"session_required": "Accedere a DSM in questo browser, quindi riprovare.",
|
|
20
|
-
"failed": "Impossibile completare l’accesso. Controllare le credenziali o contattare l’amministratore."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "La sessione è scaduta. Accedere di nuovo.",
|
|
24
|
-
"revalidate": "Accedere a DSM in questo browser, quindi scegliere «Continua con DSM».",
|
|
25
|
-
"unavailable": "L’accesso non è disponibile. Aggiornare e riprovare."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Synology アカウントでサインイン",
|
|
3
|
-
"intro": "この NAS のアカウントを使ってアプリにサインインします。",
|
|
4
|
-
"httpsTitle": "HTTPS が必要です",
|
|
5
|
-
"failedTitle": "サインインに失敗しました",
|
|
6
|
-
"account": "アカウント",
|
|
7
|
-
"password": "パスワード",
|
|
8
|
-
"otpPrompt": "認証アプリに表示された確認コードを入力してください。",
|
|
9
|
-
"otp": "確認コード",
|
|
10
|
-
"signingIn": "サインインしています…",
|
|
11
|
-
"verify": "確認してサインイン",
|
|
12
|
-
"signIn": "サインイン",
|
|
13
|
-
"otherAccount": "別のアカウントを使用",
|
|
14
|
-
"continueDSM": "DSM で続行",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "サインインの試行回数が多すぎます。1 分待ってからもう一度お試しください。",
|
|
17
|
-
"https_required": "サインインするには HTTPS でこのアプリを開いてください。",
|
|
18
|
-
"auth_unavailable": "DSM サインインを利用できません。もう一度お試しください。",
|
|
19
|
-
"session_required": "このブラウザーで DSM にサインインしてから、もう一度お試しください。",
|
|
20
|
-
"failed": "サインインを完了できませんでした。アカウントとパスワードを確認するか、管理者に連絡してください。"
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "セッションの有効期限が切れました。もう一度サインインしてください。",
|
|
24
|
-
"revalidate": "このブラウザーで DSM にサインインしてから、「DSM で続行」を選択してください。",
|
|
25
|
-
"unavailable": "サインインを利用できません。最新の情報に更新してから、もう一度お試しください。"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "Synology 계정으로 로그인",
|
|
3
|
-
"intro": "이 NAS의 계정을 사용하여 앱에 로그인합니다.",
|
|
4
|
-
"httpsTitle": "HTTPS 필요",
|
|
5
|
-
"failedTitle": "로그인 실패",
|
|
6
|
-
"account": "계정",
|
|
7
|
-
"password": "암호",
|
|
8
|
-
"otpPrompt": "인증 앱에 표시된 인증 코드를 입력하십시오.",
|
|
9
|
-
"otp": "인증 코드",
|
|
10
|
-
"signingIn": "로그인 중…",
|
|
11
|
-
"verify": "인증 후 로그인",
|
|
12
|
-
"signIn": "로그인",
|
|
13
|
-
"otherAccount": "다른 계정 사용",
|
|
14
|
-
"continueDSM": "DSM으로 계속",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "로그인 시도 횟수가 너무 많습니다. 1분 후 다시 시도하십시오.",
|
|
17
|
-
"https_required": "로그인하려면 HTTPS로 이 앱을 여십시오.",
|
|
18
|
-
"auth_unavailable": "DSM 로그인을 사용할 수 없습니다. 다시 시도하십시오.",
|
|
19
|
-
"session_required": "이 브라우저에서 DSM에 로그인한 후 다시 시도하십시오.",
|
|
20
|
-
"failed": "로그인을 완료할 수 없습니다. 계정과 암호를 확인하거나 관리자에게 문의하십시오."
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "세션이 만료되었습니다. 다시 로그인하십시오.",
|
|
24
|
-
"revalidate": "이 브라우저에서 DSM에 로그인한 후 ‘DSM으로 계속’을 선택하십시오.",
|
|
25
|
-
"unavailable": "로그인을 사용할 수 없습니다. 새로 고친 후 다시 시도하십시오."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "使用 Synology 帐户登录",
|
|
3
|
-
"intro": "使用这台 NAS 上的帐户登录此 App。",
|
|
4
|
-
"httpsTitle": "需要 HTTPS",
|
|
5
|
-
"failedTitle": "登录失败",
|
|
6
|
-
"account": "帐户",
|
|
7
|
-
"password": "密码",
|
|
8
|
-
"otpPrompt": "请输入身份验证器 App 中的验证码。",
|
|
9
|
-
"otp": "验证码",
|
|
10
|
-
"signingIn": "正在登录…",
|
|
11
|
-
"verify": "验证并登录",
|
|
12
|
-
"signIn": "登录",
|
|
13
|
-
"otherAccount": "使用其他帐户",
|
|
14
|
-
"continueDSM": "通过 DSM 继续",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "登录尝试次数过多,请等待一分钟后重试。",
|
|
17
|
-
"https_required": "请使用 HTTPS 打开此 App 以登录。",
|
|
18
|
-
"auth_unavailable": "DSM 登录暂时不可用,请重试。",
|
|
19
|
-
"session_required": "请先在此浏览器中登录 DSM,然后重试。",
|
|
20
|
-
"failed": "无法完成登录。请检查帐户和密码,或联系管理员。"
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "登录已过期,请重新登录。",
|
|
24
|
-
"revalidate": "请先在此浏览器中登录 DSM,然后选择“通过 DSM 继续”。",
|
|
25
|
-
"unavailable": "登录暂时不可用,请刷新后重试。"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "使用 Synology 帳號登入",
|
|
3
|
-
"intro": "使用這台 NAS 上的帳號登入此 App。",
|
|
4
|
-
"httpsTitle": "需要 HTTPS",
|
|
5
|
-
"failedTitle": "登入失敗",
|
|
6
|
-
"account": "帳號",
|
|
7
|
-
"password": "密碼",
|
|
8
|
-
"otpPrompt": "請輸入驗證器 App 中的驗證碼。",
|
|
9
|
-
"otp": "驗證碼",
|
|
10
|
-
"signingIn": "正在登入…",
|
|
11
|
-
"verify": "驗證並登入",
|
|
12
|
-
"signIn": "登入",
|
|
13
|
-
"otherAccount": "使用其他帳號",
|
|
14
|
-
"continueDSM": "以 DSM 繼續",
|
|
15
|
-
"errors": {
|
|
16
|
-
"rate_limited": "登入嘗試次數過多,請等候一分鐘再試。",
|
|
17
|
-
"https_required": "請使用 HTTPS 開啟此 App 以登入。",
|
|
18
|
-
"auth_unavailable": "DSM 登入目前無法使用,請再試一次。",
|
|
19
|
-
"session_required": "請先在此瀏覽器登入 DSM,然後再試一次。",
|
|
20
|
-
"failed": "無法完成登入。請檢查帳號與密碼,或聯絡管理員。"
|
|
21
|
-
},
|
|
22
|
-
"notices": {
|
|
23
|
-
"expired": "登入已逾時,請重新登入。",
|
|
24
|
-
"revalidate": "請先在此瀏覽器登入 DSM,然後選擇「以 DSM 繼續」。",
|
|
25
|
-
"unavailable": "登入目前無法使用,請重新整理後再試。"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import en from './i18n/en.json'
|
|
2
|
-
import zhTW from './i18n/zh-TW.json'
|
|
3
|
-
import zhCN from './i18n/zh-CN.json'
|
|
4
|
-
import ja from './i18n/ja.json'
|
|
5
|
-
import ko from './i18n/ko.json'
|
|
6
|
-
import de from './i18n/de.json'
|
|
7
|
-
import fr from './i18n/fr.json'
|
|
8
|
-
import es from './i18n/es.json'
|
|
9
|
-
import it from './i18n/it.json'
|
|
10
|
-
import {uiLocale} from '../nas/locale'
|
|
11
|
-
export type IdentityCopy=typeof en
|
|
12
|
-
export type IdentityNotice=''|keyof IdentityCopy['notices']
|
|
13
|
-
export const identityCatalogs:Record<string,IdentityCopy>={en,'zh-TW':zhTW,'zh-CN':zhCN,ja,ko,de,fr,es,it}
|
|
14
|
-
export function identityCopy(locale:string):IdentityCopy{return identityCatalogs[uiLocale(locale)]!}
|