1187 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
Sven Efftinge
9e1cece0bf [dashboard] start with options by default 2023-02-17 16:25:22 +01:00
Huiwen
0810836f85 [server,dashboard] add endpoints to get ide credentials 2023-02-15 08:44:19 +01:00
Brad Harris
5e612871c9 Rename ownerId => userId for clarity 2023-02-14 17:20:19 +01:00
Brad Harris
9e25df8c08 Adjust logic to account for orgs 2023-02-14 17:20:19 +01:00
Brad Harris
cd05131cae adding a comment around markAsVerified changes 2023-02-14 17:20:19 +01:00
Gero Posmyk-Leinemann
2c4390ac26 [server] strict same site origin for /api/gitpod endpoint 2023-02-14 15:00:19 +01:00
Sven Efftinge
0c0178b610 [server] pass organizationId to create ws 2023-02-14 12:07:19 +01:00
Sven Efftinge
181076af92 [server] disable long migrations via config 2023-02-13 16:14:18 +01:00
Gero Posmyk-Leinemann
c2f624fd0b [server] Don't start a prebuild if the usage limit got reached 2023-02-13 08:11:18 +01:00
Gero Posmyk-Leinemann
8d56646f14 [server] EntitlementService: remove unnecessary dependency 2023-02-13 08:11:18 +01:00
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