5923 Commits

Author SHA1 Message Date
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
dd9cc35f33 Adding a findById() to AuthProviderEntryDB 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
Brad Harris
d60d04c05f filter out org auth providers from user providers 2023-02-14 17:20:19 +01:00
Sven Efftinge
2a35323913 [dashboard] don't create more than one ws 2023-02-14 15:55:19 +01:00
Gero Posmyk-Leinemann
2c4390ac26 [server] strict same site origin for /api/gitpod endpoint 2023-02-14 15:00:19 +01:00
PalanikannanM
3e40a62223 [dashboard] Fix Dashboard lint errors for Login.tsx 2023-02-14 14:44:19 +01:00
Henit Chobisa
d5d7659815 feat: Improved UX for Environment Variable Item List ( Settings ) 2023-02-14 12:54:19 +01:00
Sven Efftinge
85ec355b32 [dashboard] pass organizationId on create ws 2023-02-14 12:29:19 +01:00
Sven Efftinge
0c0178b610 [server] pass organizationId to create ws 2023-02-14 12:07:19 +01:00
Wouter Verlaek
e62c773362 [ws-manager-mk2] Aborted condition, grace period 2023-02-14 12:04:19 +01:00
Thomas Schubart
22a5fc3225 [registry-facade] Use multiple remote spec providers 2023-02-14 11:41:19 +01:00
Thomas Schubart
8c6c0f5a8b [ws-manager] Update golden files 2023-02-14 11:41:19 +01:00
Thomas Schubart
57fee90556 [ws-manager-mk2] Schedule on experimental nodes 2023-02-14 11:41:19 +01:00
Thomas Schubart
70e7cac44f [ws-manager] Do not schedule on experimental nodes 2023-02-14 11:41:19 +01:00
Manuel Alejandro de Brito Fontes
6c0d08f436 Update buildkit container image 2023-02-14 11:37:19 +01:00
Wouter Verlaek
65d5cb2d88 [ws-manager-mk2] Cleanup EverReady condition 2023-02-14 11:28:19 +01:00
Milan Pavlik
5caa47779b [ws-man-bridge-api] Fix codegen 2023-02-14 10:37:18 +01:00
Sven Efftinge
ebcf270b63 [migrations] added logs and air 2023-02-14 10:36:19 +01:00
Brad Harris
24979dc8b4 fixing early return error and lint errors 2023-02-14 09:05:18 +01:00
Wouter Verlaek
468f7bf016 [ws-manager-mk2] Controller env tests 2023-02-13 22:08:18 +01:00
Sven Efftinge
181076af92 [server] disable long migrations via config 2023-02-13 16:14:18 +01:00
Shannon
c1e77d097d [ws-daemon] reduce noisy error to warning 2023-02-13 14:30:18 +01:00
Huiwen
be8f9e30c5 [gp-cli] fix empty human readable timeout 2023-02-13 10:44:17 +01:00
Huiwen
c98dde3b41 [ws-manager-bridge] fix incorrect module import 2023-02-13 08:34:18 +01:00
Huiwen
e3e3b976c7 [gp-cli] fix gp open cmd open another file 2023-02-13 08:29:17 +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
Brad Harris
e79abf6daf remove unused arg 2023-02-10 17:37:15 +01:00
Brad Harris
b5b7ab4bcc ensure org for specific routes 2023-02-10 17:37:15 +01:00
Brad Harris
874cdbd233 remove useMemo around bool 2023-02-10 17:37:15 +01:00
Brad Harris
1473f57ba8 removing unused hook 2023-02-10 17:37:15 +01:00
Brad Harris
2aca2794ec move loading state into OrgSettingsPage 2023-02-10 17:37:15 +01:00
Sven Efftinge
5efec1d70c [dashboard] redirect when no project is found 2023-02-10 17:36:15 +01:00
Pudong Zheng
7197187149 supervisor: only write /dev/termination-log in init or run command 2023-02-10 16:13:15 +01:00
Milan Pavlik
00aacaeb5a [ws-man-bridge] Expose region in ClusterStatus 2023-02-10 15:30:15 +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
George Tsiolis
7aa6e9e236 Always show all navigation menu items 2023-02-10 15:06:15 +01:00
Sven Efftinge
2fd43d6307 [usage] update stripe usage on finalization
update stripe with current usage immediately, so that
invoices created between now and the next reconcile
are correct.
2023-02-10 14:33:15 +01:00
Sven Efftinge
f4f343f07c [db] optimize workspace update 2023-02-10 14:19: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
90a865f269 Update gp timeout set help text to match backend 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
Filip Troníček
e3872ec625 JetBrains Timeout Input Dialog
Co-authored-by: Lou Bichard <contact@louisjohnbichard.co.uk>
2023-02-10 11:38:15 +01:00
Pudong Zheng
377f00cb02 [ws-manager] Add custom closed timeout
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2023-02-10 11:16:15 +01:00
Wouter Verlaek
172c58c0eb [ws-manager-mk2] Workspace timeouts 2023-02-10 10:49:15 +01:00