440 Commits

Author SHA1 Message Date
mustard
f2fdb418f1 Add test cases ssh public keys namespace 2022-07-05 11:04:52 +05:30
mustard
154dc5fd7d [server,db,protocol] support ssh public key
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-07-05 11:04:52 +05:30
Andrew Farries
1f9ed57eb1 Remove unused deletedAt column 2022-06-30 21:23:38 +05:30
Andrew Farries
1a35999ab4 Remove todos
Answered by code review.
2022-06-30 21:23:38 +05:30
Andrew Farries
edc3d0214c Add new DB entity and supporting classes
Add the new BlockedRepository entity and its interface and
implementation.
2022-06-30 21:23:38 +05:30
Sven Efftinge
ba78bd4d08 [server] abort running prebuilds on same branch 2022-06-30 11:40:38 +05:30
Laurie T. Malau
59bb214a25 use prebuildlogs instead 2022-06-29 23:47:38 +05:30
akosyakov
bd5d3ea95b [jb] fix #10694: respect GW user settings 2022-06-29 14:21:37 +05:30
Jan Keromnes
441252f261 [server] Introduce an explicit per-user 'usageAttributionId' and use it to implement 'billing-based attribution' 2022-06-27 19:41:36 +05:30
Gero Posmyk-Leinemann
fca5670ceb [dashboard] Fix displaying of snapshot contexts on /workspaces 2022-06-27 13:23:35 +05:30
Milan Pavlik
12b92e9b82 [experiments] Add abstraction for configcat to work in self-hosted 2022-06-27 13:10:36 +05:30
Yaohui Wang
f6f894f3a5 [jb] enable vmoptions config in .gitpod.yml 2022-06-25 11:11:33 +05:30
Adrien Thebo
55a5d7a5e2 [installation-telemetry] Expose user control over sending customer ID 2022-06-25 00:47:33 +05:30
Adrien Thebo
47bf5c5622 [installation-telemetry] Expose Customer ID field in telemetry 2022-06-25 00:47:33 +05:30
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
Jean Pierre
3639c614cf Update gitpod-protocol deps 2022-06-19 09:09:28 +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
mustard
a732374b3d [gp-cli] add command to extend workspace timeout 2022-06-13 15:34:22 +05:30
Victor Nogueira
853b9e7a37 Refactor 'normalizedContextURL' from WorkspaceContext as Optional
Because it can come null from the server, as you can see on interface WorkspaceContext from `components/gitpod-protocol/src/protocol.ts`.
2022-06-13 09:48:22 +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
Andrea Falzetti
8f5f7b6d04 feat(jb): observe ports status and send notification 2022-05-31 02:37:48 +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
mustard
37a1d8ea27 Fix supervisor send empty port name and desc 2022-05-24 12:59:38 +05:30
Andrew Farries
a5b9ad0f13 Generate mocks
Via `go generate components/gitpod-protocol/go/gitpod-service.go`
2022-05-17 22:11:32 +05:30
Andrew Farries
b43824759a Add GetOwnerToken method to APIoverJSONRPC 2022-05-17 22:11:32 +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
Victor Nogueira
b29409611e Update $id property from Gitpod JSON Schema with the current URL 2022-05-09 18:07: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