Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v11] Merging webapps file tree and history into teleport #20929

Merged
merged 994 commits into from
Jan 30, 2023

Conversation

hatched
Copy link
Contributor

@hatched hatched commented Jan 30, 2023

No description provided.

gzdunek and others added 30 commits June 27, 2022 15:54
* Fix menu bug that adds features unto existing features
* Add missing top spacing for OSS Account view
* Update e-ref
* Add universal context menu

* Update text of "Connect with GUI" section
…925)

* Use different icons in connections tracker

* Sort connections only when the list opens

* Show new items (not sorted) at the beginning of the list
* fowards path parameter to app access authentication

* add some comments and clearer naming convention

* revert params change, single line comment
* Change page size in Connect to 15

Just like in the Web UI, Connect is able to easily accommodate 15 resources
on the screen without vertical scroll in both 1920x1080 and 3024x1964,
as long as labels for the resources span just a single line.

1920x1080 remains the most popular screen size on desktop [1] and 1440x900
seems to be the most popular size on macOS [2].

On 1440x900 the pagination controls are not shown on the screen.

[1] https://gs.statcounter.com/screen-resolution-stats/desktop/north-america/#monthly-202105-202205
[2] https://web.archive.org/web/20220630103803/https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam?platform=mac
* wrap switchTab in a conditional

* unnested tabswitch happy path and added tests
* Update snapshots
* Add prettier ignore file
* Update e-ref
* Update prettier ignore
* Add prettier yarn cmds and update 
  deprecated jsxBracketSameLine
* Create disover route and flag to turn on/off during dev
* Create discover context and related components
* Rename and clarify join token related types
* Add targetUser to DocumentGateway help text

* Add DocumentGateway story
* autofill username if loggedInUser exists on cluster

* changed to loggedInUserName

* removing unneeded export
#14097 updated protoc version on the master branch.

That change wasn't backported so when backporting any tshd protobuf changes
to v10 or earlier we must regenerate the protobuf files in the backport
branch from now on.
* Refactored design for active sessions list to accommodate
  different resource language
* Added altSortKey for table that allows you to define
  an alternate field to sort by
* Refactored makeSession and add k8s types
* Addded k8s type to Player
* Renamed existing session.ts to websession.ts and 
   ssh.ts to session.ts

* Updated e-ref
This gets rid of the warning during the compilation step.
* Fix typo in malformed packet error
* Update snapshots
* Add gap property to Flex

This will help us stop adding margins on individual items.

styled-system doesn't seem to support gap yet [1] but we can just add it
ourselves.

This code works for styled-system v3.1.11 [2]. In the future we'll need
to simply replace `style` with `system` [3].

[1] styled-system/styled-system#1159
[2] https://github.com/styled-system/styled-system/blob/v3.1.11/docs/custom-props.md
[3] https://styled-system.com/custom-props/

* prettier

Co-authored-by: Jeff Pihach <[email protected]>
* Apply perm check that determines what 
  type of agents are connectable by user
* Moves agent id kind consts from enterprise 
   to open source
* Update e-ref
rudream and others added 15 commits January 11, 2023 13:56
By default, eslint outputs warnings as well as errors but doesn't sort
them in any way. When the lint step fails in CI because of an error, it's
hard to find that error among warnings.

The warnings are still useful when they show up in the editor, so let's
add --quiet which makes eslint output only errors and no warnings.
The new app access authentication workflow inadvertently preserves the URL
encoded values present in the AWS role ARN, which are then passed directly
to the webapi/sessions endpoint. As a result, Teleport RBAC doesn't properly
match AWS role ARNs, as they contain (in particular) `/` characters encoded as
`%2F`.
Backport #20722 to v11.

This commit adds frontend support for displaying login rule audit
events.
Require db name for postgres only for testing connection
* Migrate AppLauncher tests into webapps.

The AppLauncher test added into the `teleport` repo has been migrated here as
well.

---------

Co-authored-by: Jeff Pihach <[email protected]>
Co-authored-by: Jeff Pihach <[email protected]>
@github-actions
Copy link

@hatched - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

Copy link
Contributor

@avatus avatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to backport our move of some of the rc files to the root of branch/v11 as well.

@hatched
Copy link
Contributor Author

hatched commented Jan 30, 2023

Thanks for the reminder @avatus. And yeah, following the process of the other merges those changes will be coming as additional PR's once the file tree and histories have merged.

@github-actions github-actions bot removed the request for review from rudream January 30, 2023 17:59
@wadells wadells merged commit 474908d into branch/v11 Jan 30, 2023
@hatched hatched deleted the hatched/webapps-merge-v11 branch March 30, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.