Alex Tugarev
29e5b5f1d7
[server] fix unhandled promise rejection errors in oauth controller
2022-11-17 17:09:47 +02:00
Sven Efftinge
17424c972b
[gitpod-protocol] remove dependency to usage-api
2022-11-16 17:32:46 +02:00
Sven Efftinge
b4caf769e6
[server] fix linting error
2022-11-16 15:46:46 +02:00
Jan Keromnes
b1161a5094
[stripe] When creating a Subscription, don't specify a custom billing cycle anchor date - let it go from date to date instead
2022-11-16 13:29:45 +02:00
Jan Keromnes
78a8706f70
[server] Support '+' signs in email addresses when unsubscribing
2022-11-15 16:53:45 +02:00
Sven Efftinge
c1acb610b9
[server] don't wait for ws-man call.
2022-11-14 18:32:44 +02:00
Jean Pierre
5c8f4c1f32
User service
2022-11-12 11:34:42 +02:00
Jan Keromnes
0d740fc3ea
[server][dashboard] Fetch and use the actual cost center billing cycle dates in usage-based Billing pages
2022-11-11 13:32:41 +02:00
Sven Efftinge
628077a961
[server] fix incremental workspaces
2022-11-11 12:27:41 +02:00
Andrew Farries
c394f41194
Don't count user errors in failed image builds
...
Exclude image build failures that look like they were due to user error
from the metric.
2022-11-11 12:19:40 +02:00
Milan Pavlik
f8663fcaed
Revert "[server] Remove download workspace APIs"
...
This reverts commit 6af15886aec8388c7191e5c838f38bef8d954dbb.
2022-11-11 11:25:40 +02:00
Jean Pierre
993547c1dc
[code] sync profiles/collections ( #13620 )
...
* Add sync collections to sync server
* Add deleted column
2022-11-10 11:29:19 +01:00
Sven Efftinge
08be4195d4
[server] Allow setting ws-class on project level
2022-11-10 10:45:40 +02:00
Milan Pavlik
9e63939411
[server] Remove deprecatedDoWatchWorkspaceImageBuildLogs() - unused
2022-11-10 10:29:40 +02:00
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