6322 Commits

Author SHA1 Message Date
Milan Pavlik
0dc46c5bcc
[public-api] Measure incoming JWT Sessions - WEB-102 (#17345)
* retest

* retest

* [installer] Add cookie name to config

* Fix

* retest

* [installer] Add cookie name to config

* [public-api] Measure incoming JWT Sessions

* fix

* Fix

* Fix

* fix

* retest
2023-04-24 21:34:45 +08:00
Sven Efftinge
3a3d99edd3
[admin] show workspace instances (#17322) 2023-04-24 21:23:45 +08:00
Milan Pavlik
c809e33f2f
[server] Unimplemented workspaces service (#17160) 2023-04-24 21:20:45 +08:00
Milan Pavlik
23d6710275
[dashboard] Remove local-preview-alert (#17343) 2023-04-24 21:10:45 +08:00
Milan Pavlik
7108698667
[server] Move snapshot service out of EE (#17340)
* [server] Move snapshot service out of EE

* Fix

* retest

* Fix

* fix
2023-04-24 20:57:45 +08:00
Milan Pavlik
1cdb7ab142
[installer] Remove OIDC secret from public-api WEB-206 (#17331)
* Fix

* retest

* [installer] Remove OIDC secret from public-api

* fix

* remove ci secret

* fix
2023-04-24 20:51:45 +08:00
Filip Troníček
83e56d54d5
Add the Browser Terminal as an IDE (#17196)
* Add xterm as an IDE

* Move the IDE to our GCP registry 🎉

* Also resolve the source code commit for IDEs in `ide-service`

* Add feature flag

* Xterm => terminal

* Revert "Also resolve the source code commit for IDEs in `ide-service`"

This reverts commit 06aee00959c24469e6fae904394badd4660dd97b.

* always add `<iframe>` to the top of `<body>`

* Add the next non-jb IDE :)

* Add latest image

* Filter out IDEs on the backend (#17324)

* Address review comments

Never mutate `s.ideConfig` itself and make an in-memory copy of it to not use it every time.

* Pre-compute outside

* Stringify config instead of options
2023-04-24 19:42:45 +08:00
Milan Pavlik
233ec9457a
[installer] Add JWT cookie opts to config WEB-101 (#17332)
* retest

* retest

* [installer] Add cookie name to config

* Fix

* fix
2023-04-24 17:46:45 +08:00
Milan Pavlik
d9ccc1d141
[papi] OIDC service signs state with HS256, reusing signing PK - WEB-206 (#17328)
* [papi] OIDC service signs state with RSA256

* Fix

* retest

* fix

* add test
2023-04-24 17:14:45 +08:00
Gero Posmyk-Leinemann
0a1ea38ae8
[server] Only try to delete Stripe subscription if the user's BillingMode is "usage-based" (#17318)
* [server] Only try to delete Stripe subscription if the user's BillingMode is "usage-based"

* [server] Push subscription cancellation into StripeService
2023-04-24 17:08:45 +08:00
Milan Pavlik
b57424a76f
[jwt] Installer configures expiry & issuer WEB-102 (#17314)
* [jwt] Installer configures expiry & issuer

* Fix

* Fix

* retest

* Fix

* Fix

* Fix
2023-04-24 17:07:45 +08:00
Alex Tugarev
b7872c1372
Remove deprecated and unused getPortAuthenticationToken method (#17321) 2023-04-24 16:02:45 +08:00
Milan Pavlik
d069f76edc
[public-api] Refactor JWT Sign/Verify to be reusable for OIDC - WEB-206 (#17327)
* [public-api] Refactor JWT Sign/Verify to be reusable for OIDC

* fix
2023-04-24 15:14:45 +08:00
George Tsiolis
90b7d65858
Remove the obsolete CheckBox component (#17186) (#17188)
Co-authored-by: Devansu Yadav <devansuyadav@gmail.com>
2023-04-23 18:50:44 +08:00
Milan Pavlik
b065c7692f
Revert "[server] Metrics for sessions with JWTs WEB-102 (#17302)" (#17329)
This reverts commit ec8c66e948d8dce9963d4051bc04e1c183263710.
2023-04-23 13:41:44 +08:00
Milan Pavlik
ec8c66e948
[server] Metrics for sessions with JWTs WEB-102 (#17302)
* [server] Metrics for sessions with JWTs

* retest

* Fix

* Fix

* Fix

* fix
2023-04-23 03:22:43 +08:00
Brad Harris
0f88afefb8
adding backend support for payment intents (#17309)
* adding support for payment intents

* support payment intents in server

* handling new arg

* adjust hold to be 1.00

* removing old comment
2023-04-22 03:05:42 +08:00
Sven Efftinge
ecfbfd3580
[server] use options from last instances on start (#17298) 2023-04-22 00:41:42 +08:00
Alex Tugarev
ee82d153e3
Enable Dedicated Onboarding Flow – WEB-193 (#17303)
* uncommitted yarn.lock

* [protocol] adding ONBOARDING_IN_PROGRESS

* [gitpod-db] add `someOrgWithSSO` to team db

* [server] add ONBOARDING_IN_PROGRESS hook

* [dashboard] catch ONBOARDING_IN_PROGRESS error

* [configcat] adding `custom.gitpod_host` attribute to select preview envs
2023-04-21 21:08:42 +08:00
Thomas Schubart
dafcf19ded
[wsman-mk2] Set workspace class environment variables (#17316) 2023-04-21 19:43:42 +08:00
Alex Tugarev
62c5a09113
[server] stop logging 0 items (#17311) 2023-04-21 19:40:42 +08:00
Anton Kosyakov
91d8c41e50
[supervisor] small fixes of previous leftovers (#17315) 2023-04-21 17:41:42 +08:00
Milan Pavlik
4f55ce16da
[public-api] JWT Signer & Verifier WEB-101 (#17308)
* [public-api] JWT Signer & Verifier

* upgrade other to v5
2023-04-21 17:32:42 +08:00
Sven Efftinge
7b3045a51b
[server] fix regression on attribution (#17313) 2023-04-21 16:11:42 +08:00
Gero Posmyk-Leinemann
31457adcad
[db] Purge all Chargebee-related DB tables (#17286)
* [db] Drop all Chargebee-related tables

* [db] Drop table d_b_pending_github_event
2023-04-20 23:04:41 +08:00
Anton Kosyakov
73f98a0e36
[analytics] use dummy static key for untrusted (#17293)
instead of real to unblock Node.js Segment SDK
2023-04-20 17:07:52 +08:00
Milan Pavlik
3361d83e6e
[server] Remove UserDeletionService EE (#17295) 2023-04-20 14:50:52 +08:00
Alex Tugarev
d7480d1cd4
[papi] check for OIDC Discovery support (#17268) 2023-04-20 13:51:52 +08:00
Milan Pavlik
e7423b206d
[server] Remove usage of do_not_wait_for_ws_manager flag (#17284) 2023-04-20 02:54:52 +08:00
Gero Posmyk-Leinemann
70bfc4d99f
Purge gitpod-protocol from all Chargebee related artifacts (#17291)
* [server, dashboard] Purge NOT_ENOUGH_CREDIT (chargebee)

* [server] Remove CreditAlert notifications

* [protocol] Remove dead code related to Chargebee

* [protocol] Remove superfluous error codes
2023-04-19 23:58:51 +08:00
Sven Efftinge
88374ab0f9
[server] fix prebuild organizationId (#17289) 2023-04-19 22:26:52 +08:00
Gero Posmyk-Leinemann
3a284fac8a
[db] Remove all Chargebee-related DB models (#17287)
* [yarn] Fix dirty yarn.lock

* [db] Remove models for Subscription, AccountEntry, TeamSubscription/2 and PendingGithubEvent

* [db] Adjust DB model for TeamMembership
2023-04-19 20:54:51 +08:00
Filip Troníček
f85d4e4458
experimental IDEs feature flag (#17240)
* `experimental` IDEs feature flag

* [debug, do not merge]: test with experimental VS Code
2023-04-19 20:52:51 +08:00
Gero Posmyk-Leinemann
0058d68f5e
[dashboard] Remove superfluous usage_view feature flag (#17285) 2023-04-19 17:15:51 +08:00
Gero Posmyk-Leinemann
ae37d8c1ab
Remove api.isStudent and all connected code/DB (#17275)
* [server, dashboard] Remove isStudent

* [server] Remove hasEducationalInstitutionSuffix and swot-js

* [db] Clean EduEmailDomainDB model

* [db] Drop d_b_edu_email_domain

* [yarn] Remove swot-js from yarn.lock

* [db] Remove d_b_edu_email_domain from tables.ts

* Fix
2023-04-19 15:58:51 +08:00
Milan Pavlik
6602594ee8
[server] Remove languages provider (#17279)
* [server] Remove languages provider

* fix
2023-04-19 00:01:51 +08:00
Milan Pavlik
311568460c
[server] Remove license db model - WEB-171 (#17264)
* [server] Remove license db model

* fix
2023-04-18 22:23:50 +08:00
Milan Pavlik
b371e258ed
Remove payment endpoint component (#17278)
* Remove payment endpoint component

* fix

* Fix
2023-04-18 22:15:51 +08:00
Milan Pavlik
68f142deff
[server] Delete UserCounter (#17276) 2023-04-18 22:02:50 +08:00
Gero Posmyk-Leinemann
6e3cab66c7
Remove all Chargebee config and deps to payment-endpoint (#17274)
* [server] Chargebee config and services

* [server] Delete AccountStatementProvider

* [server] Remove all deps to payment-endpoint
2023-04-18 21:35:50 +08:00
Milan Pavlik
c8f0a40037
[server] Remove monitoring EE (#17263)
* [server] Removing monitoring EE

* [server] Removing monitoring EE

* fix
2023-04-18 21:04:50 +08:00
Milan Pavlik
38539a7314
[server] Remove chargebee coupon computer (#17272) 2023-04-18 20:45:50 +08:00
Milan Pavlik
9059e7e2af
[server] Remove reading of license file (#17271) 2023-04-18 20:36:50 +08:00
Milan Pavlik
51a06c6384
[server] Remove client metrics adapter (#17270) 2023-04-18 20:19:51 +08:00
Gero Posmyk-Leinemann
05e18a58ea
Remove BillingMode.Chargebee (#17269)
* [dashboard] Remove usage of BillingMode.canSetWorkspaceClass/.showTeamSubscriptionUI

* [server] Cleanup remaining BillingMode.Chargebee usages

* [server] Remove BillingMode.Chargebee
2023-04-18 20:13:50 +08:00
Gero Posmyk-Leinemann
7635623980
Purge all Chargebee-related API methods (#17262)
* [server] Remove unused Chargebee-related payment APIs

* [server] Handle all permission cases for operations on attributionIds

* [server] Leftover import

* fix build
2023-04-18 19:54:50 +08:00
Gero Posmyk-Leinemann
0c463e2488
[dashboard] Fix broken /usage redirect (#17266) 2023-04-18 19:26:50 +08:00
Alex Tugarev
1def3c9136
remove remainings of obsolete ToS/terms code (#17261) 2023-04-18 18:36:50 +08:00
Milan Pavlik
0f8df4de92
[db] Drop d_b_user_message_view_entry (#17259) 2023-04-18 18:35:50 +08:00
Alex Tugarev
e8078a2514
[server] remove obsolete loginContextMatcher (#17256)
It was used in SH setups to prioritize auth providers.
2023-04-18 18:32:50 +08:00