* Create ToolTipInfo component
* Update FieldInput to accept optional tool tip content
* Temp fix for story viewing timed out polling state
* Support different informational texts depending on database
* Add database service checker to determine if we can skip next step
* Enable AWS RDS postgres flow
* Rename assets to build_resources
* Add resources\bin to Path during installation on Windows
* Adjust docs related to USE_SYSTEM_FPM
It turns out you need that for deb packages too.
* Create symlink to bundled tsh on Linux targets
* after-install: Get rid of old symlink removal
* Expand story for QuickInput
* Make command suggestions stay in place
* Align suggestion icons to the top rather than center
This makes it easier to tell when one suggestion ends and another starts.
* Add install & uninstall cmds to command bar
* Exclude new commands from OSes other than macOS
* Implement commands for symlinking tsh
* Change placement of info content for SetupAccessWrapper
* Create AnimatedProgressBar
* Allow fixed labels for LabelsCreater
* Fix a regression where events were getting passed
down to nextStep function on button click (expected number)
* Add matching label rule for DB DownloadScript
* Add a modal loader for CreateDatabase (also add port input field)
- Add countdown and error to this modal
In #1442 we added a close code when closing websockets, but didn't
properly adhere to the API. When explicitly setting a close code,
you must either use the normal code or use a custom code. Usage of
the standard codes in the 1001-1015 range is reserved for the browser.
Fixesgravitational/teleport#19688
Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>
This unbreaks some Connect stories which depend on keyboard shortcuts
config.
If we ever need to change the config in stories or tests, we should
revisit the mock. But it might be enough to call the `set` method on
the config service.
* Refactored add db modal to accept a selected database
resource and removed drop down selector
* Unimplemented db flow will fallback to the refactored
modal
* Enabled self-hosted postgres flow
* Remove ClustersService methods related to apps
I had problems with the new types and apps because I didn't create a
separate type for app URI. So I decided to remove it all because it isn't
used anyway.
* Remove WorkspacesService.getWorkspacesDocumentsServices
This method wasn't used anywhere since #1203 got merged.
- Adds db access flags
- Adds missing permission check when users
are at create db step
- Add `sign/db` endpoint
- Add new db resource hostname field
- Allow PingTeleportContext to take in an alternate search term
- Adds expected json fields for db connection tester
* tshd events: Wait for listeners before responding
When tshd is sending the relogin event, it needs to be able to know when
the Electron app has finished relogging the user. I wanted to implement
this by simply waiting for the response from the RPC.
I'm so glad we did not use gRPC streams for tshd events as this would be
much harder to implement with streams.
* Return a function from ModalsService.openDialog which closes dialog
With the introduction of important and regular modals, this will help us
close the specific dialog if need arises.
* Make tshd events listeners aware of request cancellation
This will be useful in the upcoming commits. Basically, tshd is going to
ask the Electron app to relogin the user, with a 1 minute timeout.
The Electron app will show a login modal but if the user doesn't submit
it within 1 minute, tshd is going to cancel the request.
In that situation, we need to be able to close the modal.
* Add support for passing reason in DialogClusterConnect
* Add support for important modals
This will let us show the relogin modal on expired cert, even if the user
was using some other modal at that moment.
* Remove title attr from notification text
The user can read more by expanding the notification. The title attribute
persisted even after expanding the notification, making reading it harder.
* Add WindowsManager.forceFocusWindow
* Use IAppContext instead of AppContext
The next commit is going to add a private method to AppContext.
IAppContext is an interface which enables us to pass a mocked version of
AppContext in tests. That mock is not going have that private method,
so any place accepting AppContext wouldn't be able to accept the mocked
AppContext.
Instead, classes & functions should accept IAppContext rather than AppContext.
* Implement handlers for new tshd events
tshd needs to be able to do two things:
- Ask the user to log in again.
- Forward errors from goroutines running gateways to the Electron app
in form of a notification. Otherwise those error would be visible
only in the logs.
* Don't restart gateways after logging in
Restarting the gateways on login was a workaround from times where gateways
didn't manage their own certs.
In the new flow, a gateway takes care of refreshing the certs itself
through the middleware passed to alpnproxy.LocalProxy.
syncRootClusterAndRestartClusterGatewaysAndCatchErrors used to call two
functions:
- syncRootClusterAndCatchErrors
- restartClusterGatewaysAndCatchErrors
The second function is no longer necessary, so we can make any place that
was calling syncRootClusterAndRestartClusterGatewaysAndCatchErrors
call just syncRootClusterAndCatchErrors instead.
* Fix table cell styles and correctly sort time column
* add test case for iso date formatting and small fixes
* update sub module commit
* fix mistake with iso dates
* update sub module commit
* move wrapped labels example to main one
* apply new enterprise snapshot commit
* fix styles for big labels
* update enterprise with master
* Make labels single line and add tooltip
* make labels more responsible
* update e repo
* adjust styling of labels to be consitent and refactor table story a bit
* fix key errors and use proper labels in Users list
* remove label ellipsis
* update e repo commit