Milan Pavlik
db05a7f5be
[server] Typed workspace region
2023-02-10 15:26: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
626b0e1386
Add humanReadableDuration as return value from setWorkspaceTimeout
2023-02-10 11:38:15 +01:00
Sven Efftinge
df16e84434
[db/long migration] organizationId on workspace
2023-02-10 09:35:15 +01:00
Sven Efftinge
7de05704b2
[server] set organizationid on workspace creation
2023-02-09 15:55:14 +01:00
Milan Pavlik
9ee1157f14
[server] Guess region for both workspaceCreate and workspaceStart
2023-02-09 15:33:14 +01:00
Milan Pavlik
8e62049ec5
[server] Guess workspace region
2023-02-09 12:57:14 +01:00
Gero Posmyk-Leinemann
aab90d597e
[entitlement] Limit network connections for all users
2023-02-09 09:59:13 +01:00
Sven Efftinge
74aa6db6e4
[ws-manager-api] Add region for cluster selection
2023-02-08 10:51:46 +01:00
Gero Posmyk-Leinemann
23ee852026
[server] Ignore old FREE/FREE_50 when evaluating BillingMode
2023-02-08 09:00:46 +01:00
Milan Pavlik
1dc48fbc23
[teams] Remove slug usage
2023-02-07 07:51:44 +01:00
Gero Posmyk-Leinemann
bbc577bc8c
[server] Make new OIDC user member of the organization (and owner, if they are the first one)
2023-02-06 15:10:44 +01:00
Gero Posmyk-Leinemann
d2464f6ee8
[server, iam] Attach user to an Organization on OIDC login
2023-02-06 15:10:44 +01:00
Milan Pavlik
8233dc7aa2
[server] Perform authorization checks for Orgs against spicedb
2023-02-06 10:59:44 +01:00
Milan Pavlik
52653a2232
[server] Add spicedb client
2023-02-06 10:14:44 +01:00
Sven Efftinge
e4e54fea1f
[dashboard] move org menu left
2023-02-06 09:37:44 +01:00
Alex Tugarev
68ba17037a
Revert "[gh-app] unsubscribe from pull_request.synchronize"
...
This reverts commit e7f269d127031b32bb7247f6adb2b304a67d122d.
2023-02-03 14:38:41 +01:00
Milan Pavlik
12f9f6fa52
[server] Extend guardTeamResource with fine-grained ops
2023-02-03 11:27:41 +01:00
Milan Pavlik
a02919fce0
[server] Cleanup Organization RPCs authorization checks
2023-02-03 10:59:41 +01:00
Alex Tugarev
e7f269d127
[gh-app] unsubscribe from pull_request.synchronize
2023-02-03 08:48:41 +01:00
Brad Harris
3077ef5b43
creating distinct fns for org provider calls
2023-02-02 16:01:41 +01:00
Brad Harris
6a5440e5aa
just use teamId for feature flag check
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
Gero Posmyk-Leinemann
06c91990e2
[server, installer] Make admin-login-secret configurable (new default: not set)
2023-02-02 11:53:40 +01:00
Sven Efftinge
2fac3dffc5
[prebuilds] respect gitpod.yml in GHE
2023-02-02 08:44:40 +01:00
Milan Pavlik
f8cedeaf8e
[server] Guard getTeam
2023-02-01 16:58:39 +01:00
Sven Efftinge
e17bbae28f
remove org slug
2023-01-31 10:55:38 +01:00
Sven Efftinge
b67ae8179e
[dashboard] user visible rename team->organization
2023-01-31 10:14:38 +01:00
Sven Efftinge
6b546d6e86
[server] only migrate users without chargebee plan
2023-01-30 11:17:37 +01:00
Anton Kosyakov
26180f935d
[ide-service] remove unused code
2023-01-25 14:45:33 +01:00
Gero Posmyk-Leinemann
6586c2a044
[cleanup] After cookie migration
2023-01-25 14:17:32 +01:00
Gero Posmyk-Leinemann
46cfb187b0
[server] Rename cookie to v2 for proper rollout
2023-01-25 13:57:32 +01:00
Jean Pierre
8a77c7bbc7
Narrow cookie scope to gitpod domain only
2023-01-24 19:21:32 +01:00
Wouter Verlaek
0d9b56d8fa
Cleanup withoutWorkspaceComponents flag usage
2023-01-23 15:37:32 +01:00
Wouter Verlaek
aa8c62b7e7
[server] Remove image builder address config
2023-01-23 11:58:31 +01:00
Sven Efftinge
03a5fb6ac7
[billing] provide human readable price info
2023-01-23 11:55:30 +01:00
Wouter Verlaek
508148b836
[server] Remove movedImageBuilder flag
2023-01-23 11:42:30 +01:00
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
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
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
Alex Tugarev
60ead2f791
[iam] log errors for failed session creation
2023-01-19 16:27:27 +01:00
Gero Posmyk-Leinemann
78e58ee1c1
[proxy, server] Introduce X-Frontend-Dev-URL
2023-01-19 10:45:27 +01:00
Gero Posmyk-Leinemann
8017c19033
[server] Add OneTimeSecretServer.serveToken
2023-01-19 09:04:27 +01:00
Sven Efftinge
95996df038
[server, cli] Allow flexible workspace timeouts
2023-01-18 16:14:26 +01:00
Andrew Farries
97a5487fbe
Fix server telepresence
2023-01-18 12:30:26 +01:00