11481 Commits

Author SHA1 Message Date
Huiwen
0b1e5d43cb
Migrate workspaceService updatePort method (#19234)
* Migrate workspaceService updatePort method

* fix build

* fixbuild
main-gha.21716
2023-12-11 16:28:18 +02:00
Filip Troníček
99ad568aa3
Reflect Privacy policy update (#19230) main-gha.21710 2023-12-11 15:39:18 +02:00
Gero Posmyk-Leinemann
6f64417644
[auth] RequestContext: add missing runWithSubjectId (#19235) main-gha.21705 2023-12-11 14:46:18 +02:00
Manuel Alejandro de Brito Fontes
1e4e60614c
Update caddy to v2.7.6 (#19232)
* Update caddy to v2.7.6

* Update go modules
main-gha.21696
2023-12-11 14:14: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
main-gha.21683
2023-12-11 13:18:18 +02:00
Gero Posmyk-Leinemann
c183ec89ba
[auth] Authorizer: log ctx-user-id-missing as well (#19229) main-gha.21653 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
main-gha.21648
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
main-gha.21622
2023-12-08 20:57:15 +02:00
Brad Harris
277c9dacfb
wrap menu item w/ separate flag check (#19220) main-gha.21607 2023-12-08 16:48:15 +02:00
Jean Pierre
93fc476331
[code] Update code to 1.85 (#19219)
* Update code to 1.85

* Update stable commit
main-gha.21598
2023-12-08 14:24:15 +02:00
Anton Kosyakov
bfa7c6e070
[public-api] complete installation service (#19200) main-gha.21597 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
main-gha.21596
2023-12-08 13:31:15 +02:00
Alex Tugarev
682878ad0c
[server] implement getAuthenticatedUser RPC (#19187) main-gha.21594 2023-12-08 13:16:15 +02:00
Huiwen
da125ed40b
Migrate InstallationService GetInstallationWorkspaceDefaultImage method (#19221) main-gha.21593 2023-12-08 13:15:15 +02:00
Huiwen
633f9915fc
Migrate instanceUpdate on service.tsx (#19213)
* Migrate instanceUpdate on service.tsx

* Remove useless code

* Fix build
main-gha.21592
2023-12-08 13:14:15 +02:00
Filip Troníček
46ff2d0121
Scope config lookup to org (#19217) main-gha.21568 2023-12-08 08:50:15 +02:00
Robo Quat
c04df5a191
[JetBrains] Update IDE images to new build version (#19210) main-gha.21535 2023-12-07 23:55:15 +02:00
Pudong
6ecc991ff5
[experimental] add ssh certificate authorities as feature flags (#19208) main-gha.21526 2023-12-07 22:59:14 +02:00
Robo Quat
77ff7415d9
Update Platform Version of JetBrains Gateway Plugin (Stable) to 233.11799-EAP-CANDIDATE-SNAPSHOT (#19209) main-gha.21522 2023-12-07 22:35:14 +02:00
Anton Kosyakov
9bd532b474
add GitpodV1APIServerErrors alert (#19212) main-gha.21484 2023-12-07 16:15:14 +02:00
Huiwen
bb2473e886
Migrate WorkspaceService snapshot methods (#19204)
* Migrate WorkspaceService snapshot methods

* Add test cases

* Remove list snapshots
main-gha.21481
2023-12-07 15:51:14 +02:00
Robo Quat
ba07eb951a
update index (#19197)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.21456
2023-12-07 10:40:14 +02:00
Alex Tugarev
e4da07511b
[dashboard] don't invalidate useOrganizations on update of user settings (#19198) main-gha.21453 2023-12-07 08:55:14 +02:00
Alex Tugarev
cf2facc944
Fix team-db spec (#19207) main-gha.21452 2023-12-07 08:48:14 +02:00
Pudong
1b7498059c
[ws-proxy] add missing permission for generated ssh key (#19201) main-gha.21416 2023-12-06 21:00:13 +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
main-gha.21408
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
main-gha.21386
2023-12-06 12:42:13 +02:00
Gero Posmyk-Leinemann
2b5a36e9b5
[authorizer] prepare Authorizer for SubjectId rollout (#19195) main-gha.21379 2023-12-06 10:58:13 +02:00
Brad Harris
ca02c26021
handle redirects in host reachability test (#19196) main-gha.21365 2023-12-05 20:45:12 +02:00
Brad Harris
0e7fae68e2
Update useLatestVersion in autostart options when user pref updaetd (#19181)
* update useLatestVersion in autostart options

* avoid mutating user directly
main-gha.21355
2023-12-05 17:29:12 +02:00
Brad Harris
d447212b9a
Fix text input background color (#19190)
* convert podkit colors into css variables to handle dark mode automatically

* cleanup

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.21354
2023-12-05 17:26:13 +02:00
Gero Posmyk-Leinemann
f78eff2467
Frontend development: redirect instead of proxy (#19177)
* [dev] make-user-admin: Grant all admin permissions

* [dev] Change frontend-dev to redirect instead of transparently proxy

This removes the "proxy needs network access to upstream" constraint, by relying on the developers browser

* [dev] front-end dev: more convenience, and added to readme
main-gha.21351
2023-12-05 16:48:13 +02:00
Sven Efftinge
ad2a077973
[db] fix the query for non-fga migrated users (#19194) main-gha.21342 2023-12-05 15:03:12 +02:00
Anton Kosyakov
5db20a7042
[server] hook verification API service (#19193) main-gha.21332 2023-12-05 12:50:12 +02:00
Gero Posmyk-Leinemann
4c3eb7d72f
[iam] Use proper subjectId in updateOIDCUserOnSignin (#19189) main-gha.21323 2023-12-05 10:17:12 +02:00
Huiwen
17397ad65a
Fix admin dashboard convert failed case (#19192)
* Add test cases

* Fix admin dashboard convert case
main-gha.21321
2023-12-05 09:55:12 +02:00
Brad Harris
74528b98c2
New Prebuild Settings UI for repo configs (#19184)
* setting up settings

* preload ws classes

* adding heading/description to prebuild ws class

* add some constants

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.21294
2023-12-04 21:21:12 +02:00
Anton Kosyakov
5a55a7a6ff
[dashboard] proactively reconnect grpc streams (#19185) main-gha.21279 2023-12-04 16:05:11 +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
main-gha.21262
2023-12-04 12:36:11 +02:00
Huiwen
5f73ddf451
Fix integration tests create workspace user not verified error (#19186) 2023-12-04 12:35:11 +02:00
Pudong
6d02689f65
[supervisor] always allow gitpod user ssh (#19182) main-gha.21247 2023-12-02 06:34:09 +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>
main-gha.21239
2023-12-02 00:31:09 +02:00
Siddhant Khare
2fcec7c285
[dashboard]: Add Org settings based WS share menu (#19183)
* [dashboard]: Add Org settings based WS share menu

* clean code
main-gha.21234
2023-12-01 22:10:09 +02:00
Pudong
7f83e2f592
[ws-proxy] only get username if workspace not managed by mk2 (#19180)
* [ws-proxy] only get username if workspace not managed by mk2

* remove ssh key from infoprovider

* improve logs

* Update components/ws-proxy/pkg/sshproxy/server.go
main-gha.21232
2023-12-01 21:41:09 +02:00
Anton Kosyakov
e21e02ae9d
[public-api] improve request exception logging (#19179) main-gha.21202 2023-12-01 18:36:08 +02:00
Brad Harris
3155a30960
Adding Switch podkit component to prebuild settings page (#19171)
* adding Switch podkit component

* flex it

* Update components/dashboard/src/repositories/detail/ConfigurationDetailPrebuilds.tsx

Co-authored-by: Filip Troníček <filip@gitpod.io>

* removing redundant copy

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.21201
2023-12-01 18:23:08 +02:00
Brad Harris
efbdade187
Repo List - Style updates (#19157)
* adjust prebuilds disabled styling

* Make headings all semibold

* update icon based on if prebuilds enabled

* adjust cell padding

* shift import button to search row

* fix search input and button on smaller screens

* adjusting button & input border radius and height to match

* update font size on inputs to match buttons

* prevent table from overflowing

* adjust icon sizes

* wrap url on smaller screens too
main-gha.21197
2023-12-01 17:37:08 +02:00
Robo Quat
3a6b125511
update index (#19176)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.21180
2023-12-01 13:57:08 +02:00
Gero Posmyk-Leinemann
3e79652b04
[dev] Add "previewctl get url" (#19167) main-gha.21157 2023-12-01 10:22:08 +02:00
Robo Quat
eb6a504011
update index (#19170)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.21150
2023-11-30 21:55:07 +02:00