431 Commits

Author SHA1 Message Date
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
Brad Harris
7208a1413e adding a sort by name 2023-01-19 09:17: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
Sven Efftinge
53333d2ec9 [server] create a freemium team when no team exist 2023-01-18 11:11:26 +01:00
Sven Efftinge
9b1917b68d [server] mandatory team name on update 2023-01-16 18:41:24 +01:00
Sven Efftinge
837844d7f8 [server] Added updateTeam call
see #5067
2023-01-16 18:41:24 +01:00
Sven Efftinge
3af4edc46c [server] migrate individual usage to teams 2023-01-13 09:11:52 +01:00
Gero Posmyk-Leinemann
51cd88a1f3 [db] Sync on connection initialization 2023-01-11 19:11:51 +01:00
Milan Pavlik
6fc1a75102 [iam] Implement COIDC CreateClientConfig RPC 2023-01-05 11:51:45 +01:00
Siddhant Khare
e4ce95251b bump: package @jmondi/oauth2-server 2023-01-04 10:14:44 +01:00
Milan Pavlik
0309d14721 [gitpod-db] Helper to construct db connection params from env 2022-12-21 10:07:30 -03:00
Brad Harris
a33857ed6d adding test for findTeams by slug 2022-12-20 15:39:29 -03:00
Brad Harris
be6ea7bc1a adding team.slug to findTeams query 2022-12-20 15:39:29 -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
Alex Tugarev
974cbcc531 [gitpod-db] Fix AuthCodeRepositoryDB.getByIdentifier 2022-12-15 05:43:24 -03:00
Alex Tugarev
e35b4690a1 [gitpod-db] add failing test for AuthCodeRepositoryDB.getByIdentifier 2022-12-15 05:43:24 -03:00
Milan Pavlik
620b0fa288 [oidc] Setup db 2022-12-13 11:14:23 -03:00
Jean Pierre
cd289d430f [code-sync] Update /v1/collection endpoint response
Ref https://github.com/microsoft/vscode/pull/168115
2022-12-12 12:55:22 -03:00
Mads Hartmann
06557ea800 Remove build artifacts from leeway package srcs lists 2022-12-12 08:12:22 -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
db4f0fcb41 [pat] Fix expiration time auto-udpate 2022-12-01 09:53:00 -03:00
Sven Efftinge
91ad8a3550 [pvc] remove pvc related code 2022-12-01 09:07:00 -03:00
Milan Pavlik
82e56ca08e [pat] Apply on-update property to _lastModified column, remove from expirationTime 2022-12-01 07:53:00 -03:00
Milan Pavlik
fd6546bafe [pat] HHarden retrieval of PATs and check for nil UUIDs 2022-11-30 11:17:59 -03:00
Gero Posmyk-Leinemann
753a24b503 [server] Print more details on auth error 2022-11-30 10:58: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
e9cf230312 [server] Support PATs when authenticating 2022-11-29 10:52:58 -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
ff3298b63b [db] Define PersonalAccessToken model for TypeORM 2022-11-28 11:00:57 -03:00
Milan Pavlik
5642845022 [pat] Update Personal Access Token 2022-11-25 05:47:54 -03:00