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
Manuel Alejandro de Brito Fontes
27979c9395
Update go dependencies ( #17101 )
...
* Update go dependencies
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Update runc to v1.1.5
* Update docker cli to v23.0.2+incompatible
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-04-12 10:03:52 +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
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
Sven Efftinge
7de05704b2
[server] set organizationid on workspace creation
2023-02-09 15:55:14 +01:00
Milan Pavlik
1d4cab9c8b
[gorm] Ignore NotFound errors when logging
2023-02-08 14:54:46 +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
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
Milan Pavlik
7012fe2ce3
[oidc] List client configs API implementation
2023-01-19 14:30:27 +01:00
Milan Pavlik
fde5279d3a
[db] Implement basic list oidc client configs
2023-01-19 08:26:26 +01:00
Milan Pavlik
abff6189f2
[db] Add organisationId to d_b_oidc_client_config + indices
2023-01-18 11:56:26 +01:00
Milan Pavlik
6fc1a75102
[iam] Implement COIDC CreateClientConfig RPC
2023-01-05 11:51:45 +01:00
Milan Pavlik
0309d14721
[gitpod-db] Helper to construct db connection params from env
2022-12-21 10:07:30 -03:00
Milan Pavlik
8a85247a56
[db] Support cipher-set in go
2022-12-20 12:56:29 -03:00
Milan Pavlik
9ca833a1cc
[db] Support encrypted JSON in Go
2022-12-20 05:10:29 -03:00
Milan Pavlik
f9b429b0e0
[db] Support for encryption of db entries
2022-12-16 08:32:25 -03:00
Gero Posmyk-Leinemann
8a03b3a156
[installer, gitpod-db] Introduce database.ssl.ca
2022-12-15 12:29:24 -03:00
Sven Efftinge
256c896891
[db] handle race in gorm.Save
...
when calling `gorm.Save` concurrently, we see duplicate entry errors
because gorm is only trying to update and if that doe not succeed does
an insert.
2022-12-15 07:14:24 -03:00
Milan Pavlik
620b0fa288
[oidc] Setup db
2022-12-13 11:14:23 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Sven Efftinge
aa4a5cafb6
[usage] make increment billing cycle more robust
2022-12-07 05:54:17 -03:00
Sven Efftinge
fcc42fe1a4
[usage] handle no stopping but stopped time
2022-12-06 12:38:17 -03:00
Sven Efftinge
57593bfedd
[usage] increment cycle on finalize invoice
2022-12-06 05:24:16 -03:00
Sven Efftinge
a5d67448b2
Revert "[usage] handle reset usage for chargebee"
2022-12-02 11:47:01 -03:00
Milan Pavlik
e5dd0238e9
[pat] API allows update which does not change any data
2022-12-01 13:42:00 -03:00
Milan Pavlik
fd6546bafe
[pat] HHarden retrieval of PATs and check for nil UUIDs
2022-11-30 11:17:59 -03:00
Sven Efftinge
2eead4a625
[usage] handle reset usage for chargebee
...
chargebee subscriptions that are cancelled get a dedicatd cost center
2022-11-30 09:08:00 -03:00
Sven Efftinge
c381daac25
[usage] only reset to max spendingLimit
2022-11-30 04:14:59 -03:00
Milan Pavlik
16f646aae7
[pat] Do not list deleted PATs
2022-11-29 10:49:58 -03:00
Sven Efftinge
7252b10b78
[usage] reduce possibility for races in ResetUsage
2022-11-28 11:02:57 -03:00
Milan Pavlik
5642845022
[pat] Update Personal Access Token
2022-11-25 05:47:54 -03:00
Sven Efftinge
8027a1e195
[usage] don't reset usage limit
2022-11-24 11:14:53 -03:00
Milan Pavlik
7ef62ba4a2
[pat] Validate and enforce scopes for PATs
2022-11-24 06:22:53 -03:00
Milan Pavlik
64ed64a428
[pat] Remove description field
2022-11-24 05:19:53 -03:00
Jean Pierre
d70072131d
[public-api] delete personal access token
...
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 12:11:53 -03:00
Jean Pierre
afac3c9b43
[public-api] regenerate personal access token
...
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 10:01:52 -03:00
Laurie T. Malau
72de7937bf
[pat] Implement GetPersonalAccessToken
2022-11-22 13:31:52 -03:00
Milan Pavlik
4913d48793
[public-api] Create Personal Access Token implementation
2022-11-22 11:39:52 -03:00
Milan Pavlik
b30941bc83
[public-api] Implement list personal access tokens
2022-11-22 06:53:51 -03:00
Laurie T. Malau
4cf5618eff
[public-api] personal access token db model
2022-11-21 11:14:51 -03:00
Laurie T. Malau
ee08e7863c
[db] Move db models to gitpod-db/go module
2022-11-21 08:37:50 -03:00
Milan Pavlik
96874fa3bf
Setup gitpod-db/go package
2022-11-18 11:32:48 +02:00