Jean Pierre
d0b5b873ec
Add invalid billing address notification ( #19349 )
...
* Add webhook events
* Properly set AutomaticTax
* Use address element
* 💄
* Update susbcription on address update
* Try scroll modal
* Fix
* try fix modal scroll
* Add toast notification
* Add invalidBillingAddress column to d_b_stripe_customer
* 💄
* 💄
* Fix
* Try fix update
* Address feedback
2024-01-29 11:12:05 +02:00
Sven Efftinge
0a3e22ba3d
[usage] track email for free allowance ( #19303 )
...
* [usage] track email for free allowance
* [db] d_b_free_credits: Add indexes for userId and email
---------
Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-01-04 10:49:41 +02:00
Milan Pavlik
f0c8a858c9
[baseserver] Emit metrics for logs produced by level ENG-349 ( #19063 )
...
* [baseserver] Emit metrics for logs produced by level
* fix
* fix
* fix
* fix
* Fix
* Fix
* fix
* retest
* fix
2023-11-21 12:26:58 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance ( #19052 )
...
* [scrubber] Improve KeyValue performance
* Update benchmark comment
* update go mod
* Add metaID to hashed fields
---------
Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Sven Efftinge
4de380534b
[usage] export creation and stopped time ( #19047 )
2023-11-09 14:59:47 +02:00
Gero Posmyk-Leinemann
5bf82cd20d
Move towards sync deletion (away from PeriodicDeleter) - step II/II ( #18866 )
...
* [db] DBTeam: drop deleted column (unused)
* [db] DBProject: drop deleted column (unused)
* [db] Drop table d_b_user_storage_resource
* [db] DBTokenEntry: drop deleted column (unused)
* [db] DBAuthProviderEntry: drop deleted column (unused)
* [db] DBGitpodToken: drop deleted column (unused)
* [db] DBTeamMembership: drop deleted column (unused)
* [db] DBProjectUsage: drop deleted column (unused)
* [db] DBUserSshPublicKey: drop deleted column (unused)
* [server] Fix flaky test
* [db] Make backwards-compatible to mysql 5.7
2023-10-06 09:59:14 +03:00
Gero Posmyk-Leinemann
ec8ca77143
[usage] FindRunningWorkspaceInstances: Make sure we use an index ( #18807 )
...
qcler
2023-09-27 09:16:06 +03:00
Sven Efftinge
c6e90d48cc
[stripe] reconcile missing invoices ( #18810 )
2023-09-26 18:39:05 +03:00
Manuel Alejandro de Brito Fontes
8ef82ff356
Update go modules to 1.21 ( #18805 )
2023-09-26 17:52:05 +03:00
Manuel Alejandro de Brito Fontes
513ca768f6
Update buildkit to v0.12.1 ( #18505 )
...
* Update buildkit to v0.12.1
* Update DisplaySolveStatus signature
* Switch to github.com/containerd/typeurl/v2
2023-08-15 09:17:40 +02:00
Sven Efftinge
667bd2f005
[usage] add optional UserID to filter usage ( #18449 )
2023-08-08 07:46:33 +02:00
Manuel Alejandro de Brito Fontes
61f89f8436
Update go modules ( #18372 )
2023-07-28 16:20:30 +08:00
Manuel Alejandro de Brito Fontes
54c2040632
Update go modules to 1.20 ( #18360 )
2023-07-27 22:24:29 +08:00
Manuel Alejandro de Brito Fontes
216f5a4b5d
Address registry-facade dependency issues ( #18145 )
...
* Update IPFS libraries references
* Update go modules
2023-07-07 14:26:24 +08:00
Manuel Alejandro de Brito Fontes
57c605ddc4
Cleanup scrubber go module dependency ( #18149 )
2023-07-04 16:37:21 +08:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Sven Efftinge
a351360702
[usage] less expensive reconilation ( #18051 )
2023-06-26 18:29:49 +08:00
Sven Efftinge
16960334b2
[usage] cleanup after org-only mig ( #18023 )
2023-06-23 20:09:13 +08:00
Sven Efftinge
fb0b7c4980
[usage] compute correct spending limit ( #17947 )
2023-06-20 17:39:10 +08:00
Sven Efftinge
20fda4dab5
[usage] restore previous spending Limit ( #17945 )
2023-06-15 16:24:05 +08:00
Milan Pavlik
264b57ad72
[db] Add go model for User - WEB-263 ( #17824 )
...
* [db] Add go model for User
* update helper constructor
* fix
* Add identity definition, and reference in User
* fix
* fix
2023-06-06 21:03:57 +08:00
Milan Pavlik
321da4322e
[gitpod-db] Rename Go definitions from Teams to Organizations ( #17763 )
...
* [gitpod-db] Rename Go definitions from Teams to Organizations
* fix
* fix
* Fix
* fix
* Fix
2023-05-30 19:09:04 +08:00
Alex Tugarev
ae9d418e7c
[papi] Start request should search for single Org with active SSO ( #17761 )
2023-05-26 18:16:00 +08:00
Alex Tugarev
d52ba759ae
Implement deactivation of OIDC client configs – WEB-333 ( #17659 )
...
* [papi] implement deactivation of OIDC client configs
* fix: add test for record not found
* simplify db.SetClientConfigActiviation
2023-05-22 19:55:56 +08:00
Alex Tugarev
7952153237
Add verify param to OIDC start request – WEB-333 ( #17576 )
...
* [papi] Add `verified` flag to config and `ActivateClientConfig` to OIDC service
* [papi] implement `ActivateClientConfig`
* [gitpod-db/go] add `setClientConfigVerifiedFlag`
* [gitpod-db/migration] add `d_b_oidc_client_config.verified` field
* [papi] Don't deactive on UpdateClientConfig
* [gitpod-db/go] add missing `Verified` field
* On "activate" request also mark as verified.
* [gitpod-db/go] fix mapping of `Verified` field
* [papi] ensure only verified OIDC client configs can be activated
* [papi] Skip the sign-in on verify-only requests.
* [papi] fix skipped tests
* [papi] fix mapping of OIDC configs
* rename RPC method
* fix tests after adding validation of claims
* fix: activation of record should deactivate others
* fix: update should unverify the entry
* remove Debug()
* [db-migration] fix: mark active entries as verified
2023-05-16 21:09:02 +08:00
Sven Efftinge
8e952fe821
Update stripe customers during migration ( #17574 )
2023-05-15 21:14:00 +08:00
Alex Tugarev
9266c7617c
[papi] select active OIDC config for start request – WEB-316 ( #17518 )
...
* [papi] select active OIDC config for start request
* rename GetActiveOIDCClientConfigByOrgSlug
* add CreateTeams helper
* [papi] Ensure activation of SSO config deactivates previous one
* applied PR review comment
2023-05-10 19:56:55 +08:00
Milan Pavlik
c1a5e53134
[oidc] Restrict actions to team owners ( #17470 )
2023-05-03 14:20:41 +08:00
Milan Pavlik
4e983b7998
[public-api] Implement UpdateOIDCClientConfig WEB-278 ( #17464 )
...
* [public-api] Implement UpdateOIDCClientConfig
* fix
* fix
* fix
* fix
* fix
* fix
2023-05-02 23:48:40 +08:00
Sven Efftinge
cbd56c2592
Frictionless login for dedicated ( #17432 )
2023-05-02 02:12:40 +08:00
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
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