Commit Graph
1103 Commits
Author SHA1 Message Date
Michael 9db0af7479 Update xterm to 5.0.0 (#1400) 2022-11-30 16:55:47 -06:00
Ryan Clark 7f01bbcbb2 Lazy load Telemetry only when needed (#1396) 2022-11-30 17:44:50 +00:00
Ryan Clark 103eadd139 Fix alerts from not disappearing on route changes (#1395) 2022-11-30 17:24:23 +00:00
Lisa Kim b792d9e760 [Discover] Refactor TestConnection Screens (#1375)
* Extract common logic for re-use=
* Refactor Kube TestConnection screen
* Refactor server TestConnection screen
* Tentatively implement databse TestConnection
2022-11-30 00:06:17 +00:00
Isaiah Becker-Mayer 9d3ff66b88 Fixes onRemove console error (#1387) 2022-11-29 22:36:46 +00:00
Jeff Pihach 98560d1387 update e submodule ref. (#1388) 2022-11-28 20:27:53 +00:00
Jeff Pihach 7353ec5e93 Use a single websocket for SSH connections (#1361) 2022-11-28 13:58:44 -06:00
Rafał Cieślak 1c87c807cc Pass clusterUri rather than documentUri to retryWithRelogin (#1385) 2022-11-28 17:56:34 +00:00
Vitor Enes a718e6a713 Display verb, request_path & response_code in kube.request events (#1384)
This commit eases the navigation through the audit log by not requiring
a click on the `kube.request` event to see all details about it.
2022-11-28 17:38:28 +00:00
Isaiah Becker-Mayer 9499c3cce3 Fix large file corruption (#1382) 2022-11-26 04:00:06 +00:00
Michael 48fa737a78 [Connect] Use server side search in resource tables (Advanced Search) (#1307)
Adds serverside search and pagination to the resource tables in Connect
2022-11-24 10:04:45 +09:00
Mike Jensen acb0542687 CodeQL Config fixes (#1376)
Fixes to address suggestions from this PR: https://github.com/gravitational/webapps/pull/1373
2022-11-21 23:33:27 +00:00
Lisa Kim a6433859f4 [Discover] Tentatively implement Create Database screen (#1372)
* Extract reusable label creating logic to own component
* Add new database endpoints (create and update)
2022-11-21 12:33:06 -08:00
Mike Jensen 304806ec54 Create initial codeql.yml configuration (#1373) 2022-11-21 09:53:46 -08:00
Ryan Clark 079c6db304 Render extra private routes last (#1368) 2022-11-21 15:17:11 +00:00
Grzegorz Zdunek 545a01a745 Forward SSH agent (#1366) 2022-11-18 17:47:14 +01:00
Lisa Kim d0cedc29d8 [Discover] Refactor DownloadScript Screens (#1367)
- Refactor join token api handler and useJoinToken
- Add agent matcher label to join token request
- Change join token requests fields into its own type
- Add db script api handler
- Revert useJoinToken changes (removes runNow) and
  accepts optional agent matcher label
- Extract reusable logic for polling
- Reorganize shared stories
- Refactor Server's DownloadScript (use suspense and fallback)
- Refactor Kube HelmChart (DownloadScript) with less hacky ways
- Create DownloadScript for database (tentativly)
2022-11-17 19:03:01 -05:00
Gavin Frazar fea8624c07 Add new audit event for app-access DynamoDB requests (#1279)
* Add AppSessionDynamoDB audit event

* Add fixtures new dynamo event to storybook and verify it rendered correctly

* Update snapshot of storybook
2022-11-17 07:11:26 +00:00
Ryan Clark 41b2e5985f Render public routes with a suspense fallback (#1362) 2022-11-16 21:51:13 +00:00
Grzegorz Zdunek f91b33205e Update to Electron 21 (#1351) 2022-11-16 14:19:32 +01:00
Isaiah Becker-Mayer b0b5c3c930 Adds support for TDP Notifications, shows "warning" level notifications in a dismissible dropdown rather than a fullscreen modal (#1333) 2022-11-16 04:16:13 +00:00
Lisa Kim be36bb1f40 Fix iterating over null array for sshLogins from fetched nodes (#1356)
Fixes gravitational/teleport#18369
2022-11-15 15:01:24 -08:00
Ryan Clark 83aa06791f Code split routes, reduce the initial bundle size + loading times (#1277) 2022-11-15 10:15:06 +00:00
Ryan Clark 1b31ef07ab Change teleport configure to use --proxy (#1318) 2022-11-14 15:43:59 +00:00
Ryan Clark bb89fd3e97 Update e ref (#1350) 2022-11-14 15:17:29 +00:00
Ryan Clark 87e579b436 Correct "sign into" to "sign in" (#1342) 2022-11-14 14:54:56 +00:00
Michael d0283d1406 Prevent non-https protocol from opening external windows (#1343) 2022-11-11 11:16:25 +09:00
Isaiah Becker-Mayer 141efd84b4 Shared Directory Audit Events (#1290) 2022-11-10 00:24:36 +00:00
Ryan Clark 113a594f19 Disable hostname comparison when proxying by default, add feature flag (#1303) 2022-11-09 14:55:51 +00:00
Rafał Cieślak d897ee765b retryWithRelogin: Enable use outside of document context (#1238)
This commit removes originatingDocumentUri arg from retryWithRelogin.
Checking if the relevant UI is still active is done by checking the active
workspace.

See the following comment for discussion behind the change:
https://github.com/gravitational/webapps.e/pull/427#discussion_r1013864097
2022-11-09 10:01:27 +00:00
Lisa Kim a1187d146a [Discover] Refactor SetupAccess Screens (#1310)
* Create user trait hook and setup access wrapper
- create a reusable hook related to setup access and user traits
- create a setup access wrapper that dedups repeated logic
- rename and added more yaml readers

* Create SetupAccess screen for database
* Refactor SetupAccess for kube
* Refactor SetupAccess for server
* Add database json vals and prevent infinite rendering from 
  dependency array
2022-11-08 16:23:49 +00:00
Rafał Cieślak 728351c2e2 Connect: Set up tshd events server for tshd-initiated communication (#1285)
* getElectronGlobals: Log errors before they cross contextBridge

* Create tshd events server in renderer

* Send tshd events server address to tshd and wait for client
2022-11-08 11:07:58 +01:00
Grzegorz Zdunek 1acce54480 Log shared process stdout and stderr (#1046) 2022-11-07 16:11:49 +01:00
Zac Bergquist 4c323dafa5 Show all kinds of active sessions (#1315)
Updates #17126
Updates #17871
2022-11-03 13:36:54 +00:00
Michael f200b585a7 Update ensureBaseUrl to use URL constructors only (#1328) 2022-11-02 15:43:10 -05:00
Lisa Kim e68c7a4564 Enable and fix useless fragment eslint error (#1327)
* Also adds react-hooks eslint warnings
* Update e-ref
2022-11-02 13:31:24 -07:00
Lisa Kim 0f0bbe61b3 [Discover] Add back button for TestConnection screens (#1319)
* Also fix bug for accessing undefined fields
  when requesting createConnectionDiagnostic
2022-11-02 16:39:19 +00:00
Michael b1662de92f Update ensureBaseUrl conditional (#1320) 2022-11-02 11:14:53 -05:00
Rafał Cieślak 19e44e7b8e Connect: Use gap instead of margins for <Label> groups (#1316)
This avoids extra space where it's not necessary.
2022-10-31 18:16:03 +01:00
Isaiah Becker-Mayer f689f8f62e Warn user when desktop is active (#1297) 2022-10-29 02:26:35 +00:00
Lisa Kim 6b08ee907d Handle private key policy errors and config (#1298)
There are three ways we determine if use of private key is enabled:

-Cluster config: this setting won't render the login form, 
it will just direct user to login with other supported methods
- 'privateKeyPolicyEnabled' flag: only returned with a 200 for resets 
and invites. This flag was required so that we can additionally render 
recovery codes if any (only for Teleport Cloud)
- Checking if the error returned contains the backend hard coded 
keywords ('hardware_key' or 'hardware_key_touch'). Role configs
will require an attempt (either logging in or assuming an access request)
before the backend checks if this user requires use of private keys.
2022-10-28 14:38:04 -07:00
Pål-Magnus Slåtto 2a5965c7a6 [UI]: Make roles render as labels (#1299) 2022-10-26 23:20:42 -05:00
Michael c48a132541 Change Session Recording created date to UTC timestamp (#1304) 2022-10-26 12:57:25 -05:00
Rafał Cieślak 99902d0afc Make linguist correctly classify JS protobuf files (#1300)
Linguist seems to expect that on line 6, those files have a specific string
in them but that's not true for our files.

Maybe that's because we use buf and not protoc to generate them.

This should automatically collapse those files in diffs and properly count
JavaScript usage in language stats for the repo.

See: https://github.com/github/linguist/blob/master/docs/overrides.md
2022-10-26 06:50:25 +00:00
Rafał Cieślak 7e9aa52653 Connect: Fix filtering internal logins (#1292) 2022-10-24 10:29:58 +00:00
Ryan Clark 16d10210fe Stop FeatureBox from adding a scrollbar (#1256) 2022-10-24 10:17:37 +00:00
Ryan Clark d7937e4001 Change Desktop page to link to Discover, fix k8s typo (#1288) 2022-10-21 20:47:16 +01:00
Lisa Kim 86ff453ae1 [Discover kube] Fix bug where user traits were not updated in cert (#1286) 2022-10-21 17:46:52 +00:00
Lisa Kim eb1e69b60e [Discover] Implement Kube Flow Day 1 (#1268)
* In addition set up msw lib for storybook with suspense
2022-10-21 16:21:17 +00:00
Grzegorz Zdunek 0a27881238 File Transfer UI fixes (#1276) 2022-10-21 16:01:10 +02:00