728 Commits

Author SHA1 Message Date
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
Anton Kosyakov
3c6c85fc72 jb: backend plugin hot deploy 2022-09-12 11:21:13 +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
Victor Nogueira
a794d7f2a1 Add Gitpod-related actions to JetBrains IDEs 2022-09-08 20:02: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
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
Anton Kosyakov
9a6c79a91b [gitpod-protocol] move generation of go types to prebuilds and werft 2022-09-05 18:00: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
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
mustard
cbe7c8c573 [gitpod-protocol] add missing method in golang 2022-08-25 12:36:41 +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
Jean Pierre
3014435230 Match google-protobuf version across components 2022-08-17 08:14:33 +02:00
Kyle Brennan
32ef4d5609 [gitpod-protocol] add fixture to test Logging 2022-08-12 08:48:29 +02:00
Victor Nogueira
6a52dbfca7 Avoid displaying prebuild-related workspaces in the workspaces list from JetBrains Gateway 2022-08-11 21:23:29 +02:00
Victor Nogueira
b60946ec96 Fix Java projects configs 2022-08-11 21:16:28 +02:00
Victor Nogueira
232e85a0d7 Upgrade Gradle Wrapper for compatibility with Java 17 2022-08-10 07:48:54 +02:00
Anton Kosyakov
01487c9a61 [supervisor] fix gitpod config changed analytics 2022-08-09 09:54:53 -03:00
Gero Posmyk-Leinemann
a4d4d596b6 [server] Fix and improve BillingMode and test 2022-08-09 04:21:53 -03:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -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
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Laurie T. Malau
04f122ca8a add sorting 2022-08-01 08:00:45 -03:00
Thomas Schubart
c7c7c058ef [dashboard] Select default class if nothing is selected 2022-07-25 12:39:20 -03:00