701 Commits

Author SHA1 Message Date
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
Milan Pavlik
e4e05143e2
[baseserver] Initialize tracer with server (#16586)
* [baseserver] Initialize tracer with server

* fix

* Fix

* fix
2023-03-03 14:57: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
Milan Pavlik
84aec6d694
[server] Log user errors as info (#16445)
* [server] Log user errors as info

* Fix

* Fix
2023-03-02 09:09:59 +01:00
Milan Pavlik
5317b53ef8
[db-sync] Remove comment references (#16602) 2023-03-01 11:06:58 +01:00
Brad Harris
75b6ded50d
Adding a company size question to new user onboarding flow (#16616)
* adding companySize to onboarding questions

* send companySize to segment
2023-03-01 09:27:58 +01:00
jakobhero
ca8dbb44aa
send company website (#16563) 2023-02-24 16:34:54 +01:00
Alex Tugarev
aa49b87cca
[dashboard] Add "Switch to pay-as-you-go" page (#16488)
* [server] add tsCancel to support Switch-to-PAYG

* [server] relax Stripe-check for switchToPAYG

* [server] fix faulty guard in deleteUser

* [dashboard] add "Switch to pay-as-you-go" Page
2023-02-24 16:27:54 +01:00
Brad Harris
83862f2634
New User Onboarding Flow UI (#16501)
* disable rule for better dx - linter will catch

* add styles for other input types

* adding more options to input components

* Building out onboarding form

* adjusting form

* breaking onboarding flow into pieces

* adding personalize step

* removing old code

* removing un-needed code

* Plug in ThemeSelector component

* cleanup

* update onboarding logic

* disable or members query if no current org present

* adjusting where we save onboarding data

* make label optional

* change signup goals to an array

* change to company

* adjust spacing/layout

* Add additional comments for context

* rename isLoading to isSaving for clarity

* fix typo

* set type on button, don't submit if invalid

* adding required on required fields

* fix typos

* Adjusting titles, styles and adding avatar

* account for new profile fields for tracking

* remove check for signupGoals

* updating options

* Adding exploration reasons question
2023-02-23 23:49:53 +01:00
Gero Posmyk-Leinemann
b21e2f276a [server] Create nudges for all Chargebee Personal/Team Subscription/Team Subscription 2 owners 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
632f872b3c [server, dashboard] Extend getNotifications to: AppNotification 2023-02-22 11:02:52 +01:00
Gero Posmyk-Leinemann
612cd936fd [server] Extract some subscription helpers 2023-02-22 11:02:52 +01:00
Brad Harris
7cb5502c8c adding new profile fields for new signup flow 2023-02-21 18:44:51 +01:00
Anton Kosyakov
532513a848 fix #12208: gp env to respect workspace env vars 2023-02-20 18:36:50 +01:00
Brad Harris
031707c785 handle org auth providers 2023-02-20 09:46:50 +01:00
Milan Pavlik
7b93e8099e [content-service-api] Fix codegen 2023-02-17 10:37:21 +01:00
Huiwen
b16eae0e1d [supervisor-frontend] implement encryption for code 2023-02-16 14:44:21 +01:00
Gero Posmyk-Leinemann
1a9094756a [public-api-server] Forward Origin header where provided 2023-02-15 15:39:20 +01:00
Huiwen
0810836f85 [server,dashboard] add endpoints to get ide credentials 2023-02-15 08:44:19 +01:00
Sven Efftinge
0c0178b610 [server] pass organizationId to create ws 2023-02-14 12:07:19 +01:00
Milan Pavlik
db05a7f5be [server] Typed workspace region 2023-02-10 15:26:15 +01:00
Pudong Zheng
b8d630b8d8 [gitpod-protocol] add back gitpod-host-url bill and setting 2023-02-10 15:21:15 +01:00
Filip Troníček
880f186042 gp timeout set and gp timeout show to echo back the server-interpreted display duration
This means that 1439m doesn't become "1439 minutes", but rather "29 hours and 59 minutes"
2023-02-10 11:38:15 +01:00
Filip Troníček
d5b7d3ada9 Minor improvements to the workspace timeout validation
1. Only allow decimal values in timeouts
    This allowed users to have durations in other number systems like hexadecimal. For example `0xfd` was a valid timeout.
2. Remove "d" (day) as a unit
    Because this unit is both rejected by the backend and timeouts cannot be longer than 24 hours, it does not make sense to allow it.

Co-authored-by: Lou Bichard <contact@louisjohnbichard.co.uk>
2023-02-10 11:38:15 +01:00
Filip Troníček
527f1eb1fd Add a 24-hour timeout limit to workspace timeouts 2023-02-10 11:38:15 +01:00
Filip Troníček
626b0e1386 Add humanReadableDuration as return value from setWorkspaceTimeout 2023-02-10 11:38:15 +01:00
Sven Efftinge
7de05704b2 [server] set organizationid on workspace creation 2023-02-09 15:55:14 +01:00
Huiwen
901dcd26a8 [supervisor-frontend] add open desktop ide entrypoint for browser code 2023-02-09 13:26:14 +01:00
Gero Posmyk-Leinemann
3a854eb450 [server] Male sure to only ever finish this span once 2023-02-08 16:50:47 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Brad Harris
64d46a9aac Adding Git Integrations to Team Settings 2023-02-07 11:31:45 +01:00
Milan Pavlik
1dc48fbc23 [teams] Remove slug usage 2023-02-07 07:51:44 +01:00
Gero Posmyk-Leinemann
86ddf03542 [db] migration: add user.organizationId + index 2023-02-06 15:10:44 +01:00
Sven Efftinge
e4e54fea1f [dashboard] move org menu left 2023-02-06 09:37:44 +01:00
Brad Harris
3077ef5b43 creating distinct fns for org provider calls 2023-02-02 16:01:41 +01:00
Brad Harris
d24ae32b27 Removing ownerId from method params 2023-02-02 16:01:41 +01:00
Brad Harris
7b8b3e09ea adding flag check on methods 2023-02-02 16:01:41 +01:00
Brad Harris
fff28968f1 Adds org id to auth providers & new api methods 2023-02-02 16:01:41 +01:00
Aleksandar Aleksandrov
b77cfce1ab GHA Publish to NPM 2023-02-02 12:32:40 +01:00
Sven Efftinge
e17bbae28f remove org slug 2023-01-31 10:55:38 +01:00
Sven Efftinge
03a5fb6ac7 [billing] provide human readable price info 2023-01-23 11:55:30 +01:00
Anton Kosyakov
674ad1c978 polish IDEFrontendDashboardService
- add docs and security notes
- remove imlementation methods from the interface
- fix a regression with opening desktop IDEs on the workspace origin
- allow to access the interface from other locations for the same workspace, i.e. for dev and debug modes
2023-01-20 11:12:28 +01:00