188 Commits

Author SHA1 Message Date
Laurie T. Malau
e163181605 Extend server args with time-filtering 2022-07-25 08:07:20 -03:00
Alex Tugarev
568d9e7113 Add "spending limit is reached" notification 2022-07-22 11:31:17 -03:00
Alex Tugarev
57c83fd42c Add Spending Limit to Billing page 2022-07-21 09:22:16 -03:00
Alex Tugarev
472f0b71e0 Move usageAttributionId 2022-07-21 08:55:16 -03:00
Andrew Farries
e2385352a4 [usage] Implement GetBilledUsage rpc 2022-07-18 13:57:13 +02:00
Alex Tugarev
be5a5dace1 Simple UI for Prebuild Events (sneak preview) 2022-07-15 15:12:02 +02:00
Laurie T. Malau
79f90d802c Implement skateboard Usage view 2022-07-11 12:35:58 +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
Laurie T. Malau
59bb214a25 use prebuildlogs instead 2022-06-29 23:47:38 +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
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
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
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
Andrew Farries
35e21783ac [webapp] Introduce new instance phase "building" (part I, back- and forwards-compatible) 2022-04-28 00:51:14 +05:30
Jan Keromnes
e8ab358971 Allow integrating with 'github.com' without a GitHub App 2022-04-21 19:26:34 +05:30
Cornelius A. Ludmann
5166afd3d9 [installer] Allow to set default workspace timeout 2022-04-06 14:35:19 +05:30
Alex Tugarev
76b51bc224 [bitbucket-server] support for projects and prebuilds 2022-04-04 14:07:17 +05:30
Milan Pavlik
2f0b9462b0 Format components/gitpod-protocol with prettier 2022-03-14 21:42:21 +05:30
mustard
f6080897a7 Remove Theia extension related code 2022-03-12 00:17:18 +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
Jan Keromnes
63f613704e [server][dashboard] Improve 'New Workspace' modal with a search input, keyboard navigation, and a new context URL suggestion API 2022-02-08 14:48:30 +01:00
Gero Posmyk-Leinemann
d955ce10f0 [server, dashboard] Do basic rate limiting on startWorkspace 2022-02-07 18:54:29 +01:00
Simon Emms
f9ec0f8cc6 [dashboard]: create a settings tab inside admin 2022-01-26 15:53:19 +01:00
Anton Kosyakov
2f72df6f19 [server] allow to fetch owner token 2022-01-24 13:32:16 +01:00
Jan Keromnes
11c092b8b3 [db][server][dashboard] Allow censoring Project environment variables out of Workspaces 2022-01-17 19:37:10 +01:00
Jan Keromnes
1c0ee09cdc [db][server][dashboard] Implement Project-level environment variables 2022-01-17 19:37:10 +01:00
Gero Posmyk-Leinemann
94f3b38615 [dashboard] Fix broken client.dispose() 2022-01-17 09:10:10 +01:00
Jan Koehnlein
1c75ffbac4 [server] removed unused branding from config 2022-01-11 15:21:05 +01:00
Alex Tugarev
556c03ce7c Mention username who added project in a team
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
Co-authored-by: Alex Tugarev <alex.tugarev@typefox.io>
2021-12-20 09:16:44 +01:00
Jan Keromnes
7305418f21 [server] Refactor setProjectConfiguration + updateProjectSettings → updateProjectPartial 2021-12-14 08:42:38 +01:00
Jan Keromnes
945a8080cc Allow enabling/disabling Incremental Prebuilds in a Project's settings 2021-12-14 08:42:38 +01:00
Alex Tugarev
a481e8b536 [projects] remove configuration page from wizard
instead of showing the configuration page, let's show a simple `New Workspace` button to start a workspace.

we rescue the auto-inferred configuration or use the existing one to trigger a prebuild right away.

Co-authored-by: Jan Keromnes <janx@linux.com>
Co-authored-by: Alex Tugarev <alex@gitpod.io>
2021-12-08 17:13:33 +01:00
Cornelius A. Ludmann
b4fa0fc9ba [server] Serve IDE config via gitpod-protocol 2021-11-30 15:15:26 +01:00
Gero Posmyk-Leinemann
e4d2e268bc [server] Add WebsocketClientContext 2021-11-18 10:50:15 +01:00
Pudong Zheng
c715b3521f remove all private repo check 2021-11-09 12:20:07 +01:00
Gero Posmyk-Leinemann
9575debc94 [server] Build out SnapshotService 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
b385af4e38 [server, protocl] Introduce 'waitForSnapshot' 2021-11-04 12:18:12 +01:00
Laurie T. Malau
7658c52125 Introduce project slug
Fixes #5847
2021-11-02 11:31:10 +01:00
Gero Posmyk-Leinemann
e5b8c011bb [server] Analytics: catch promises 2021-10-29 10:57:07 +02:00
jakobhero
a89bcf6226 Shift user attributes to indentify calls 2021-10-29 10:57:07 +02:00
Jan Keromnes
bad83721b7 [server][dashboard] Allow cancelling Prebuilds 2021-10-18 05:12:04 -03:00
Laurie T. Malau
6ff888883e [dashboard] Team settings page
Fixes #5066
2021-10-04 11:20:51 -03:00
Sven Efftinge
a8032856a4 [t&p] add workspaces to teams
fixes #4921
2021-09-27 11:48:44 -03:00
jakobhero
3f3ca7c01d Added analytics for dashboard component 2021-09-22 06:13:47 -03:00
Jan Keromnes
d0ea56a191 [server][protocol] Make server.triggerPrebuild() return the StartPrebuildResult 2021-09-03 13:43:09 +02:00
Jan Keromnes
46e914b725 [dashboard][server] Accelerate Prebuilds page by making branchName optional for server.triggerPrebuild() 2021-09-03 13:43:09 +02:00
Alex Tugarev
46feeac4c9 [projects] Add Prebuild Events 2021-09-01 04:27:30 -03:00