mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
release-2.9.0 (#1532)
* fix(macos): skip single-instance lock in Mac App Store builds (#1454)
fix(macos): skip single-instance lock in Mac App Store builds
* Fix/backend optional sharp (#1455)
Fix/backend optional sharp
* feat: issue #1218 (#1218)
https://github.com/Termix-SSH/Support/issues/1218
* feat: Add option to use saved global custom theme under Connection Defaults (#1209)
https://github.com/Termix-SSH/Support/issues/1209
* feat: Add Fleet Sharing functionality to the UI (#1228)
https://github.com/Termix-SSH/Support/issues/1228
* feat: Add a list view to the Docker management page (#1237)
https://github.com/Termix-SSH/Support/issues/1237
* feat: issue #1264 (#1264)
https://github.com/Termix-SSH/Support/issues/1264
* feat: 2FA With FortiToken (#1288)
https://github.com/Termix-SSH/Support/issues/1288
* feat: Allow to disable showing paths to folders (#1274)
https://github.com/Termix-SSH/Support/issues/1274
* feat: Sync Network Graph between Desktop and Remote Server (#1245)
https://github.com/Termix-SSH/Support/issues/1245
* feat: Version Number on offline servers (#1291)
https://github.com/Termix-SSH/Support/issues/1291
* feat: Support OrbStack Docker socket path on macOS / Fix "Docker is not installed" on mac... (#1302)
https://github.com/Termix-SSH/Support/issues/1302
* feat: Sidebar host click should focus existing tab instead of opening a new connection (#1289)
https://github.com/Termix-SSH/Support/issues/1289
* fix: Search in side bar shows overlapping hosts when grouped by tags (#1303)
https://github.com/Termix-SSH/Support/issues/1303
* fix: I can't send a file on its own. (#1304)
https://github.com/Termix-SSH/Support/issues/1304
* fix: sudo password not autofilling (#1248)
https://github.com/Termix-SSH/Support/issues/1248
* fix: node-MainThread (#1300)
https://github.com/Termix-SSH/Support/issues/1300
* fix: Tunnel authentication with shared credentials (#1295)
https://github.com/Termix-SSH/Support/issues/1295
* fix: host key updates not syncing, metrics 404 race on first connect
Host key writes never bumped updatedAt so sync never picked them up.
Also retry the first metrics fetch briefly instead of failing right away.
* chore: increment ver
* feat: add category and icon fields to plugin manifest schema
* ci(deps): bump the github-actions group with 2 updates (#1458)
Bumps the github-actions group with 2 updates: [crowdin/github-action](https://github.com/crowdin/github-action) and [actions/github-script](https://github.com/actions/github-script).
Updates `crowdin/github-action` from 2 to 3
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/v2...v3)
Updates `actions/github-script` from 7 to 9
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)
---
updated-dependencies:
- dependency-name: crowdin/github-action
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/github-script
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump the dev-patch-updates group with 13 updates (#1459)
Bumps the dev-patch-updates group with 13 updates:
| Package | From | To |
| --- | --- | --- |
| [@codemirror/commands](https://github.com/codemirror/commands) | `6.11.0` | `6.11.1` |
| [@codemirror/search](https://github.com/codemirror/search) | `6.7.1` | `6.7.2` |
| [@codemirror/view](https://github.com/codemirror/view) | `6.43.9` | `6.43.12` |
| [@testing-library/dom](https://github.com/testing-library/dom-testing-library) | `10.4.1` | `10.4.2` |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `16.3.2` | `16.3.3` |
| [@testing-library/user-event](https://github.com/testing-library/user-event) | `14.6.5` | `14.6.7` |
| [@types/ssh2](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ssh2) | `1.15.5` | `1.15.6` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.1.0` | `6.1.1` |
| [cytoscape](https://github.com/cytoscape/cytoscape.js) | `3.34.1` | `3.34.3` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.5.4` | `0.5.7` |
| [i18next](https://github.com/i18next/i18next) | `26.4.0` | `26.4.2` |
| [prettier](https://github.com/prettier/prettier) | `3.9.6` | `3.9.8` |
| [react-i18next](https://github.com/i18next/react-i18next) | `17.0.12` | `17.0.14` |
Updates `@codemirror/commands` from 6.11.0 to 6.11.1
- [Changelog](https://github.com/codemirror/commands/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/commands/commits)
Updates `@codemirror/search` from 6.7.1 to 6.7.2
- [Changelog](https://github.com/codemirror/search/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/search/commits)
Updates `@codemirror/view` from 6.43.9 to 6.43.12
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/commits)
Updates `@testing-library/dom` from 10.4.1 to 10.4.2
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.4.1...v10.4.2)
Updates `@testing-library/react` from 16.3.2 to 16.3.3
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v16.3.2...v16.3.3)
Updates `@testing-library/user-event` from 14.6.5 to 14.6.7
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.6.5...v14.6.7)
Updates `@types/ssh2` from 1.15.5 to 1.15.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ssh2)
Updates `@vitejs/plugin-react` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.1/packages/plugin-react)
Updates `cytoscape` from 3.34.1 to 3.34.3
- [Release notes](https://github.com/cytoscape/cytoscape.js/releases)
- [Commits](https://github.com/cytoscape/cytoscape.js/compare/v3.34.1...v3.34.3)
Updates `eslint-plugin-react-refresh` from 0.5.4 to 0.5.7
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.5.4...v0.5.7)
Updates `i18next` from 26.4.0 to 26.4.2
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v26.4.0...v26.4.2)
Updates `prettier` from 3.9.6 to 3.9.8
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.8)
Updates `react-i18next` from 17.0.12 to 17.0.14
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v17.0.12...v17.0.14)
---
updated-dependencies:
- dependency-name: "@codemirror/commands"
dependency-version: 6.11.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@codemirror/search"
dependency-version: 6.7.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@codemirror/view"
dependency-version: 6.43.12
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@testing-library/dom"
dependency-version: 10.4.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@testing-library/react"
dependency-version: 16.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@testing-library/user-event"
dependency-version: 14.6.7
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@types/ssh2"
dependency-version: 1.15.6
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: "@vitejs/plugin-react"
dependency-version: 6.1.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: cytoscape
dependency-version: 3.34.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: eslint-plugin-react-refresh
dependency-version: 0.5.7
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: i18next
dependency-version: 26.4.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: prettier
dependency-version: 3.9.8
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
- dependency-name: react-i18next
dependency-version: 17.0.14
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump the prod-patch-updates group with 6 updates (#1461)
Bumps the prod-patch-updates group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [@tanstack/react-virtual](https://github.com/TanStack/virtual/tree/HEAD/packages/react-virtual) | `3.14.10` | `3.14.13` |
| [compression](https://github.com/expressjs/compression) | `1.8.1` | `1.8.2` |
| [jose](https://github.com/panva/jose) | `6.2.9` | `6.2.12` |
| [jszip](https://github.com/Stuk/jszip) | `3.10.1` | `3.10.2` |
| [socks](https://github.com/JoshGlazebrook/socks) | `2.8.9` | `2.8.10` |
| [undici](https://github.com/nodejs/undici) | `8.10.0` | `8.10.2` |
Updates `@tanstack/react-virtual` from 3.14.10 to 3.14.13
- [Release notes](https://github.com/TanStack/virtual/releases)
- [Changelog](https://github.com/TanStack/virtual/blob/main/packages/react-virtual/CHANGELOG.md)
- [Commits](https://github.com/TanStack/virtual/commits/@tanstack/react-virtual@3.14.13/packages/react-virtual)
Updates `compression` from 1.8.1 to 1.8.2
- [Release notes](https://github.com/expressjs/compression/releases)
- [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/compression/compare/v1.8.1...v1.8.2)
Updates `jose` from 6.2.9 to 6.2.12
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v6.2.9...v6.2.12)
Updates `jszip` from 3.10.1 to 3.10.2
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.10.1...v3.10.2)
Updates `socks` from 2.8.9 to 2.8.10
- [Release notes](https://github.com/JoshGlazebrook/socks/releases)
- [Commits](https://github.com/JoshGlazebrook/socks/compare/2.8.9...2.8.10)
Updates `undici` from 8.10.0 to 8.10.2
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v8.10.0...v8.10.2)
---
updated-dependencies:
- dependency-name: "@tanstack/react-virtual"
dependency-version: 3.14.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
- dependency-name: compression
dependency-version: 1.8.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
- dependency-name: jose
dependency-version: 6.2.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
- dependency-name: jszip
dependency-version: 3.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
- dependency-name: socks
dependency-version: 2.8.10
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
- dependency-name: undici
dependency-version: 8.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod-patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add plugin worker protocol, bootstrap and plugin_storage table
Worker-side ctx proxy plus the message envelope it talks over, and the
per-plugin key/value table behind ctx.storage with migrations for all
three dialects. Rows cascade with the plugin so uninstalling leaves
nothing behind.
* feat: add allowlisted host view for plugins
An allowlist rather than a list of fields to strip. A blocklist rots:
the moment a new secret-bearing column lands on SSHHost it starts
leaking silently. With an allowlist a new field stays invisible to
plugins until someone adds it here on purpose.
* feat: add plugin loader with manifest validation and crash restart
Validates an unpacked plugin, spawns a worker_threads worker and manages
activate/deactivate/crash-restart with backoff, disabling after three
tries.
The crash counter clears only after a plugin stays up past a stability
window, not on activation. Clearing it on activation let a plugin that
activates cleanly and then dies restart forever, because every attempt
looked like the first.
loader.ts documents what the worker boundary does and does not buy you.
Node's permission model is process-wide, not per-worker, so it cannot be
enabled for plugin workers alone and is not claimed here.
* feat: route internal events through a shared plugin event bus
Formalises three ad-hoc publish paths that already existed:
automation-events.ts, metrics/automation-bridge.ts and the
hostSessionStatus singleton, now the host.session.status topic.
Both invariants the old code relied on are preserved. Publishing stays
fire-and-forget, so a failing subscriber cannot disturb a metrics poll or
a host delete. The automations engine subscribes to the bus at scheduler
start instead of being imported ad hoc, which keeps the edge
one-directional: automations may import repositories, hosts modules must
not import automations.
* feat: add plugin ctx broker with permission gate and audit
Every ctx call a plugin makes is checked against its granted
capabilities, performed by the main thread, then audited. A capability
must be both declared in the manifest and granted in the database, so
widening a plugin's reach always needs a new manifest the user can see,
never just a database row.
Audit attribution is set by the broker, not the plugin. The plugin
supplies only the details, so it cannot forge the actor.
fix: stop plugin workers seeing plaintext credentials in error messages
A failing ctx.ssh.connect handed the worker the raw error from deep in
the SSH stack, which embeds the connect config. The worker received, in
full:
Authentication failed for root using password <SECRET>
where <SECRET> was the host's real plaintext password. Any plugin with
ssh.exec could read it by catching the error, defeating the whole point
of the handle-based ssh API.
Errors crossing the boundary are now sanitised. Only PluginFacingError
and PluginPermissionError, both authored here, reach a plugin verbatim;
anything else becomes a generic message and the real one goes to the
log. This uses a marker class rather than matching on message text,
because matching would start leaking again the moment an upstream error
happened to contain a familiar phrase.
Covered by credential-isolation.test.ts, which plants a sentinel in
every secret-bearing field and asserts it appears in no message the
worker ever receives.
* feat: dispatch plugin HTTP routes and wire the runtime into startup
ctx.http.route now registers a real router on the /plugin-api/:pluginId
dispatcher, replacing its stub 404. A plugin never touches the Express
req/res: it gets a plain summary and returns a plain object, so sockets
and session cookies stay on this side of the boundary. Authorization and
cookie headers are not forwarded.
Plugins load last in the start-up sequence, after the server is fully
wired, and are terminated before the database on shutdown so none can
outlive it. A plugin that fails to load cannot stop the backend.
fix: correct the nginx plugin-api location regex
The pattern was ^/plugin-api/(/.*)?$, which needs a double slash and so
never matched /plugin-api/<id>/<route>. Every other block in the file
uses ^/prefix(/.*)?$. Left alone, plugin routes would work in dev and
404 only behind Docker.
* fix: update stale SFTP transfer test for single file destination paths
The test still asserted transferToHost was called with the destination
directory "/srv". Commit 7727fa09 (#1304) deliberately changed a single
file transfer to send the full destination path including the filename,
so the correct expectation is "/srv/remote-1.txt". The code was right
and the test was left behind.
* feat: ship the ssh terminal as a first-party in-process plugin
Adds a hardcoded process:transport-owner tier so the terminal can own its
WebSocket server and ssh2 clients, which cannot cross the worker boundary.
* feat: ship docker as a first-party in-process plugin
Moves docker backend and frontend into plugins/docker/, alongside
ssh-terminal. Adds a host editor tab seam, a dashboard card registry,
and a build step to compile plugin backends into dist.
* feat: ship host metrics as a first-party in-process plugin
* fix: harden plugin auth and add per-request identity for ctx calls
Require auth on /plugin-api, gate plugin enable/grant/revoke routes
behind admin.plugins.manage, and thread the calling user through
worker ctx.hosts/ctx.ssh calls instead of always using the install
owner. Also adds the plugin permissions grant/revoke UI.
* feat: ship the AI assistant as a first-party in-process plugin
Moves src/backend/ai and its routes into plugins/ai, mounted through a
small /ai dispatcher instead of its own port. Moves the ai-enabled and
ai-private-endpoints settings routes out of user-settings-routes.ts
into the plugin too, so it has no leftover core dependents.
* fix: remove compiled plugin JS left behind in plugins/ after build
copy-bundled-plugins.cjs compiled and rewrote plugin backend TS in
place, copied it to dist/plugins, but never deleted the .js it had
just emitted next to the .ts sources. Those files shadowed the real
source for vitest/tsx and had import paths rewritten for the dist
layout, so tests failed with "Cannot find module" once a local build
had run. Affects docker, host-metrics and ai, not just this one.
* feat: add a permission-gated backend service registry for plugins
* feat: add a permission-gated UI action registry and action slots for plugins
Moves the terminal toolbar's hardwired AI button into a slot the ssh-terminal
plugin offers and the ai plugin fills, gated on ai.services.use.
* feat: add cross-plugin secret references gated by the provider's RBAC permission
* feat: move proxmox discovery/import/sync into a first-party plugin
* feat: move remote desktop (RDP/VNC/Telnet) into a first-party plugin
Relocates guacamole backend/frontend source and tests into
plugins/remote-desktop, following the ssh-terminal/docker pattern.
* feat: wire remote-desktop plugin into core and rename i18n keys
Repoints core consumers (dispatcher, collab, session-sharing, tab
utils) at the plugin, adds isTabTypeAvailable gating for rdp/vnc/
telnet, widens hostCapability to accept an array, and renames the
guacamole i18n namespace to remoteDesktop.
* feat: move fleets into a first-party plugin
* feat: move automations into a first-party plugin
* feat: remove legacy alert rules, superseded by automations
Alert rules already auto-migrate into automations on boot and the old
engine stands down after. Deletes the rule/firing tables, routes, UI,
and AI tools; keeps notification channels since automations still use
them. Also fixes automations' notify step, which still called the
deleted repository.
* feat: move network topology into a first-party plugin
* feat: move tailscale device discovery and settings into a plugin
Adds plugins/tailscale/ with a devices sidebar tab, admin settings
section, and re-auth dialog. Host Metrics tailscale manager card and
SSH re-auth banner parsing stay in core.
* feat: move workspaces into a first-party plugin
* feat: move web endpoint into a first-party plugin
* feat: collapse plugin runtime to one tier behind a plugin SDK
* feat: make each plugin an npm workspace built by a termix-plugin CLI
* feat: give plugins their own tables, migrations and sync entities
* feat: serve plugin http and websockets from one mount instead of ports
* feat: namespace plugin permissions and keep them valid when a plugin is off
* feat: give plugins their own settings and one settings screen
* feat: load plugin frontends at runtime and remove plugin ids from the shell
* fix: mock the ai status fetch in its activate test
* feat: add auth extension points and one ssh connect pipeline
* feat: rebuild workspaces as the reference plugin
* fix: gate second factors after SSO/LDAP behind an admin setting
* feat: convert network-topology to a full plugin (B1)
* feat: move snippets backend and tables into a plugin (B2)
* feat: point core frontend snippets pickers at the plugin (B2)
* feat: add the snippets plugin (B2)
* feat: wire ai, automations, fleets and ssh-terminal to snippets (B2)
* feat: finish the tailscale plugin, including SSH auth (B3)
* feat: finish the fleets plugin, add ctx.hosts and host-commands SDK (B4)
* chore: update proxmox and host-metrics locale files for B5
* chore: regenerate drizzle migration journals for B5
* feat: add ctx.hosts create/update to the SDK, host-metrics drops proxmox
* feat: move proxmox node stats and collectors into the proxmox plugin
* feat: drop proxmox host columns, use plugin settings instead
* feat: finish the fleets plugin, add ctx.hosts and host-commands SDK (B4)
* feat: convert file manager into a plugin
* feat: convert ssh tunnels into a plugin
* feat: finish the web-endpoint plugin, add ctx.desktop (B8)
* feat: move the terminal fully into the ssh-terminal plugin (B9)
* feat: convert tmux monitoring into a plugin (B10)
* feat: convert serial console into the serial plugin
* feat: move session sharing and collab rooms into a plugin (B12)
* feat: turn session recording into a plugin (B13)
* feat: finish the remote-desktop plugin (B14)
* feat: finish the host-metrics plugin, move host status into core (B16)
* feat: finish the docker plugin (B15)
* feat: finish the automations plugin (B17)
* feat: finish the ai plugin (B18)
* feat: finish the homepage plugin, move service links and canvas out of core (B19)
* feat: convert wake-on-lan into a plugin (B20)
* feat: convert secret-sources into a plugin (B20)
* feat: move totp and passkeys into plugins (C1)
* feat: move sso and ldap logins into plugins (C2)
* feat: move opkssh and warpgate into plugins (C3)
* feat: move step-ca into a plugin (C4)
* feat: move vault ssh signing into a plugin (C5)
* feat: move termix identity into a plugin (C6)
* feat: move acme certificate automation into a plugin (C7)
* fix: finish 2.9.0 plugin moves and get every check green
* chore: lock the plugin boundary and remove 2.9.0 leftovers
* fix: harden the plugin runtime after the 2.9.0 security review
* feat: add plugin packing, signing, pinned trust and tmxplug bundling
* test: prove 2.8 to 2.9.0 upgrade is lossless and fix what it caught
* fix: give bundled plugin backends a real require for CJS deps
* feat: improve UI loading time and jitter
* feat: show credential sharing inline in the sidebar like host sharing
* feat: tailscale add host and copy ip, fix outbound fetch hang and plugin ESM warning
* feat: unify alerts into one plugin, channels, rules and inbox
* feat: rebuild desktop sync as linked server accounts, fix packaged plugin bundles and UI scaling
* fix: set blacksmith builder cache-key to stop broken gha cache fallback
* fix: link plugin-sdk workspace before npm ci in docker deps stage
* fix: link every plugin workspace before npm ci in docker deps stage
* fix(host-metrics): exclude image and firmware filesystems (#1469)
* fix(host-metrics): exclude image and firmware filesystems
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(hosts): normalize imported jump host references (#1470)
* fix(hosts): normalize imported jump host references
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(ci): build plugin SDK and repair MySQL settings migration (#1471)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(file-manager): keep inline rename consistent (#1476)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(file-manager): keep inline rename consistent
* fix(dashboard): reuse translated host status labels (#1475)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(dashboard): reuse translated host status labels
* docs(api): clarify local and remote version fields (#1474)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* docs(api): clarify local and remote version fields
* fix(file-manager): preserve selected backgrounds on hover (#1473)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(file-manager): preserve selection feedback on hover
* test(ui): await dialog focus cleanup before teardown
* fix(file-manager): restore Ctrl/Cmd+F file search (#1472)
* fix(ci): build plugin SDK before dependent checks
* fix(mysql): keep plugin settings scope indexes within limits
* test(mysql): refresh reviewed plugin upgrade SQL
* fix(file-manager): focus file search with Ctrl or Cmd F
* fix: keep rounded-full circular in production builds
* fix(file-manager): cancel uploads and stop remote writes (#1477)
* fix(file-manager): cancel uploads and stop remote writes
* test(css): exercise the configured PostCSS plugin chain
* fix(file-manager): apply compact density to directory tree (#1478)
* fix(file-manager): apply compact density to directory tree
* test(css): exercise the configured PostCSS plugin chain
* fix(file-manager): preserve font sizes in compact mode (#1480)
* fix(file-manager): preserve font sizes in compact mode
* test(css): exercise the configured PostCSS plugin chain
* fix(file-manager): prioritize file names in narrow lists (#1483)
* fix(file-manager): prioritize file names in narrow lists
* test(css): exercise the configured PostCSS plugin chain
* test(identity): preserve full Ed25519 public keys in fixtures
* test(remote-desktop): always mutate ciphertext in tamper test
* fix(remote-desktop): probe the saved host guacd endpoint (#1481)
* fix(remote-desktop): probe the saved host guacd endpoint
* test(css): exercise the configured PostCSS plugin chain
* test(identity): preserve full Ed25519 public keys in fixtures
* fix(homepage): check allowlisted private service reachability (#1479)
* fix(homepage): check allowlisted private service reachability
* test(css): exercise the configured PostCSS plugin chain
* fix(remote-desktop): stop unsolicited clipboard read prompts (#1482)
* fix(remote-desktop): read clipboard only on explicit paste
* test(css): exercise the configured PostCSS plugin chain
* test(identity): preserve full Ed25519 public keys in fixtures
* test(remote-desktop): always mutate ciphertext in tamper test
* chore: simplify plugin readmes, changelogs and manifest descriptions
* fix: keep plugins loaded after signing in from the login screen
* fix(file-manager): accept OS file drops over existing rows (#1484)
* fix(file-manager): accept OS file drops over existing rows
* test(file-manager): target the file label in drop tests
* test(css): exercise the configured PostCSS plugin chain
* test(identity): preserve full Ed25519 public keys in fixtures
* test(remote-desktop): always mutate ciphertext in tamper test
* fix(file-manager): pipeline SFTP download reads (#1485)
* feat: add plugin sdk build to beta release
* fix: make link-store secret check immune to random base64 matches
* fix(ldap): preserve the directory-provided bind DN (#1486)
* fix: compute beta changes across dev branches and move the beta tag
* chore: untrack plugin sdk ARCHITECTURE.md
* chore: remove references to plugin sdk ARCHITECTURE.md
* feat: merge host editor terminal tabs into one owned by ssh-terminal
* feat: add descriptions to plugin host enable toggles
* fix(file-manager): show download progress in file viewers (#1487)
* fix(electron): signal backend readiness over IPC (#1488)
* fix(split-screen): allow layout creation without randomUUID (#1490)
* fix(split-screen): allow layout creation without randomUUID
* test(credentials): avoid flaky Ed25519 key generation
* fix(sidebar): remeasure visible rows after density changes (#1489)
* fix(sidebar): remeasure visible rows after density changes
* test(credentials): avoid flaky Ed25519 key generation
* feat(split-screen): redesign split screen with free-form panes and pane picker
* feat(sidebar): add host click behavior setting, default to always opening a new tab
* feat(snippets): redesign panel to match the host list
* fix(session-recording): stop session logs panel from refetching in a loop
* feat(snippets): bring back sharing, target hosts and drag reorder
* feat(ssh-terminal): add toolbar position, start state, display and fade host settings
* feat(ssh-terminal): add host setting to turn off password prompt auto-fill
* fix(ai): stop streams getting cut off and keep tool steps across messages
* feat: improve quick connect system using plugin api
* fix: proxmox guest sync, startup snippet sync, drop dead cloudflare ssh transport
* feat: move terminal settings, look and ssh tools into ssh-terminal plugin
* feat: move snippets, keybinding actions and macros out of core into plugins
* feat: store rdp, vnc and telnet logins in a generic per-protocol table
* feat: type the plugin host record, move plugin strings out of core and add lint checks
* feat: replace core homepage widget registry with generic extension points
* feat: plugins only see their own host settings in the browser
* feat: harden plugin api for separate repos, signed updates and generic external login
* fix: keep plugin css below core utilities and version plugin assets by their css
* fix: load and save plugin host settings in the editor and tighten settings row spacing
* feat: redesign user host defaults system
* fix(remote-desktop): release held keys on focus loss (#1498)
* fix(session-sharing): replace local presentation after takeover (#1500)
* fix(file-manager): refresh disk usage with directory listing (#1503)
* fix(ssh-terminal): preserve input order during local echo reconciliation (#1505)
* feat(remote-desktop): expose display zoom controls for RDP (#1514)
* fix(file-manager): restore text selection and copying in Markdown previews (#1518)
* fix(sidebar): keep compact host addresses visible (#1524)
* fix(hosts): preserve plugin settings when reopening the editor (#1499)
* fix(ssh-terminal): close owner sockets when presentations unmount (#1501)
* fix(session-sharing): synchronize shared SSH terminal dimensions (#1502)
* fix(session-sharing): show participant presence in member terminals (#1504)
* fix(ai): sync provider configuration and keys across linked devices (#1506)
* feat(ssh-terminal): add a duplicate tab action (#1510)
* feat(file-manager): allow disabling move-to-trash confirmation (#1511)
* feat(file-manager): default to the remote login directory (#1512)
* feat(homepage): synchronize canvas layouts across devices (#1515)
* fix(shortcuts): prevent accidental double-Shift palette activation (#1519)
* feat(tmux-monitor): add a unified multi-host view (#1520)
* fix(electron): allow explicit quit with active connections (#1522)
* feat: reconnect all disconnected terminal tabs (#1523)
* fix(hosts): preserve recording and sharing settings in the dev editor (#1509)
* fix(database): preserve RDP domain during startup backfill (#1497)
* feat(sidebar): add keyboard type-ahead search for hosts (#1516)
* feat(automations): add per-host maintenance mode and recurring schedules (#1521)
* feat(tmux): add a per-host mouse toggle and preserve remote configuration (#1513)
* fix(session-sharing): use the linked server for desktop meetings and links (#1507)
* fix(tunnels): support TOTP for client tunnels and jump hosts (#1508)
* fix: type errors and lint failures from merged plugin prs
* feat(installer): make the Windows desktop shortcut optional (#1517)
* fix: ship the plugin sdk and serialport in desktop builds
* fix: prefer ipv4 when resolving ssh host names (#1365)
* fix: readable terminal selection with the light theme (#1319)
* fix: build desktop session share links on the linked server (#1350)
* fix: show meeting guests to members and hide the roster from guests (#1353)
* fix: reliable file manager saves with sudo prompt and no base64 guessing (#1335)
* fix: show disk usage for the mount being browsed (#1347)
* fix: load the linux tray icon reliably and log tray failures (#1332)
* fix: cover the gnome close path in the desktop quit test (#1332)
* fix: prompt for jump host TOTP in terminal, file manager and metrics (#1312)
* feat: optional auto reconnect for dropped ssh sessions (#1321)
* feat: tighter compact host rows with inline tags (#1325)
* feat: bring back the alert feed homepage widget
* feat: pick target terminals for snippets again
* feat: share button on connection tabs again
* feat: recent servers list when linking the desktop app
* feat: list the fixed app shortcuts in keyboard shortcuts
* fix: translate hardcoded toasts and drop em dashes from ui text
* fix: translate leftover hardcoded ui text
* fix: toolbar files button opens at the shell directory again
* fix: show the remote desktop note under connection origin again
* chore: openapi docs for host metrics manager routes
* chore: openapi docs for undocumented routes and fix two broken doc blocks
* fix: declare terminal.listSessions use for snippet targets
* revert: drop the alert feed widget, the notification center replaces it
* feat: restore the alert feed homepage widget
* fix: quick connect fills the host address from plugin auth editors like tailscale
* fix: docker container logs use the base background color
* chore: fix dependabot alerts and apply safe npm upgrades
* fix: proxmox stats tab reads its switch from plugin host settings
* fix: count plugin ssh logins toward host status and stop showing reachable as a warning
* fix: hide the built-in source pill in the host editor
* fix: host status shows online when the port answers and only warns on a failed login
* fix: drop the top border on the split layout menu
* fix: host defaults tabs sit where the host editor puts them and skip plugins with nothing to default
* fix: remote desktop auth method labels and notes for vnc and telnet
* fix: add description to the web endpoint enable switch
* fix: crowdin sync and pretranslate for plugin locales, run plugin tests on release
* feat: move telemetry out of core into a usage statistics plugin
* fix: recent activity card no longer cuts off host names early
* fix: remove duplicate top border on split screen menu
* fix: redesign session log player controls, fix tooltip overlap and drop dot separators
* fix: file manager and sftp text showing raw i18n keys
* fix: onboarding rerunning for existing users after upgrading
* fix: fleet detail buttons overflowing the sidebar
* fix: session log player scrolling off screen horizontally
* fix: network graph lag when adding hosts and on every render
* fix: maintenance index name, shared host read only view and badge polling
* fix: meeting tabs, workspace tab merging, rail panels as tabs and general ui lag
* chore: update release notes
* fix: remote desktop tabs reconnecting on every tab switch
* fix: build plugin sdk before linting in release workflow
* chore: lint, format, and bump version to 2.9.0
* chore: skip crowdin pre-translate in release for now
* chore: sync Crowdin translations for 2.9.0
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Koi <38512047+datlt4@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ZacharyZcR <zacharyzcr1984@gmail.com>
This commit is contained in:
4405 files changed
+1341026
-289722
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0
|
||||
|
||||
First release, bundled with Termix 2.9.0.
|
||||
|
||||
Moves the daily anonymous usage report out of Termix core. Adds platform info, feature usage counts and the list of running features, each with its own switch, a per-user opt-out, a preview of the exact report and a button to send it now.
|
||||
@@ -0,0 +1,29 @@
|
||||
# Usage Statistics
|
||||
|
||||
Sends a small anonymous report once a day so the Termix developers can see how many instances run and which features get used.
|
||||
|
||||
## What is sent
|
||||
|
||||
Always, while it is on:
|
||||
|
||||
- A random instance ID, the Termix version, and how many users and hosts exist.
|
||||
|
||||
Each of these has its own switch in Admin Settings > Usage Statistics:
|
||||
|
||||
- Platform info: operating system, CPU architecture, Node.js version, database type, and whether Termix runs in Docker, the desktop app or as a plain server.
|
||||
- Feature usage: how many times each kind of tab was opened, plus SSH logins and host connections, since the last report.
|
||||
- Installed features: the ids of the running built-in features.
|
||||
|
||||
It never sends usernames, hostnames, IP addresses, credentials or anything else that identifies you or your servers. Admins can preview the exact report before it is sent.
|
||||
|
||||
## Turning it off
|
||||
|
||||
- Admin Settings > Usage Statistics > Share anonymous usage statistics.
|
||||
- Each user can leave their own feature usage out in User Profile > Usage Statistics.
|
||||
- `ENABLE_TELEMETRY=false` turns it off and locks the switch. `ENABLE_TELEMETRY=true` locks it on.
|
||||
|
||||
## Environment
|
||||
|
||||
- `ENABLE_TELEMETRY`: `true` or `false` overrides the admin switch.
|
||||
- `POSTHOG_API_KEY`: the PostHog project key. Defaults to the Termix project.
|
||||
- `POSTHOG_HOST`: the PostHog host. Defaults to `https://us.i.posthog.com`.
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Bestuur gebruikstatistieke",
|
||||
"description": "Kyk watter gebruikstatistieke gestuur word, stuur dit nou en herstel die instansie-ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Deel anonieme gebruiksstatistieke",
|
||||
"description": "Stuur een keer per dag 'n klein anonieme opsomming om Termix te help verbeter. Dit sluit nooit gebruikersname, gasheername, IP-adresse of geloofsbriewe in nie."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Sluit platforminligting in",
|
||||
"description": "Die bedryfstelsel, SVE-argitektuur, Node.js-weergawe, databasistipe en hoe Termix geïnstalleer is (Docker, rekenaarprogram of bediener)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Sluit funksiegebruik in",
|
||||
"description": "Hoeveel keer elke soort oortjie oopgemaak is en hoeveel SSH-aanmeldings plaasgevind het sedert die laaste verslag. Gebruikers kan hul eie deel in hul profiel afskakel."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Sluit geïnstalleerde funksies in",
|
||||
"description": "Watter ingeboude funksies is geïnstalleer en loop."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instansie-ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Sluit my funksiegebruik in",
|
||||
"description": "Tel watter soort oortjies jy oopmaak in die anonieme gebruiksstatistieke. Niks oor jou of jou gashere word gestuur nie."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Deel gebruikstatistieke een keer per dag",
|
||||
"off": "Deel nie gebruikstatistieke nie",
|
||||
"lockedOn": "Aangeskakel deur die ENABLE_TELEMETRY omgewingveranderlike. Verander dit daar.",
|
||||
"lockedOff": "Afgeskakel deur die ENABLE_TELEMETRY omgewingveranderlike. Verander dit daar.",
|
||||
"instanceId": "Instansie-ID: {{id}}",
|
||||
"noInstanceId": "Geen instansie-ID nog nie",
|
||||
"lastSent": "Laas gestuur {{date}}",
|
||||
"neverSent": "Nog nie gestuur nie",
|
||||
"nextSend": "Volgende verslag verskuldig {{date}}",
|
||||
"lastError": "Laaste poging het misluk: {{error}}",
|
||||
"preview": "Voorskouverslag",
|
||||
"sendNow": "Stuur nou",
|
||||
"sending": "Stuur tans...",
|
||||
"sent": "Gebruikstatistieke gestuur",
|
||||
"notSent": "Gebruiksstatistieke is afgeskakel, niks is gestuur nie",
|
||||
"resetId": "Stel instansie-ID terug",
|
||||
"resetIdConfirm": "Stel die instansie-ID terug? Toekomstige verslae sal soos 'n nuwe installasie lyk.",
|
||||
"resetIdDone": "Instansie-ID herstel",
|
||||
"previewTitle": "Volgende verslag",
|
||||
"previewDescription": "Dit is presies wat nou gestuur sou word.",
|
||||
"close": "Maak toe",
|
||||
"loadFailed": "Kon nie die gebruikstatistiekstatus laai nie"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "إدارة إحصائيات الاستخدام",
|
||||
"description": "اطلع على إحصائيات الاستخدام التي يتم إرسالها، وأرسلها الآن، ثم أعد تعيين معرف المثيل."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "مشاركة إحصائيات الاستخدام المجهولة",
|
||||
"description": "يرسل ملخصًا قصيرًا مجهول المصدر مرة واحدة يوميًا للمساعدة في تحسين Termix. ولا يتضمن أبدًا أسماء المستخدمين أو أسماء المضيفين أو عناوين IP أو بيانات الاعتماد."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "تضمين معلومات المنصة",
|
||||
"description": "نظام التشغيل، وبنية وحدة المعالجة المركزية، وإصدار Node.js، ونوع قاعدة البيانات، وكيفية تثبيت Termix (Docker، أو تطبيق سطح المكتب، أو الخادم)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "تضمين استخدام الميزة",
|
||||
"description": "عدد مرات فتح كل نوع من أنواع علامات التبويب، وعدد عمليات تسجيل الدخول عبر SSH منذ التقرير الأخير. يمكن للمستخدمين تعطيل هذه الميزة في ملفهم الشخصي."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "تضمين الميزات المثبتة",
|
||||
"description": "ما هي الميزات المدمجة المثبتة والتي تعمل؟"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "معرّف المثيل"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "أدرج استخدامي للميزات",
|
||||
"description": "يحصي البرنامج أنواع علامات التبويب التي تفتحها في إحصائيات الاستخدام المجهولة. ولا يتم إرسال أي معلومات عنك أو عن مزودي الخدمة لديك."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "الحالة",
|
||||
"on": "مشاركة إحصائيات الاستخدام مرة واحدة يوميًا",
|
||||
"off": "عدم مشاركة إحصائيات الاستخدام",
|
||||
"lockedOn": "يتم تفعيلها بواسطة متغير البيئة ENABLE_TELEMETRY. قم بتغييره هناك.",
|
||||
"lockedOff": "تم تعطيل هذه الميزة بواسطة متغير البيئة ENABLE_TELEMETRY. قم بتغييره هناك.",
|
||||
"instanceId": "معرّف المثيل: {{id}}",
|
||||
"noInstanceId": "لم يتم تحديد معرف مثيل بعد",
|
||||
"lastSent": "آخر إرسال {{date}}",
|
||||
"neverSent": "لم يتم الإرسال بعد",
|
||||
"nextSend": "موعد تسليم التقرير التالي {{date}}",
|
||||
"lastError": "فشلت المحاولة الأخيرة: {{error}}",
|
||||
"preview": "تقرير تمهيدي",
|
||||
"sendNow": "أرسل الآن",
|
||||
"sending": "إرسال...",
|
||||
"sent": "تم إرسال إحصائيات الاستخدام",
|
||||
"notSent": "تم إيقاف تشغيل إحصائيات الاستخدام، ولم يتم إرسال أي شيء",
|
||||
"resetId": "إعادة تعيين معرف المثيل",
|
||||
"resetIdConfirm": "هل تريد إعادة تعيين مُعرّف المثيل؟ ستظهر التقارير المستقبلية وكأنها عملية تثبيت جديدة.",
|
||||
"resetIdDone": "إعادة تعيين معرف المثيل",
|
||||
"previewTitle": "التقرير التالي",
|
||||
"previewDescription": "هذا بالضبط ما سيتم إرساله الآن.",
|
||||
"close": "إغلاق",
|
||||
"loadFailed": "تعذر تحميل حالة إحصائيات الاستخدام"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Управление на статистиката за употреба",
|
||||
"description": "Вижте какви статистически данни за употреба се изпращат, изпратете ги сега и нулирайте идентификатора на екземпляра."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Споделяне на анонимни статистически данни за употреба",
|
||||
"description": "Изпраща кратко анонимно обобщение веднъж дневно, за да помогне за подобряването на Termix. То никога не включва потребителски имена, имена на хостове, IP адреси или идентификационни данни."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Включете информация за платформата",
|
||||
"description": "Операционната система, архитектурата на процесора, версията на Node.js, типът база данни и как е инсталиран Termix (Docker, десктоп приложение или сървър)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Включи използването на функции",
|
||||
"description": "Колко пъти е бил отварян всеки вид раздел и колко SSH влизания са се случили от последния отчет. Потребителите могат да изключат собствената си част в профила си."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Включване на инсталирани функции",
|
||||
"description": "Кои вградени функции са инсталирани и работят."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Идентификатор на екземпляр"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Включи използването на функциите ми",
|
||||
"description": "В анонимната статистика за употреба се отчитат какви видове раздели отваряте. Не се изпраща нищо за вас или вашите хостове."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Статус",
|
||||
"on": "Споделяне на статистика за употреба веднъж дневно",
|
||||
"off": "Не споделяне на статистика за употреба",
|
||||
"lockedOn": "Включва се от променливата на средата ENABLE_TELEMETRY. Променете я там.",
|
||||
"lockedOff": "Изключено от променливата на средата ENABLE_TELEMETRY. Променете я там.",
|
||||
"instanceId": "Идентификатор на екземпляр: {{id}}",
|
||||
"noInstanceId": "Все още няма идентификатор на екземпляр",
|
||||
"lastSent": "Последно изпратено {{date}}",
|
||||
"neverSent": "Все още не е изпратено",
|
||||
"nextSend": "Следващият отчет е наличен {{date}}",
|
||||
"lastError": "Последният опит не беше успешен: {{error}}",
|
||||
"preview": "Преглед на отчета",
|
||||
"sendNow": "Изпрати сега",
|
||||
"sending": "Изпраща се...",
|
||||
"sent": "Изпратени са статистически данни за употреба",
|
||||
"notSent": "Статистиката за употреба е изключена, нищо не е изпратено",
|
||||
"resetId": "Нулиране на идентификатора на екземпляра",
|
||||
"resetIdConfirm": "Нулиране на идентификатора на екземпляра? Бъдещите отчети ще изглеждат като нова инсталация.",
|
||||
"resetIdDone": "Нулиране на идентификатора на екземпляра",
|
||||
"previewTitle": "Следващ доклад",
|
||||
"previewDescription": "Точно това би било изпратено в момента.",
|
||||
"close": "Затвори",
|
||||
"loadFailed": "Не можа да се зареди състоянието на статистиката за употреба"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Gestiona les estadístiques d'ús",
|
||||
"description": "Consulta quines estadístiques d'ús s'envien, envia-les ara i restableix l'ID de la instància."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Comparteix estadístiques d'ús anònimes",
|
||||
"description": "Envia un petit resum anònim un cop al dia per ajudar a millorar Termix. Mai inclou noms d'usuari, noms d'amfitrió, adreces IP ni credencials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Inclou informació de la plataforma",
|
||||
"description": "El sistema operatiu, l'arquitectura de la CPU, la versió de Node.js, el tipus de base de dades i com s'instal·la Termix (Docker, aplicació d'escriptori o servidor)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Inclou l'ús de la funció",
|
||||
"description": "Quantes vegades s'ha obert cada tipus de pestanya i quants inicis de sessió SSH s'han produït des de l'últim informe. Els usuaris poden desactivar la seva pròpia part del seu perfil."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Inclou les funcions instal·lades",
|
||||
"description": "Quines funcions integrades estan instal·lades i en funcionament."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID d'instància"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Inclou el meu ús de funcions",
|
||||
"description": "Compta quins tipus de pestanyes obriu a les estadístiques d'ús anònimes. No s'envia res sobre vosaltres ni sobre els vostres amfitrions."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Estat",
|
||||
"on": "Compartir estadístiques d'ús un cop al dia",
|
||||
"off": "No comparteixen estadístiques d'ús",
|
||||
"lockedOn": "Activat per la variable d'entorn ENABLE_TELEMETRY. Canvieu-ho allà.",
|
||||
"lockedOff": "Desactivat per la variable d'entorn ENABLE_TELEMETRY. Canvieu-ho allà.",
|
||||
"instanceId": "ID d'instància: {{id}}",
|
||||
"noInstanceId": "Encara no hi ha cap ID d'instància",
|
||||
"lastSent": "Últim enviament {{date}}",
|
||||
"neverSent": "Encara no s'ha enviat",
|
||||
"nextSend": "S'ha de fer el proper informe {{date}}",
|
||||
"lastError": "Últim intent fallit: {{error}}",
|
||||
"preview": "Informe de vista prèvia",
|
||||
"sendNow": "Envia ara",
|
||||
"sending": "Enviant...",
|
||||
"sent": "Estadístiques d'ús enviades",
|
||||
"notSent": "Les estadístiques d'ús estan desactivades, no s'ha enviat res.",
|
||||
"resetId": "Restableix l'ID de la instància",
|
||||
"resetIdConfirm": "Voleu restablir l'ID d'instància? Els informes futurs semblaran una instal·lació nova.",
|
||||
"resetIdDone": "Restabliment de l'ID d'instància",
|
||||
"previewTitle": "Informe següent",
|
||||
"previewDescription": "Això és exactament el que s'enviaria ara mateix.",
|
||||
"close": "Tanca",
|
||||
"loadFailed": "No s'ha pogut carregar l'estat de les estadístiques d'ús."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Správa statistik používání",
|
||||
"description": "Podívejte se, jaké statistiky využití se odesílají, odešlete je hned a resetujte ID instance."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Sdílení anonymních statistik používání",
|
||||
"description": "Jednou denně odesílá krátké anonymní shrnutí, které pomáhá vylepšovat Termix. Nikdy neobsahuje uživatelská jména, názvy hostitelů, IP adresy ani přihlašovací údaje."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Zahrnout informace o platformě",
|
||||
"description": "Operační systém, architektura CPU, verze Node.js, typ databáze a způsob instalace Termixu (Docker, desktopová aplikace nebo server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Zahrnout využití funkcí",
|
||||
"description": "Kolikrát byl každý typ karty otevřen a kolikrát došlo k přihlášení přes SSH od poslední zprávy. Uživatelé si mohou tuto část ve svém profilu vypnout."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Zahrnout nainstalované funkce",
|
||||
"description": "Které vestavěné funkce jsou nainstalovány a spuštěny."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID instance"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Zahrnout využití mých funkcí",
|
||||
"description": "V anonymních statistikách používání se počítá, jaké typy karet otevřete. Neodesílá se nic o vás ani o vašich hostitelích."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Postavení",
|
||||
"on": "Sdílení statistik užívání jednou denně",
|
||||
"off": "Nesdílení statistik používání",
|
||||
"lockedOn": "Zapíná se proměnnou prostředí ENABLE_TELEMETRY. Změňte ji tam.",
|
||||
"lockedOff": "Vypnuto proměnnou prostředí ENABLE_TELEMETRY. Změňte to tam.",
|
||||
"instanceId": "ID instance: {{id}}",
|
||||
"noInstanceId": "Zatím žádné ID instance",
|
||||
"lastSent": "Naposledy odesláno {{date}}",
|
||||
"neverSent": "Zatím neodesláno",
|
||||
"nextSend": "Další termín pro hlášení {{date}}",
|
||||
"lastError": "Poslední pokus se nezdařil: {{error}}",
|
||||
"preview": "Náhled zprávy",
|
||||
"sendNow": "Odeslat nyní",
|
||||
"sending": "Odesílání...",
|
||||
"sent": "Odeslané statistiky užívání",
|
||||
"notSent": "Statistiky používání jsou vypnuté, nic nebylo odesláno",
|
||||
"resetId": "Obnovit ID instance",
|
||||
"resetIdConfirm": "Obnovit ID instance? Budoucí sestavy budou vypadat jako nová instalace.",
|
||||
"resetIdDone": "Reset ID instance",
|
||||
"previewTitle": "Další zpráva",
|
||||
"previewDescription": "Přesně tohle by bylo teď odesláno.",
|
||||
"close": "Blízko",
|
||||
"loadFailed": "Nepodařilo se načíst stav statistik využití"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Administrer brugsstatistik",
|
||||
"description": "Se hvilke brugsstatistikker der sendes, send dem nu, og nulstil instans-ID'et."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Del anonym brugsstatistik",
|
||||
"description": "Sender et lille anonymt resumé én gang om dagen for at forbedre Termix. Det inkluderer aldrig brugernavne, værtsnavne, IP-adresser eller legitimationsoplysninger."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Inkluder platformoplysninger",
|
||||
"description": "Operativsystemet, CPU-arkitekturen, Node.js-versionen, databasetypen og hvordan Termix er installeret (Docker, desktop-app eller server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Inkluder brug af funktioner",
|
||||
"description": "Hvor mange gange hver type fane blev åbnet, og hvor mange SSH-logins der er sket siden den sidste rapport. Brugere kan deaktivere deres egen del i deres profil."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Inkluder installerede funktioner",
|
||||
"description": "Hvilke indbyggede funktioner er installeret og kører."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instans-ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Inkluder min brug af funktioner",
|
||||
"description": "Tæller hvilke typer faner du åbner i den anonyme brugsstatistik. Der sendes intet om dig eller dine værter."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Deler brugsstatistik én gang om dagen",
|
||||
"off": "Deler ikke brugsstatistik",
|
||||
"lockedOn": "Aktiveret af miljøvariablen ENABLE_TELEMETRY. Rediger den der.",
|
||||
"lockedOff": "Slået fra af miljøvariablen ENABLE_TELEMETRY. Rediger den der.",
|
||||
"instanceId": "Instans-ID: {{id}}",
|
||||
"noInstanceId": "Intet instans-ID endnu",
|
||||
"lastSent": "Sidst sendt {{date}}",
|
||||
"neverSent": "Ikke sendt endnu",
|
||||
"nextSend": "Næste rapport forfalder {{date}}",
|
||||
"lastError": "Sidste forsøg mislykkedes: {{error}}",
|
||||
"preview": "Forhåndsvisning af rapport",
|
||||
"sendNow": "Send nu",
|
||||
"sending": "Sender...",
|
||||
"sent": "Brugsstatistik sendt",
|
||||
"notSent": "Brugsstatistikker er slået fra, intet blev sendt",
|
||||
"resetId": "Nulstil instans-ID",
|
||||
"resetIdConfirm": "Nulstil instans-ID'et? Fremtidige rapporter vil se ud som en ny installation.",
|
||||
"resetIdDone": "Nulstilling af instans-ID",
|
||||
"previewTitle": "Næste rapport",
|
||||
"previewDescription": "Det er præcis, hvad der ville blive sendt lige nu.",
|
||||
"close": "Tæt",
|
||||
"loadFailed": "Kunne ikke indlæse status for brugsstatistik"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Nutzungsstatistiken verwalten",
|
||||
"description": "Prüfen Sie, welche Nutzungsstatistiken gesendet werden, senden Sie diese jetzt und setzen Sie die Instanz-ID zurück."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Anonyme Nutzungsstatistiken teilen",
|
||||
"description": "Sendet einmal täglich eine kurze, anonyme Zusammenfassung, um Termix zu verbessern. Diese enthält niemals Benutzernamen, Hostnamen, IP-Adressen oder Anmeldeinformationen."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Plattforminformationen einbeziehen",
|
||||
"description": "Das Betriebssystem, die CPU-Architektur, die Node.js-Version, der Datenbanktyp und die Art der Termix-Installation (Docker, Desktop-App oder Server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Nutzung der Funktionen einschließen",
|
||||
"description": "Wie oft die einzelnen Tab-Arten geöffnet wurden und wie viele SSH-Logins seit dem letzten Bericht stattgefunden haben. Benutzer können diese Funktionen in ihrem Profil deaktivieren."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Installierte Funktionen einschließen",
|
||||
"description": "Welche integrierten Funktionen sind installiert und aktiv?"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instanz-ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Meine Funktionsnutzung einbeziehen",
|
||||
"description": "Erfasst in anonymen Nutzungsstatistiken, welche Tab-Arten Sie öffnen. Es werden keine Informationen über Sie oder Ihre Hosts übermittelt."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Nutzungsstatistiken werden einmal täglich veröffentlicht",
|
||||
"off": "Nutzungsstatistiken werden nicht weitergegeben",
|
||||
"lockedOn": "Wird durch die Umgebungsvariable ENABLE_TELEMETRY aktiviert. Ändern Sie sie dort.",
|
||||
"lockedOff": "Wird durch die Umgebungsvariable ENABLE_TELEMETRY deaktiviert. Ändern Sie dies dort.",
|
||||
"instanceId": "Instanz-ID: {{id}}",
|
||||
"noInstanceId": "Noch keine Instanz-ID",
|
||||
"lastSent": "Zuletzt gesendet {{date}}",
|
||||
"neverSent": "Noch nicht gesendet",
|
||||
"nextSend": "Nächster Bericht fällig {{date}}",
|
||||
"lastError": "Letzter Versuch fehlgeschlagen: {{error}}",
|
||||
"preview": "Vorschaubericht",
|
||||
"sendNow": "Jetzt senden",
|
||||
"sending": "Senden...",
|
||||
"sent": "Nutzungsstatistiken gesendet",
|
||||
"notSent": "Nutzungsstatistiken sind deaktiviert, es wurden keine Daten gesendet",
|
||||
"resetId": "Instanz-ID zurücksetzen",
|
||||
"resetIdConfirm": "Soll die Instanz-ID zurückgesetzt werden? Zukünftige Berichte werden wie eine Neuinstallation aussehen.",
|
||||
"resetIdDone": "Instanz-ID zurückgesetzt",
|
||||
"previewTitle": "Nächster Bericht",
|
||||
"previewDescription": "Genau das würde jetzt verschickt werden.",
|
||||
"close": "Schließen",
|
||||
"loadFailed": "Die Nutzungsstatistik konnte nicht geladen werden."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Διαχείριση στατιστικών χρήσης",
|
||||
"description": "Δείτε ποια στατιστικά στοιχεία χρήσης αποστέλλονται, στείλτε τα τώρα και επαναφέρετε το αναγνωριστικό παρουσίας."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Κοινοποίηση ανώνυμων στατιστικών χρήσης",
|
||||
"description": "Στέλνει μια μικρή ανώνυμη σύνοψη μία φορά την ημέρα για να βοηθήσει στη βελτίωση του Termix. Δεν περιλαμβάνει ποτέ ονόματα χρήστη, ονόματα κεντρικών υπολογιστών, διευθύνσεις IP ή διαπιστευτήρια."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Συμπερίληψη πληροφοριών πλατφόρμας",
|
||||
"description": "Το λειτουργικό σύστημα, η αρχιτεκτονική της CPU, η έκδοση Node.js, ο τύπος βάσης δεδομένων και ο τρόπος εγκατάστασης του Termix (Docker, εφαρμογή για υπολογιστές ή διακομιστής)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Συμπερίληψη χρήσης λειτουργιών",
|
||||
"description": "Πόσες φορές ανοίχτηκε κάθε είδος καρτέλας και πόσες συνδέσεις SSH πραγματοποιήθηκαν από την τελευταία αναφορά. Οι χρήστες μπορούν να απενεργοποιήσουν το δικό τους μέρος στο προφίλ τους."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Συμπεριλάβετε εγκατεστημένες λειτουργίες",
|
||||
"description": "Ποιες ενσωματωμένες λειτουργίες είναι εγκατεστημένες και εκτελούνται."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Αναγνωριστικό παρουσίας"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Συμπερίληψη της χρήσης των λειτουργιών μου",
|
||||
"description": "Μετράει τα είδη καρτελών που ανοίγετε στα ανώνυμα στατιστικά χρήσης. Δεν αποστέλλεται τίποτα για εσάς ή τους κεντρικούς υπολογιστές σας."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Κατάσταση",
|
||||
"on": "Κοινή χρήση στατιστικών στοιχείων χρήσης μία φορά την ημέρα",
|
||||
"off": "Δεν κοινοποιούνται στατιστικά στοιχεία χρήσης",
|
||||
"lockedOn": "Ενεργοποιείται από τη μεταβλητή περιβάλλοντος ENABLE_TELEMETRY. Αλλάξτε την εκεί.",
|
||||
"lockedOff": "Απενεργοποιήθηκε από τη μεταβλητή περιβάλλοντος ENABLE_TELEMETRY. Αλλάξτε την εκεί.",
|
||||
"instanceId": "Αναγνωριστικό παρουσίας: {{id}}",
|
||||
"noInstanceId": "Δεν υπάρχει ακόμη αναγνωριστικό παρουσίας",
|
||||
"lastSent": "Τελευταία αποστολή {{date}}",
|
||||
"neverSent": "Δεν έχει σταλεί ακόμα",
|
||||
"nextSend": "Επόμενη αναφορά που πρέπει να γίνει {{date}}",
|
||||
"lastError": "Η τελευταία προσπάθεια απέτυχε: {{error}}",
|
||||
"preview": "Προεπισκόπηση αναφοράς",
|
||||
"sendNow": "Αποστολή τώρα",
|
||||
"sending": "Αποστολή...",
|
||||
"sent": "Στατιστικά στοιχεία χρήσης που στάλθηκαν",
|
||||
"notSent": "Τα στατιστικά χρήσης είναι απενεργοποιημένα, δεν στάλθηκε τίποτα",
|
||||
"resetId": "Επαναφορά αναγνωριστικού παρουσίας",
|
||||
"resetIdConfirm": "Επαναφορά του αναγνωριστικού παρουσίας; Οι μελλοντικές αναφορές θα μοιάζουν με νέα εγκατάσταση.",
|
||||
"resetIdDone": "Επαναφορά αναγνωριστικού παρουσίας",
|
||||
"previewTitle": "Επόμενη αναφορά",
|
||||
"previewDescription": "Αυτό ακριβώς θα αποστελλόταν τώρα.",
|
||||
"close": "Κοντά",
|
||||
"loadFailed": "Δεν ήταν δυνατή η φόρτωση της κατάστασης των στατιστικών χρήσης"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Gestionar las estadísticas de uso",
|
||||
"description": "Consulta qué estadísticas de uso se envían, envíalas ahora y restablece el ID de instancia."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Compartir estadísticas de uso anónimas",
|
||||
"description": "Envía un breve resumen anónimo una vez al día para ayudar a mejorar Termix. Nunca incluye nombres de usuario, nombres de host, direcciones IP ni credenciales."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Incluir información de la plataforma",
|
||||
"description": "El sistema operativo, la arquitectura de la CPU, la versión de Node.js, el tipo de base de datos y cómo está instalado Termix (Docker, aplicación de escritorio o servidor)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Incluir el uso de la función",
|
||||
"description": "Cuántas veces se abrió cada tipo de pestaña y cuántos inicios de sesión SSH se produjeron desde el último informe. Los usuarios pueden desactivar esta sección en su perfil."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Incluir características instaladas",
|
||||
"description": "¿Qué funciones integradas están instaladas y en funcionamiento?"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID de instancia"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Incluir mi uso de la función",
|
||||
"description": "Registra qué tipos de pestañas abres en las estadísticas de uso anónimas. No se envía ninguna información sobre ti ni sobre tu servidor."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Estado",
|
||||
"on": "Compartir estadísticas de uso una vez al día.",
|
||||
"off": "No compartimos las estadísticas de uso.",
|
||||
"lockedOn": "Se activa mediante la variable de entorno ENABLE_TELEMETRY. Cámbiela allí.",
|
||||
"lockedOff": "Desactivado por la variable de entorno ENABLE_TELEMETRY. Cámbiela allí.",
|
||||
"instanceId": "ID de instancia: {{id}}",
|
||||
"noInstanceId": "Aún no hay ID de instancia",
|
||||
"lastSent": "Último envío {{date}}",
|
||||
"neverSent": "Aún no se ha enviado",
|
||||
"nextSend": "Próximo informe pendiente {{date}}",
|
||||
"lastError": "Último intento fallido: {{error}}",
|
||||
"preview": "Vista previa del informe",
|
||||
"sendNow": "Enviar ahora",
|
||||
"sending": "Envío...",
|
||||
"sent": "Estadísticas de uso enviadas",
|
||||
"notSent": "Las estadísticas de uso están desactivadas, no se envió nada.",
|
||||
"resetId": "Restablecer ID de instancia",
|
||||
"resetIdConfirm": "¿Restablecer el ID de instancia? Los informes futuros se verán como una instalación nueva.",
|
||||
"resetIdDone": "Restablecimiento del ID de instancia",
|
||||
"previewTitle": "Siguiente informe",
|
||||
"previewDescription": "Esto es exactamente lo que se enviaría ahora mismo.",
|
||||
"close": "Cerrar",
|
||||
"loadFailed": "No se pudo cargar el estado de las estadísticas de uso."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Hallinnoi käyttötilastoja",
|
||||
"description": "Katso lähetetyt käyttötilastot, lähetä ne nyt ja nollaa instanssitunnus."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Jaa anonyymejä käyttötilastoja",
|
||||
"description": "Lähettää pienen anonyymin yhteenvedon kerran päivässä Termixin parantamiseksi. Se ei koskaan sisällä käyttäjätunnuksia, isäntänimiä, IP-osoitteita tai tunnistetietoja."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Sisällytä alustatiedot",
|
||||
"description": "Käyttöjärjestelmä, suorittimen arkkitehtuuri, Node.js-versio, tietokannan tyyppi ja Termixin asennustapa (Docker, työpöytäsovellus vai palvelin)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Sisällytä ominaisuuksien käyttö",
|
||||
"description": "Kuinka monta kertaa kutakin välilehtityyppiä avattiin ja kuinka monta SSH-kirjautumista tapahtui viimeisimmän raportin jälkeen. Käyttäjät voivat poistaa oman osuutensa käytöstä profiilissaan."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Sisällytä asennetut ominaisuudet",
|
||||
"description": "Mitkä sisäänrakennetut ominaisuudet on asennettu ja käynnissä."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instanssin tunnus"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Sisällytä ominaisuuksien käyttöni",
|
||||
"description": "Laskee avaamiesi välilehtien tyypit anonyymeissä käyttötilastoissa. Sinusta tai isännistäsi ei lähetetä mitään tietoja."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Käyttötilastojen jakaminen kerran päivässä",
|
||||
"off": "Ei jaa käyttötilastoja",
|
||||
"lockedOn": "ENABLE_TELEMETRY-ympäristömuuttuja ottaa sen käyttöön. Muuta sitä siellä.",
|
||||
"lockedOff": "Ympäristömuuttuja ENABLE_TELEMETRY on kytkenyt sen pois päältä. Voit muuttaa sitä siellä.",
|
||||
"instanceId": "Instanssitunnus: {{id}}",
|
||||
"noInstanceId": "Ei vielä instanssi-ID:tä",
|
||||
"lastSent": "Viimeksi lähetetty {{date}}",
|
||||
"neverSent": "Ei vielä lähetetty",
|
||||
"nextSend": "Seuraava raportti erääntyy {{date}}",
|
||||
"lastError": "Viimeisin yritys epäonnistui: {{error}}",
|
||||
"preview": "Esikatsele raporttia",
|
||||
"sendNow": "Lähetä nyt",
|
||||
"sending": "Lähetetään...",
|
||||
"sent": "Käyttötilastot lähetetty",
|
||||
"notSent": "Käyttötilastot on poistettu käytöstä, mitään ei lähetetty",
|
||||
"resetId": "Palauta instanssitunnus",
|
||||
"resetIdConfirm": "Nollataanko instanssitunnus? Tulevat raportit näyttävät uudelta asennukselta.",
|
||||
"resetIdDone": "Instanssi-ID:n nollaus",
|
||||
"previewTitle": "Seuraava raportti",
|
||||
"previewDescription": "Juuri tätä lähetettäisiin nyt.",
|
||||
"close": "Lähellä",
|
||||
"loadFailed": "Käyttötilastojen tilan lataaminen epäonnistui"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Gérer les statistiques d'utilisation",
|
||||
"description": "Consultez les statistiques d'utilisation envoyées, envoyez-les maintenant et réinitialisez l'ID de l'instance."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Partager des statistiques d'utilisation anonymes",
|
||||
"description": "Envoie quotidiennement un court résumé anonyme pour contribuer à l'amélioration de Termix. Ce résumé ne contient jamais de noms d'utilisateur, de noms d'hôte, d'adresses IP ni d'identifiants."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Inclure les informations de la plateforme",
|
||||
"description": "Le système d'exploitation, l'architecture du processeur, la version de Node.js, le type de base de données et le mode d'installation de Termix (Docker, application de bureau ou serveur)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Inclure l'utilisation des fonctionnalités",
|
||||
"description": "Nombre d'ouvertures de chaque type d'onglet et nombre de connexions SSH effectuées depuis le dernier rapport. Les utilisateurs peuvent désactiver ces informations dans leur profil."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Inclure les fonctionnalités installées",
|
||||
"description": "Quelles fonctionnalités intégrées sont installées et en cours d'exécution ?"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID d'instance"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Inclure mon utilisation des fonctionnalités",
|
||||
"description": "Ce service enregistre les types d'onglets que vous ouvrez dans les statistiques d'utilisation anonymes. Aucune information vous concernant ni concernant vos hôtes n'est transmise."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "État",
|
||||
"on": "Partage des statistiques d'utilisation une fois par jour",
|
||||
"off": "Statistiques d'utilisation non partagées",
|
||||
"lockedOn": "Activé par la variable d'environnement ENABLE_TELEMETRY. Modifiez-la à cet emplacement.",
|
||||
"lockedOff": "Cette fonction est désactivée par la variable d'environnement ENABLE_TELEMETRY. Modifiez-la à cet endroit.",
|
||||
"instanceId": "ID de l'instance : {{id}}",
|
||||
"noInstanceId": "Aucun ID d'instance pour le moment",
|
||||
"lastSent": "Dernier message envoyé {{date}}",
|
||||
"neverSent": "Pas encore envoyé",
|
||||
"nextSend": "Prochain rapport à rendre {{date}}",
|
||||
"lastError": "Dernière tentative échouée : {{error}}",
|
||||
"preview": "Aperçu du rapport",
|
||||
"sendNow": "Envoyer maintenant",
|
||||
"sending": "Envoi...",
|
||||
"sent": "Statistiques d'utilisation envoyées",
|
||||
"notSent": "Les statistiques d'utilisation sont désactivées, aucun envoi n'a été effectué.",
|
||||
"resetId": "Réinitialiser l'ID de l'instance",
|
||||
"resetIdConfirm": "Réinitialiser l'ID de l'instance ? Les prochains rapports ressembleront à une nouvelle installation.",
|
||||
"resetIdDone": "Réinitialisation de l'ID d'instance",
|
||||
"previewTitle": "Prochain rapport",
|
||||
"previewDescription": "Voici exactement ce qui serait envoyé en ce moment.",
|
||||
"close": "Fermer",
|
||||
"loadFailed": "Impossible de charger l'état des statistiques d'utilisation"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "ניהול סטטיסטיקות שימוש",
|
||||
"description": "ראה אילו סטטיסטיקות שימוש נשלחות, שלח אותן עכשיו ואפס את מזהה המופע."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "שתף סטטיסטיקות שימוש אנונימיות",
|
||||
"description": "שולח סיכום אנונימי קטן פעם ביום כדי לעזור לשפר את Termix. הוא לעולם לא כולל שמות משתמש, שמות מארחים, כתובות IP או אישורים."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "כלול מידע על הפלטפורמה",
|
||||
"description": "מערכת ההפעלה, ארכיטקטורת המעבד, גרסת Node.js, סוג מסד הנתונים וכיצד Termix מותקן (Docker, אפליקציית שולחן עבודה או שרת)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "כלול שימוש בתכונות",
|
||||
"description": "כמה פעמים נפתח כל סוג של כרטיסייה וכמה כניסות SSH התרחשו מאז הדוח האחרון. משתמשים יכולים לכבות את החלק שלהם בפרופיל שלהם."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "כלול תכונות מותקנות",
|
||||
"description": "אילו תכונות מובנות מותקנות ופועלות."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "מזהה מופע"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "כלול את השימוש שלי בתכונות",
|
||||
"description": "סופר אילו סוגי כרטיסיות אתה פותח בסטטיסטיקות השימוש האנונימיות. לא נשלח דבר עליך או על המארחים שלך."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "סטָטוּס",
|
||||
"on": "שיתוף סטטיסטיקות שימוש פעם ביום",
|
||||
"off": "לא משתף סטטיסטיקות שימוש",
|
||||
"lockedOn": "מופעל על ידי משתנה הסביבה ENABLE_TELEMETRY. שנה אותו שם.",
|
||||
"lockedOff": "כבוי על ידי משתנה הסביבה ENABLE_TELEMETRY. שנה אותו שם.",
|
||||
"instanceId": "מזהה מופע: {{id}}",
|
||||
"noInstanceId": "אין עדיין מזהה מופע",
|
||||
"lastSent": "נשלח לאחרונה {{date}}",
|
||||
"neverSent": "עדיין לא נשלח",
|
||||
"nextSend": "הדוח הבא צפוי {{date}}",
|
||||
"lastError": "ניסיון אחרון נכשל: {{error}}",
|
||||
"preview": "תצוגה מקדימה של דוח",
|
||||
"sendNow": "שלח עכשיו",
|
||||
"sending": "שְׁלִיחָה...",
|
||||
"sent": "נשלחו סטטיסטיקות שימוש",
|
||||
"notSent": "סטטיסטיקות השימוש כבויות, לא נשלח דבר",
|
||||
"resetId": "איפוס מזהה מופע",
|
||||
"resetIdConfirm": "לאפס את מזהה המופע? דוחות עתידיים ייראו כמו התקנה חדשה.",
|
||||
"resetIdDone": "איפוס מזהה מופע",
|
||||
"previewTitle": "הדוח הבא",
|
||||
"previewDescription": "זה בדיוק מה שיישלח עכשיו.",
|
||||
"close": "לִסְגוֹר",
|
||||
"loadFailed": "לא ניתן היה לטעון את סטטוס סטטיסטיקות השימוש"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "स्थिति",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "बंद करें",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Használati statisztikák kezelése",
|
||||
"description": "Nézd meg, milyen használati statisztikák küldődnek, küldd el őket most, és állítsd vissza a példányazonosítót."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Névtelen használati statisztikák megosztása",
|
||||
"description": "Naponta egyszer küld egy rövid, névtelen összefoglalót a Termix fejlesztése érdekében. Soha nem tartalmaz felhasználóneveket, hostneveket, IP-címeket vagy hitelesítő adatokat."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Platforminformációk hozzáadása",
|
||||
"description": "Az operációs rendszer, a CPU architektúra, a Node.js verziója, az adatbázis típusa és a Termix telepítési módja (Docker, asztali alkalmazás vagy szerver)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Funkcióhasználat belefoglalása",
|
||||
"description": "Hányszor nyitották meg az egyes laptípusokat, és hány SSH-bejelentkezés történt az utolsó jelentés óta. A felhasználók kikapcsolhatják a saját részüket a profiljukban."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Telepített funkciók beillesztése",
|
||||
"description": "Mely beépített funkciók vannak telepítve és futnak?"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Példányazonosító"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Funkcióhasználatom belefoglalása",
|
||||
"description": "Számolja, hogy milyen típusú lapokat nyit meg a névtelen használati statisztikákban. Semmi sem kerül elküldésre rólad vagy a tárhelyszolgáltatóidról."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Állapot",
|
||||
"on": "Használati statisztikák megosztása naponta egyszer",
|
||||
"off": "Nem oszt meg használati statisztikákat",
|
||||
"lockedOn": "Az ENABLE_TELEMETRY környezeti változóval bekapcsolva. Módosítsd ott.",
|
||||
"lockedOff": "Az ENABLE_TELEMETRY környezeti változó kikapcsolta. Módosítsd ott.",
|
||||
"instanceId": "Példányazonosító: {{id}}",
|
||||
"noInstanceId": "Még nincs példányazonosító",
|
||||
"lastSent": "Utolsó küldés {{date}}",
|
||||
"neverSent": "Még nem küldték el",
|
||||
"nextSend": "Következő jelentés határideje {{date}}",
|
||||
"lastError": "Utolsó kísérlet sikertelen: {{error}}",
|
||||
"preview": "Jelentés előnézete",
|
||||
"sendNow": "Küldés most",
|
||||
"sending": "Küldés...",
|
||||
"sent": "Használati statisztikák elküldve",
|
||||
"notSent": "A használati statisztikák ki vannak kapcsolva, semmi sem került elküldésre.",
|
||||
"resetId": "Példányazonosító visszaállítása",
|
||||
"resetIdConfirm": "Visszaállítja a példányazonosítót? A jövőbeli jelentések új telepítésként fognak kinézni.",
|
||||
"resetIdDone": "Példányazonosító visszaállítása",
|
||||
"previewTitle": "Következő jelentés",
|
||||
"previewDescription": "Pontosan ezt küldenék most.",
|
||||
"close": "Közeli",
|
||||
"loadFailed": "Nem sikerült betölteni a használati statisztikák állapotát"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Tutup",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Gestisci le statistiche di utilizzo",
|
||||
"description": "Controlla quali statistiche di utilizzo vengono inviate, inviale ora e reimposta l'ID dell'istanza."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Condividi statistiche di utilizzo anonime",
|
||||
"description": "Invia un breve riepilogo anonimo una volta al giorno per contribuire al miglioramento di Termix. Non include mai nomi utente, nomi host, indirizzi IP o credenziali."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Includi le informazioni sulla piattaforma",
|
||||
"description": "Il sistema operativo, l'architettura della CPU, la versione di Node.js, il tipo di database e la modalità di installazione di Termix (Docker, applicazione desktop o server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Includi l'utilizzo delle funzionalità",
|
||||
"description": "Quante volte è stata aperta ciascuna tipologia di scheda e quanti accessi SSH sono stati effettuati dall'ultimo report. Gli utenti possono disattivare questa funzione nel proprio profilo."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Includi le funzionalità installate",
|
||||
"description": "Quali funzionalità integrate sono installate e in esecuzione."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID istanza"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Includi il mio utilizzo delle funzionalità",
|
||||
"description": "Questo strumento tiene traccia dei tipi di schede che apri nelle statistiche di utilizzo anonime. Nessuna informazione su di te o sui tuoi host viene inviata."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Stato",
|
||||
"on": "Condivisione delle statistiche di utilizzo una volta al giorno",
|
||||
"off": "Non condividiamo le statistiche di utilizzo",
|
||||
"lockedOn": "Attivato dalla variabile d'ambiente ENABLE_TELEMETRY. Modificala lì.",
|
||||
"lockedOff": "Disattivato dalla variabile d'ambiente ENABLE_TELEMETRY. Modificala lì.",
|
||||
"instanceId": "ID istanza: {{id}}",
|
||||
"noInstanceId": "Nessun ID istanza ancora disponibile",
|
||||
"lastSent": "Ultimo invio {{date}}",
|
||||
"neverSent": "Non ancora inviato",
|
||||
"nextSend": "Prossimo rapporto previsto per {{date}}",
|
||||
"lastError": "Ultimo tentativo fallito: {{error}}",
|
||||
"preview": "Anteprima del rapporto",
|
||||
"sendNow": "Invia ora",
|
||||
"sending": "Invio in corso...",
|
||||
"sent": "Statistiche di utilizzo inviate",
|
||||
"notSent": "Le statistiche di utilizzo sono disattivate, non è stato inviato nulla",
|
||||
"resetId": "Reimposta l'ID dell'istanza",
|
||||
"resetIdConfirm": "Reimpostare l'ID dell'istanza? I report futuri sembreranno quelli di una nuova installazione.",
|
||||
"resetIdDone": "Ripristino dell'ID istanza",
|
||||
"previewTitle": "Prossimo rapporto",
|
||||
"previewDescription": "Questo è esattamente ciò che verrebbe inviato ora.",
|
||||
"close": "Chiudi",
|
||||
"loadFailed": "Impossibile caricare lo stato delle statistiche di utilizzo"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "使用状況統計を管理する",
|
||||
"description": "どのような使用統計情報が送信されるかを確認し、それらを今すぐ送信して、インスタンスIDをリセットしてください。"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "匿名化された利用統計情報を共有する",
|
||||
"description": "Termixの改善に役立てるため、1日に1回、匿名の簡単な要約を送信します。ユーザー名、ホスト名、IPアドレス、認証情報は一切含まれません。"
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "プラットフォーム情報を含める",
|
||||
"description": "オペレーティングシステム、CPUアーキテクチャ、Node.jsのバージョン、データベースの種類、およびTermixのインストール方法(Docker、デスクトップアプリ、またはサーバー)。"
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "機能の使用状況を含める",
|
||||
"description": "各タブが開かれた回数と、前回のレポート以降に発生したSSHログインの回数が表示されます。ユーザーは自分のプロファイル設定で、この表示をオフにすることができます。"
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "インストール済みの機能を含める",
|
||||
"description": "どの組み込み機能がインストールされ、実行されていますか。"
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "インスタンスID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "私の機能使用状況を含める",
|
||||
"description": "匿名利用統計情報において、開いているタブの種類をカウントします。あなたやホストに関する情報は一切送信されません。"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "状態",
|
||||
"on": "利用統計情報を1日1回共有します",
|
||||
"off": "利用統計を共有しない",
|
||||
"lockedOn": "ENABLE_TELEMETRY環境変数で有効になります。そちらで設定を変更してください。",
|
||||
"lockedOff": "ENABLE_TELEMETRY環境変数によって無効になっています。そちらで設定を変更してください。",
|
||||
"instanceId": "インスタンスID: {{id}}",
|
||||
"noInstanceId": "インスタンスIDはまだありません",
|
||||
"lastSent": "最終送信 {{date}}",
|
||||
"neverSent": "まだ送信されていません",
|
||||
"nextSend": "次回の報告期限 {{date}}",
|
||||
"lastError": "最後の試行が失敗しました: {{error}}",
|
||||
"preview": "プレビューレポート",
|
||||
"sendNow": "今すぐ送信",
|
||||
"sending": "送信中...",
|
||||
"sent": "使用統計情報が送信されました",
|
||||
"notSent": "使用統計は無効になっています。何も送信されませんでした。",
|
||||
"resetId": "インスタンスIDをリセット",
|
||||
"resetIdConfirm": "インスタンスIDをリセットしましたか?今後のレポートは新規インストール時と同じように表示されます。",
|
||||
"resetIdDone": "インスタンスIDがリセットされました",
|
||||
"previewTitle": "次回のレポート",
|
||||
"previewDescription": "これはまさに今送られてくる内容です。",
|
||||
"close": "閉じる",
|
||||
"loadFailed": "使用状況統計ステータスを読み込めませんでした"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "사용 통계 관리",
|
||||
"description": "전송되는 사용 통계를 확인하고, 지금 전송한 다음 인스턴스 ID를 재설정하세요."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "익명 사용 통계를 공유합니다",
|
||||
"description": "Termix 개선에 도움이 되도록 하루에 한 번 익명의 간단한 요약 정보를 전송합니다. 사용자 이름, 호스트 이름, IP 주소 또는 자격 증명은 절대 포함되지 않습니다."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "플랫폼 정보를 포함하세요",
|
||||
"description": "운영 체제, CPU 아키텍처, Node.js 버전, 데이터베이스 유형 및 Termix 설치 방식(Docker, 데스크톱 앱 또는 서버)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "기능 사용법을 포함하세요",
|
||||
"description": "각 탭이 열린 횟수와 마지막 보고 이후 SSH 로그인 횟수를 보여줍니다. 사용자는 프로필에서 해당 기능을 끌 수 있습니다."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "설치된 기능을 포함합니다",
|
||||
"description": "어떤 내장 기능이 설치되어 실행 중인지 알려주세요."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "인스턴스 ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "내 기능 사용량을 포함하세요",
|
||||
"description": "익명 사용 통계에서 사용자가 어떤 종류의 탭을 여는지 집계합니다. 사용자 또는 호스트에 대한 정보는 전혀 전송되지 않습니다."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "상태",
|
||||
"on": "사용량 통계를 하루에 한 번 공유합니다.",
|
||||
"off": "사용량 통계를 공유하지 않음",
|
||||
"lockedOn": "ENABLE_TELEMETRY 환경 변수에 의해 활성화됩니다. 해당 변수를 변경하십시오.",
|
||||
"lockedOff": "ENABLE_TELEMETRY 환경 변수에 의해 비활성화됩니다. 해당 변수를 변경하십시오.",
|
||||
"instanceId": "인스턴스 ID: {{id}}",
|
||||
"noInstanceId": "아직 인스턴스 ID가 없습니다.",
|
||||
"lastSent": "마지막으로 보낸 메시지 {{date}}",
|
||||
"neverSent": "아직 보내지 않았습니다",
|
||||
"nextSend": "다음 보고서 제출 예정일 {{date}}",
|
||||
"lastError": "마지막 시도가 실패했습니다: {{error}}",
|
||||
"preview": "미리보기 보고서",
|
||||
"sendNow": "지금 보내기",
|
||||
"sending": "배상...",
|
||||
"sent": "사용량 통계가 전송되었습니다.",
|
||||
"notSent": "사용 통계 기능이 꺼져 있어서 아무것도 전송되지 않았습니다.",
|
||||
"resetId": "인스턴스 ID 재설정",
|
||||
"resetIdConfirm": "인스턴스 ID를 재설정하시겠습니까? 향후 보고서는 새 설치처럼 보일 것입니다.",
|
||||
"resetIdDone": "인스턴스 ID 재설정",
|
||||
"previewTitle": "다음 보고서",
|
||||
"previewDescription": "지금 당장 보내질 내용이 바로 이것입니다.",
|
||||
"close": "닫기",
|
||||
"loadFailed": "사용량 통계 상태를 불러올 수 없습니다."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Lukk",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Zamknij",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Fechar",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Estado",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Fechar",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Gestionați statisticile de utilizare",
|
||||
"description": "Vedeți ce statistici de utilizare sunt trimise, trimiteți-le acum și resetați ID-ul instanței."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Partajează statistici de utilizare anonime",
|
||||
"description": "Trimite un scurt rezumat anonim o dată pe zi pentru a ajuta la îmbunătățirea Termix. Nu include niciodată nume de utilizator, nume de gazdă, adrese IP sau acreditări."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Includeți informații despre platformă",
|
||||
"description": "Sistemul de operare, arhitectura procesorului, versiunea Node.js, tipul bazei de date și modul de instalare a Termix (Docker, aplicație desktop sau server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Includeți utilizarea funcțiilor",
|
||||
"description": "De câte ori a fost deschis fiecare tip de filă și câte conectări SSH au avut loc de la ultimul raport. Utilizatorii își pot dezactiva propria parte din profilul lor."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Includeți funcțiile instalate",
|
||||
"description": "Ce funcții încorporate sunt instalate și rulează."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "ID instanță"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include utilizarea funcțiilor mele",
|
||||
"description": "Numără tipurile de file pe care le deschideți în statisticile de utilizare anonime. Nu se trimite nimic despre dvs. sau despre gazdele dvs."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Stare",
|
||||
"on": "Partajarea statisticilor de utilizare o dată pe zi",
|
||||
"off": "Nu se partajează statisticile de utilizare",
|
||||
"lockedOn": "Activat de variabila de mediu ENABLE_TELEMETRY. Modificați-l acolo.",
|
||||
"lockedOff": "Dezactivat de variabila de mediu ENABLE_TELEMETRY. Modificați-l acolo.",
|
||||
"instanceId": "ID instanță: {{id}}",
|
||||
"noInstanceId": "Încă nu există ID de instanță",
|
||||
"lastSent": "Ultima trimitere {{date}}",
|
||||
"neverSent": "Nu a fost trimis încă",
|
||||
"nextSend": "Următorul raport scadent {{date}}",
|
||||
"lastError": "Ultima încercare a eșuat: {{error}}",
|
||||
"preview": "Raport de previzualizare",
|
||||
"sendNow": "Trimite acum",
|
||||
"sending": "Se trimite...",
|
||||
"sent": "Statistici de utilizare trimise",
|
||||
"notSent": "Statisticile de utilizare sunt dezactivate, nu s-a trimis nimic.",
|
||||
"resetId": "Resetează ID-ul instanței",
|
||||
"resetIdConfirm": "Resetarea ID-ului instanței? Rapoartele viitoare vor arăta ca o instalare nouă.",
|
||||
"resetIdDone": "Resetare ID instanță",
|
||||
"previewTitle": "Următorul raport",
|
||||
"previewDescription": "Exact asta ar fi trimis chiar acum.",
|
||||
"close": "Aproape",
|
||||
"loadFailed": "Nu s-a putut încărca starea statisticilor de utilizare"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Статус",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Закрыть",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Durum",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Kapat",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Close",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Trạng thái",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "Đóng",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "状态",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "关闭",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"permissions": {
|
||||
"manage": {
|
||||
"title": "Manage usage statistics",
|
||||
"description": "See what usage statistics are sent, send them now and reset the instance ID."
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"enabled": {
|
||||
"label": "Share anonymous usage statistics",
|
||||
"description": "Sends a small anonymous summary once a day to help improve Termix. It never includes usernames, hostnames, IP addresses or credentials."
|
||||
},
|
||||
"includePlatform": {
|
||||
"label": "Include platform info",
|
||||
"description": "The operating system, CPU architecture, Node.js version, database type and how Termix is installed (Docker, desktop app or server)."
|
||||
},
|
||||
"includeFeatureUsage": {
|
||||
"label": "Include feature usage",
|
||||
"description": "How many times each kind of tab was opened and how many SSH logins happened since the last report. Users can turn off their own part in their profile."
|
||||
},
|
||||
"includePlugins": {
|
||||
"label": "Include installed features",
|
||||
"description": "Which built-in features are installed and running."
|
||||
},
|
||||
"instanceId": {
|
||||
"label": "Instance ID"
|
||||
},
|
||||
"shareFeatureUsage": {
|
||||
"label": "Include my feature usage",
|
||||
"description": "Counts which kinds of tabs you open in the anonymous usage statistics. Nothing about you or your hosts is sent."
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "狀態",
|
||||
"on": "Sharing usage statistics once a day",
|
||||
"off": "Not sharing usage statistics",
|
||||
"lockedOn": "Turned on by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"lockedOff": "Turned off by the ENABLE_TELEMETRY environment variable. Change it there.",
|
||||
"instanceId": "Instance ID: {{id}}",
|
||||
"noInstanceId": "No instance ID yet",
|
||||
"lastSent": "Last sent {{date}}",
|
||||
"neverSent": "Not sent yet",
|
||||
"nextSend": "Next report due {{date}}",
|
||||
"lastError": "Last attempt failed: {{error}}",
|
||||
"preview": "Preview report",
|
||||
"sendNow": "Send now",
|
||||
"sending": "Sending...",
|
||||
"sent": "Usage statistics sent",
|
||||
"notSent": "Usage statistics are turned off, nothing was sent",
|
||||
"resetId": "Reset instance ID",
|
||||
"resetIdConfirm": "Reset the instance ID? Future reports will look like a new install.",
|
||||
"resetIdDone": "Instance ID reset",
|
||||
"previewTitle": "Next report",
|
||||
"previewDescription": "This is exactly what would be sent right now.",
|
||||
"close": "關閉",
|
||||
"loadFailed": "Could not load the usage statistics status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"id": "telemetry",
|
||||
"name": "Usage Statistics",
|
||||
"version": "1.0.0",
|
||||
"description": "Sends an anonymous daily summary of how Termix is used, to help decide what to work on next.",
|
||||
"author": {
|
||||
"name": "Termix"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/Termix-SSH/Termix",
|
||||
"category": "Monitoring",
|
||||
"icon": "ChartNoAxesColumn",
|
||||
"engine": {
|
||||
"termix": ">=2.9.0",
|
||||
"api": "1"
|
||||
},
|
||||
"capabilities": [
|
||||
"db:core-refs",
|
||||
"network:outbound",
|
||||
"network:serve",
|
||||
"events:core",
|
||||
"db:own",
|
||||
"kv:own",
|
||||
"plugins:read",
|
||||
"ui:surface"
|
||||
],
|
||||
"contributes": {
|
||||
"permissions": [
|
||||
{
|
||||
"name": "manage",
|
||||
"titleKey": "permissions.manage.title",
|
||||
"descriptionKey": "permissions.manage.description",
|
||||
"defaultRoles": ["admin"]
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"admin": [
|
||||
{
|
||||
"key": "status",
|
||||
"type": "custom",
|
||||
"component": "status",
|
||||
"permission": "manage"
|
||||
},
|
||||
{
|
||||
"key": "enabled",
|
||||
"type": "boolean",
|
||||
"labelKey": "settings.enabled.label",
|
||||
"descriptionKey": "settings.enabled.description",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"key": "includePlatform",
|
||||
"type": "boolean",
|
||||
"labelKey": "settings.includePlatform.label",
|
||||
"descriptionKey": "settings.includePlatform.description",
|
||||
"requires": "enabled",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"key": "includeFeatureUsage",
|
||||
"type": "boolean",
|
||||
"labelKey": "settings.includeFeatureUsage.label",
|
||||
"descriptionKey": "settings.includeFeatureUsage.description",
|
||||
"requires": "enabled",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"key": "includePlugins",
|
||||
"type": "boolean",
|
||||
"labelKey": "settings.includePlugins.label",
|
||||
"descriptionKey": "settings.includePlugins.description",
|
||||
"requires": "enabled",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"key": "instanceId",
|
||||
"type": "string",
|
||||
"labelKey": "settings.instanceId.label",
|
||||
"hidden": true,
|
||||
"default": ""
|
||||
}
|
||||
],
|
||||
"user": [
|
||||
{
|
||||
"key": "shareFeatureUsage",
|
||||
"type": "boolean",
|
||||
"labelKey": "settings.shareFeatureUsage.label",
|
||||
"descriptionKey": "settings.shareFeatureUsage.description",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"locales": "locales",
|
||||
"platforms": ["linux", "win32", "darwin"],
|
||||
"desktop": "server"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "@termix-plugin/telemetry",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "termix-plugin build",
|
||||
"test": "termix-plugin test",
|
||||
"typecheck": "tsc -p .",
|
||||
"validate": "termix-plugin validate"
|
||||
},
|
||||
"dependencies": {
|
||||
"drizzle-orm": "^0.45.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@termix/plugin-sdk": "^1.0.0",
|
||||
"@testing-library/dom": "^10.4.2",
|
||||
"@testing-library/react": "^16.3.3",
|
||||
"@types/node": "^26.2.0",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.4",
|
||||
"jsdom": "^30.0.1",
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@termix/plugin-sdk": "^1.0.0",
|
||||
"express": "^5.2.1",
|
||||
"react": "^19.2.8",
|
||||
"sonner": "^2.0.8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
import fs from "node:fs";
|
||||
import { randomUUID } from "node:crypto";
|
||||
import { sql } from "drizzle-orm";
|
||||
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
||||
import { envOverride } from "./config.js";
|
||||
import { usageProperty, type UsageCounts, type UsageStore } from "./usage.js";
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
// ctx.db hands back the server's own drizzle handle and tables, untyped.
|
||||
type Table = any;
|
||||
type Drizzle = any;
|
||||
/* eslint-enable @typescript-eslint/no-explicit-any */
|
||||
|
||||
export interface TelemetrySettings {
|
||||
enabled: boolean;
|
||||
includePlatform: boolean;
|
||||
includeFeatureUsage: boolean;
|
||||
includePlugins: boolean;
|
||||
instanceId: string;
|
||||
}
|
||||
|
||||
export interface TelemetryPayload {
|
||||
event: "instance_heartbeat";
|
||||
distinct_id: string;
|
||||
properties: Record<string, unknown>;
|
||||
}
|
||||
|
||||
type Env = Record<string, string | undefined>;
|
||||
|
||||
export async function readSettings(
|
||||
ctx: PluginContext,
|
||||
): Promise<TelemetrySettings> {
|
||||
const all = await ctx.settings.getAll("admin");
|
||||
return {
|
||||
enabled: all.enabled !== false,
|
||||
includePlatform: all.includePlatform !== false,
|
||||
includeFeatureUsage: all.includeFeatureUsage !== false,
|
||||
includePlugins: all.includePlugins !== false,
|
||||
instanceId: typeof all.instanceId === "string" ? all.instanceId : "",
|
||||
};
|
||||
}
|
||||
|
||||
/** The env variable decides when set, the admin switch otherwise. */
|
||||
export function isEnabled(settings: TelemetrySettings, env?: Env): boolean {
|
||||
return envOverride(env) ?? settings.enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Made on first use rather than on activate, so the boot copy of a 2.8
|
||||
* instance id is never shadowed by a new one.
|
||||
*/
|
||||
export async function ensureInstanceId(ctx: PluginContext): Promise<string> {
|
||||
const existing = await ctx.settings.get<string>("instanceId");
|
||||
if (existing) return existing;
|
||||
const id = randomUUID();
|
||||
await ctx.settings.set("instanceId", id);
|
||||
return id;
|
||||
}
|
||||
|
||||
export function detectDeployment(
|
||||
env: Env = process.env,
|
||||
exists: (path: string) => boolean = fs.existsSync,
|
||||
): "desktop" | "docker" | "server" {
|
||||
if (env.ELECTRON_EMBEDDED === "true") return "desktop";
|
||||
if (exists("/.dockerenv")) return "docker";
|
||||
return "server";
|
||||
}
|
||||
|
||||
async function countRows(ctx: PluginContext): Promise<{
|
||||
userCount: number;
|
||||
hostCount: number;
|
||||
}> {
|
||||
const { users, hosts } = await ctx.db.refs<{ users: Table; hosts: Table }>();
|
||||
const db = await ctx.db.client<Drizzle>();
|
||||
const count = async (table: Table) => {
|
||||
const rows = await db.select({ count: sql<number>`count(*)` }).from(table);
|
||||
return Number(rows[0]?.count ?? 0);
|
||||
};
|
||||
const [userCount, hostCount] = await Promise.all([
|
||||
count(users),
|
||||
count(hosts),
|
||||
]);
|
||||
return { userCount, hostCount };
|
||||
}
|
||||
|
||||
export interface BuiltPayload {
|
||||
payload: TelemetryPayload;
|
||||
/** The counts the payload carries, to subtract once it is sent. */
|
||||
usage: UsageCounts;
|
||||
}
|
||||
|
||||
export async function buildPayload(
|
||||
ctx: PluginContext,
|
||||
usage: UsageStore,
|
||||
env: Env = process.env,
|
||||
): Promise<BuiltPayload> {
|
||||
const settings = await readSettings(ctx);
|
||||
const distinctId = await ensureInstanceId(ctx);
|
||||
const { userCount, hostCount } = await countRows(ctx);
|
||||
|
||||
const properties: Record<string, unknown> = {
|
||||
version: env.VERSION || "unknown",
|
||||
user_count: userCount,
|
||||
host_count: hostCount,
|
||||
};
|
||||
|
||||
if (settings.includePlatform) {
|
||||
properties.os = process.platform;
|
||||
properties.arch = process.arch;
|
||||
properties.node_version = process.versions.node;
|
||||
properties.db_dialect = ctx.db.dialect;
|
||||
properties.deployment = detectDeployment(env);
|
||||
}
|
||||
|
||||
let carried: UsageCounts = {};
|
||||
if (settings.includeFeatureUsage) {
|
||||
carried = await usage.read();
|
||||
for (const [name, count] of Object.entries(carried)) {
|
||||
properties[usageProperty(name)] = count;
|
||||
}
|
||||
}
|
||||
|
||||
if (settings.includePlugins) {
|
||||
const running = (await ctx.plugins.list())
|
||||
.filter((plugin) => plugin.state === "active")
|
||||
.map((plugin) => plugin.id)
|
||||
.sort();
|
||||
properties.plugins_enabled = running;
|
||||
properties.plugin_count = running.length;
|
||||
}
|
||||
|
||||
return {
|
||||
payload: {
|
||||
event: "instance_heartbeat",
|
||||
distinct_id: distinctId,
|
||||
properties,
|
||||
},
|
||||
usage: carried,
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/** Public project key. Only lets a client send events, never read them. */
|
||||
export const DEFAULT_POSTHOG_API_KEY =
|
||||
"phc_xM8UznirsFxUkGE68gH4jzeqevf4kh76wGw7Ci7hH2dd";
|
||||
export const DEFAULT_POSTHOG_HOST = "https://us.i.posthog.com";
|
||||
|
||||
type Env = Record<string, string | undefined>;
|
||||
|
||||
/** ENABLE_TELEMETRY wins over the admin setting when set. */
|
||||
export function envOverride(env: Env = process.env): boolean | null {
|
||||
const value = env.ENABLE_TELEMETRY?.trim().toLowerCase();
|
||||
if (!value) return null;
|
||||
return value === "true";
|
||||
}
|
||||
|
||||
export function posthogConfig(env: Env = process.env): {
|
||||
apiKey: string;
|
||||
host: string;
|
||||
} {
|
||||
return {
|
||||
apiKey: env.POSTHOG_API_KEY?.trim() || DEFAULT_POSTHOG_API_KEY,
|
||||
host: (env.POSTHOG_HOST?.trim() || DEFAULT_POSTHOG_HOST).replace(
|
||||
/\/+$/,
|
||||
"",
|
||||
),
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
import type { Router } from "express";
|
||||
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
||||
import { envOverride } from "./config.js";
|
||||
import { isEnabled, readSettings } from "./collect.js";
|
||||
import { CHECK_INTERVAL_MS, createReporter } from "./reporter.js";
|
||||
import { registerRoutes } from "./routes.js";
|
||||
import { createUsageStore } from "./usage.js";
|
||||
|
||||
/** First check a few minutes after boot, once core's boot copies ran. */
|
||||
const FIRST_CHECK_DELAY_MS = 3 * 60 * 1000;
|
||||
|
||||
type Env = Record<string, string | undefined>;
|
||||
|
||||
export async function activateWith(ctx: PluginContext, env: Env) {
|
||||
const usage = createUsageStore(ctx.kv);
|
||||
const reporter = createReporter(ctx, usage, env);
|
||||
|
||||
const check = async () => {
|
||||
try {
|
||||
await reporter.send();
|
||||
} catch {
|
||||
// Logged by the reporter; the next check tries again.
|
||||
}
|
||||
};
|
||||
ctx.schedule.after(FIRST_CHECK_DELAY_MS, check);
|
||||
ctx.schedule.every(CHECK_INTERVAL_MS, check);
|
||||
|
||||
const countEvent = (feature: string) => async () => {
|
||||
const settings = await readSettings(ctx);
|
||||
if (isEnabled(settings, env) && settings.includeFeatureUsage) {
|
||||
await usage.add({ [feature]: 1 });
|
||||
}
|
||||
};
|
||||
const onLogin = countEvent("ssh_login");
|
||||
const onConnected = countEvent("host_connected");
|
||||
ctx.events.on("host.login", () => void onLogin().catch(() => undefined));
|
||||
ctx.events.on("host.session.status", (payload) => {
|
||||
if ((payload as { online?: boolean } | null)?.online) {
|
||||
void onConnected().catch(() => undefined);
|
||||
}
|
||||
});
|
||||
|
||||
ctx.settings.onValidate("admin", async (values) => {
|
||||
const locked = envOverride(env);
|
||||
if (locked === null || values.enabled === undefined) return;
|
||||
const stored = (await ctx.settings.get<boolean>("enabled")) !== false;
|
||||
if (values.enabled !== stored) {
|
||||
return {
|
||||
enabled:
|
||||
"This is set by the ENABLE_TELEMETRY environment variable and cannot be changed here.",
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
registerRoutes(ctx, ctx.http.router<Router>(), reporter, usage, env);
|
||||
return { reporter, usage };
|
||||
}
|
||||
|
||||
export async function activate(ctx: PluginContext) {
|
||||
await activateWith(ctx, process.env);
|
||||
}
|
||||
|
||||
export async function deactivate() {
|
||||
// Everything above was registered through ctx and is disposed by core.
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
import { randomUUID } from "node:crypto";
|
||||
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
||||
import { envOverride, posthogConfig } from "./config.js";
|
||||
import { buildPayload, isEnabled, readSettings } from "./collect.js";
|
||||
import type { UsageStore } from "./usage.js";
|
||||
|
||||
export const REPORT_INTERVAL_MS = 24 * 60 * 60 * 1000;
|
||||
/** Checked hourly, so a restart never skips or doubles a day. */
|
||||
export const CHECK_INTERVAL_MS = 60 * 60 * 1000;
|
||||
|
||||
const STATE_KEY = "state";
|
||||
|
||||
export interface ReporterState {
|
||||
lastSentAt: string | null;
|
||||
lastAttemptAt: string | null;
|
||||
lastError: string | null;
|
||||
}
|
||||
|
||||
export type SendResult =
|
||||
{ sent: true } | { sent: false; reason: "disabled" | "not-due" };
|
||||
|
||||
type Env = Record<string, string | undefined>;
|
||||
|
||||
export function createReporter(
|
||||
ctx: PluginContext,
|
||||
usage: UsageStore,
|
||||
env: Env = process.env,
|
||||
now: () => number = Date.now,
|
||||
) {
|
||||
async function state(): Promise<ReporterState> {
|
||||
const stored = (await ctx.kv.get(STATE_KEY)) as
|
||||
Partial<ReporterState> | undefined;
|
||||
return {
|
||||
lastSentAt: stored?.lastSentAt ?? null,
|
||||
lastAttemptAt: stored?.lastAttemptAt ?? null,
|
||||
lastError: stored?.lastError ?? null,
|
||||
};
|
||||
}
|
||||
|
||||
async function saveState(patch: Partial<ReporterState>) {
|
||||
await ctx.kv.set(STATE_KEY, { ...(await state()), ...patch });
|
||||
}
|
||||
|
||||
async function nextDueAt(): Promise<string | null> {
|
||||
const { lastSentAt } = await state();
|
||||
if (!lastSentAt) return null;
|
||||
return new Date(Date.parse(lastSentAt) + REPORT_INTERVAL_MS).toISOString();
|
||||
}
|
||||
|
||||
async function send(options: { force?: boolean } = {}): Promise<SendResult> {
|
||||
if (!isEnabled(await readSettings(ctx), env)) {
|
||||
return { sent: false, reason: "disabled" };
|
||||
}
|
||||
if (!options.force) {
|
||||
const due = await nextDueAt();
|
||||
if (due && Date.parse(due) > now()) {
|
||||
return { sent: false, reason: "not-due" };
|
||||
}
|
||||
}
|
||||
|
||||
const attemptAt = new Date(now()).toISOString();
|
||||
const { apiKey, host } = posthogConfig(env);
|
||||
try {
|
||||
const { payload, usage: carried } = await buildPayload(ctx, usage, env);
|
||||
const response = await ctx.fetch(`${host}/capture/`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ api_key: apiKey, ...payload }),
|
||||
timeoutMs: 10_000,
|
||||
});
|
||||
if (!response.ok) {
|
||||
throw new Error(`PostHog answered ${response.status}`);
|
||||
}
|
||||
await usage.subtract(carried);
|
||||
await saveState({
|
||||
lastSentAt: attemptAt,
|
||||
lastAttemptAt: attemptAt,
|
||||
lastError: null,
|
||||
});
|
||||
ctx.log.info("Sent daily usage statistics");
|
||||
return { sent: true };
|
||||
} catch (error) {
|
||||
const message = error instanceof Error ? error.message : String(error);
|
||||
await saveState({ lastAttemptAt: attemptAt, lastError: message });
|
||||
ctx.log.warn(`Could not send usage statistics: ${message}`);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
state,
|
||||
send,
|
||||
|
||||
async status() {
|
||||
const settings = await readSettings(ctx);
|
||||
return {
|
||||
enabled: isEnabled(settings, env),
|
||||
locked: envOverride(env) !== null,
|
||||
instanceId: settings.instanceId || null,
|
||||
nextDueAt: await nextDueAt(),
|
||||
...(await state()),
|
||||
};
|
||||
},
|
||||
|
||||
async preview() {
|
||||
return (await buildPayload(ctx, usage, env)).payload;
|
||||
},
|
||||
|
||||
async resetInstanceId(): Promise<string> {
|
||||
const id = randomUUID();
|
||||
await ctx.settings.set("instanceId", id);
|
||||
return id;
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export type Reporter = ReturnType<typeof createReporter>;
|
||||
@@ -0,0 +1,148 @@
|
||||
import type { Request, RequestHandler, Response, Router } from "express";
|
||||
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
||||
import { isEnabled, readSettings } from "./collect.js";
|
||||
import type { Reporter } from "./reporter.js";
|
||||
import { sanitizeUsage, type UsageStore } from "./usage.js";
|
||||
|
||||
/** Whether the signed-in user's feature usage should be counted. */
|
||||
export async function shouldTrackUser(
|
||||
ctx: PluginContext,
|
||||
userId: string | undefined,
|
||||
env?: Record<string, string | undefined>,
|
||||
): Promise<boolean> {
|
||||
if (!userId) return false;
|
||||
const settings = await readSettings(ctx);
|
||||
if (!isEnabled(settings, env) || !settings.includeFeatureUsage) return false;
|
||||
return (await ctx.settings.getUser(userId, "shareFeatureUsage")) !== false;
|
||||
}
|
||||
|
||||
export function registerRoutes(
|
||||
ctx: PluginContext,
|
||||
router: Router,
|
||||
reporter: Reporter,
|
||||
usage: UsageStore,
|
||||
env?: Record<string, string | undefined>,
|
||||
): void {
|
||||
const manage = ctx.rbac.require("manage") as unknown as RequestHandler;
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/status:
|
||||
* get:
|
||||
* summary: Usage statistics status
|
||||
* description: Whether usage statistics are sent, whether ENABLE_TELEMETRY locks that, the instance ID and the last attempt.
|
||||
* tags: [Usage Statistics]
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Status.
|
||||
* 403:
|
||||
* description: Missing the telemetry.manage permission.
|
||||
*/
|
||||
router.get("/status", manage, async (_req: Request, res: Response) => {
|
||||
res.json(await reporter.status());
|
||||
});
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/preview:
|
||||
* get:
|
||||
* summary: Preview the next report
|
||||
* description: The exact event that would be sent right now, without the API key.
|
||||
* tags: [Usage Statistics]
|
||||
* responses:
|
||||
* 200:
|
||||
* description: The event.
|
||||
* 403:
|
||||
* description: Missing the telemetry.manage permission.
|
||||
*/
|
||||
router.get("/preview", manage, async (_req: Request, res: Response) => {
|
||||
res.json(await reporter.preview());
|
||||
});
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/send:
|
||||
* post:
|
||||
* summary: Send usage statistics now
|
||||
* description: Sends the report straight away. Does nothing while usage statistics are turned off.
|
||||
* tags: [Usage Statistics]
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Whether a report was sent.
|
||||
* 403:
|
||||
* description: Missing the telemetry.manage permission.
|
||||
* 502:
|
||||
* description: The report could not be delivered.
|
||||
*/
|
||||
router.post("/send", manage, async (_req: Request, res: Response) => {
|
||||
try {
|
||||
res.json(await reporter.send({ force: true }));
|
||||
} catch (error) {
|
||||
res.status(502).json({
|
||||
error: error instanceof Error ? error.message : String(error),
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/reset-id:
|
||||
* post:
|
||||
* summary: Reset the instance ID
|
||||
* description: Picks a new random instance ID, so later reports look like a new install.
|
||||
* tags: [Usage Statistics]
|
||||
* responses:
|
||||
* 200:
|
||||
* description: The new ID.
|
||||
* 403:
|
||||
* description: Missing the telemetry.manage permission.
|
||||
*/
|
||||
router.post("/reset-id", manage, async (_req: Request, res: Response) => {
|
||||
res.json({ instanceId: await reporter.resetInstanceId() });
|
||||
});
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/usage/config:
|
||||
* get:
|
||||
* summary: Whether to count this user's feature usage
|
||||
* description: False when usage statistics or feature usage are off, or the user turned off their own part.
|
||||
* tags: [Usage Statistics]
|
||||
* responses:
|
||||
* 200:
|
||||
* description: "{ track: boolean }"
|
||||
*/
|
||||
router.get("/usage/config", async (_req: Request, res: Response) => {
|
||||
res.json({ track: await shouldTrackUser(ctx, ctx.currentActor(), env) });
|
||||
});
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/telemetry/usage:
|
||||
* post:
|
||||
* summary: Add feature usage counts
|
||||
* description: Counts from the signed-in user's browser, added to the next report. Ignored when this user is not counted. Names and counts are checked and capped.
|
||||
* tags: [Usage Statistics]
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* properties:
|
||||
* features:
|
||||
* type: object
|
||||
* additionalProperties:
|
||||
* type: integer
|
||||
* responses:
|
||||
* 204:
|
||||
* description: Recorded or ignored.
|
||||
*/
|
||||
router.post("/usage", async (req: Request, res: Response) => {
|
||||
if (await shouldTrackUser(ctx, ctx.currentActor(), env)) {
|
||||
const counts = sanitizeUsage(req.body?.features);
|
||||
if (Object.keys(counts).length > 0) await usage.add(counts);
|
||||
}
|
||||
res.status(204).end();
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
import type { PluginKeyValue } from "@termix/plugin-sdk/backend";
|
||||
|
||||
const USAGE_KEY = "usage";
|
||||
const FEATURE_NAME = /^[a-z][a-z0-9_.-]{0,63}$/;
|
||||
export const MAX_FEATURES = 100;
|
||||
const MAX_COUNT = 100_000;
|
||||
|
||||
export type UsageCounts = Record<string, number>;
|
||||
|
||||
/** Keeps valid names with positive whole counts, capped. */
|
||||
export function sanitizeUsage(input: unknown): UsageCounts {
|
||||
const clean: UsageCounts = {};
|
||||
if (!input || typeof input !== "object" || Array.isArray(input)) {
|
||||
return clean;
|
||||
}
|
||||
for (const [name, raw] of Object.entries(input)) {
|
||||
if (!FEATURE_NAME.test(name)) continue;
|
||||
const count = Math.floor(Number(raw));
|
||||
if (!Number.isFinite(count) || count <= 0) continue;
|
||||
clean[name] = Math.min(count, MAX_COUNT);
|
||||
if (Object.keys(clean).length >= MAX_FEATURES) break;
|
||||
}
|
||||
return clean;
|
||||
}
|
||||
|
||||
export function createUsageStore(kv: PluginKeyValue) {
|
||||
// One write at a time, so two requests never drop each other's counts.
|
||||
let queue: Promise<unknown> = Promise.resolve();
|
||||
const serial = <T>(fn: () => Promise<T>): Promise<T> => {
|
||||
const next = queue.then(fn, fn);
|
||||
queue = next.catch(() => undefined);
|
||||
return next;
|
||||
};
|
||||
|
||||
const read = async (): Promise<UsageCounts> =>
|
||||
sanitizeUsage(await kv.get(USAGE_KEY));
|
||||
|
||||
return {
|
||||
read,
|
||||
|
||||
add: (counts: UsageCounts) =>
|
||||
serial(async () => {
|
||||
const current = await read();
|
||||
for (const [name, count] of Object.entries(sanitizeUsage(counts))) {
|
||||
if (
|
||||
!(name in current) &&
|
||||
Object.keys(current).length >= MAX_FEATURES
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
current[name] = Math.min((current[name] ?? 0) + count, MAX_COUNT);
|
||||
}
|
||||
await kv.set(USAGE_KEY, current);
|
||||
}),
|
||||
|
||||
/** Drops what a successful report already carried. */
|
||||
subtract: (sent: UsageCounts) =>
|
||||
serial(async () => {
|
||||
const current = await read();
|
||||
for (const [name, count] of Object.entries(sent)) {
|
||||
const left = (current[name] ?? 0) - count;
|
||||
if (left > 0) current[name] = left;
|
||||
else delete current[name];
|
||||
}
|
||||
await kv.set(USAGE_KEY, current);
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
export type UsageStore = ReturnType<typeof createUsageStore>;
|
||||
|
||||
/** PostHog property name for a feature: used_tab_terminal. */
|
||||
export function usageProperty(name: string): string {
|
||||
return `used_${name.replace(/[.-]/g, "_")}`;
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
import { useCallback, useEffect, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import {
|
||||
usePluginApi,
|
||||
useTranslation,
|
||||
type SettingsComponentProps,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
import {
|
||||
Button,
|
||||
Dialog,
|
||||
DialogContent,
|
||||
DialogDescription,
|
||||
DialogFooter,
|
||||
DialogHeader,
|
||||
DialogTitle,
|
||||
useConfirmation,
|
||||
} from "@termix/plugin-sdk/ui";
|
||||
|
||||
export interface TelemetryStatus {
|
||||
enabled: boolean;
|
||||
locked: boolean;
|
||||
instanceId: string | null;
|
||||
lastSentAt: string | null;
|
||||
lastAttemptAt: string | null;
|
||||
lastError: string | null;
|
||||
nextDueAt: string | null;
|
||||
}
|
||||
|
||||
function errorMessage(error: unknown): string {
|
||||
const data = (error as { response?: { data?: { error?: string } } })?.response
|
||||
?.data;
|
||||
if (data?.error) return data.error;
|
||||
return error instanceof Error ? error.message : String(error);
|
||||
}
|
||||
|
||||
export function TelemetryStatusSetting({ running }: SettingsComponentProps) {
|
||||
const { t } = useTranslation();
|
||||
const api = usePluginApi();
|
||||
const { confirmWithToast } = useConfirmation();
|
||||
const [status, setStatus] = useState<TelemetryStatus | null>(null);
|
||||
const [sending, setSending] = useState(false);
|
||||
const [preview, setPreview] = useState<unknown>(null);
|
||||
|
||||
const load = useCallback(async () => {
|
||||
try {
|
||||
const { data } = await api.get<TelemetryStatus>("/status");
|
||||
setStatus(data);
|
||||
} catch {
|
||||
setStatus(null);
|
||||
toast.error(t("status.loadFailed"));
|
||||
}
|
||||
}, [api, t]);
|
||||
|
||||
useEffect(() => {
|
||||
if (running) void load();
|
||||
}, [running, load]);
|
||||
|
||||
async function sendNow() {
|
||||
setSending(true);
|
||||
try {
|
||||
const { data } = await api.post<{ sent: boolean }>("/send");
|
||||
if (data.sent) toast.success(t("status.sent"));
|
||||
else toast.info(t("status.notSent"));
|
||||
} catch (error) {
|
||||
toast.error(errorMessage(error));
|
||||
} finally {
|
||||
setSending(false);
|
||||
await load();
|
||||
}
|
||||
}
|
||||
|
||||
async function showPreview() {
|
||||
try {
|
||||
const { data } = await api.get("/preview");
|
||||
setPreview(data);
|
||||
} catch (error) {
|
||||
toast.error(errorMessage(error));
|
||||
}
|
||||
}
|
||||
|
||||
function resetId() {
|
||||
void confirmWithToast(t("status.resetIdConfirm"), async () => {
|
||||
try {
|
||||
await api.post("/reset-id");
|
||||
toast.success(t("status.resetIdDone"));
|
||||
await load();
|
||||
} catch (error) {
|
||||
toast.error(errorMessage(error));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
let summary = t("status.off");
|
||||
if (status?.locked) {
|
||||
summary = status.enabled ? t("status.lockedOn") : t("status.lockedOff");
|
||||
} else if (status?.enabled) {
|
||||
summary = t("status.on");
|
||||
}
|
||||
|
||||
const muted = "text-[10px] text-muted-foreground";
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-2 border border-border bg-background/50 p-2">
|
||||
<span className="text-xs font-medium">{t("status.title")}</span>
|
||||
{status && (
|
||||
<>
|
||||
<span className={muted}>{summary}</span>
|
||||
<span className={`${muted} break-all`}>
|
||||
{status.instanceId
|
||||
? t("status.instanceId", { id: status.instanceId })
|
||||
: t("status.noInstanceId")}
|
||||
</span>
|
||||
<span className={muted}>
|
||||
{status.lastSentAt
|
||||
? t("status.lastSent", {
|
||||
date: new Date(status.lastSentAt).toLocaleString(),
|
||||
})
|
||||
: t("status.neverSent")}
|
||||
</span>
|
||||
{status.enabled && status.nextDueAt && (
|
||||
<span className={muted}>
|
||||
{t("status.nextSend", {
|
||||
date: new Date(status.nextDueAt).toLocaleString(),
|
||||
})}
|
||||
</span>
|
||||
)}
|
||||
{status.lastError && (
|
||||
<span className="text-[10px] text-destructive">
|
||||
{t("status.lastError", { error: status.lastError })}
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rounded-none"
|
||||
disabled={!running}
|
||||
onClick={showPreview}
|
||||
>
|
||||
{t("status.preview")}
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rounded-none"
|
||||
disabled={!running || sending || !status?.enabled}
|
||||
onClick={sendNow}
|
||||
>
|
||||
{sending ? t("status.sending") : t("status.sendNow")}
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rounded-none"
|
||||
disabled={!running}
|
||||
onClick={resetId}
|
||||
>
|
||||
{t("status.resetId")}
|
||||
</Button>
|
||||
</div>
|
||||
<Dialog
|
||||
open={preview !== null}
|
||||
onOpenChange={(open) => !open && setPreview(null)}
|
||||
>
|
||||
<DialogContent className="rounded-none sm:max-w-2xl">
|
||||
<DialogHeader>
|
||||
<DialogTitle>{t("status.previewTitle")}</DialogTitle>
|
||||
<DialogDescription>
|
||||
{t("status.previewDescription")}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<pre className="max-h-[60vh] overflow-auto border border-border bg-muted/40 p-2 text-[11px]">
|
||||
{JSON.stringify(preview, null, 2)}
|
||||
</pre>
|
||||
<DialogFooter>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="rounded-none"
|
||||
onClick={() => setPreview(null)}
|
||||
>
|
||||
{t("status.close")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import type { TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
import { TelemetryStatusSetting } from "./TelemetryStatusSetting";
|
||||
import { startTabTracker } from "./tracker";
|
||||
|
||||
export function activate(app: TermixApp): void {
|
||||
app.registerSettingsComponent("status", TelemetryStatusSetting);
|
||||
if (!app.guest) app.onDispose(startTabTracker(app));
|
||||
}
|
||||
|
||||
export function deactivate(): void {
|
||||
// Registrations through app are disposed by core.
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
import type { TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
|
||||
export const FLUSH_INTERVAL_MS = 5 * 60 * 1000;
|
||||
|
||||
type Counts = Record<string, number>;
|
||||
|
||||
/** Open tabs per type. Slot ids change on every read, so only types count. */
|
||||
export function countTabTypes(layout: unknown): Counts {
|
||||
const tabs = (layout as { tabs?: unknown } | null)?.tabs;
|
||||
const counts: Counts = {};
|
||||
if (!Array.isArray(tabs)) return counts;
|
||||
for (const tab of tabs) {
|
||||
const type = (tab as { type?: unknown })?.type;
|
||||
if (typeof type === "string" && type)
|
||||
counts[type] = (counts[type] ?? 0) + 1;
|
||||
}
|
||||
return counts;
|
||||
}
|
||||
|
||||
/** Tabs opened between two snapshots, keyed as tab.<type>. */
|
||||
export function openedSince(before: Counts, after: Counts): Counts {
|
||||
const opened: Counts = {};
|
||||
for (const [type, count] of Object.entries(after)) {
|
||||
const added = count - (before[type] ?? 0);
|
||||
if (added > 0) opened[`tab.${type}`] = added;
|
||||
}
|
||||
return opened;
|
||||
}
|
||||
|
||||
/**
|
||||
* Counts which kinds of tabs the user opens and sends the totals to the
|
||||
* plugin's backend every few minutes. Does nothing unless the backend says
|
||||
* this user is counted.
|
||||
*/
|
||||
export function startTabTracker(
|
||||
app: TermixApp,
|
||||
flushMs: number = FLUSH_INTERVAL_MS,
|
||||
): () => void {
|
||||
let track = false;
|
||||
let ready = false;
|
||||
let previous: Counts = {};
|
||||
let pending: Counts = {};
|
||||
|
||||
const snapshot = () => countTabTypes(app.tabs.getLayout());
|
||||
|
||||
const refreshConfig = async () => {
|
||||
try {
|
||||
const { data } = await app.api.get<{ track?: boolean }>("/usage/config");
|
||||
track = data?.track === true;
|
||||
} catch {
|
||||
track = false;
|
||||
}
|
||||
if (!track) pending = {};
|
||||
};
|
||||
|
||||
const flush = (keepalive = false) => {
|
||||
if (!track || Object.keys(pending).length === 0) return;
|
||||
const features = pending;
|
||||
pending = {};
|
||||
void app
|
||||
.fetch("/usage", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ features }),
|
||||
keepalive,
|
||||
})
|
||||
.catch(() => undefined);
|
||||
};
|
||||
|
||||
const disposers: Array<() => void> = [];
|
||||
|
||||
disposers.push(
|
||||
app.tabs.onReady(() => {
|
||||
// Tabs restored after login were opened in an earlier session.
|
||||
previous = snapshot();
|
||||
ready = true;
|
||||
}),
|
||||
);
|
||||
|
||||
disposers.push(
|
||||
app.tabs.onChange(() => {
|
||||
const current = snapshot();
|
||||
if (ready && track) {
|
||||
for (const [name, count] of Object.entries(
|
||||
openedSince(previous, current),
|
||||
)) {
|
||||
pending[name] = (pending[name] ?? 0) + count;
|
||||
}
|
||||
}
|
||||
previous = current;
|
||||
}),
|
||||
);
|
||||
|
||||
disposers.push(app.onSettingsChanged(() => void refreshConfig()));
|
||||
|
||||
const timer = setInterval(() => flush(), flushMs);
|
||||
disposers.push(() => clearInterval(timer));
|
||||
|
||||
const onPageHide = () => flush(true);
|
||||
window.addEventListener("pagehide", onPageHide);
|
||||
disposers.push(() => window.removeEventListener("pagehide", onPageHide));
|
||||
|
||||
void refreshConfig();
|
||||
|
||||
return () => {
|
||||
flush(true);
|
||||
for (const dispose of disposers) dispose();
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,378 @@
|
||||
import http from "node:http";
|
||||
import type { AddressInfo } from "node:net";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import express, { type Router } from "express";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import {
|
||||
createMockCtx,
|
||||
createTestDb,
|
||||
type MockPluginContext,
|
||||
type TestDb,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
import type { PluginManifest } from "@termix/plugin-sdk/manifest";
|
||||
import manifestJson from "../../manifest.json";
|
||||
import { activateWith } from "../../src/backend/index.js";
|
||||
import {
|
||||
DEFAULT_POSTHOG_API_KEY,
|
||||
envOverride,
|
||||
posthogConfig,
|
||||
} from "../../src/backend/config.js";
|
||||
import { detectDeployment } from "../../src/backend/collect.js";
|
||||
import {
|
||||
MAX_FEATURES,
|
||||
sanitizeUsage,
|
||||
usageProperty,
|
||||
} from "../../src/backend/usage.js";
|
||||
import { CHECK_INTERVAL_MS } from "../../src/backend/reporter.js";
|
||||
|
||||
const manifest = manifestJson as unknown as PluginManifest;
|
||||
const pluginDir = fileURLToPath(new URL("../..", import.meta.url));
|
||||
|
||||
interface Sent {
|
||||
url: string;
|
||||
body: Record<string, unknown> & { properties: Record<string, unknown> };
|
||||
}
|
||||
|
||||
let cleanup: Array<() => Promise<void> | void> = [];
|
||||
|
||||
afterEach(async () => {
|
||||
for (const fn of cleanup) await fn();
|
||||
cleanup = [];
|
||||
});
|
||||
|
||||
async function setup(
|
||||
options: {
|
||||
settings?: Record<string, unknown>;
|
||||
env?: Record<string, string | undefined>;
|
||||
permissions?: string[];
|
||||
status?: number;
|
||||
} = {},
|
||||
) {
|
||||
const db: TestDb = await createTestDb(pluginDir);
|
||||
db.sqlite
|
||||
.prepare("INSERT INTO users (id, username) VALUES (?, ?)")
|
||||
.run("u1", "u1");
|
||||
db.sqlite
|
||||
.prepare("INSERT INTO users (id, username) VALUES (?, ?)")
|
||||
.run("u2", "u2");
|
||||
db.sqlite.prepare("INSERT INTO ssh_data (id) VALUES (?)").run(1);
|
||||
|
||||
const sent: Sent[] = [];
|
||||
let router: Router | null = null;
|
||||
const mock: MockPluginContext = createMockCtx({
|
||||
pluginId: manifest.id,
|
||||
manifest,
|
||||
capabilities: manifest.capabilities,
|
||||
db: db.database,
|
||||
router: () => (router = express.Router()),
|
||||
settings: options.settings,
|
||||
permissions: options.permissions ?? ["manage"],
|
||||
installedPlugins: [
|
||||
{ id: "telemetry", version: "1.0.0", source: "bundled", state: "active" },
|
||||
{ id: "docker", version: "1.0.0", source: "bundled", state: "active" },
|
||||
{ id: "serial", version: "1.0.0", source: "bundled", state: "stopped" },
|
||||
],
|
||||
fetch: async (url, init) => {
|
||||
sent.push({ url, body: JSON.parse(String(init?.body)) });
|
||||
return new Response("{}", { status: options.status ?? 200 });
|
||||
},
|
||||
});
|
||||
mock.setActor("u1");
|
||||
|
||||
const env = { VERSION: "2.9.0", ...options.env };
|
||||
const { reporter, usage } = await activateWith(mock.ctx, env);
|
||||
|
||||
const app = express();
|
||||
app.use(express.json());
|
||||
app.use((req, _res, next) => {
|
||||
mock.setActor(req.header("x-test-user") ?? "u1");
|
||||
next();
|
||||
});
|
||||
app.use((req, res, next) => router!(req, res, next));
|
||||
const server = http.createServer(app);
|
||||
await new Promise<void>((resolve) => server.listen(0, resolve));
|
||||
const { port } = server.address() as AddressInfo;
|
||||
cleanup.push(
|
||||
() => new Promise<void>((resolve) => server.close(() => resolve())),
|
||||
() => db.close(),
|
||||
);
|
||||
|
||||
const call = async (
|
||||
method: string,
|
||||
path: string,
|
||||
body?: unknown,
|
||||
user = "u1",
|
||||
) => {
|
||||
const response = await fetch(`http://127.0.0.1:${port}${path}`, {
|
||||
method,
|
||||
headers: {
|
||||
"x-test-user": user,
|
||||
...(body !== undefined ? { "content-type": "application/json" } : {}),
|
||||
},
|
||||
body: body !== undefined ? JSON.stringify(body) : undefined,
|
||||
});
|
||||
const text = await response.text();
|
||||
return { status: response.status, body: text ? JSON.parse(text) : null };
|
||||
};
|
||||
|
||||
return { mock, reporter, usage, sent, call };
|
||||
}
|
||||
|
||||
describe("config", () => {
|
||||
it("reads ENABLE_TELEMETRY as a lock only when set", () => {
|
||||
expect(envOverride({})).toBeNull();
|
||||
expect(envOverride({ ENABLE_TELEMETRY: " " })).toBeNull();
|
||||
expect(envOverride({ ENABLE_TELEMETRY: "TRUE" })).toBe(true);
|
||||
expect(envOverride({ ENABLE_TELEMETRY: "false" })).toBe(false);
|
||||
expect(envOverride({ ENABLE_TELEMETRY: "no" })).toBe(false);
|
||||
});
|
||||
|
||||
it("uses the embedded key unless the env sets one", () => {
|
||||
expect(posthogConfig({})).toEqual({
|
||||
apiKey: DEFAULT_POSTHOG_API_KEY,
|
||||
host: "https://us.i.posthog.com",
|
||||
});
|
||||
expect(
|
||||
posthogConfig({
|
||||
POSTHOG_API_KEY: "k",
|
||||
POSTHOG_HOST: "https://ph.local/",
|
||||
}),
|
||||
).toEqual({ apiKey: "k", host: "https://ph.local" });
|
||||
});
|
||||
|
||||
it("detects how Termix runs", () => {
|
||||
expect(detectDeployment({ ELECTRON_EMBEDDED: "true" }, () => true)).toBe(
|
||||
"desktop",
|
||||
);
|
||||
expect(detectDeployment({}, () => true)).toBe("docker");
|
||||
expect(detectDeployment({}, () => false)).toBe("server");
|
||||
});
|
||||
});
|
||||
|
||||
describe("usage counts", () => {
|
||||
it("keeps valid names and positive whole counts", () => {
|
||||
expect(
|
||||
sanitizeUsage({
|
||||
"tab.terminal": 2.7,
|
||||
"Bad Name": 1,
|
||||
zero: 0,
|
||||
neg: -3,
|
||||
nan: "x",
|
||||
big: 1e9,
|
||||
}),
|
||||
).toEqual({ "tab.terminal": 2, big: 100_000 });
|
||||
expect(sanitizeUsage(null)).toEqual({});
|
||||
expect(sanitizeUsage([1])).toEqual({});
|
||||
});
|
||||
|
||||
it("caps the number of features", () => {
|
||||
const many = Object.fromEntries(
|
||||
Array.from({ length: MAX_FEATURES + 20 }, (_, i) => [`f${i}`, 1]),
|
||||
);
|
||||
expect(Object.keys(sanitizeUsage(many))).toHaveLength(MAX_FEATURES);
|
||||
});
|
||||
|
||||
it("maps a feature to a property name", () => {
|
||||
expect(usageProperty("tab.file-manager")).toBe("used_tab_file_manager");
|
||||
});
|
||||
});
|
||||
|
||||
describe("reporting", () => {
|
||||
it("sends a full report with every section on", async () => {
|
||||
const { mock, usage, sent } = await setup();
|
||||
await usage.add({ "tab.terminal": 3 });
|
||||
mock.ctx.events.emit("host.login", { hostId: 1 });
|
||||
mock.ctx.events.emit("host.session.status", { hostId: 1, online: true });
|
||||
mock.ctx.events.emit("host.session.status", { hostId: 1, online: false });
|
||||
await vi.waitFor(async () =>
|
||||
expect(await usage.read()).toMatchObject({
|
||||
ssh_login: 1,
|
||||
host_connected: 1,
|
||||
}),
|
||||
);
|
||||
|
||||
await mock.runScheduled();
|
||||
|
||||
expect(sent).toHaveLength(1);
|
||||
const { url, body } = sent[0];
|
||||
expect(url).toBe("https://us.i.posthog.com/capture/");
|
||||
expect(body.api_key).toBe(DEFAULT_POSTHOG_API_KEY);
|
||||
expect(body.event).toBe("instance_heartbeat");
|
||||
expect(typeof body.distinct_id).toBe("string");
|
||||
expect(body.properties).toMatchObject({
|
||||
version: "2.9.0",
|
||||
user_count: 2,
|
||||
host_count: 1,
|
||||
os: process.platform,
|
||||
arch: process.arch,
|
||||
db_dialect: "sqlite",
|
||||
used_tab_terminal: 3,
|
||||
used_ssh_login: 1,
|
||||
used_host_connected: 1,
|
||||
plugins_enabled: ["docker", "telemetry"],
|
||||
plugin_count: 2,
|
||||
});
|
||||
expect(await usage.read()).toEqual({});
|
||||
});
|
||||
|
||||
it("checks hourly and sends at most once a day", async () => {
|
||||
const { mock, sent } = await setup();
|
||||
expect(mock.scheduled.find((job) => job.kind === "every")?.ms).toBe(
|
||||
CHECK_INTERVAL_MS,
|
||||
);
|
||||
await mock.runScheduled();
|
||||
await mock.runScheduled();
|
||||
expect(sent).toHaveLength(1);
|
||||
});
|
||||
|
||||
it("leaves out each section when its switch is off", async () => {
|
||||
const { mock, usage, sent } = await setup({
|
||||
settings: {
|
||||
includePlatform: false,
|
||||
includeFeatureUsage: false,
|
||||
includePlugins: false,
|
||||
},
|
||||
});
|
||||
await usage.add({ "tab.terminal": 1 });
|
||||
await mock.runScheduled();
|
||||
expect(Object.keys(sent[0].body.properties).sort()).toEqual([
|
||||
"host_count",
|
||||
"user_count",
|
||||
"version",
|
||||
]);
|
||||
expect(await usage.read()).toEqual({ "tab.terminal": 1 });
|
||||
});
|
||||
|
||||
it("sends nothing and counts nothing while turned off", async () => {
|
||||
const { mock, usage, sent } = await setup({ settings: { enabled: false } });
|
||||
mock.ctx.events.emit("host.login", { hostId: 1 });
|
||||
await mock.runScheduled();
|
||||
expect(sent).toEqual([]);
|
||||
expect(await usage.read()).toEqual({});
|
||||
});
|
||||
|
||||
it("lets ENABLE_TELEMETRY win over the admin switch", async () => {
|
||||
const off = await setup({ env: { ENABLE_TELEMETRY: "false" } });
|
||||
await off.mock.runScheduled();
|
||||
expect(off.sent).toEqual([]);
|
||||
|
||||
const on = await setup({
|
||||
settings: { enabled: false },
|
||||
env: { ENABLE_TELEMETRY: "true" },
|
||||
});
|
||||
await on.mock.runScheduled();
|
||||
expect(on.sent).toHaveLength(1);
|
||||
});
|
||||
|
||||
it("keeps the 2.8 instance id", async () => {
|
||||
const { mock, sent } = await setup({
|
||||
settings: { instanceId: "legacy-id" },
|
||||
});
|
||||
await mock.runScheduled();
|
||||
expect(sent[0].body.distinct_id).toBe("legacy-id");
|
||||
});
|
||||
|
||||
it("records a failed send and keeps the counts", async () => {
|
||||
const { mock, reporter, usage, sent } = await setup({ status: 500 });
|
||||
await usage.add({ "tab.terminal": 1 });
|
||||
await mock.runScheduled();
|
||||
expect(sent.length).toBeGreaterThan(0);
|
||||
const state = await reporter.state();
|
||||
expect(state.lastError).toBe("PostHog answered 500");
|
||||
expect(state.lastSentAt).toBeNull();
|
||||
expect(await usage.read()).toEqual({ "tab.terminal": 1 });
|
||||
});
|
||||
|
||||
it("refuses a change to the switch while ENABLE_TELEMETRY locks it", async () => {
|
||||
const locked = await setup({ env: { ENABLE_TELEMETRY: "true" } });
|
||||
expect(
|
||||
await locked.mock.validateSettings("admin", { enabled: false }),
|
||||
).toHaveProperty("enabled");
|
||||
expect(
|
||||
await locked.mock.validateSettings("admin", { enabled: true }),
|
||||
).not.toHaveProperty("enabled");
|
||||
|
||||
const free = await setup();
|
||||
expect(
|
||||
await free.mock.validateSettings("admin", { enabled: false }),
|
||||
).not.toHaveProperty("enabled");
|
||||
});
|
||||
});
|
||||
|
||||
describe("routes", () => {
|
||||
it("serves status, preview, send and reset to a manager", async () => {
|
||||
const { call, sent } = await setup();
|
||||
|
||||
const preview = await call("GET", "/preview");
|
||||
expect(preview.status).toBe(200);
|
||||
expect(preview.body.event).toBe("instance_heartbeat");
|
||||
expect(preview.body).not.toHaveProperty("api_key");
|
||||
expect(sent).toEqual([]);
|
||||
|
||||
expect((await call("POST", "/send")).body).toEqual({ sent: true });
|
||||
const status = await call("GET", "/status");
|
||||
expect(status.body).toMatchObject({
|
||||
enabled: true,
|
||||
locked: false,
|
||||
lastError: null,
|
||||
});
|
||||
expect(status.body.lastSentAt).toBeTruthy();
|
||||
expect(status.body.nextDueAt).toBeTruthy();
|
||||
|
||||
const before = status.body.instanceId;
|
||||
const reset = await call("POST", "/reset-id");
|
||||
expect(reset.body.instanceId).not.toBe(before);
|
||||
});
|
||||
|
||||
it("answers 502 when the report cannot be delivered", async () => {
|
||||
const { call } = await setup({ status: 503 });
|
||||
const response = await call("POST", "/send");
|
||||
expect(response.status).toBe(502);
|
||||
expect(response.body.error).toBe("PostHog answered 503");
|
||||
});
|
||||
|
||||
it("keeps the admin routes from users without manage", async () => {
|
||||
const { call } = await setup({ permissions: [] });
|
||||
for (const [method, path] of [
|
||||
["GET", "/status"],
|
||||
["GET", "/preview"],
|
||||
["POST", "/send"],
|
||||
["POST", "/reset-id"],
|
||||
]) {
|
||||
expect((await call(method, path)).status).toBe(403);
|
||||
}
|
||||
expect((await call("GET", "/usage/config")).status).toBe(200);
|
||||
});
|
||||
|
||||
it("records usage only for users who are counted", async () => {
|
||||
const { mock, call, usage } = await setup({ permissions: [] });
|
||||
expect((await call("GET", "/usage/config")).body).toEqual({ track: true });
|
||||
|
||||
await call("POST", "/usage", {
|
||||
features: { "tab.terminal": 2, "BAD!": 5 },
|
||||
});
|
||||
expect(await usage.read()).toEqual({ "tab.terminal": 2 });
|
||||
|
||||
await mock.ctx.settings.setUser("u2", "shareFeatureUsage", false);
|
||||
expect((await call("GET", "/usage/config", undefined, "u2")).body).toEqual({
|
||||
track: false,
|
||||
});
|
||||
const ignored = await call(
|
||||
"POST",
|
||||
"/usage",
|
||||
{ features: { "tab.terminal": 9 } },
|
||||
"u2",
|
||||
);
|
||||
expect(ignored.status).toBe(204);
|
||||
expect(await usage.read()).toEqual({ "tab.terminal": 2 });
|
||||
});
|
||||
|
||||
it("counts nobody while feature usage is off", async () => {
|
||||
const { call, usage } = await setup({
|
||||
settings: { includeFeatureUsage: false },
|
||||
});
|
||||
expect((await call("GET", "/usage/config")).body).toEqual({ track: false });
|
||||
await call("POST", "/usage", { features: { "tab.terminal": 1 } });
|
||||
expect(await usage.read()).toEqual({});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,193 @@
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import { render, screen, waitFor } from "@testing-library/react";
|
||||
import {
|
||||
renderWithApp,
|
||||
type RenderedPluginApp,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
import type { PluginApiClient, TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
import type { PluginManifest } from "@termix/plugin-sdk/manifest";
|
||||
import * as plugin from "../../src/frontend/index";
|
||||
import {
|
||||
countTabTypes,
|
||||
openedSince,
|
||||
startTabTracker,
|
||||
} from "../../src/frontend/tracker";
|
||||
import manifestJson from "../../manifest.json";
|
||||
import locales from "../../locales/en.json";
|
||||
|
||||
const api = vi.hoisted(() => ({
|
||||
get: vi.fn(),
|
||||
post: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("@termix/plugin-sdk/frontend", async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import("@termix/plugin-sdk/frontend")>()),
|
||||
useTranslation: () => ({
|
||||
t: (key: string, values?: Record<string, string>) =>
|
||||
values ? `${key} ${Object.values(values).join(" ")}` : key,
|
||||
}),
|
||||
usePluginApi: () => api,
|
||||
}));
|
||||
|
||||
const { TelemetryStatusSetting } =
|
||||
await import("../../src/frontend/TelemetryStatusSetting");
|
||||
|
||||
const manifest = manifestJson as unknown as PluginManifest;
|
||||
|
||||
let rendered: RenderedPluginApp | null = null;
|
||||
|
||||
afterEach(async () => {
|
||||
await rendered?.deactivate();
|
||||
rendered = null;
|
||||
api.get.mockReset();
|
||||
api.post.mockReset();
|
||||
vi.useRealTimers();
|
||||
});
|
||||
|
||||
function fakeApp(track: boolean) {
|
||||
let layout: unknown = { version: 1, tabs: [] };
|
||||
let onChange: () => void = () => undefined;
|
||||
const posts: unknown[] = [];
|
||||
const app = {
|
||||
api: {
|
||||
get: vi.fn(async () => ({ data: { track } })),
|
||||
},
|
||||
fetch: vi.fn(async (_path: string, init?: RequestInit) => {
|
||||
posts.push(JSON.parse(String(init?.body)));
|
||||
return new Response(null, { status: 204 });
|
||||
}),
|
||||
tabs: {
|
||||
getLayout: () => layout,
|
||||
onReady: (listener: () => void) => {
|
||||
listener();
|
||||
return () => undefined;
|
||||
},
|
||||
onChange: (listener: () => void) => {
|
||||
onChange = listener;
|
||||
return () => undefined;
|
||||
},
|
||||
},
|
||||
onSettingsChanged: () => () => undefined,
|
||||
} as unknown as TermixApp;
|
||||
return {
|
||||
app,
|
||||
posts,
|
||||
setTabs(types: string[]) {
|
||||
layout = { version: 1, tabs: types.map((type) => ({ type })) };
|
||||
onChange();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
describe("tab counting", () => {
|
||||
it("counts tabs per type and the ones opened since", () => {
|
||||
const before = countTabTypes({
|
||||
tabs: [{ type: "terminal" }, { type: "terminal" }, { type: "docker" }],
|
||||
});
|
||||
expect(before).toEqual({ terminal: 2, docker: 1 });
|
||||
expect(countTabTypes(null)).toEqual({});
|
||||
expect(
|
||||
openedSince(before, { terminal: 3, docker: 0, "file-manager": 1 }),
|
||||
).toEqual({ "tab.terminal": 1, "tab.file-manager": 1 });
|
||||
});
|
||||
});
|
||||
|
||||
describe("startTabTracker", () => {
|
||||
it("sends newly opened tabs on the timer", async () => {
|
||||
vi.useFakeTimers();
|
||||
const fake = fakeApp(true);
|
||||
const stop = startTabTracker(fake.app, 1000);
|
||||
await vi.waitFor(() => expect(fake.app.api.get).toHaveBeenCalled());
|
||||
await Promise.resolve();
|
||||
|
||||
fake.setTabs(["terminal"]);
|
||||
fake.setTabs(["terminal", "terminal", "docker"]);
|
||||
fake.setTabs(["docker"]);
|
||||
await vi.advanceTimersByTimeAsync(1000);
|
||||
|
||||
expect(fake.posts).toEqual([
|
||||
{ features: { "tab.terminal": 2, "tab.docker": 1 } },
|
||||
]);
|
||||
|
||||
await vi.advanceTimersByTimeAsync(1000);
|
||||
expect(fake.posts).toHaveLength(1);
|
||||
stop();
|
||||
});
|
||||
|
||||
it("sends nothing for a user who is not counted", async () => {
|
||||
vi.useFakeTimers();
|
||||
const fake = fakeApp(false);
|
||||
const stop = startTabTracker(fake.app, 1000);
|
||||
await vi.waitFor(() => expect(fake.app.api.get).toHaveBeenCalled());
|
||||
fake.setTabs(["terminal"]);
|
||||
await vi.advanceTimersByTimeAsync(1000);
|
||||
stop();
|
||||
expect(fake.posts).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("telemetry activate", () => {
|
||||
it("registers the status component and removes it on deactivate", async () => {
|
||||
api.get.mockResolvedValue({ data: { track: false } });
|
||||
rendered = await renderWithApp(plugin, {
|
||||
manifest,
|
||||
locales,
|
||||
api: api as unknown as PluginApiClient,
|
||||
});
|
||||
expect(rendered.registered.settingsComponents()).toEqual(["status"]);
|
||||
await rendered.deactivate();
|
||||
expect(rendered.registered.settingsComponents()).toEqual([]);
|
||||
rendered = null;
|
||||
});
|
||||
});
|
||||
|
||||
describe("TelemetryStatusSetting", () => {
|
||||
const props = {
|
||||
pluginId: "telemetry",
|
||||
values: {},
|
||||
setValue: () => undefined,
|
||||
running: true,
|
||||
};
|
||||
|
||||
it("shows the state, instance id and last error", async () => {
|
||||
api.get.mockResolvedValue({
|
||||
data: {
|
||||
enabled: true,
|
||||
locked: false,
|
||||
instanceId: "abc-123",
|
||||
lastSentAt: null,
|
||||
lastAttemptAt: "2026-09-30T00:00:00.000Z",
|
||||
lastError: "PostHog answered 500",
|
||||
nextDueAt: null,
|
||||
},
|
||||
});
|
||||
render(<TelemetryStatusSetting {...props} />);
|
||||
await waitFor(() => expect(screen.getByText("status.on")).toBeTruthy());
|
||||
expect(screen.getByText("status.instanceId abc-123")).toBeTruthy();
|
||||
expect(screen.getByText("status.neverSent")).toBeTruthy();
|
||||
expect(
|
||||
screen.getByText("status.lastError PostHog answered 500"),
|
||||
).toBeTruthy();
|
||||
});
|
||||
|
||||
it("says when ENABLE_TELEMETRY locks it off", async () => {
|
||||
api.get.mockResolvedValue({
|
||||
data: {
|
||||
enabled: false,
|
||||
locked: true,
|
||||
instanceId: null,
|
||||
lastSentAt: null,
|
||||
lastAttemptAt: null,
|
||||
lastError: null,
|
||||
nextDueAt: null,
|
||||
},
|
||||
});
|
||||
render(<TelemetryStatusSetting {...props} />);
|
||||
await waitFor(() =>
|
||||
expect(screen.getByText("status.lockedOff")).toBeTruthy(),
|
||||
);
|
||||
expect(
|
||||
(screen.getByText("status.sendNow") as HTMLButtonElement).disabled,
|
||||
).toBe(true);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "@termix/plugin-sdk/tsconfig.plugin.json",
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "tests/**/*.ts", "tests/**/*.tsx"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import { pluginVitestConfig } from "@termix/plugin-sdk/vitest-preset";
|
||||
|
||||
export default pluginVitestConfig(import.meta.url);
|
||||
Reference in new issue
Block a user