781 Commits

Author SHA1 Message Date
Jan Keromnes
9dffa5d337 [trivial] Remove unused constant TEAM_NAMES_ATTRIBUTE 2022-10-18 14:40:34 +02:00
Jan Keromnes
5687600aab [server][dashboard] Implement a 'Use Last Successful Prebuild' workspace creation mode 2022-10-18 14:40:34 +02:00
Andrew Farries
7ea0256d97 Change length of applicationCluster field 2022-10-17 18:34:32 +02:00
Andrew Farries
533346ab34 Add applicationCluster field to table
This field will record to which workspace cluster the information in
each row belongs.
2022-10-17 18:34:32 +02:00
Christian Weichel
8155f244f8 [prebuild] Support opening a specfic prebuild 2022-10-14 16:33:29 +02:00
Milan Pavlik
a4870ce5db [configcat] Do not supply lists to configcat evaluations 2022-10-14 13:57:29 +02:00
Jan Keromnes
53c1a1f5c5 [server] Make 'subscribeToStripe' return the new usage limit 2022-10-13 11:45:28 +02:00
Jan Keromnes
30a58cddd0 [server][dashboard] Always explicitly set a usage limit when upgrading to Stripe 2022-10-13 11:45:28 +02:00
Milan Pavlik
e44d7f9367 [content-service] Use buf to generate protos 2022-10-13 09:50:28 +02:00
Victor Nogueira
1f605d62ee Add missing gitpod configurations for RubyMine and WebStorm
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2022-10-07 10:26:22 +02:00
Sven Efftinge
7c5131c8af [server] attribute workspaces to their projects 2022-10-06 15:10:22 +02:00
Manuel Alejandro de Brito Fontes
000cadead8 Update grpc code 2022-10-04 15:17:22 +02:00
Andrew Farries
63c4fec94e Remove all references to layoutData 2022-10-04 08:15:20 +02:00
George Tsiolis
f0d464788d Update free plan name 2022-10-04 08:05:20 +02:00
Andrew Farries
9ea0867ce7 Implement soft deletion of pending github events 2022-09-29 15:29:29 +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
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