Alex Tugarev
76c61533a6
[OIDC] Enable mark client config as "active" ( #17365 )
...
* [gitpod-db] Add `d_b_oidc_client_config.active` field
* [papi] Add OIDCClientConfig.active to proto def
* [gitpod-db] Add OIDCClientConfig.active
* [papi] Add `activate` param to `/oidc/start` endpoint handler
If provided it should mark the OIDC client config as `active` in the DB.
* Fix propagation of state params and add tests.
* fix import of deprecated ioutil
* refactor GetStartParams
* consider `activate` from create request
2023-04-27 21:35:36 +08:00
Sven Efftinge
f840049dbf
[db] directly delete workspaces ( #17400 )
2023-04-27 15:30:35 +08:00
Sven Efftinge
bbc0985c67
[wsgc] fix workspaceForPurging query ( #17398 )
2023-04-26 22:16:35 +08:00
Gero Posmyk-Leinemann
2867dab4d7
[db] Unblock admin-user by default ( #17394 )
2023-04-26 20:38:34 +08:00
Sven Efftinge
2733008e87
[org-only] relax org name restriction ( #17371 )
2023-04-25 23:52: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
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
Alex Tugarev
62c5a09113
[server] stop logging 0 items ( #17311 )
2023-04-21 19:40: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
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
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
Milan Pavlik
0f8df4de92
[db] Drop d_b_user_message_view_entry ( #17259 )
2023-04-18 18:35:50 +08:00
Milan Pavlik
eab2cfebd5
[db] Remove user message view db model - WEB-172 ( #17258 )
...
* [db] Remove user message view db model
* Fix
* retest
2023-04-18 18:08:50 +08:00
Milan Pavlik
650bc1f862
[db] Drop d_b_theia_plugin ( #17257 )
2023-04-18 17:54:50 +08:00
Milan Pavlik
318e9d8136
[db] Drop d_b_terms_acceptance_entry ( #17254 )
2023-04-18 17:41:50 +08:00
Sven Efftinge
22a29b20d9
[db] make verification faster ( #17247 )
2023-04-18 17:40: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
Milan Pavlik
43a00d5b39
[server] Remove terms acceptance db model - WEB-167 ( #17253 )
...
* [server] Remove terms acceptance db model
* fix
* retest
2023-04-18 17:16: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
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
Milan Pavlik
63915687ca
[db] Drop d_b_oss_allow_list (WEB-91) ( #17138 )
...
* [server] Remove OSS check
* fix
* Fix
* Fix
* fix
* [db] Drop d_b_oss_allow_lis
2023-04-11 10:34:51 +02:00
Milan Pavlik
e0e052d894
[server] Remove OSS check (WEB-91) ( #17133 )
...
* [server] Remove OSS check
* fix
* Fix
* Fix
* fix
2023-04-07 13:12:47 +02:00
Alex Tugarev
3fc282685f
[db-deleter] lower limit of queries for smaller ticks ( #17107 )
2023-03-31 10:46:40 +02:00
Alex Tugarev
2d32895dd6
[gitpod-db] fix PK entry ( #17106 )
2023-03-31 10:38:40 +02:00
Alex Tugarev
8f5eac4aac
[db deleter] Limit rows to be deleted per run ( #17102 )
2023-03-31 07:49:40 +02:00
Alex Tugarev
94340c7307
[server/db] resume periodic deleter on quorum re-election ( #17092 )
2023-03-30 13:40:39 +02:00
Milan Pavlik
f5bab324df
[server] Log ticks of periodic db deleter ( #17089 )
...
* [server] Log ticks of periodic db deleter
* fix
* fix
* fix
2023-03-30 11:58:40 +02:00
Alex Tugarev
60ac0e4400
[server] fix reusing soft-deleted identities ( #17081 )
2023-03-30 11:46:40 +02:00
Milan Pavlik
3682053520
[ws-man-bridge] Hard delete workspace clusters on deregistration ( #17063 )
...
* [ws-man-bridge] Set deleted to false, when creating new d_b_workspace_cluster
* hard delete
2023-03-28 17:57: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
Gero Posmyk-Leinemann
62a359fb95
[webapp] Drop "admin" role for "admin-user" ( #16948 )
...
* [db] Align IDs of "admin-user" (follow up for #15974 )
* [db] Drop "admin" role for "admin-user"
2023-03-23 08:55:15 +01:00
Alex Tugarev
60413beaf2
[orgs] Add index for slug ( #16920 )
...
Part of #16856
2023-03-20 15:26:12 +01:00
Milan Pavlik
6207bc3410
Remove applicationCluster from tables.ts ( #16876 )
...
* Remove application cluster references
* fix
2023-03-16 15:23:08 +01:00
Milan Pavlik
954682ea1d
[db] Drop applicationCluster column from d_b_workspace_cluster ( #16839 )
2023-03-15 10:19:08 +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
Milan Pavlik
2220a2435b
[migrations] Make workspace cluster name the PK, drop composite PK on (name, appCluster) ( #16769 )
...
* [migrations] Make workspace cluster name the PK, drop composite PK on (name, appCluster)
* fix
* fix
* fix
2023-03-13 10:57:48 +01:00
Milan Pavlik
805beca614
[ws-man-bridge] Correct name for Workspace Instance Controller var ( #16795 )
...
* [ws-man-bridge] Correct name for Workspac Instance Controller var
* fix
* Fix
2023-03-10 10:37:45 +01:00
Milan Pavlik
5317b53ef8
[db-sync] Remove comment references ( #16602 )
2023-03-01 11:06:58 +01:00
Gero Posmyk-Leinemann
9fdc564bee
[db] Improve findSessionsInPeriod perf by giving more data to hit indexes ( #16564 )
2023-02-24 16:32:54 +01:00
Gero Posmyk-Leinemann
d097db122a
[db] Add index workspace.ind_ownerId_type_creationTime ( #16562 )
2023-02-24 16:15:54 +01:00
Alex Tugarev
eb6ca45136
[gitpod-db] Fix AuthProviderEntryDBImpl.findByUserId
2023-02-15 11:54:20 +01:00
Brad Harris
dd9cc35f33
Adding a findById() to AuthProviderEntryDB
2023-02-14 17:20:19 +01:00
Brad Harris
d60d04c05f
filter out org auth providers from user providers
2023-02-14 17:20:19 +01:00
Sven Efftinge
ebcf270b63
[migrations] added logs and air
2023-02-14 10:36:19 +01:00
Milan Pavlik
db05a7f5be
[server] Typed workspace region
2023-02-10 15:26:15 +01:00
Sven Efftinge
f4f343f07c
[db] optimize workspace update
2023-02-10 14:19:15 +01:00
Sven Efftinge
2d3b91db39
[gitpod-db] reduce migration batch size
2023-02-10 10:26:14 +01:00