653 Commits

Author SHA1 Message Date
Andrew Farries
9ea0867ce7 Implement soft deletion of pending github events 2022-09-29 15:29:29 +02:00
mustard
0d416fb738 [gp-cli] add command to change ports visibility 2022-09-29 11:42:30 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Pudong Zheng
c4c6554dd3 add nice grpc metrice handler 2022-09-27 16:12:28 +02:00
Jan Keromnes
0d7fc719a2 [server] Use different Stripe Price IDs when subscribing individuals vs teams 2022-09-27 15:23:27 +02:00
Andrew Farries
35b569302c Delete supporting files for d_b_email table 2022-09-27 13:38:27 +02:00
Milan Pavlik
e29d5ac7e0 [server] Remove handling of Probe Workspaces 2022-09-27 08:38:27 +02:00
Jan Keromnes
13d0c0900c [server] Add new individual Stripe Price IDs to Gitpod's configuration 2022-09-26 16:19:27 +02:00
Gero Posmyk-Leinemann
57a61f4213 [server] Introduce EntitlementService.getBillingTier 2022-09-26 15:04:27 +02:00
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
Andrea Falzetti
8bd040db75 fix(jetbrains): gateway plugin hands on auth issue 2022-09-22 11:18:23 +02:00
Manuel Alejandro de Brito Fontes
746798ffa9 Update gitpod config types 2022-09-21 16:43:22 +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
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