Commit Graph
2910 Commits
Author SHA1 Message Date
Grzegorz Zdunek b912aa6f44 [v17] August Dependabot JS updates (#69599)
* Bump msw-storybook-addon from 2.0.7 to 3.0.0 (#69261)

* Bump oxfmt and oxlint

* Update electron, electron-builder, node-pty, Node.js, and pnpm (#69424)
2026-08-13 14:25:35 +00:00
Grzegorz Zdunek 9d91b3f621 Remove old IronRDP artifcats cleanup (#69361) 2026-08-06 09:10:49 +00:00
Steven Martin e961478d39 ui: include SPIFFE Federation audit event codes to display in audit log (#68937) 2026-07-24 16:09:59 +00:00
Steven Martin e7dd9244b7 Fix role creation in GitHub Actions + SSH show (#68530) 2026-07-10 11:28:18 +00:00
Steven Martin fc36ada9c3 ui: include --format=text for tctl tokens add instructions (#67828) 2026-07-10 08:35:48 +00:00
Maja Cieślak a32afe40de Deprecate async state hooks (#67428)
* Deprecate async state hooks

* Ban imports of async state hooks across packages

* Exempt legacy call sites from the ban

* Update RFD 197's number and state
2026-07-08 11:17:09 +00:00
Taras 4c39815e39 web: Update IAM join token assumed-role arn placeholder (#68135) 2026-07-02 15:45:42 +00:00
Grzegorz Zdunek 7153ae6c75 [v17] Bump electron, electron-updater, electron-builder, node-pty, Node.js, and pnpm (#68238)
* Bump Node.js to 24.18.0

* Bump pnpm to 11.9.0

* Bump `electron` to 42.5.0

* Bump `node-pty` to 1.2.0-beta.14

* Bump `electron-builder` to 26.15.6

* Bump `electron-updater` to 6.8.9

* Update `after-remove.sh.tmpl`
2026-07-01 10:31:21 +00:00
Maja Cieślak 3eb2fd869e [v17] Fix flaky vnetContext.test.tsx (#67048)
* Make `VnetContext` tests depend on action order rather than no of calls

* Explain the idea behind acknowledgement/dismissal being "sticky"

* Update Jest mock outside of `act`
2026-07-01 08:46:29 +00:00
Brian Joerger 0df7566e48 Fix SSO MFA not working for reusable Admin Action MFA requests in the WebUI when it's the only second factor (#67142) (#67869)
* - Update Proxy to send 'second_factors' instead of 'second_factor' to the WebUI, with backwards compatiblity logic.
- Use new 'second_factors' field to accurately determine if Admin MFA is required; Fallback to prompting for a challenge if 'second_factors' is unset.

* Mock getMfaChallengeResponseForAdminAction in tests.
2026-06-26 17:06:36 +00:00
Grzegorz Zdunek e07a729d1e [v17] Connect: Fix progress reporting for empty file uploads (#67926)
* Do not divide by zero

* Prevent `TerminalAddonsContainer` from taking more than 500px width
2026-06-19 08:43:39 +00:00
Maja Cieślak 212f469444 Add missing type modifier to ResourceIconName import (#67717) 2026-06-17 11:23:23 +00:00
Jake Alti b4ae7a7abe Add proxy verb to kubernetes_resources (#67583) (#67609)
* Add proxy verb to kubernetes_resources

* Preserve upstream kube Status code in forwarder

* Readable comment

* Strip [scheme:]name[:port] on kube proxy paths

* Use SplitSchemeNamePort from k8s apimachinery
2026-06-10 20:33:59 +00:00
Maja Cieślak 2620a5e0c1 [v17] Bump oxc packages (#67439)
* Bump oxc packages

* Remove unused oxlint-disable directives

* `pnpm format`
2026-06-04 15:01:00 +00:00
Grzegorz Zdunek c864771d8a [v17] Connect: Improve error message for pre-v17 clusters that may not advertise tools version (#67380)
* Connect: Improve error message for pre-v17 clusters that may not advertise tools version

* Drop `advertised an empty tools version`

* Adjust test to v17
2026-06-03 09:54:25 +00:00
Kenneth 0c9a4f0d91 Remove device enrollment limits (#64226) (#66299)
- Deprecate DevicesUsage field
- Remove DevicesUsage proto field
2026-06-02 17:41:32 +00:00
Grzegorz Zdunek a62b799735 [v17] Connect: harden osascripts (#67229)
* Harden osascripts for installing/removing tsh

* Harden osascript for VNet setup
2026-06-01 09:13:33 +00:00
Grzegorz Zdunek 6907dbefa6 Connect: Do not leak last terminal input in logs (#67049) (#67173)
* Do not leak `lastInput` in logs

* Security hardening: use `execFile` instead of `exec`

(cherry picked from commit f06d535d8d)
2026-05-28 15:15:13 +00:00
Grzegorz Zdunek c42fdc46f1 [v17] Update pnpm to 11.3, Node.js to 24.16, electron to 42.2, electron-builder to 26.11.1 (#67171)
* Update `pnpm` to 11.3, Node.js to 24.16, `electron` to 42.2, `electron-builder` to 26.11.1 (#66516)

* Apply `pnpx codemod run pnpm-v10-to-v11`

* Remove `eslint` hoisting, it's in the root package.json anyway

* `pnpm install`

* Bump Node.js to 24.15

* Bump pnpm to 11.1.1

* Update pnpm to 11.3.0

* Update `electron` to 42.2.0, `electron-builder` to 26.11.1

* Update `node-abi` to 4.31.0

* Override `yauzl` to workaround Electron not being installed on Node.js 24.16

* Update Node.js to 24.16

* Bump Playwright to 1.60.0

(cherry picked from commit 564779cdc0)

* Update lockfile

* Move `overrides` from package.json to pnpm-workspace.yaml

* Update `node-abi` to 4.31.0
2026-05-28 14:56:49 +00:00
Maja 37f4230530 webclient: Check Content-Type before parsing non-200 ping response (#66706) (#66713)
* webclient: Check Content-Type before parsing non-200 ping response

* ClusterLogin: Replace "cluster auth preferences" with "authentication methods"
2026-05-13 17:31:36 +00:00
Maja 3f8b57722a Re-export everything from Icon, add IconComponentType (#66055) 2026-05-12 14:12:19 +00:00
Grzegorz Zdunek f407350701 Discover: do not prompt when leaving Connect My Computer (#66566) 2026-05-08 18:39:52 +00:00
Julia Ogris dcd2e3a2f1 [v17] app: Preserve URL fragment through auth redirect (#66461) 2026-05-07 23:18:05 +00:00
Maja b560950d49 [v17] Update oxfmt and oxlint (#66515)
* Update oxfmt and oxlint

* Run `pnpm format`
2026-05-07 22:33:14 +00:00
Grzegorz Zdunek 6c506fc2e8 [v17] Connect: attempt to fix ETIMEDOUT error on launch (#66510)
* Add `waitForReady` to `updateTshdEventsServerAddress`

* Properly render error message
2026-05-07 12:37:10 +00:00
KennethandZac Bergquist fc51204878 Remove web recommended features (#64794) (#66164)
Removes some localStorage types that are no longer necessary after
gravitational/teleport.e#8314.

Co-authored-by: Zac Bergquist <[email protected]>
2026-04-29 18:16:03 +00:00
Grzegorz Zdunek 7f4eadf750 Bypass HTTP proxies for local JS gRPC clients (#65634) (#65925)
(cherry picked from commit a5ff5dfe2b)
2026-04-23 14:14:52 +00:00
Maja 31cb9d2a47 [v17] Connect: Make menu bar action reliably show app window (#65773)
* Make `showWindow` reliably focus on the app window

* Clean up callsites of showWindow
2026-04-20 07:01:13 +00:00
Maja ff2def9326 [v17] Remove nested Oxlint config for teleterm (#65749)
* Fix CRLF line endings in .oxlintrc.jsonc

* Remove nested Oxlint config for teleterm
2026-04-15 08:07:43 +00:00
Grzegorz Zdunek 4fcb3c1b70 Update oxlint to 1.58.0 and oxfmt to 0.43.0 (#65451) 2026-04-07 14:53:23 +00:00
4560d26f34 Bump the electron group across 1 directory with 2 updates (#65249) (#65390)
* Bump the electron group with 2 updates

Bumps the electron group with 2 updates: [node-pty](https://github.com/microsoft/node-pty) and [electron](https://github.com/electron/electron).

Updates `node-pty` from 1.2.0-beta.11 to 1.2.0-beta.12
- [Release notes](https://github.com/microsoft/node-pty/releases)
- [Commits](https://github.com/microsoft/node-pty/compare/v1.2.0-beta.11...v1.2.0-beta.12)

Updates `electron` from 40.1.0 to 41.1.0
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](https://github.com/electron/electron/compare/v40.1.0...v41.1.0)

---
updated-dependencies:
- dependency-name: node-pty
  dependency-version: 1.2.0-beta.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: electron
- dependency-name: electron
  dependency-version: 41.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: electron
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

* Update Electron to 41.1.1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>

(cherry picked from commit 15685dad15)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-07 09:24:10 +00:00
30119e1603 [v17] Remove whatwg-url as Connect dependency (#65317)
* Bump whatwg-url from 14.2.0 to 15.1.0, enable cross-origin isolation in Connect

* Bump whatwg-url from 14.2.0 to 15.1.0

Bumps [whatwg-url](https://github.com/jsdom/whatwg-url) from 14.2.0 to 15.1.0.
- [Release notes](https://github.com/jsdom/whatwg-url/releases)
- [Commits](https://github.com/jsdom/whatwg-url/compare/v14.2.0...v15.1.0)

---
updated-dependencies:
- dependency-name: whatwg-url
  dependency-version: 15.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

* Serve local files through a custom protocol

* Replace deprecated `interceptFileProtocol` with `handle`, disallow 'file' protocol

* Add cross-origin isolation headers to HTTP responses

* Add headers only to index.html

* Remove code cache

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rafał Cieślak <[email protected]>
Co-authored-by: Grzegorz Zdunek <[email protected]>

* Remove whatwg-url as Connect dependency

* Remove whatwg-url usage

* Inline `proxyHostname` in the only test that was using it

The function doesn't look particularly safe to use because it defaults
to the input on error. However, it's good enough for the tests.

* Remove whatwg-url from teleterm deps

* Run deepLinks.ts tests in Node and JSDOM environments

* Remove code related to cross-origin isolation

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>
2026-04-07 06:43:47 +00:00
Kenneth 4688bc062b Update ZTA web features (#64181) (#65006) 2026-04-02 21:46:33 +00:00
Kenneth 31cdddca17 [v17] Moved Device Trust from Identity Governance to Zero Trust Access in Docs (#64818)
* Moved Device Trust from Identity Governance to Zero Trust Access in Docs (#63961)

Moved Device Trust from IG to ZTA

* Move Device Trust from IG to ZTA on index.mdx
2026-04-01 17:09:42 +00:00
Maja 0b855de5ed Connect: Fix cold deep link launch on macOS (#65274) 2026-04-01 16:39:12 +00:00
Grzegorz Zdunekanddependabot[bot] 25056a4a19 Bump node-forge from 1.3.2 to 1.4.0 (#65175)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 14:43:55 +00:00
Grzegorz Zdunek edd00fe312 Ensure canvas dimensions are integers (#64977) 2026-03-30 06:57:10 +00:00
Maja 4c2f8e2d0b Storybook vite config: Add wasm files to assetsInclude (#64939) 2026-03-25 15:17:55 +00:00
Grzegorz Zdunek 3da3de8fdb Connect: Remove unnecessary FS operations from getRuntimeSettings (#64886) 2026-03-20 15:57:05 +00:00
Steven Martin 4feb3048d7 web: correct access list error message (#64670) 2026-03-18 18:55:46 +00:00
Nick Marais 051c673d0b test: Fix flaky bots UI test (#64305) 2026-03-17 17:40:08 +00:00
raviciousanddependabot[bot] 63a3c86ca2 Update pnpm, bump the electron group with 4 updates (#64620)
* Bump the electron group with 4 updates

Bumps the electron group with 4 updates: [node-pty](https://github.com/microsoft/node-pty), [electron](https://github.com/electron/electron), [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) and [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater).

Updates `node-pty` from 1.2.0-beta.10 to 1.2.0-beta.11
- [Release notes](https://github.com/microsoft/node-pty/releases)
- [Commits](https://github.com/microsoft/node-pty/compare/v1.2.0-beta.10...v1.2.0-beta.11)

Updates `electron` from 40.1.0 to 40.6.1
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](https://github.com/electron/electron/compare/v40.1.0...v40.6.1)

Updates `electron-builder` from 26.6.0 to 26.8.1
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/[email protected]/packages/electron-builder)

Updates `electron-updater` from 6.7.3 to 6.8.3
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/[email protected]/packages/electron-updater)

---
updated-dependencies:
- dependency-name: node-pty
  dependency-version: 1.2.0-beta.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: electron
- dependency-name: electron
  dependency-version: 40.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: electron
- dependency-name: electron-builder
  dependency-version: 26.8.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: electron
- dependency-name: electron-updater
  dependency-version: 6.8.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: electron
...



* Revert unnecessary updates

* Update Electron to 40.7.0

* Upgrade electron-builder to 26.8.2

* Upgrade electron to 40.8.0

* Update pnpm to 10.32.0

* after-install: Fix stdio redirects in update-alternatives

This mirrors electron-userland/electron-builder@ec9e2dbbd8.

* Update electron to 41.0.0

* Keep Electron at 40.1.0

* Update pnpm to 10.32.1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-17 09:44:36 +00:00
Grzegorz Zdunek 01678d99a2 [v17] Connect: support MOTD (#64550)
* Connect: support MOTD (#64310)

* Add `message_of_the_day` to `AuthSettings`, remove unused `has_message_of_the_day`

* Support passing `whiteSpace` to `Text`

* Show MOTD before login

* Add tests and stories

* Remove `minHeight={0}`

* Move `MessageOfTheDay` to `ClusterLogin`

* Minor code style fix

(cherry picked from commit 90eabf6ee7)

* Format
2026-03-16 15:09:23 +00:00
Ryan Clark 2dec550507 [v17] Move from eslint to oxlint (#64621)
* Add oxlint, remove eslint

* Code changes for oxlint to pass
2026-03-13 16:26:23 +00:00
charlestp 0f02ce9492 Fix StyledTable tr selector isn't closed. (#64440) 2026-03-10 18:21:30 +00:00
Ryan Clark 7bec241add [v17] Move from prettier to oxfmt (#64473)
* Remove prettier, add oxfmt

* Run pnpm format
2026-03-10 16:29:21 +00:00
rhammonds-teleport 78ec6bb06c [v17] Inline IronRDP WASM Module (#64224)
* Backport #63503 to branch/v17

* Continue treating the WASM module as a static (fetch-able) asset. This will ensure that application bundles from  previous releases (of the same major version) can still successfully fetch the WASM module from newer proxy instances.

* Drop static wasm asset from Teleport Connect build
2026-03-06 15:48:09 +00:00
raviciousandMichelle Bergquist da6c0571f8 Use regex assertion on timestamp seconds (#61566) (#64242)
- Closes 61279

Co-authored-by: Michelle Bergquist <[email protected]>
2026-03-05 13:47:52 +00:00
Ryan Clark aa604ac2f2 Move error boundary to a child of theme provider so it displays properly (#64245) 2026-03-05 11:35:34 +00:00
Zac Bergquist 1428e9f4c7 Improve MOTD responsiveness. (#64212)
- Allow the message of the day to take up more vertical space.
- Keep the acknowledge button visible even when the MOTD is
  large enough to require vertical scroll.

Closes #64136
2026-03-03 19:46:07 +00:00