Huiwen
653d858fa8
Add org-level workspace class restrictions ( #19191 )
...
* Add org-level maxmium workspace class limit
* [papi] add ListOrganizationWorkspaceClasses method
* Use papi in dashboard
* Validate when updating
* Fix bug
* Make it select default
* Align figma
* Option checking
* fixup
* Use switch button
* Add feature flag
* `invaldiator2` => `invalidateWorkspaceClasses`
* Don't allow to all if selected ones are removed from installation
* Update respond error msg
* dashboard show error msg
* fixup
* update proto doc
* Apply suggestions from code review
Updated error wording.
* update order
* Fix edge case
* Hide delete scope if not owner
* Update error msg
* Not cache org ws cls
* Force update org info
* Rename query file
* Add todos
* Remove refetch
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
2023-12-15 08:48:22 +02:00
Jean Pierre
db3a8a9f42
[server] Ensure env var id when doing update in old api ( #19263 )
...
* Ensure env var id when doing update
* normalize repositoryPattern
2023-12-14 23:03:21 +02:00
Sven Efftinge
e453e77d35
Delete owned user on member removal ( #19215 )
2023-12-14 18:31:21 +02:00
Alex Tugarev
298dbe39da
[papi] Add RPCs for Admin pages ( #19243 )
2023-12-13 09:19:20 +02:00
Anton Kosyakov
521e6a5aab
[dashboard] use HTTP endpoint for telemetry ( #19223 )
...
* [dashboard] use HTTP endpoint for telemetry
* 💄
---------
Co-authored-by: Jean Pierre <jeanpierre@gitpod.io>
2023-12-12 14:56:19 +02:00
Huiwen
6bc27b8d98
Migrate resolve context url ( #19222 )
...
* Implement and migrate resolve context url
* Migrate dashboard
* Update golden
* Fix bugs
* Rebase fixup
2023-12-12 10:16:19 +02:00
Alex Tugarev
b03a753163
[server] remove unused code ( #19242 )
2023-12-12 09:58:19 +02:00
Huiwen
0b1e5d43cb
Migrate workspaceService updatePort method ( #19234 )
...
* Migrate workspaceService updatePort method
* fix build
* fixbuild
2023-12-11 16:28:18 +02:00
Gero Posmyk-Leinemann
6f64417644
[auth] RequestContext: add missing runWithSubjectId ( #19235 )
2023-12-11 14:46:18 +02:00
Alex Tugarev
eedcf89bbb
[papi] Update UserService proto ( #19231 )
...
* [papi] Add UserService.DeleteUser
* [public-api] add missing `UpdateUserRequest.dotfile_repo` attribute
* fix: add unimplemented methods
2023-12-11 13:18:18 +02:00
Gero Posmyk-Leinemann
c183ec89ba
[auth] Authorizer: log ctx-user-id-missing as well ( #19229 )
2023-12-11 11:33:18 +02:00
Filip Troníček
aa4fc129be
Conditionally apply org id filter to project lookup ( #19224 )
...
* Conditionally apply org id filter to project lookup
* Add DB test
2023-12-11 11:17:18 +02:00
Brad Harris
85fb744996
Adding prebuild status filter to repo configs list ui ( #19205 )
...
* Adding prebuildsEnabled filter to projects search query
* adding prebuilds_enabled param
* stubbing out UI for prebuild status filter
* mark prebuilds_enabled as optional so we have an undefined state
* ui stuff
* whoopsie
* drop animations for now
* comments
* cleanup
* convert to string
* consider prebuild filter in showing table
* add prebuilds query param
* fix issue w/ fragment around routes preventing 404 handler
2023-12-08 20:57:15 +02:00
Anton Kosyakov
bfa7c6e070
[public-api] complete installation service ( #19200 )
2023-12-08 14:05:15 +02:00
Gero Posmyk-Leinemann
1113e3cd8c
[authorization] Align HTTP handlers before RequestContext rollout ( #19214 )
...
* [middleware] RequestContext: don't error on nested contexts + ctxOnAbort
* [auth] HTTP handlers: Add FGA guards and runWithSubjectId where missing
* [code-sync] Guard with FGA
2023-12-08 13:31:15 +02:00
Alex Tugarev
682878ad0c
[server] implement getAuthenticatedUser RPC ( #19187 )
2023-12-08 13:16:15 +02:00
Huiwen
da125ed40b
Migrate InstallationService GetInstallationWorkspaceDefaultImage method ( #19221 )
2023-12-08 13:15:15 +02:00
Filip Troníček
46ff2d0121
Scope config lookup to org ( #19217 )
2023-12-08 08:50:15 +02:00
Pudong
6ecc991ff5
[experimental] add ssh certificate authorities as feature flags ( #19208 )
2023-12-07 22:59:14 +02:00
Huiwen
bb2473e886
Migrate WorkspaceService snapshot methods ( #19204 )
...
* Migrate WorkspaceService snapshot methods
* Add test cases
* Remove list snapshots
2023-12-07 15:51:14 +02:00
Alex Tugarev
e4ccbf0b4d
GetAuthenticatedUser in Dashboard ( #19142 )
...
* [dashboard] remove unused service mock
* [dashboard] use `GetAuthenticatedUser` instead of `getLoggedInUser`
* fixup: override workspaceAutostartOptions
also fix toDurationString call
* fixup: move `isOnboardingUser` to dashboard
* fixup: move getProfile from protocol to common
* fixup fromWorkspaceAutostartOption
* move getPrimaryEmail to common and clean up
* rm getProfile from protocol, use ProfileDetails
* fixup missing leeway dependencies
* fix getPrimaryEmail
* fix resetting workspace timeout
* [gitpod-db] remove dependency to `@gitpod/public-api-common`
* cleanup BUILD.yaml
2023-12-06 17:42:14 +02:00
Huiwen
0152b84a80
Migrate gRPC workspaceService other workspace related method ( #19118 )
...
* Migrate gRPC workspaceService other workspace related method
* Use shim and gRPC everywhere
* fix update
2023-12-06 12:42:13 +02:00
Gero Posmyk-Leinemann
2b5a36e9b5
[authorizer] prepare Authorizer for SubjectId rollout ( #19195 )
2023-12-06 10:58:13 +02:00
Brad Harris
ca02c26021
handle redirects in host reachability test ( #19196 )
2023-12-05 20:45:12 +02:00
Anton Kosyakov
5db20a7042
[server] hook verification API service ( #19193 )
2023-12-05 12:50:12 +02:00
Gero Posmyk-Leinemann
4c3eb7d72f
[iam] Use proper subjectId in updateOIDCUserOnSignin ( #19189 )
2023-12-05 10:17:12 +02:00
Huiwen
39ebf1d2ca
Revert Refine workspace and fix bugs ( #19178 )
...
* Revert "Revert "Refine workspace API (#19138 )" (#19172 )"
This reverts commit a6f472255601ecd7574d33ae3015ea1c184b47d5.
* Update to workspace cases
* Add new cases and fix
* Add timeout
* fixup
* Remove requirement of editor
* Update cases
* Bump version
* Update dashboard
2023-12-04 12:36:11 +02:00
Filip Troníček
7bcc749da0
Configuration Variables page ( #19128 )
...
* `updateConfiguration`
* typdate
* Try with no deeply nested property
* JKADFkosaNcISADFuisabnfhjl hjkafb ashjdbjbhj
* Constrain even further
* Return the configuration
* Fix update mutation
* Only update necessary properties
* Implement name changes
* typastuff
* 🙄
* Mutation update
* 🤷♂️
* init
* Remove method present in upstream
* newlines and imports
* Address env var API changes
* fixies
* Fix list query key
* Fix for new router
* Fix list vars key? 🤷♂️
* Simplify return
* Adding stuff
* Add path
* Single variable component
* Use mutation callbacks for success and errs
* Typography and layout
* Do not store variable data in-browser
* Edit variable modal
* De-center
* Small fixes with admission init
* Spacing and alignment of menu items
* 🤷♂️
* Error reporting for creation/edit
* Update copy
* Verboserer output
* Fix missing argument 😱
* Pass in all properties of variables
* Provide ID when updating
* Fix changing admission
* Simplify
* Update table copy
* Text sizes
* Format
* Typo
* rename
* Simplify
* Copy update
* Rename comp
* Duplicate error printing
* Use `TextInputField`!
* Clean up TextInputField
* Break instead of truncate
* Fixed width table headers
Co-authored-by: Brad Harris <bmharris@gmail.com>
* Simplify route setup
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-12-02 00:31:09 +02:00
Anton Kosyakov
e21e02ae9d
[public-api] improve request exception logging ( #19179 )
2023-12-01 18:36:08 +02:00
Huiwen
a6f4722556
Revert "Refine workspace API ( #19138 )" ( #19172 )
...
This reverts commit da0c5901b4af15a3584d5c5d6b80380f0c093855.
2023-11-30 12:14:07 +02:00
Jean Pierre
a997229da8
[public-api] Add installation service ( #19150 )
...
* Add installation service
* Fix dashboard
* Fix
* Fix
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-30 01:12:07 +02:00
Christian Weichel
da0c5901b4
Refine workspace API ( #19138 )
...
* Refine workspace API
* Fix build
* update proto
* fix rebase
* fix rebase - 2
* 1
* fix editor
* Update doc
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-29 16:15:07 +02:00
Huiwen
d6dcda8a3e
Migrate parts of gPRC workspaceService ( #19129 )
...
* Migrate parts of WorkspaceService
* bump version
2023-11-29 12:28:07 +02:00
Anton Kosyakov
2f14d7a2fe
decouple gitpod-protocol from public-api ( #19151 )
...
to prevent rebuilding of components which dependent on gitpod-protocol, but not public-api on an API change
2023-11-29 10:36:06 +02:00
Alex Tugarev
5bbfc3b2ec
Fix some log statements and a minor in pre-commit settings ( #19137 )
...
* [server] fix log message
* [pre-commit] run dashboard-linter only if dashboard files changed
breaks dependency on `yarn install`
2023-11-28 18:24:05 +02:00
Huiwen
0acd42e106
Migrate gRPC VerificationService ( #19143 )
...
* Implement
* use on dashboard
* Add test case
* fixup
* fix build
* Update proto
* Update
* 💄
* 💄
* [verificationservice] added mock impl for previews
---------
Co-authored-by: Jean Pierre Huaroto <jeanp413@hotmail.com>
Co-authored-by: Sven Efftinge <sven@gitpod.io>
2023-11-28 17:56:06 +02:00
Sven Efftinge
1a68211e21
[server] consider unfinished prebuilds ( #19152 )
2023-11-28 11:25:05 +02:00
Gero Posmyk-Leinemann
5fc4561abc
SubjectId: Address mismatch (I) ( #19144 )
...
* [workspace] Use runWithRequestContext in reconcileWorkspaceStart
* [probot] Run prebuild webhook with correct subjectId
* [prebuods] Mopre SubjectId changes...
2023-11-28 10:53:05 +02:00
Manuel Alejandro de Brito Fontes
4dfc2b7886
Reduce job log verbosity ( #19148 )
2023-11-28 08:27:05 +02:00
Anton Kosyakov
180f648782
[dashboard] enable grpc migration per service ( #19140 )
2023-11-27 10:42:04 +02:00
Gero Posmyk-Leinemann
b6fa451a94
[server] Use RequestContext.subjectId for authorization ( #19091 )
2023-11-24 13:00:02 +02:00
Jean Pierre
c201a2d9df
[public-api] migrate ssh service ( #19110 )
...
* migrate ssh service
* 💄
* 💄
* fix build
* Fix
---------
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2023-11-23 07:12:00 +02:00
Huiwen
fa3cca46c0
Migrate CreateAndStartWorkspace method in dashboard ( #19076 )
...
* Migrate WorkspaceService.CreateAndStartWorkspace
* Add unit tests
* Fix rebase build error
2023-11-22 18:23:59 +02:00
Anton Kosyakov
70517fbd5a
[dashboard/server] app error conversion based on error details ( #19103 )
2023-11-22 17:49:59 +02:00
Alex Tugarev
b929a2483b
Fix for "never read" ( #19117 )
2023-11-22 17:27:00 +02:00
Alex Tugarev
612b919699
[server] Extract ScmService to be used by both APIs ( #19098 )
...
* [server] add ScmService to be used by ScmServiceAPI (and WS API)
* add simple test for `getToken`
* refactor `ScmService.getToken` to return token of undefined
* fix duplicata validation
* add api converter tests
* just some docs
2023-11-22 16:27:00 +02:00
Alex Tugarev
0fba169219
[server] Removes unused RepositoryService.canInstall ( #19112 )
...
* [server] Remove obsolete branch from `createWorkspace`
We're no longer supporting `/prebuild` in context parser, thus this is obsolete.
* [server] remove unused `RepositoryService.canInstallAutomatedPrebuilds`
2023-11-22 13:13:59 +02:00
Sven Efftinge
6ff405b964
[build] make build incremental ( #19106 )
2023-11-22 08:17:00 +02:00
Brad Harris
73a1c76985
Add sorting to imported repos list and corresponding API ( #19097 )
...
* adding sorting support for ListConfigurations
* Getting sortable headers partially setup
* killing the global button styles
* Updating sortable headers
* cleanup
* adding comment about sort field
* Update components/dashboard/src/app/Blocked.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/Button.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/podkit/buttons/Button.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/toasts/Toast.tsx
remove redundant styles
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/components/podkit/tables/SortableTable.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/src/usage/UsageDateFilters.tsx
remove redundant style
Co-authored-by: Filip Troníček <filip@gitpod.io>
* Update components/dashboard/public/complete-auth/index.html
Co-authored-by: Filip Troníček <filip@gitpod.io>
* extracting to a local LoginButton component
* whoopsie
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-11-22 00:08:59 +02:00
Jean Pierre
4aef5ceb84
[public-api] Some renaming ( #19095 )
...
* 💄
* 💄
* 💄
2023-11-22 00:07:59 +02:00