Alex Tugarev
0eab1e9153
[server] use Buffer.from properly
...
Trying to get rid of deprecation log entries.
2022-09-26 09:44:26 +02:00
Jan Keromnes
a99b0c3a74
[server] Refactor StripeService.createCustomer to only use attributionIds
2022-09-23 15:53:24 +02:00
Jan Keromnes
064755b7c4
[server][dashboard] Refactor createOrUpdateStripeCustomerFor{User,Team} to createStripeCustomer
2022-09-23 15:53:24 +02:00
Sven Efftinge
1516e4c4df
[server] restrict allowed phone numbers
2022-09-23 15:27:23 +02:00
Sven Efftinge
5670a5500e
[usage] show sum of usage not balance
...
fixes #13067
2022-09-23 10:03:24 +02:00
Andrew Farries
317d157bc1
Remove findStripeSubscriptionIdForTeam method
2022-09-23 09:18:24 +02:00
Andrew Farries
a4cb27d61e
Remove get/setUsageLimitForTeam methods
2022-09-23 09:18:24 +02:00
Andrew Farries
c846cc8480
Remove getStripePortalUrlForTeam method
2022-09-23 09:18:24 +02:00
Andrew Farries
a1e9700142
Remove subscribeTeamToStripe method
2022-09-23 09:18:24 +02:00
Gero Posmyk-Leinemann
f2656e83c3
[server] Fix propragation of "workspace-permanent feature flags"
2022-09-22 16:22:23 +02:00
Manuel Alejandro de Brito Fontes
05828a2ee0
Enable configuration of core dumps in .gitpod.yml files
2022-09-21 16:43:22 +02:00
Gero Posmyk-Leinemann
a29b8acc1e
[dashboard] Show Team Subscription UI for owners without seat as well
2022-09-21 09:11:22 +02:00
Thomas Schubart
1eb228e937
[server] Enable connection limiting for free tier
2022-09-18 15:58:19 +02:00
Alex Tugarev
eb8e1d7167
Update notifications on updates to subscription
2022-09-15 16:25:16 +02:00
Gero Posmyk-Leinemann
a7fd1becd6
[server] Delete Workspaces & Workspace Instances after configured period
2022-09-15 15:27:16 +02:00
Jan Keromnes
3182ee45f9
[dashboard][protocol] Remove unused params from CreateProjectParams
2022-09-15 11:35:16 +02:00
Andrew Farries
743dcf7690
Add getUsageLimitFor and setUsageLimitFor
...
Add two new methods to the server API for getting and setting usage
limits. Both new functions take an attributionId and work for both users
and teams.
For backwards compatibility, leave the `getUsageLimitForTeam` and
`setUsageLimitForTeam` methods as they are still used by the dashboard,
but change them to be implemented in terms of the more general `get/set`
methods.
2022-09-14 08:58:15 +02:00
Jan Keromnes
23f216b831
[server] Remove deprecated sendFeedback method
2022-09-13 17:16:14 +02:00
Andrew Farries
b634fb3836
Add subscribeToStripe server method
...
Generalize the `subscribeTeamToStripe` method so that it works for user
attribution ids too.
Implement the `subscribeTeamToStripe` method in terms of the new general
method.
2022-09-13 08:43:14 +02:00
Jan Keromnes
7a23e97cf6
[server][dashboard][protocol] Remove deprecated Project DB config feature
2022-09-13 07:50:14 +02:00
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
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
Sven Efftinge
5e72785abc
[usage] remove ListBilledUsage API
2022-09-08 08:54:23 +02:00
Sven Efftinge
1fe5162c9f
[usage] store more data for in usage entry
2022-09-07 17:10:22 +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
Jan Keromnes
b94612d434
[server][dashboard] Allow new Stripe customers to select their preferred billing currency
2022-09-01 10:46: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
Anton Kosyakov
008ea3fadc
[jb] prepare to split backend and plugin images
2022-08-30 09:36: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
a2b7412db4
[server] Fix usage of AccountStatementProvider by making it cache per userId
2022-08-29 11:00:14 +02:00
Sven Efftinge
79b75ab4d5
Add phone verification
2022-08-29 09:36:13 +02:00
Gero Posmyk-Leinemann
18b1a50a07
[server, dashboard] Review comments
...
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-08-19 13:19:35 +02:00
Laurie T. Malau
502a9d59cf
Show workspace and user details
2022-08-19 13:19:35 +02:00
Gero Posmyk-Leinemann
a988c44f04
[server] BillingMode: Only paid UBP team seats are "greedy"
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
Gero Posmyk-Leinemann
78a0bf50a3
[server] Review comments: EntitlementServiceChargebee
2022-08-17 10:31:33 +02:00
Kyle Brennan
32ef4d5609
[gitpod-protocol] add fixture to test Logging
2022-08-12 08:48:29 +02:00
Gero Posmyk-Leinemann
a4d4d596b6
[server] Fix and improve BillingMode and test
2022-08-09 04:21:53 -03:00
Alex Tugarev
bf7f1c0ed5
Spending Limit Reached modal 🛹
2022-08-05 12:09:49 -03:00
Thomas Schubart
e437e18680
[ws-daemon/manager] Use feature flag
2022-08-05 11:42:49 -03:00
Gero Posmyk-Leinemann
95dc348f5d
[server] Introduce getBillingModeForUser/-Team
2022-08-05 09:33:49 -03:00
Jan Keromnes
1e909bab0e
[server][dashboard] When starting a workspace but usage attribution is unclear, prompt for explicit user choice
2022-08-05 08:12:49 -03:00
Pudong Zheng
d61aab3c07
[supervisor-frontend] add error counter and client counter
...
Co-authored-by: Huiwen <mhqnwt@gmail.com>
2022-08-05 07:52:49 -03:00
Gero Posmyk-Leinemann
5c1074bbfc
[server] Introduce BillingMode incl. tests
2022-08-04 12:11:48 -03:00
Gero Posmyk-Leinemann
133cc05103
[server] Make ConfigCatClientFactory injectable
2022-08-04 12:11:48 -03:00