5923 Commits

Author SHA1 Message Date
Alex Tugarev
86b674ca6d [server] redirect to /teams/new after /login/ots/admin-user 2023-01-23 08:54:30 +01:00
Gero Posmyk-Leinemann
49fe74463c [server] Config: Add showSetupModal (default: true) 2023-01-23 08:45:30 +01:00
Jean Pierre
3ebdc3204a Do not log error when it has Unavailable code 2023-01-20 18:25:28 +01:00
Milan Pavlik
e5c8da1491 [oidc] Implement Get OIDC Client Config API 2023-01-20 15:53:28 +01:00
Moritz Eysholdt
d467d37575 Fix Go DB test in GHA 2023-01-20 15:49:28 +01:00
Milan Pavlik
b984390bfb [oidc] Move create RPC directly to public-api 2023-01-20 15:20:28 +01:00
Milan Pavlik
72a31730f7 [oidc] Delete OIDC Client Config API 2023-01-20 15:00:28 +01:00
Moritz Eysholdt
a8b928030c Add MySQL service 2023-01-20 14:44:28 +01:00
Alex Tugarev
487b7edfde [public-api] re-generate and adjust callsites 2023-01-20 12:11:27 +01:00
Alex Tugarev
652a3ec6d2 [public-api] rename scopes_supported > scopes 2023-01-20 12:11:27 +01:00
Alex Tugarev
15b22a9ced [public-api] ListClientConfigsResponse.client_configs 2023-01-20 12:11:27 +01:00
Andrew Farries
2935f9d914 Extract isResourceExhaustedError method 2023-01-20 11:56:28 +01:00
Andrew Farries
7b0ccd7098 Track ws start failures due to resource exhaustion
* Add a new `resourceExhausted` reason for ws failures.
* Throw on resource exhaustion when trying to start a workspace rather
  than trying the next cluster as we do for other grpc errors.
* Construct a StartInstanceError with the `resourceExhausted` reason
  when the exception is handled.

