Alex Tugarev
60ac0e4400
[server] fix reusing soft-deleted identities ( #17081 )
2023-03-30 11:46:40 +02:00
Alex Tugarev
7ecc196baa
Sign in with SSO ( #17055 )
...
* [experiment] Add "Sign in with SSO" to Login
Reusing existing parts:
* `/complete-auth` page of Dashbaord to forward results of authN flows running in a modal
* Adding preliminary UI to the Login view: Org-slug and simple button.
* [gitpod-db] get team/org by slug
* [gitpod-db] fix OIDCClientConfig.OrganizationID field's type
* [oidc] consider returnTo URL
* [oidc] consider orgSlug param from start request
* [oidc] fix oauth2 clientId propagation
* [oidc] fix a flaky test
* [onboarding] skip for organizational accounts
* Move SSO Login UI into it's own component
* adjust validation a bit, add useCallbacks
* adding GetOIDCClientConfigByOrgSlug
* add table name
* removing commented out code
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-03-29 15:49:39 +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
cda8b7bd02
[dev-image] Set DB_HOST to 127.0.0.1 by default ( #16797 )
2023-03-13 09:46: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
7d8180aae9
[db] Setup go db tracing ( #16706 )
...
* [installer] Do not pull blobserve implementation into installer
* fix
* Fix
* [db] Setup go db tracing
* fix
* Fix
* fix
* Fix
2023-03-10 09:23:46 +01:00
Milan Pavlik
13b3b013b6
[logging] Enable storing/extracing of logger from context ( #16658 )
...
* [logging] Enable storing/extracing of logger from context
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
2023-03-09 10:27:45 +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
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
Aleksandar
ef78100610
Fix dbtest gha run ( #16506 )
2023-02-24 16:30: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
Sven Efftinge
df16e84434
[db/long migration] organizationId on workspace
2023-02-10 09:35:15 +01:00
Sven Efftinge
7de05704b2
[server] set organizationid on workspace creation
2023-02-09 15:55:14 +01:00
Sven Efftinge
a0ec2078ea
[db] workspaces get organizationid
2023-02-09 10:40:14 +01:00
Milan Pavlik
1d4cab9c8b
[gorm] Ignore NotFound errors when logging
2023-02-08 14:54:46 +01:00
Sven Efftinge
74aa6db6e4
[ws-manager-api] Add region for cluster selection
2023-02-08 10:51:46 +01:00
Milan Pavlik
1dc48fbc23
[teams] Remove slug usage
2023-02-07 07:51:44 +01:00
Sven Efftinge
5082112863
[gitpod-db] Add region for cluster selection
2023-02-06 15:49:44 +01:00
Gero Posmyk-Leinemann
86ddf03542
[db] migration: add user.organizationId + index
2023-02-06 15:10:44 +01:00
Brad Harris
252d76b131
fixing test
2023-02-02 16:01:41 +01:00
Brad Harris
a376bcd445
enabling tests again
2023-02-02 16:01:41 +01:00
Brad Harris
f152269173
temporarily commenting out new organizationId test
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
Alex Tugarev
335c259004
[db-migrations] patch OAuthRevision migration
...
... and let it not unblock subsequent migrations on d_b_auth_provider_entry table.
2023-01-31 18:38:38 +01:00
Sven Efftinge
b67ae8179e
[dashboard] user visible rename team->organization
2023-01-31 10:14:38 +01:00
Sven Efftinge
73f2a268ea
synchronize migration
2023-01-30 11:17:37 +01:00
Gero Posmyk-Leinemann
ab6895e4b7
[db] Make 'leeway run components/gitpod-db:init-testdb' the new default for starting test dbs
2023-01-23 16:51:30 +01:00
Andrew Farries
4b9a5fd5b1
Use a valid UUID for the admin user
2023-01-23 14:48:30 +01:00
Milan Pavlik
e5c8da1491
[oidc] Implement Get OIDC Client Config API
2023-01-20 15:53:28 +01:00
Moritz Eysholdt
d467d37575
Fix Go DB test in GHA
2023-01-20 15:49:28 +01:00
Milan Pavlik
72a31730f7
[oidc] Delete OIDC Client Config API
2023-01-20 15:00:28 +01:00
Moritz Eysholdt
a8b928030c
Add MySQL service
2023-01-20 14:44:28 +01:00
Gero Posmyk-Leinemann
f0917a3721
[db] Create builtin-installation-admin-user
2023-01-20 11:27:27 +01:00
Milan Pavlik
7012fe2ce3
[oidc] List client configs API implementation
2023-01-19 14:30:27 +01:00