Commit Graph
1103 Commits
Author SHA1 Message Date
Lisa Kim 2042ffc245 Add access_request.search event to audit log (#875) 2022-06-08 16:28:41 +00:00
Grzegorz Zdunek 0b21ab6cf2 Show recent clusters list (#865) 2022-06-08 18:09:04 +02:00
Lisa Kim 0a77ecbf14 Search based request related changes and Table addons (#867)
- Allow customSort field to use our own set of sort rules
- Allow disableFilter which is a flag to indicate
  the caller of Table will handle their own filtering (eg. server side)
- Add non render flag to allow adding a key to be searcheable but not renderable
- Add searchAsRoles query param to get agents URL
- Add access request to top level navigation
- Put pluralize func in utils for re-use

* Updates e-ref
2022-06-08 15:16:04 +00:00
Grzegorz Zdunek de9f478dd8 Improve handling timeouts when resolving shell env (#862) 2022-06-08 13:14:47 +02:00
Lisa Kim 0d7c9845c8 Fix null role response from users fetch (#871) 2022-06-07 13:22:38 -07:00
Grzegorz Zdunek 0197a4c799 Change app name to Teleport Connect (#869) 2022-06-07 16:28:57 +02:00
Grzegorz Zdunek 0a9b61dbc6 Fix logout icon (#859) 2022-06-03 17:05:57 +02:00
Lisa Kim e83ed81d12 Create agent type for resources (#828)
* We have a conflicting naming in that "Resource" types refer to 
  roles and connectors. We needed another type that distinguishes from
  these for nodes, apps, dbs, kubes, desktops and we call them "Agents".
* Updates e-ref
2022-06-03 14:53:17 +00:00
Rafał Cieślak 1ac9461c5e type-check script: Perform type check only (#861)
Without --noEmit, tsc actually compiles TS files to regular JS, polluting
the working directory in some rare scenarios.

Prefixing scripts with `yarn` is not necessary, as both yarn and npm
add local node_modules/.bin to PATH when executing scripts.
2022-06-03 14:41:04 +00:00
Grzegorz Zdunek 5a0dcdc7f2 Add missing word to PromptSsoStatus (#854) 2022-06-03 16:32:00 +02:00
Marek Smoliński 0cbd72233c SQLServer audit events (#860) 2022-06-03 14:46:04 +02:00
Rafał Cieślak 0ea545f83e Fix types for Logger/NullService (#864)
pipeProcessOutputIntoLogger has been moved to a separate interface, because
Stream is not an API that's available in the browser.
2022-06-03 14:34:34 +02:00
Rafał Cieślak 7a4296733b Retry with relogin on errors related to expired certs (#846)
* useAsync: Handle rejections with non-Errors

* Add initial implementation of retryWithRelogin

* Add missing properties to IAppContext

* Make ClustersService.syncCluster propagate errors

* ClustersService: Improve notification titles
2022-06-03 10:13:37 +00:00
Grzegorz Zdunek b4f706099b Capture tshd logs (#853) 2022-06-03 11:47:00 +02:00
Isaiah Becker-Mayer 33f62b8dc8 Allow "Activity" tab to be hidden (#844) 2022-05-31 16:13:30 +00:00
Rafał Cieślak 406e24b68e Add get-teleport-connect-dir script (#856)
At some point, we want to rename packages/teleterm to something else.

This script will enable our build scripts (see gravitational/teleport#12257)
to automatically pick up this change without requiring us to change
the build scripts as well.
2022-05-31 13:36:57 +00:00
Rafał Cieślak bf903f7a40 Use only dmg target for Teleport Connect (#855)
By default, electron-builder uses both dmg and zip. The latter is made for
Squirrel.Mac, which we don't use at the moment.
2022-05-31 15:10:02 +02:00
Yassine Bounekhla d7025dd292 Update eref for docs link fix (#850) 2022-05-27 12:59:32 -04:00
Grzegorz Zdunek 30774efed8 Do not show the login dialog when user adds a cluster that is connected (#840) 2022-05-27 10:49:54 +02:00
Grzegorz Zdunek 071f167ec1 Prevent active label jumping in identity list (#839) 2022-05-26 17:23:01 +02:00
Grzegorz Zdunek 7270ad3a35 Remove connections when logging out (#837) 2022-05-26 16:49:21 +02:00
Grzegorz Zdunek 55c288121c Increase scrollback size to 5k lines (#838) 2022-05-25 16:50:53 +02:00
Grzegorz Zdunek 36e4915e69 Do not include secrets in gRPC logs (#829) 2022-05-25 15:16:22 +02:00
Matheus 9ae030c1a0 Add cloud link download to Help & Support (#820) 2022-05-24 14:23:25 -03:00
Jeff Pihach 4417d755cb Create a LabelPicker component (#823)
* Create Pill component for Label manager component.

* Fixed some styling issues when using the Pill component.

* Initial layout for the Label Selector component.

* Add basic new label input scaffold

* Added label format validation and error message.

* When hitting enter or clicking add, add a label to the list.

* Added tooltip to add labels header.

* Support dismissing labels and focus the input when opening.

* Create clickoutside hook and use it in the label picker.

* Create and use a onescape hook in the label picker.

* Remove the temp ability to pass in existing labels.

* added tests for LabelSelector component

* fix validation regex to allow numbers hyphens and periods.

* remove incorrectly added component instance.

* do not use default imports and other tweaks.

* use flexbox instead of floats for label input labels.

* use utility methods for tests to make it easier to understand.

* remove remaining floats and some review cleanup.

* added missing license messages.

* Move useCallback usage into parent component from hook.
2022-05-24 10:02:29 -06:00
Rafał Cieślak 87a30b1ad2 yarn.lock: electron@^19 -> electron@19.0.0 (#833)
I forgot to update yarn.lock in c700b8dc.
2022-05-24 17:11:19 +02:00
Rafał Cieślak c700b8dcf1 Upgrade Electron to 19.0.0 (#830)
* Upgrade Electron to 19.0.0

* Bump Teleport Connect version to 1.0.2
2022-05-24 16:26:13 +02:00
Krzysztof Skrzętnicki 736b4cfd95 Add two event codes for SSO test flow. (#717)
* Add two event codes for SSO test flow.

* Add tests for new events.

* Canonicalize formatting with format document.
2022-05-23 18:27:25 +02:00
Grzegorz Zdunek 41ae91bb93 Prevent restorePersistedState() crash when there is no persisted workspace for a cluster (#825) 2022-05-20 18:31:41 +02:00
Grzegorz Zdunek 25543c67d1 Add gRPC files generation and logging to shared process (#821) 2022-05-19 16:51:06 +02:00
Grzegorz Zdunek dd28b2bcf0 Update Electron & add shared process (#819) 2022-05-19 16:03:53 +02:00
Grzegorz Zdunek 162f9e811e Add tooltips with keyboard shortcuts (#822) 2022-05-17 18:07:17 +02:00
Lisa Kim b3398d0884 Refactor Teleport Reset/Invite Flow (#818)
* Create/Use buttons for text button so users can focus with keyboard
* Various small tweaks
 - Add a refocus indicator to FieldInput
 - Tweaked StepSlider to handle edge cases like growing height
   from error dialogues on initial render
 - Pass on deviceName to reset endpoints

* Update e-ref
2022-05-12 10:17:28 -07:00
Jeff Pihach 4a05b3868a Create new SlideTab component (#817)
* Checkpoint with basic functional tab selector.

* Animate the selected highlight.

* Calculate the widths for the slider based on the number of tabs.

* Fix slider width for multiple tabs.

* Add story for SlideTabs.

* Added tests for the SlideTabs component.

* Make the onChange handler a required prop and add some comments.
2022-05-10 15:30:59 -06:00
Lisa Kim d8cc096ea1 Refactor Teleport Login Flow (#816)
- Display primary and secondary logins on different cards
- Use sliding transitions
- Allow to add passwordless device through dashboard
- Update e-ref
2022-05-10 13:04:56 -07:00
Lisa Kim 8f151ed9c0 Create StepSlider Component (#815) 2022-05-10 12:45:25 -07:00
Rafał Cieślak 4a3cf178c2 useDocumentGateway: Remove null rootCluster checks (#814)
When a root cluster gets removed (the user logs out of it), we remove
resources related to it, so the `rootCluster` variable should never be
null at this point.
2022-05-06 10:18:32 +02:00
Rafał Cieślak 4788346d71 useDocumentGateway: Pin shell to correct cluster (#812)
Commit 775fe4e64 fixed some reconnect issues, but it also introduced a
locally scoped `cluster` variable. This made it seem like it's the cluster
to which the given gateway belongs, but it was actually the root cluster.

This commit renames the old `cluster` variable to `rootCluster`. It also
makes sure that `workspaceDocumentsService.openNewTerminal` receives
correct root & leaf cluster IDs.
2022-05-05 17:25:20 +02:00
Yassine Bounekhla fef45afeeb Add Kubes initial sorting (#810) 2022-05-04 14:14:33 -04:00
Yassine Bounekhla 8f49ad3fa5 Add Initial Sorting for Tables (#809) 2022-05-04 13:49:28 -04:00
Yassine Bounekhla a601a20f0d Add Clickable Labels (#791) 2022-05-03 19:45:21 -04:00
Lisa Kim 7cae023078 Add predicate doc link with predicate error messages (#776) 2022-05-03 15:52:47 -07:00
Jeff Pihach 956b2cd592 Update e ref (#805) 2022-05-03 11:06:40 -06:00
Lisa Kim 7d528e580e Add new icons: key, arrow forward/back (#804) 2022-05-02 18:34:31 -07:00
Lisa Kim 628933270c Device name wiring and clean up FormNewCredentials (#803)
* Also updates e-ref
2022-05-02 16:57:25 -07:00
Lisa Kim 592898fae8 Passwordless wiring on login and add device (#724)
Updates webapps api request bodies to pass 
on passwordless requests
2022-05-02 10:00:07 -07:00
Zac Bergquist 776bf157ef Indicate whether session.network events were allowed or blocked (#800)
* Indicate whether session.network events were allowed or blocked

Fixes TEL-Q421-2
Fixes gravitational/teleport.e#331
2022-05-02 10:23:23 -06:00
Lisa Kim 1c38270faf Move RecoveryCode component from enterprise (#789)
* Make tweaks based on move
* Update e-ref
2022-04-29 19:31:01 -07:00
Jeff Pihach 45c2347dae Merge branch 'master' into hatched/update-e 2022-04-29 15:35:00 -06:00
Jeff Pihach 34140e991e bump webapps.e hash. 2022-04-29 15:34:07 -06:00