This gives us a new "resourceExhausted" dimension on the `gitpod_server_instance_starts_failed_total` metric that can be used to track start failures due to resource exhaustion.
2023-01-20 11:56:28 +01:00
Gero Posmyk-Leinemann
07d825812a [dashboard] Don't block admin-user login with profile 2023-01-20 11:27:27 +01:00
Gero Posmyk-Leinemann
84b6ad671f [server] Allow admin user to login a websession using preseeded OTS token 2023-01-20 11:27:27 +01:00
Gero Posmyk-Leinemann
dea13072e9 [server] Add config.admin.loginKey 2023-01-20 11:27:27 +01:00
Gero Posmyk-Leinemann
f0917a3721 [db] Create builtin-installation-admin-user 2023-01-20 11:27:27 +01:00
Anton Kosyakov
674ad1c978 polish IDEFrontendDashboardService
- add docs and security notes
- remove imlementation methods from the interface
- fix a regression with opening desktop IDEs on the workspace origin
- allow to access the interface from other locations for the same workspace, i.e. for dev and debug modes
2023-01-20 11:12:28 +01:00
Jean Pierre
b257d01e71 Cleanup old code in StartWorkspace.tsx 2023-01-20 10:37:27 +01:00
Anton Kosyakov
959e584b55 [ws-proxy] support ports location for debug workspace
It is a prerequisite to https://github.com/gitpod-io/gitpod/pull/15795. Based on Pudong's work from https://github.com/gitpod-io/gitpod/pull/15687.

Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-01-20 09:44:27 +01:00
Alex Tugarev
ff035a76ed Add simple SSO page 2023-01-20 09:23:27 +01:00
Alex Tugarev
e7ea5a551f Add SSO menu entry to ~Team~ Org Settings 2023-01-20 09:23:27 +01:00
Alex Tugarev
28fe1a2b12 [dashboard] introduce oidcServiceEnabled featureflag 2023-01-20 09:23:27 +01:00
Alex Tugarev
60ead2f791 [iam] log errors for failed session creation 2023-01-19 16:27:27 +01:00
Alex Tugarev
a58bea4ed9 [iam] hardcode "openid" scope 2023-01-19 16:27:27 +01:00
Alex Tugarev
804005b621 [iam] AuthCodeURL to include redirectURL as param 2023-01-19 16:27:27 +01:00
Alex Tugarev
506400650f [iam] read OIDC client configs from DB 2023-01-19 16:27:27 +01:00
Alex Tugarev
768f98836c [iam/oidc] no select by issuer for /start
just to simplify reading clients from DB for now
2023-01-19 16:27:27 +01:00
Milan Pavlik
7012fe2ce3 [oidc] List client configs API implementation 2023-01-19 14:30:27 +01:00
Anton Kosyakov
573595fdcb [workspacekit] fall back to last successful workspace info on resource exhausted 2023-01-19 13:18:27 +01:00
utam0k
3f352c3748 ws-manager: Add a log and trace not to overlook workspace schedule failure 2023-01-19 11:52:27 +01:00
Vedant Jain
8d1c429481 [revamp] : feedback widget UX 2023-01-19 11:50:27 +01:00
Robo Quat
07bef00929 Update Platform Version of JetBrains Gateway Plugin (EAP) to 223.8617.24-CUSTOM-SNAPSHOT 2023-01-19 11:40:27 +01:00
Robo Quat
cacc87a402 Update Platform Version of JetBrains Gateway Plugin (Stable) to 223.8617.24-CUSTOM-SNAPSHOT 2023-01-19 11:39:27 +01:00
Gero Posmyk-Leinemann
fbe474d498 [proxy] Add installation level flag FRONTEND_DEV_ENABLED (default: false) 2023-01-19 10:45:27 +01:00
Gero Posmyk-Leinemann
78e58ee1c1 [proxy, server] Introduce X-Frontend-Dev-URL 2023-01-19 10:45:27 +01:00
Milan Pavlik
0d5cb6c3ff [installer] Mount database secret to Public API 2023-01-19 10:03:27 +01:00
Sven Efftinge
faca224856 [dashboard] never redirect to projects from / 2023-01-19 10:00:27 +01:00
JenTing Hsiao
314a46c0f0 registry-facade: retry on ECONNRESET and EPIPE only
Retry io.CopyBuffer error with 100ms sleep and retry on error code
ECONNRESET and EPIPE only.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-19 09:59:26 +01:00
JenTing Hsiao
6794550e21 Update go modules
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-19 09:59:26 +01:00
JenTing Hsiao
f3a82830be registry-facade: retry when io.CopyBuffer fails
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-19 09:59:26 +01:00
Milan Pavlik
371de3f842 [public-api] Reduce duplication in validation functions 2023-01-19 09:18:26 +01:00
Brad Harris
4d000a394d Pulling latest project prebuild into own query 2023-01-19 09:17:27 +01:00
Brad Harris
7208a1413e adding a sort by name 2023-01-19 09:17:27 +01:00
Milan Pavlik
8e185856d1 [iam] Store OrganizationID with OIDC Client Configs 2023-01-19 09:07:27 +01:00
Milan Pavlik
e3fb86f950 [oidc] Propagate OrganisationID to IAM component 2023-01-19 09:05:26 +01:00
Gero Posmyk-Leinemann
8017c19033 [server] Add OneTimeSecretServer.serveToken 2023-01-19 09:04:27 +01:00
Milan Pavlik
fde5279d3a [db] Implement basic list oidc client configs 2023-01-19 08:26:26 +01:00
Jean Pierre
396b8f3ca5 Delete GetOwnerID and use OwnerId from config 2023-01-18 23:00:26 +01:00
Gero Posmyk-Leinemann
03eb0d518d Fix canSetWorkspaceClass to cover license-based, too 2023-01-18 18:45:26 +01:00