831 Commits

Author SHA1 Message Date
Thomas Schubart
be2cdada11 [server] Enable targeting of teams with feature flag 2022-08-05 15:07:49 -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
Gero Posmyk-Leinemann
d9defb213f [server] Follow-up: Code cleanup 2022-08-05 07:03:49 -03:00
Gero Posmyk-Leinemann
8bb7372d08 [server] Separate EntitlementServiceLicense from EntitlementServiceChargebee 2022-08-05 07:03:49 -03:00
Gero Posmyk-Leinemann
11b89162ac [server] Add missing
@injectable()
2022-08-05 05:53: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
Gero Posmyk-Leinemann
005d49cbf5 [server] Install dev dependency "deep-equal-in-any-order" 2022-08-04 12:11:48 -03:00
Gero Posmyk-Leinemann
678a6a2f0c [server] Introduce EntitlementServiceChargbee and move parts of EligibilityService into it 2022-08-04 08:43:48 -03:00
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Pavel Tumik
cb20605f66 add log when starting workspace with pvc 2022-08-03 14:54:48 -03:00
mustard
204cdb5b8d [server] better handle workspacePageClose endpoint response status and log ctx 2022-08-03 05:47:47 -03:00
Gero Posmyk-Leinemann
2b029508ca Revert "TEST COMMIT"
This reverts commit 6e48a144361ed40ad0065cd716f274ad0b475ad7.
2022-08-02 05:35:46 -03:00
Gero Posmyk-Leinemann
6e48a14436 TEST COMMIT 2022-08-02 04:29:46 -03:00
Gero Posmyk-Leinemann
8f9d38378e [server] Display Auth errors in the UI 2022-08-02 04:29:46 -03:00
Christian Weichel
91d6ced645 [server] Tie protected_secrets to ConfigCag
so that we can gradually roll this out in prod
2022-08-01 08:11:45 -03:00
Laurie T. Malau
04f122ca8a add sorting 2022-08-01 08:00:45 -03:00
Alex Tugarev
532960e8d3 Fix find authorized user for GHE prebuilds 2022-08-01 06:53:45 -03:00
mustard
9438a3ddd8 [server] add http endpoint workspacePageClose for beacon 2022-08-01 05:44:45 -03:00
Sven Efftinge
9b87e64a27 [server] make less useless calls to SCM provider
fixes [BitBucket] Failed calls to fetch `.gitpod.yml` are silently ignored #11649
2022-07-27 08:38:22 -03:00
Szabolcs Fruhwald
98acacb827 fix: new project widget broken if 'null' item(s) received from octokit 2022-07-26 14:14:21 -03:00
Thomas Schubart
20fe1e55df [server] Use workspace classes for pvc workspaces 2022-07-26 05:10:21 -03:00
Thomas Schubart
c7c7c058ef [dashboard] Select default class if nothing is selected 2022-07-25 12:39:20 -03:00
Thomas Schubart
d0c35234d4 [server] Add endpoint for retrieving workspace classes 2022-07-25 12:39:20 -03:00
Jan Keromnes
c704b81e71 [config-inferrer] Add tests for npm and pnpm Node.js variants 2022-07-25 11:31:20 -03:00
Jan Keromnes
3b06df28f6 [config-inferrer] Use 'pnpm' package manager when there is a pnpm-lock.yaml file or the package.json specifies it
Co-authored-by: Jiawen Geng <technicalcute@gmail.com>
2022-07-25 11:31:20 -03:00
Milan Pavlik
826a0bdf80 [usage] Fix conversion of from and to pb.Timestamp 2022-07-25 10:26:20 -03:00
Milan Pavlik
93adc7f895 [usage] Make workspace class non-mandatory 2022-07-25 08:09:20 -03:00
Laurie T. Malau
e163181605 Extend server args with time-filtering 2022-07-25 08:07:20 -03:00
Gero Posmyk-Leinemann
81f17fbc27 [server] Never set User.usageAttribution automatically 2022-07-22 22:57:17 -03:00
Alex Tugarev
568d9e7113 Add "spending limit is reached" notification 2022-07-22 11:31:17 -03:00
Gero Posmyk-Leinemann
e0579ef938 [server] GH: Send 401 with message on failed webhook 2022-07-22 02:54:17 -03:00
Alex Tugarev
57c83fd42c Add Spending Limit to Billing page 2022-07-21 09:22:16 -03:00
Alex Tugarev
472f0b71e0 Move usageAttributionId 2022-07-21 08:55:16 -03:00
Filip Troníček
79ef436f15 Support VSCodium for Settings Sync 2022-07-21 07:24:16 -03:00
Gero Posmyk-Leinemann
53e47b2c98 [server] Use WorkspaceClassesConfig 2022-07-21 05:10:16 -03:00
Thomas Schubart
4f6a5b576c Incorporate review feedback
- Use latest workspace instance to set workspace class
- Add more detailed configuration for workspace classes
- Make workspace classes configurable in installer
2022-07-21 05:10:16 -03:00
Thomas Schubart
9301705383 [server] Ensure old workspaces can be started 2022-07-21 05:10:16 -03:00
Thomas Schubart
7557bbe4bf [server] Set workspace class based on user preference 2022-07-21 05:10:16 -03:00
Thomas Schubart
55537c855e [server] Add debug script 2022-07-21 05:10:16 -03:00
Thomas Schubart
01c9081718 [installer] Configure default workspace class 2022-07-21 05:10:16 -03:00
Gero Posmyk-Leinemann
2dc450d595 [protocol, et al] Extract gRPC ClientCallMetrics into protocol 2022-07-20 09:31:15 -03:00
Milan Pavlik
bdcbc8abed [usage] Remove dummy data from server 2022-07-20 09:22:15 -03:00
Gero Posmyk-Leinemann
c305aa4a41 [server] Remove blockedRepositories config 2022-07-20 09:05:15 -03:00
Gero Posmyk-Leinemann
b6471fdfb3 [server, db] Fix BlockedRepository.delete 2022-07-20 09:05:15 -03:00
Andrew Farries
963d3c098b [usage] Make endTime non-mandatory for billed session 2022-07-20 04:36:15 -03:00
Alex Tugarev
7057101a4d [db][protocol] Implement a CostCenter entity to attribute workspace usage to 2022-07-20 04:05:15 -03:00