680 Commits

Author SHA1 Message Date
Anton Kosyakov
532513a848 fix #12208: gp env to respect workspace env vars 2023-02-20 18:36:50 +01:00
Brad Harris
031707c785 handle org auth providers 2023-02-20 09:46:50 +01:00
Milan Pavlik
7b93e8099e [content-service-api] Fix codegen 2023-02-17 10:37:21 +01:00
Huiwen
b16eae0e1d [supervisor-frontend] implement encryption for code 2023-02-16 14:44:21 +01:00
Gero Posmyk-Leinemann
1a9094756a [public-api-server] Forward Origin header where provided 2023-02-15 15:39:20 +01:00
Huiwen
0810836f85 [server,dashboard] add endpoints to get ide credentials 2023-02-15 08:44:19 +01:00
Sven Efftinge
0c0178b610 [server] pass organizationId to create ws 2023-02-14 12:07:19 +01:00
Milan Pavlik
db05a7f5be [server] Typed workspace region 2023-02-10 15:26:15 +01:00
Pudong Zheng
b8d630b8d8 [gitpod-protocol] add back gitpod-host-url bill and setting 2023-02-10 15:21:15 +01:00
Filip Troníček
880f186042 gp timeout set and gp timeout show to echo back the server-interpreted display duration
This means that 1439m doesn't become "1439 minutes", but rather "29 hours and 59 minutes"
2023-02-10 11:38:15 +01:00
Filip Troníček
d5b7d3ada9 Minor improvements to the workspace timeout validation
1. Only allow decimal values in timeouts
    This allowed users to have durations in other number systems like hexadecimal. For example `0xfd` was a valid timeout.
2. Remove "d" (day) as a unit
    Because this unit is both rejected by the backend and timeouts cannot be longer than 24 hours, it does not make sense to allow it.

Co-authored-by: Lou Bichard <contact@louisjohnbichard.co.uk>
2023-02-10 11:38:15 +01:00
Filip Troníček
527f1eb1fd Add a 24-hour timeout limit to workspace timeouts 2023-02-10 11:38:15 +01:00
Filip Troníček
626b0e1386 Add humanReadableDuration as return value from setWorkspaceTimeout 2023-02-10 11:38:15 +01:00
Sven Efftinge
7de05704b2 [server] set organizationid on workspace creation 2023-02-09 15:55:14 +01:00
Huiwen
901dcd26a8 [supervisor-frontend] add open desktop ide entrypoint for browser code 2023-02-09 13:26:14 +01:00
Gero Posmyk-Leinemann
3a854eb450 [server] Male sure to only ever finish this span once 2023-02-08 16:50:47 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Brad Harris
64d46a9aac Adding Git Integrations to Team Settings 2023-02-07 11:31:45 +01:00
Milan Pavlik
1dc48fbc23 [teams] Remove slug usage 2023-02-07 07:51:44 +01:00
Gero Posmyk-Leinemann
86ddf03542 [db] migration: add user.organizationId + index 2023-02-06 15:10:44 +01:00
Sven Efftinge
e4e54fea1f [dashboard] move org menu left 2023-02-06 09:37:44 +01:00
Brad Harris
3077ef5b43 creating distinct fns for org provider calls 2023-02-02 16:01:41 +01:00
Brad Harris
d24ae32b27 Removing ownerId from method params 2023-02-02 16:01:41 +01:00
Brad Harris
7b8b3e09ea adding flag check on methods 2023-02-02 16:01:41 +01:00
Brad Harris
fff28968f1 Adds org id to auth providers & new api methods 2023-02-02 16:01:41 +01:00
Aleksandar Aleksandrov
b77cfce1ab GHA Publish to NPM 2023-02-02 12:32:40 +01:00
Sven Efftinge
e17bbae28f remove org slug 2023-01-31 10:55:38 +01:00
Sven Efftinge
03a5fb6ac7 [billing] provide human readable price info 2023-01-23 11:55:30 +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
Gero Posmyk-Leinemann
78e58ee1c1 [proxy, server] Introduce X-Frontend-Dev-URL 2023-01-19 10:45:27 +01:00
Gero Posmyk-Leinemann
03eb0d518d Fix canSetWorkspaceClass to cover license-based, too 2023-01-18 18:45:26 +01:00
Sven Efftinge
95996df038 [server, cli] Allow flexible workspace timeouts 2023-01-18 16:14:26 +01:00
Huiwen
151ab80e50 [supervisor-frontend] implement frontend dashboard client
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-17 17:42:25 +01:00
Sven Efftinge
9b1917b68d [server] mandatory team name on update 2023-01-16 18:41:24 +01:00
Sven Efftinge
837844d7f8 [server] Added updateTeam call
see #5067
2023-01-16 18:41:24 +01:00
Huiwen
659889f09a [dashboard] support supervisor frontend server
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-16 15:52:24 +01:00
Sven Efftinge
3af4edc46c [server] migrate individual usage to teams 2023-01-13 09:11:52 +01:00
Sven Efftinge
7cbf80b9a6 [dashboard] add "with-options" buttons 2023-01-11 09:42:50 +01:00
Andrew Farries
91571f7277 [protocol] Add NoOrigin ConnectToServerOpt
Allow clients to disable setting an origin header when connecting to
`server`.
2023-01-10 20:52:50 +01:00
Gero Posmyk-Leinemann
581c025d53 [dashboard, server] Retry instead of redirect 2023-01-10 09:20:49 +01:00
Huiwen
f436cb7ae7 [supervisor-frontend] add user id for browser code
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-10 09:10:49 +01:00
Milan Pavlik
fad619843d [server] Validate fields for setTeamMemberRole 2023-01-10 08:45:49 +01:00
Sven Efftinge
278ffca711 [dashboard] allow show options on ws start 2023-01-09 11:03:48 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Sven Efftinge
19a267bbf4 [dashboard] new workspace with options 2023-01-03 20:30:44 +01:00
mustard
db188ebffa Update copyright of generated file 2023-01-03 09:57:42 +01:00
Sven Efftinge
0605514421 [server] Allow options on ws start
introduces IDE and workspace class arguments on WS Start
2022-12-16 08:42:25 -03:00
Sven Efftinge
5e0c93cb11 [dashboard] allow setting ws class for prebuilds 2022-12-12 04:39:21 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Pudong Zheng
abdf31d7e2 add grpc_client_handling_seconds metrics for nice-grpc 2022-12-08 10:50:18 -03:00