460 Commits

Author SHA1 Message Date
Andrew Farries
5cc4e3d0b2 Return raw duration from getWorkspaceTimeout
Include the raw duration from getWorkspaceTimeout, ie in the format
'60m' before translation to 'short' or 'extended' etc.
2022-06-24 19:26:33 +05:30
Jan Keromnes
26b4f555f4 [server][dashboard] Allow teams to cancel and renew their usage-based subscription in Stripe 2022-06-24 14:55:33 +05:30
Jan Keromnes
59cbf53956 [gitpod-db][server] Refactor workspace instance 'attributedTeamId' to an explicit, not-team-specific 'usageAttributionId' 2022-06-24 14:38:33 +05:30
Adrien Thebo
2e8366827c [installation-telemetry] Add licenseType to sent telemetry 2022-06-22 21:13:31 +05:30
Gero Posmyk-Leinemann
e97fd4ceec [server] Move DebugApp to protocol 2022-06-21 12:37:30 +05:30
Jan Keromnes
71813fe752 [db] Persist attributed teamId on workspace instances (for usage analytics / billing purposes) 2022-06-16 12:58:25 +05:30
Sven Efftinge
bd3c399948 [dashboard] Treat today's workspaces as active 2022-06-15 18:54:24 +05:30
Pavel Tumik
7a7792f531 volume snapshot delete and restore support, garbage collection 2022-06-15 02:37:25 +05:30
Alex Tugarev
6f7064fcae Revert "[dashboard] Treat today's workspaces as active"
This reverts commit 28c4b23c7e7bae30530c15883975de1a529621c5.
2022-06-14 21:00:24 +05:30
Pavel Tumik
28f48acb5b Add persistent volume claim to prebuild settings 2022-06-14 20:10:24 +05:30
Jan Keromnes
7bf63df2e9 [server][dashboard] When creating a new Stripe customer, also create a Usage-Based Subscription for them 2022-06-14 17:51:24 +05:30
Jan Keromnes
610694cf72 [server][dashboard] Implement Stripe portal to allow usage-based customers to manage their subscription 2022-06-10 13:43:19 +05:30
Jan Keromnes
497741db84 [server][dashboard] Minor Stripe API clean-up 2022-06-09 21:22:19 +05:30
Sven Efftinge
28c4b23c7e [dashboard] Treat today's workspaces as active 2022-06-09 19:31:19 +05:30
Jan Keromnes
12b58f4979 [server] Introduce and use a ErrorCodes.INTERNAL_SERVER_ERROR 2022-06-09 17:01:19 +05:30
Alex Tugarev
1b21878fac add "failed" to PrebuiltWorkspace.isDone 2022-06-08 20:25:18 +05:30
André Duarte
3374a43a22 Add workspace class to workspace instance 2022-06-08 14:49:18 +05:30
Jan Keromnes
585611c70e [server][dashboard] Allow teams to sign up for Usage-Based Billing via Stripe 2022-06-08 14:27:18 +05:30
Jan Keromnes
7c0ecdbf86 [db][payment][server] Implement TeamSubscription2.excludeFromMoreResources 2022-06-01 16:37:50 +05:30
Victor Nogueira
366c211732 Properly handle the workspace list when the workspace context ref is undefined 2022-05-31 18:14:49 +05:30
Pavel Tumik
99204170c5 ensure volume snapshot naming consistency 2022-05-25 13:17:39 +05:30
Pavel Tumik
c6910dac35 tie snapshot volumes to workspace instance id 2022-05-25 13:17:39 +05:30
Pavel Tumik
a964eb79a9 re-use initializer for snapshot volumes 2022-05-25 13:17:39 +05:30
Jan Keromnes
ff300de9b2 [server][dashboard] Implement a new Team Billing where Owners can conveniently manage a paid plan for their Team 2022-05-16 13:25:31 +05:30
Jan Keromnes
f40d0cf0aa [db][protocol] Implement TeamSubscription2 DB shapes and migration 2022-05-09 23:07:25 +05:30
Pavel Tumik @ GitPod
f1c142b9fb [gitpod-db] add new DB entity for VolumeSnapshot 2022-05-09 20:08:24 +05:30
Radomir Stevanovic
ce5b6cd77a Reduce env var value UI limit to 32k-1 for consistency
Co-authored-by: Jan Keromnes <janx@linux.com>
2022-05-06 20:54:21 +05:30
Radomir Stevanovic
4d45a42e7e Add env var name/value length validation
Also, decrease maxlen for value from ~64k*3/4 to a nice round 32k.
2022-05-06 20:54:21 +05:30
Nandaja Varma
3444a6a057 [dashboard] license tab in the admin dashboard 2022-05-02 16:24:18 +05:30
mustard
32434b5ee3 feat: ide awareness during onboarding
Co-authored-by: mustard <huiwen@gitpod.io>
Co-authored-by: andreafalzetti <andrea@gitpod.io>
2022-04-28 12:26:14 +05:30
Andrew Farries
35e21783ac [webapp] Introduce new instance phase "building" (part I, back- and forwards-compatible) 2022-04-28 00:51:14 +05:30
Alex Tugarev
a57dee841a [server] fix tracing errors 2022-04-25 14:39:37 +05:30
Anton Kosyakov
614c0c7d3f [jb] experimental support of warm up in prebuilds 2022-04-25 13:21:37 +05:30
Gero Posmyk-Leinemann
d16776c20f [server] Extend EnvVar validation to API side 2022-04-22 15:46:34 +05:30
Gero Posmyk-Leinemann
ba00ef5ec2 [dashboard, protocol] Extract UserEnvVar.validate() into protocol 2022-04-22 15:46:34 +05:30
Jan Keromnes
e8ab358971 Allow integrating with 'github.com' without a GitHub App 2022-04-21 19:26:34 +05:30
Gero Posmyk-Leinemann
c26d1dc204 [server, dashboard] Refactor User.getPrimaryEmail to return "string | undefined" instead of throwing an error 2022-04-21 13:15:33 +05:30
Sven Efftinge
7ba0e6c14a [protocol] fix generate id for bad repo names 2022-04-19 20:47:32 +05:30
Gero Posmyk-Leinemann
8216f8c68e [server, protocol] Remove superfluous "stage" config 2022-04-19 20:33:32 +05:30
Gero Posmyk-Leinemann
37feff2c4a [proxy] REplace GITPOD_INSTALLATION_LONGNAME with "<region>.<shortname>" 2022-04-19 20:33:32 +05:30
Jan Keromnes
ed30d9696f Stop running prebuilds for inactive projects (10+ weeks)
Fixes https://github.com/gitpod-io/gitpod/issues/8911
Fixes prebuild rate limit
2022-04-12 22:37:25 +05:30
Gero Posmyk-Leinemann
448a47e94e [helm] remove unused GITPOD_INSTALLATION_SHORTNAME env var 2022-04-11 21:03:24 +05:30
mustard
47af622350 [dashboard,server] switch ide version with one toggle 2022-04-11 19:30:25 +05:30
Christian Weichel
0303453c07 Remove checkoutLocation from StartWorkspaceReq 2022-04-08 00:29:21 +05:30
Cornelius A. Ludmann
5166afd3d9 [installer] Allow to set default workspace timeout 2022-04-06 14:35:19 +05:30
Pavel Tumik
5a62315e27 add PVC feature flag 2022-04-06 01:59:19 +05:30
Milan Pavlik
a05badbd15 fix 2022-04-05 13:52:18 +05:30
Milan Pavlik
c8c0847193 [db] Add stateVersion to prebuilds to track status version 2022-04-05 13:52:18 +05:30
Alex Tugarev
76b51bc224 [bitbucket-server] support for projects and prebuilds 2022-04-04 14:07:17 +05:30
Jan Keromnes
5578e23cfa [server] Fix automated prebuilds for GitHub Enterprise repositories 2022-03-14 22:03:21 +05:30