297 Commits

Author SHA1 Message Date
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
Milan Pavlik
2f0b9462b0 Format components/gitpod-protocol with prettier 2022-03-14 21:42:21 +05:30
Milan Pavlik
dbaffae562 Clarify WS Conditions - failed vs headlessTaskFailed 2022-03-14 18:24:21 +05:30
mustard
f6080897a7 Remove Theia extension related code 2022-03-12 00:17:18 +05:30
Sven Efftinge
cc2f3b30fe [multi-repo] Support prebuilds on multi-repo setup 2022-03-10 15:46:17 +05:30
Sven Efftinge
2e1774eaf7 [multi-repos] Allow specifying subrepositories 2022-03-10 15:46:17 +05:30
Gero Posmyk-Leinemann
740092ec97 [server] Introduce TeamSubscription.excludeFromMoreResources 2022-03-07 22:07:14 +05:30
Sven Efftinge
de84f281c8 [prebuilds] Introduce 'failed' state for prebuilds
Distinguish between failed tasks but finished prebuilds
and fully failed prebuilds (no snapshot)

fixes https://github.com/gitpod-io/gitpod/issues/8592
2022-03-07 20:06:14 +05:30
Laurie T. Malau
29df192bd0 Fix workspace search under user detail 2022-03-03 18:15:10 +05:30
Laurie T. Malau
31efabc38b Remove free text search on contextURL 2022-03-02 16:34:09 +05:30
jakobhero
9880270118 Only push events of authenticated users to Mixpanel 2022-03-02 16:17:09 +05:30
Laurie T. Malau
9d3a8b77d1 Manage teams as admin 2022-02-25 18:10:04 +05:30
Gero Posmyk-Leinemann
4e331313ad Revert "Revert "[server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data""
This reverts commit ddc7aaa72c426648b5c7165567f6970d51db936a.
2022-02-24 14:30:05 +05:30
Tarun Pothulapati
3be4e0b7a5 telmetry: show collected data under the disable option
Currently, The service ping can be disabled by going into the
admin settings. Users are more likely to do that if they have
no clue what is being sent.

This PR tries to improve this experience, by showcasing the
exact data that is being sent below the option. This is possible
by creating a new TelemetryDataProvider and injecting that
both in the `installation-admin-collector` controller
and the `gitpod-service` (`getTelemetryData` func is added here
that can be used).

This PR also adds a gaurd to the `/admin/settings` page which
was missing previously

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

replace cluster with gitpod instance in desc

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

easy nits around design and TelemetryData naming

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

gaurd telemetry method with admin access

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

replace TelemetryData at more places

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

gaurd access to `admin/settings` like other admin settings

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>

call useEffect hook early

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-02-21 17:42:01 +05:30