781 Commits

Author SHA1 Message Date
Brad Harris
2eaf257d89
removing setup intent related code (#17539) 2023-05-10 01:41:54 +08:00
Sven Efftinge
c632b7e0fe
[dashboard] don't ask again on ws creation (#17297) 2023-05-03 17:33:41 +08:00
Alex Tugarev
af796f2825
[server] Compute state of Dedicated Onboarding (#17466) 2023-05-03 14:27:41 +08:00
Milan Pavlik
6f6b0a8d7c
[server] Fix parsing of go duration (#17458) 2023-05-02 21:08:40 +08:00
Sven Efftinge
050c83110b
[dashboard] handle organizationOwned users (#17444) 2023-05-02 02:17:39 +08:00
Huiwen
93f39f317f
Revert "[dashboard] send heartbeat telemetry (#17358)" (#17426)
This reverts commit c520c72398235104a2a870014d20e476ac211890.
2023-04-28 15:39:38 +08:00
Alex Tugarev
341491a1da
Removing ONBOARDING_IN_PROGRESS condition (#17417)
because it blocks all API calls needed during the onboarding.
2023-04-28 03:07:35 +08:00
Anton Kosyakov
8f1640ed0b
[supervisor-frontend] fix metrics reporting (#17361)
* [supervisor-frontend] fix metrics reporting

when workspace URL contains search, hash or path

* ensure that GitpodHostUrl always trim search, hash, path

+ remove unused arg type and function
2023-04-28 02:55:36 +08:00
Huiwen
c520c72398
[dashboard] send heartbeat telemetry (#17358)
* [dashboard] send heartbeat telemetry

* 💄

* Reset after telemetry sent

* Update components/gitpod-protocol/src/frontend-dashboard-service.ts

Co-authored-by: Milan Pavlik <milan@gitpod.io>

* Fix and send final telemetry

* fix build

---------

Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-04-26 20:03:37 +08:00
Jan Keromnes
d40efae2df
Stop asking for company website during user onboarding (#17390) 2023-04-26 17:48:34 +08:00
Mirco Kater
6c73ccaf4a
New roles (#17059)
* draft

* Update permission.ts

changed admin-role into admin-permissions

* Update gitpod-server-impl.ts

changed admin-role into admin-permissions

* [server] Grant "admin" and "admin-permissions" for first user

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2023-04-25 23:05:46 +08:00
Gero Posmyk-Leinemann
179e55b98a
[preview] Configure with-dedicated-emulation (#17337)
* [preview] Disable stripe secrets on GITPOD_WITH_DEDICATED_EMU

* [preview] Disable linkedin secrets on GITPOD_WITH_DEDICATED_EMU

* [dashboard, db] Don't show onboarding dialogues for "admin-user"

* [preview] Configure stripe/linkedin in the same code block
2023-04-25 16:04:46 +08:00
Sven Efftinge
d18edfe28c
[orgs-only] Show Information before migration. (#17319) 2023-04-25 15:39:45 +08:00
Milan Pavlik
eb2ceadb76
[server/dash] Remove license RPCs/view WEB-214 (#17342)
* [server/dash] Remove license RPCs/view

* remove licence refs

* Fix

* fix
2023-04-24 22:29:45 +08:00
Sven Efftinge
3a3d99edd3
[admin] show workspace instances (#17322) 2023-04-24 21:23:45 +08:00
Alex Tugarev
b7872c1372
Remove deprecated and unused getPortAuthenticationToken method (#17321) 2023-04-24 16:02:45 +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
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
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
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
311568460c
[server] Remove license db model - WEB-171 (#17264)
* [server] Remove license db model

* fix
2023-04-18 22:23:50 +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
Alex Tugarev
1def3c9136
remove remainings of obsolete ToS/terms code (#17261) 2023-04-18 18:36: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
Milan Pavlik
973c455964
[server] Remove TermsProvider - unused - WEB-167 (#17252)
* [server] Remove TermsProvider - unused

* fix

* fix

* fix
2023-04-18 17:48:50 +08:00
Milan Pavlik
296efd61d4
[db] Remove theia plugin db model - WEB-168 (#17255)
* [db] Remove theia plugin db model

* retest
2023-04-18 17:38:50 +08:00
Alex Tugarev
a657f94767
[server] clean up auth provider (#17238)
removing dead code.
2023-04-17 23:56:49 +08:00
Sven Efftinge
c44aa18c28
[workspace list] filter by org (#17228) 2023-04-17 17:48:49 +08:00
Anton Kosyakov
bf65f38734
[proxy] add analytics endpoint 2023-04-17 10:28:19 +02:00
Sven Efftinge
b12678bde1
remove generic notifications (#17217) 2023-04-14 13:57:53 +02:00
Jan Keromnes
f7101c5aed
Implement user account verification with LinkedIn during onboarding (#17074)
* Implement user account verification with LinkedIn during onboarding

* updating connect with linked-in banner

* removing unused imports

* Store token, fix binding

* Refactor LinkedInToken to LinkedInProfile

* Actually write the LinkedIn secret to the server config

* Fetch LinkedIn user profile and email address

* Add creationTime column to d_b_linked_in_profile

* Add more debug logging

* Fix LinkedIn API calls, mount LinkedInProfileDB

* Also bind LinkedInProfileDB

* Add LinkedIn scope r_liteprofile

* Enhance LinkedIn profile retrieval, store the profile, ensure uniqueness

* Align with UX spec and complete onboarding flow

* Prevent the LinkedIn button from auto-submitting the onboarding form

* Address nits (LinkedInService to /src and minor spacing)

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-04-12 16:39:52 +02:00
Sven Efftinge
d91fbff30d
[Create WS] Various fixes (#17135)
* [server] normalize contextURL

* [create workspace] only create one workspace

- respect referrer context
- useWorkspaceContext returns null instead of being disabled
when contextUrl is undefined

* [dashboard] immediately show running workspaces
2023-04-11 10:07:50 +02:00
Alex Tugarev
cd9e3e8181
[onboarding] skip for organizational accounts (#17058) 2023-03-28 13:39:26 +02:00
Huiwen
0bc795bd28
Allow to disable workspace sharing in team settings (#17042)
* server impl

* dashboard

* dashboard improve

* 1

* add permission check

* update error message

* improve mutation

* 💄

* * remote `deleted` field in respond
* dashboard use new data from server

* update db select

* address UI feedback

* disable query when no org loaded yet

* rename team to org

* allow to stop sharring always

* fix

* Fix

* Fix

* Fix

* Fix

---------

Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Brad Harris <bmharris@gmail.com>
Co-authored-by: Milan Pavlik <pavlik.mil@gmail.com>
2023-03-27 23:10:25 +02:00
Alex Tugarev
275e782341
[Orgs] Persist slug (#16923)
* [orgs] Persist `slug`

* [Orgs] Make `slug` changeable on Settings page

* update to use input/button components and mutation

* [papi] Re-add Team.slug

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-03-24 10:51:16 +01:00
Pudong
b465d06617
Uniformly use proxy to get the configuration of configcat (#16942)
* Uniformly use proxy to get the configuration of configcat

* Add configcat enabled in workspace info api

* enabled configcat in ide-service
2023-03-23 11:01:15 +01:00
Manuel Alejandro de Brito Fontes
555ee279fe
Remove licensor component (#16983)
* Remove licensor component

* Update docker version to v20.10.23
2023-03-23 10:35:15 +01:00
Milan Pavlik
0e2ec6cd24
Remove usage of applicationCluster column from WorkspaceCluster (#16824)
* Remove usage of applicationCluster column from WorkspaceCluster

* fix

* Fix

* fix

* Fix

* fix

* Fix

* fix

* Fix

* Fix

* fix
2023-03-14 13:13:07 +01:00
Sven Efftinge
581408def5
[dashboard] make new workspace aware of project (#16742) 2023-03-09 11:30:45 +01:00
Sven Efftinge
8496ae0c36
[dashboard] query cache orgs (#16685) 2023-03-07 13:01:05 +01:00
Pudong
9de446fb2c
[loading screen] don't send close timeout if not owner (#16697) 2023-03-07 09:12:04 +01:00
Gero Posmyk-Leinemann
9382e36bcd
[server] Implement cancelTeamSubscription (#16663) 2023-03-06 09:28:03 +01:00
Brad Harris
7e15f6d793
Report ErrorBoundary from Dashboard (#16647)
* adding a reportErrorBoundary method

* temp test of error boundary

* adding a fallback for error.mesage

* remove test code

* removing unintentional change

* Dropping url from metric label, feedback changes
2023-03-06 09:02:03 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider (#16482)
* Prototype IDP provider

* [gp cli] Add IDP commands

* [public-api] Remove zitadel based IDP implementation

* [gitpod-cli] Add IDP support for Vault

* [idp] Remove per-org IDP

* [idp] Add key cache and random key IDs

* [idp] Defer GetIDToken authorisation to server

* [idp] Add Redis public key cache

* [gitpod-cli] Hide IDP commands

* [idp] Add key ID to JWT

* [idp] Add unit tests

* [idp] Adress review comments

* [public-api-server] Use logging middleware globally

* [public-api-server] Simplify service registration

* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Pudong
5ee2a66b13
[dashboard, server] Add global custom timeout preference (#16503)
* [dashboard] add custom global timeout user preference

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* [server] allow user custom global timeout

* [server] add `supportConfigureWorkspaceTimeout` and `updateWorkspaceTimeoutSetting` api

* [dashboard] use new api to configure workspace timeout setting

* [dashboard, server] use maySetTimeout

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-03-03 09:30:00 +01:00
Gero Posmyk-Leinemann
9d2d729b37
[server] Implement tsAddMembersToOrg (#16638) 2023-03-02 17:44:00 +01:00
Gero Posmyk-Leinemann
36ff5f7084
[server] Only show notifications for not-cancelled subscriptions (#16629) 2023-03-02 09:23:59 +01:00