Milan Pavlik
600e155ae6
[server] Remove userId from removeTeam() rpc
2022-11-09 17:15:39 +02:00
Gero Posmyk-Leinemann
8f80612549
[server] Fix UBP free tier edge case + tests
2022-11-09 14:12:39 +01:00
Milan Pavlik
fa8cdc500d
[server] Break dependency of content-service on gitpod-protocol, and usage-api on gitpod-protocol
2022-11-09 12:23:38 +01:00
Milan Pavlik
6af15886ae
[server] Remove download workspace APIs
2022-11-09 08:52:38 +01:00
Jan Keromnes
1bda477b2b
[server] When deleting a user account, also cancel any individual Stripe subscription
2022-11-08 15:06:38 +01:00
Jan Keromnes
fd9d1e87dd
[stripe] Immediately issue a final invoice when cancelling Stripe subscriptions from Gitpod
2022-11-08 15:06:38 +01:00
Sven Efftinge
c18efbd06c
[inc ws] skip prebuilding
2022-11-08 09:33:37 +01:00
Sven Efftinge
81177d2eac
Incremental workspaces
2022-11-08 09:33:37 +01:00
Gero Posmyk-Leinemann
242e5103fc
[server] BillingMode: Render names of Chargebee Team Plans/Subscriptions if that blocks UBP
2022-11-07 16:57:37 +01:00
Alex Tugarev
51bac3af29
[gitlab/webhook] return code 200 on Unauthorized
...
Otherwise we provoke permanent deactivation of the webhook. In future we need to make the Unauthorized situation fixable from Gitpod.
2022-11-07 10:59:37 +01:00
Pavel Tumik
17d51f5228
pass workspace type when deleting volume snapshots
2022-11-04 16:14:09 +01:00
Alex Tugarev
3450b2ec36
[bitbucket-server] improve logging of webhook installation
2022-11-03 07:55:07 +01:00
Thomas Schubart
ad2f82b43b
[server] Do not send protected secrets feature flag
2022-11-02 21:25:07 +01:00
Laurie T. Malau
84e1f36c02
[usage] Use createStripeSubscription behind feature flag
2022-11-02 12:52:06 +01:00
Milan Pavlik
d64eb0cef0
[server] Do not fail joining a team you're already a member of
2022-11-02 11:42:07 +01:00
Milan Pavlik
87485bf48c
[server] Add getTeam
2022-11-02 09:34:06 +01:00
Andrew Farries
b88d9bbd6e
Add imageBuildsCompletedTotal metric
...
Add a counter to track the number of image builds recorded as completed
by `server`, broken down by outcome (succeeded, failed).
2022-11-01 12:52:06 +01:00
Andrew Farries
edaada8e91
Increase metric only if image build is required
2022-11-01 09:56:05 +01:00
Andrew Farries
f47eaa9da9
Add prometheus metric for image builds started
2022-11-01 09:56:05 +01:00
Milan Pavlik
9bc39df509
[server] Remove gitpod_server_api_calls_user_total metric
2022-10-31 14:54:06 +01:00
Alex Tugarev
f9717b185c
[projects] add message: Prebuilds have been paused
2022-10-28 12:38:02 +02:00
Andrew Farries
cd8a0953c7
Revert "Increase metric when starting an image build"
...
This reverts commit 5d8873e38e5cac0ca21ff4f72e5d39457d879105.
2022-10-26 20:40:41 +02:00
Andrew Farries
c928b66408
Revert "Add prometheus metric for image builds started"
...
This reverts commit c41ca2081674fb330bea0a06f24f1f930d28b50d.
2022-10-26 20:40:41 +02:00
Jan Keromnes
aedb5c4046
[installer][server] Clarify 'inactivityPeriodForRepos' by renaming it to '...InDays'
2022-10-26 18:49:41 +02:00
Andrew Farries
2ede9de6e0
Pass applicationCluster everywhere
...
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Milan Pavlik
a8638e4a14
[usage] Add UsageService.ResetUsage RPC
2022-10-26 16:17:41 +02:00
Andrew Farries
1d4de96661
Increase metric when starting an image build
2022-10-26 13:41:41 +02:00
Andrew Farries
a4b28069ae
Add prometheus metric for image builds started
2022-10-26 13:41:41 +02:00
Gero Posmyk-Leinemann
5d1976ec68
[server] Introduce UsageServiceMock to unblock the Self-Hosted release
2022-10-26 10:20:41 +02:00
Gero Posmyk-Leinemann
b3976cc3c9
[server] Refactor to use UsageService over UsageServiceClient where possible
2022-10-26 10:20:41 +02:00
Mauricio Walters
a476438832
Check commit hash before removing ref
2022-10-25 17:38:40 +02:00
Milan Pavlik
022547373d
[server] Remove createStripeCustomer, handled by usage instead
2022-10-25 13:38:39 +02:00
Gero Posmyk-Leinemann
b633262a24
[server] Restart PVC workspace from latest valid backup
2022-10-24 10:58:38 +02:00
Jan Keromnes
98737b5133
[server] Don't attribute usage to a team without active billing
2022-10-21 12:21:36 +02:00
Jan Keromnes
4648d717d3
Re-add "[server] Don't fetch the repository config a second time when starting incremental prebuilds"
...
This reverts commit 7eca992058bfd41aca5503daa4cab771faaab76f.
2022-10-21 11:33:36 +02:00
Jan Keromnes
3c372b8e95
Re-add "[server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode"
...
This reverts commit 9e31fbf834d9eb7c9c92209cc2c97797470a8367.
2022-10-21 11:33:36 +02:00
Gero Posmyk-Leinemann
5090bfdcc2
[server] Limit BillingAccount selection on server side
2022-10-21 11:31:36 +02:00
Gero Posmyk-Leinemann
07bf05a90b
[server] Use CostCenter to determine BillingAccount options
2022-10-21 11:31:36 +02:00
Gero Posmyk-Leinemann
b4955302f2
[server] Block users from attributing usage to any other user except themselves
2022-10-21 11:31:36 +02:00
Thomas Schubart
eba66327d4
[server] Enable psi for paying users
2022-10-21 10:42:36 +02:00
Huiwen
91dea2ed19
[server] remove port 3000 from default config
2022-10-20 22:24:35 +02:00
Gero Posmyk-Leinemann
5bef3e336c
[server] BillingMode: Don't count free team plan as "paid"
2022-10-20 17:28:35 +02:00
Gero Posmyk-Leinemann
a1b14af2df
[server] Introduce BillingMode.paid
2022-10-20 17:28:35 +02:00
Milan Pavlik
49b02cd883
Revert "[server] Garbage collect probe workspaces"
...
This reverts commit 0a857e5d4cb81cf59c7f3b2f93b2c40da6b95565.
2022-10-20 12:02:35 +02:00
Jan Keromnes
9e31fbf834
Revert "[server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode"
...
This reverts commit 5687600aab763adc2562b31163dd337c9332aa4e.
2022-10-19 13:51:34 +02:00
Jan Keromnes
7eca992058
Revert "[server] Don't fetch the repository config a second time when starting incremental prebuilds"
...
This reverts commit 53ad76132823e874479c8226d666929e85b0e36a.
2022-10-19 13:51:34 +02:00
Milan Pavlik
f985cf853f
[sever] Delegate stripe customer create to usage (behind feature flag)
2022-10-19 12:01:34 +02:00
Jan Keromnes
53ad761328
[server] Don't fetch the repository config a second time when starting incremental prebuilds
2022-10-19 10:58:34 +02:00
Milan Pavlik
3e9243eb19
[server] Do not log full request on enforcement-endpoint
2022-10-19 09:44:34 +02:00
Gero Posmyk-Leinemann
2115fd4e7f
[server] Fix BillingMode tests
2022-10-18 16:29:33 +02:00