11481 Commits

Author SHA1 Message Date
Sven Efftinge
1e3adce9db
[server] icnrease content deletion chunk (#19512) main-gha.23513 2024-03-06 20:06:16 +02:00
Filip Troníček
e59d1bda25
Allow running prebuilds on a specific branch (#19507)
* Allow running prebuilds on a specific branch

* log arrow and narrow the gap
main-gha.23504
2024-03-06 17:31:16 +02:00
Huiwen
49b24097d6
Add db migration for org-level default editor (#19509) main-gha.23501 2024-03-06 16:54:16 +02:00
Gero Posmyk-Leinemann
22bd295d2d
[server] Remove feature flags and cleanup dead code in TokenService (#19506) main-gha.23494 2024-03-06 09:58:15 +02:00
Filip Troníček
08c8a1ced7
Do not flash unknown prebuild status (#19501)
* Do not flash unknown prebuild status

* do not panic over unknown values!

* Loading state for less layout shift

* Do not assume unknown repo name

* Fix loader color
main-gha.23476
2024-03-05 19:56:15 +02:00
Pudong
6cc2aae832
[service-waiter] add addition image condition in annotation (#19494)
* [service-waiter] add addition image condition in annotation

* use common-go package
remove spec.image check

* change download source for kubectl
main-gha.23469
2024-03-05 16:08:15 +02:00
Huiwen
d1464868ba
Fix prebuild logs race condition (#19504) main-gha.23465 2024-03-05 14:01:15 +02:00
Pudong
e102e72e84
[installer] fix mirror list get empty image (#19503) main-gha.23459 2024-03-05 11:03:14 +02:00
Kyle Brennan
696ec03449
[obs] fix alerts for workspace deployments (#19502)
The proper label to use with `kube_deployment_spec_replicas` is deployment.

`container` is okay with `kube_pod_container_status_restarts_total`
main-gha.23455
2024-03-05 01:49:14 +02:00
Huiwen
c75b68e6a2
Apply new design to org-level workspace class restriction (#19487)
* [dashboard] apply new design to org-level workspace class restriction

* Add isLoading check
main-gha.23447
2024-03-04 10:41:13 +02:00
Robo Quat
070ca415d0
Update Platform Version of JetBrains Backend Plugin (EAP) to 241.14024-EAP-CANDIDATE-SNAPSHOT (#19495) main-gha.23444 2024-03-04 10:06:13 +02:00
Robo Quat
025961a376
Update Platform Version of JetBrains Gateway Plugin (EAP) to 241.14024-EAP-CANDIDATE-SNAPSHOT (#19496) main-gha.23443 2024-03-04 10:05:13 +02:00
Jean Pierre
9e4ef694d1
[code] Update code to 1.87.0 (#19491)
* Update code commit

* [code] Update code stable to 1.87.0
main-gha.23440
2024-03-01 19:25:11 +02:00
Cornelius A. Ludmann
fac15ad1aa
[scrubber] Scrub URL path parts separately (#19497) main-gha.23422 2024-03-01 16:16:11 +02:00
Huiwen
0aafc58b6f
Fix new workspace page re-render loop and false negative error message for ws class (#19492)
* Add loading state for allowed workspace class memo

* Fix rerender max
main-gha.23408
2024-03-01 11:51:11 +02:00
Siddhant Khare
767c80f5de
[dashboard] add workspace class restriction on repo-level (#19410)
Co-authored-by: Huiwen Huang <huiwen@gitpod.io>
Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Huiwen <mhqnwt@gmail.com>
main-gha.23394
2024-02-29 16:02:10 +02:00
Huiwen
7decb17370
[papi] add proto of restricted editors on org-level and repo-level (#19488)
* [papi] add proto of restricted editors on org-level and repo-level

* address
main-gha.23393
2024-02-29 15:47:10 +02:00
Huiwen
01d7e420aa
Add db migration for org-level editor restriction (#19489) hw-editor-org-db-gha.23391 main-gha.23390 2024-02-29 13:56:10 +02:00
Robo Quat
bfba265779
[JetBrains] Update IDE images to new build version (#19473) main-gha.23377 2024-02-29 10:14:10 +02:00
Huiwen
394dcae20f
[papi,server] implement restricted_workspace_classes in server (#19481)
* [papi,server] implement `restricted_workspace_classes` in server

* Fix test case input

* nit
main-gha.23368
2024-02-28 22:37:09 +02:00
Huiwen
718353ef90
[papi] add restricted_workspace_classes in repository settings (#19480)
* [papi] add `restricted_workspace_classes` in repository settings

* Update components/public-api/gitpod/v1/configuration.proto

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

* generate

* Fix build

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.23359
2024-02-28 13:23:09 +02:00
Gero Posmyk-Leinemann
a05f84ef2a
[server] Improve behavior and reporting around "refreshToken" (#19482)
* [server] Check token even in case of timeout

* [server] Metrics: Request counter and histogram for token refreshes

* review comments
2024-02-28 12:01:09 +02:00
Robo Quat
730eed3bc5
update index (#19478)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.23353
2024-02-28 12:00:09 +02:00
Huiwen
e80714a733
Fix duration validation (#19476) main-gha.23322 2024-02-27 21:10:09 +02:00
Filip Troníček
6638c5d43a
Fix failed prebuild reruns (#19472)
* Fix failed prebuild reruns

* Clean up effect deps

* Dispose of hanging streams

Co-authored-by: mustard <huiwen@gitpod.io>

---------

Co-authored-by: mustard <huiwen@gitpod.io>
main-gha.23304
2024-02-27 10:33:08 +02:00
Gero Posmyk-Leinemann
af0213b6e6
[server] Sync token refresh (#19470)
* [server] Sync token refresh

* [proxy] api.: Handle /auth/*/callback
main-gha.23301
2024-02-27 09:20:08 +02:00
Gero Posmyk-Leinemann
bdad590b09
[server] Missing SCM access: Filter out user error on workspace start (#19469)
* [server] Missing SCM access: Filter out user error on workspace start

to prevent false alerts (EXP-1434)

* [proxy] api.: Handle /auth/*/callback
main-gha.23300
2024-02-27 09:13:08 +02:00
Filip Troníček
aec9746ef8
Add guidance for debugging failed prebuilds (#19460)
* Add guidance for debugging failed prebuilds

* prevent double rendering

* Do not render multiple times

* Use state to determine whether to show the error

* Negation is harder than it looks

* Set to true only once

Should maybe make the hook re-render only after it has been set to `true`, avoiding the rewrite-

* Try an overlay

* Simplify check and messaging

* Use standard tw width

* Link to docs for gp validate

* fix effect deps
main-gha.23290
2024-02-26 20:14:07 +02:00
Huiwen
f324ac73f5
[dashboard] fix workspace start options ordering (#19468)
* [dashboard] fix ordering of start workspace options

* [podkit] link button should be button

* Revert "[podkit] link button should be button"

This reverts commit 79c6607a52c14b7fa205ac1bf94df09590982058.
main-gha.23273
2024-02-26 13:10:07 +02:00
zhipengzuo
ab8f41f3a7
showPluginInIDEA (#19392)
Signed-off-by: 勇里 <yongli.zzp@antgroup.com>
main-gha.23270
2024-02-26 11:57:07 +02:00
Robo Quat
64030c9288
update index (#19465)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.23263
2024-02-26 09:39:07 +02:00
Robo Quat
21390aba7d
Update Platform Version of JetBrains Backend Plugin (EAP) to 241.13688-EAP-CANDIDATE-SNAPSHOT (#19461) main-gha.23260 2024-02-26 08:30:07 +02:00
Filip Troníček
f5a496d63b
Link prebuild settings instead of general settings (#19464) main-gha.23255 2024-02-23 23:38:04 +02:00
Huiwen
b1da197018
[dashboard] reduce API call in prebuild pages (#19463)
* [papi] add repository_name a field of prebuild

* Remove unnecessary fetch of configuration in prebuilds
2024-02-23 17:21:04 +02:00
Huiwen
06514d18d4
[dashboard] add route without FF checking (#19462)
* [dashboard] add route without FF checking

* revert ordering
main-gha.23246
2024-02-23 17:20:04 +02:00
Filip Troníček
e8f3ba8453
Remove ability to edit repository variables (#19459)
* Remove ability to edit repository variables

* FIx copyright

* Address review feedback
main-gha.23235
2024-02-23 14:07:04 +02:00
Filip Troníček
5686eb5595
Manually rerun prebuilds (#19449)
* Imported repositories -> Repository settings

* unify org settings title

* Move the repo settings up

* Rerun prebuild WIP

* Fix suggested repo shape

* Only allow to select repos with enabled prebuilds

* Underline prebuilds settings link

* Run prebuild on empty state

* Clean up and use `refetch` instead of invalidating

* Correctly surface errors
main-gha.23209
2024-02-22 20:20:04 +02:00
Robo Quat
a7add6793e
Update Platform Version of JetBrains Gateway Plugin (EAP) to 241.12662-EAP-CANDIDATE-SNAPSHOT (#19441) main-gha.23201 2024-02-22 19:10:04 +02:00
Huiwen
9719e619be
[IdP] add user_id claim and allow to customize OIDC subject via FF (#19455)
* [papi] add user_id field to idp token

* [idp] allow to customize claim keys

* fixup update FF

* Update splitor and add more unit tests
main-gha.23200
2024-02-22 19:03:03 +02:00
Filip Troníček
9b930dd74a
Make sure logs are aligned to the left (#19457)
* Make sure logs are aligned to the left

* Test the change

* Remove debug test
main-gha.23193
2024-02-22 13:15:03 +02:00
Milan Pavlik
cf7e24b78b
[auth] Attempt to refresh token 3 times EXP-1413 (#19452)
* [auth] Attempt to refresh token 3 times

* Fix

* Fix

* backoff

* Fix

* Fix
main-gha.23187
2024-02-22 12:01:03 +02:00
Gero Posmyk-Leinemann
96df901870
[server] Fix handling of multiple session cookies with the same name (#19456)
* [server] Fix handling of multiple session cookies with the same name

* [public-api-server] Fix handling of multiple session cookies with the same name

* Ensure exact same behavior as before in jwtSessionConvertor
gpl-ood-cookie-gha.23186 main-gha.23185
2024-02-22 11:48:03 +02:00
Robo Quat
5af55a7483
[JetBrains] Update IDE images to new build version (#19442) main-gha.23182 2024-02-22 11:09:03 +02:00
Robo Quat
d3359aa8ad
Update Platform Version of JetBrains Backend Plugin (EAP) to 241.12662-EAP-CANDIDATE-SNAPSHOT (#19440) main-gha.23172 2024-02-22 09:23:03 +02:00
Huiwen
bcd2e9360b
[server, dashboard] improve single prebuild view (#19445)
* [server] proper handle prebuild log stream response

* Write error message to body

* Check read_prebuild permission on organization level when get workspace

* fixup

* Update regex and add unit tests

* Add persist error toast for prebuild errors

* 💄

* Fix stopped workspace log

* fix rerun

* Ensure fga enabled like papi

* Update components/dashboard/src/prebuilds/detail/PrebuildDetailPage.tsx

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

* Address feedback

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.23166
2024-02-22 08:31:03 +02:00
Gero Posmyk-Leinemann
c13409e094
[dashboard] Be more defensive when constructing "invalida billing address" notifications (#19443) main-gha.23161 2024-02-21 15:05:05 +02:00
Alex Tugarev
c67e2665a4
Revert "[frontend] Smooth relogin (#19451)" (#19453)
This reverts commit 8b8c5d75f25400410d06ed5b04baa1280ce5dfb3.
main-gha.23160
2024-02-21 15:00:02 +02:00
Gero Posmyk-Leinemann
8b8c5d75f2
[frontend] Smooth relogin (#19451) main-gha.23150 2024-02-21 13:16:02 +02:00
Gero Posmyk-Leinemann
1a93ac2f5b
[api] Fix /api/logout (#19450) main-gha.23137 2024-02-21 10:54:02 +02:00
Robo Quat
0860de5652
update index (#19447)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.23130
2024-02-21 10:11:03 +02:00