Sven Efftinge
91ad8a3550
[pvc] remove pvc related code
2022-12-01 09:07:00 -03:00
Milan Pavlik
886286168e
[server] Validate PAT signature
2022-12-01 07:28:00 -03:00
Jan Keromnes
ff78e51f17
Show more semantic errors when trying to run prebuilds without a project
2022-11-30 11:28:59 -03:00
Jan Keromnes
370028757d
Disable the deprecated '#prebuild/' context URL prefix
2022-11-30 11:28:59 -03:00
Jan Keromnes
e22d442431
Disable running prebuilds without a project
2022-11-30 11:28:59 -03:00
Gero Posmyk-Leinemann
bafbaab329
[server, installer] Make PrebuildRateLimiter period configurable
2022-11-30 07:43:59 -03:00
Milan Pavlik
6f0deca146
[server] Configure PAT signing key
2022-11-30 05:30:59 -03:00
Milan Pavlik
e9cf230312
[server] Support PATs when authenticating
2022-11-29 10:52:58 -03:00
Gero Posmyk-Leinemann
abee341c15
[server] BillingMode: Make sure that users&teams with a Stripe subscription always stay "usage-based", no matter the Feature-Flag status
2022-11-29 05:26:58 -03:00
Andrew Farries
04fb36c2da
Use finally block to set status
2022-11-25 07:39:54 -03:00
Andrew Farries
47500cb177
Always set header in response
2022-11-25 07:39:54 -03:00
Andrew Farries
9ebad8c195
Always return 200 OK from slow-database endpoint
2022-11-25 07:39:54 -03:00
Andrew Farries
d037ee8837
Add api/feature-flags/slow-database endpoint
...
Add a server endpoint to test the value of the `slow_database` feature
flag for the currently authenticated user.
The endpoint sets the `X-Gitpod-Slow-Database` header in the response to
either `true` or `false` according to the value of the feature flag.
The intention is that this endpoint can be used by the Caddy proxy to
'pre-flight' requests to server, sending the actual request to either
`server` or `slow-server` as needed.
2022-11-23 09:52:52 -03:00
Sven Efftinge
e044c1d49f
[admin] allow usage adjustments
2022-11-22 06:31:51 -03:00
Sven Efftinge
710c7ff060
[projects] ignore user settings for prebuilds
2022-11-21 10:52:51 -03:00
Alex Tugarev
3de193e3fb
[stripe] guard resubscribing with another currency
...
because it currently not supported.
2022-11-21 06:56:50 -03:00
Laurie T. Malau
28f894838f
Remove from config.ts
2022-11-21 05:13:50 -03:00
Milan Pavlik
f5dc3d8334
[server] Remove createSubscriptionOnUsage feature flag
2022-11-21 05:13:50 -03:00
Andrea Falzetti
63245668cf
feat(jetbrains): add rider and clion
2022-11-18 14:43:48 +02:00
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