Andrew Farries
9be2634132
Add getStripePortalUrl method to server
2022-09-12 16:59:13 +02:00
Andrew Farries
015987aa42
Add findStripeSubscriptionId method to server
...
Add a general method for finding the stripe subscription id for a given
attribution id. Implement the existing `findStripeSubscriptionIdForTeam`
method in terms of the new method.
2022-09-12 14:30:14 +02:00
Sven Efftinge
74bc751ec7
[cost center] Add save API
2022-09-09 11:25:24 +02:00
Gero Posmyk-Leinemann
130b1d8946
[server] Implement adminGetBillingMode
2022-09-09 09:53:24 +02:00
Thomas Schubart
1b64527d76
[server] Ensure PVC workspace class does not change
2022-09-08 22:49:23 +02:00
Jean Pierre
eb9aaa995e
Store editSessions
2022-09-08 18:47:23 +02:00
Andrew Farries
7df06a862a
Add createOrUpdateStripeCustomerForUser method
...
Directly analogous to createOrUpdateStripeCustomerForTeam, the only
difference is the metadata on the resulting Stripe customer.
2022-09-08 09:59:23 +02:00
mustard
106e317c7a
[server] add getTeams scope for supervisor
2022-09-08 09:45:23 +02:00
Sven Efftinge
5e72785abc
[usage] remove ListBilledUsage API
2022-09-08 08:54:23 +02:00
Alex Tugarev
ca7602f0cb
Reword "Spending Limit" to "Usage Limit"
2022-09-06 11:43:21 +02:00
Sven Efftinge
e01c880447
Added API call to fetch usage data
2022-09-06 09:58:21 +02:00
Gero Posmyk-Leinemann
8991e4a500
[server] Guard against bogus RPC method names
2022-09-06 08:58:21 +02:00
Jean Pierre
f693d41810
Add /oauth/inspect endpoint
2022-09-05 19:27:20 +02:00
Jan Keromnes
b94612d434
[server][dashboard] Allow new Stripe customers to select their preferred billing currency
2022-09-01 10:46:16 +02:00
Gero Posmyk-Leinemann
7bc8bf954b
[server] Don't raise alerts on unspecific errors
2022-09-01 08:28:16 +02:00
Sven Efftinge
9dfafc0966
[admin] Allow manual user verification
...
fixes #12540
2022-08-31 19:12:17 +02:00
Alex Tugarev
a8d0889405
Add pagination to list usage
2022-08-31 15:14:16 +02:00
Alex Tugarev
a2fa9dcfa3
Clean up webhook events
...
by running a periodic garbage collector. This is a pattern we use for other resources.
fixes #12430
2022-08-31 15:08:16 +02:00
Gero Posmyk-Leinemann
14b38e581d
[server] Improve logging/tracing on failed instance start
2022-08-30 12:32:14 +02:00
mustard
95fa4439e5
[gp-cli] provide workspace class info in top command
2022-08-30 10:25:14 +02:00
Anton Kosyakov
008ea3fadc
[jb] prepare to split backend and plugin images
2022-08-30 09:36:14 +02:00
Gero Posmyk-Leinemann
fd7720d5ba
[server] Only alert on explicit system failures
2022-08-29 21:17:14 +02:00
Thomas Schubart
8fa7544bba
Ensure workspace class is selected if no user choice has been made
2022-08-29 11:41:13 +02:00
Gero Posmyk-Leinemann
7f537e2537
[server] Partial revert of b4a9939063fad70d25474e5a76f0b5923e27e43e
2022-08-29 11:00:14 +02:00
Sven Efftinge
79b75ab4d5
Add phone verification
2022-08-29 09:36:13 +02:00
Sven Efftinge
dda2ebd82d
[server] track more startWorkspace failures
...
fixes #12332
2022-08-26 15:06:11 +02:00
Gero Posmyk-Leinemann
803b52a388
[server] Remove outdated feature flag deprecateOldImageLogsMechanism
2022-08-25 14:18:10 +02:00
mustard
cbe7c8c573
[gitpod-protocol] add missing method in golang
2022-08-25 12:36:41 +02:00
Alex Tugarev
d3147bcb55
regenerate usage-api
2022-08-23 12:08:39 +02:00
Laurie T. Malau
502a9d59cf
Show workspace and user details
2022-08-19 13:19:35 +02:00
Pavel Tumik @ GitPod
74eb57b950
[server] fix workspace PVC always restored from prebuild even if backup already exists
2022-08-18 09:12:34 +02:00
Pavel Tumik @ GitPod
6687af602c
[server] ensure that user that has PVC enabled will not force prebuilds to use them on projects that don't have PVC turned on
2022-08-17 20:02:34 +02:00
Gero Posmyk-Leinemann
acc216d915
[server] Treat "no CostCenter found" the same as "spending limit reached"
2022-08-17 14:56:34 +02:00
Gero Posmyk-Leinemann
72c123189d
[dashboard, server] WorkspaceClass: make usable based on BillingMode
2022-08-17 14:56:34 +02:00
Thomas Schubart
95df8c497a
[billing] Check if connections should be limited
2022-08-17 10:31:33 +02:00
Gero Posmyk-Leinemann
ddd81defdc
[server] Mark instances whose image build failed as "stopped"
2022-08-16 14:20:33 +02:00
Pavel Tumik
3759f87c00
Update components/server/src/workspace/workspace-starter.ts
...
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2022-08-16 07:56:32 +02:00
Pavel Tumik @ GitPod
e67124fc80
[server] fix using snapshotBucketId when it is undefined or empty
2022-08-16 07:56:32 +02:00
Jan Keromnes
8e40aa2243
[server] Don't redirect to sorry on unrecognized login errors
2022-08-15 08:26:31 +02:00
Sven Efftinge
a00f21067c
[server] maintain workspace instance state
...
get closer to workspace instance state reflects actual state in cluster.
2022-08-12 09:15:29 +02:00
Kyle Brennan
1eb8ee081e
[server] set volumeSnapshotId once within createSpec
...
Related to #11823
2022-08-12 08:48:29 +02:00
Thomas Schubart
8b931f4c8f
[server] Simplify class selection
2022-08-11 13:49:28 +02:00
Thomas Schubart
2cda7a910f
[server] Test workspace class substitution
2022-08-11 13:49:28 +02:00
Thomas Schubart
7448d8d642
[server] Test workspace class selection
2022-08-11 13:49:28 +02:00
Thomas Schubart
3df4ff7cf6
[server] Make class selection testable
2022-08-11 13:49:28 +02:00
Thomas Schubart
ce3173eaa0
[server] Handle prebuild workspace classes
2022-08-11 13:49:28 +02:00
Laurie T. Malau
0e3702e073
Implement setBilledSession
2022-08-11 09:15:55 +02:00
Alex Tugarev
b4a9939063
Fix issues with entitlement service
2022-08-10 16:53:56 +02:00
Gero Posmyk-Leinemann
317b1dab9f
[server] Introduce BillingService.checkSpendingLimitReached
2022-08-10 16:53:56 +02:00
Gero Posmyk-Leinemann
9f5b63116b
[server] Introduce EntitlementServiceUBP
2022-08-10 16:53:56 +02:00