Commit graph

41 commits

Author SHA1 Message Date
Laurin Quast
1fa8f762aa
feat: persist meta data and errors during schema publish (#1821) 2023-04-20 10:31:25 +02:00
Kamil Kisiela
98f2d7f7df
Display service url changes in UI when comparing versions (#1948) 2023-04-05 15:59:38 +02:00
Kamil Kisiela
e09daf9d2b
FeatureFlag: use latest composable version for comparisons (#1884) 2023-03-30 16:15:32 +02:00
Kamil Kisiela
c998eb6f05
Small improvements to the schema publishing flow (#1622) 2023-03-08 14:02:19 +01:00
Dotan Simha
627df54206
2️⃣ Drop Personal organizations (#1452) 2023-02-28 08:52:37 +01:00
Kamil Kisiela
afae33eb21
New and improved model of Schema Registry (#789) 2023-02-02 19:35:59 +01:00
Laurin Quast
c8d6aa4a27
feat: support new cdn tokens (#1061) 2023-01-27 12:59:09 +01:00
Laurin Quast
dfd1d37e96
refactor: change dependency chain (#1127) 2023-01-25 09:10:29 +00:00
Laurin Quast
a505bcfbe0
Revert "feat: read legacy s3 key from s3 for artifact API requests [3/4]" (#1120) 2023-01-24 17:54:30 +01:00
Laurin Quast
c85d8aa0d0
feat: read legacy s3 key from s3 for artifact API requests [3/4] (#1005) 2023-01-24 15:03:04 +01:00
Laurin Quast
0b4ed81f24
feat: store/import legacy s3 key on s3 [2/4] (#1043) 2023-01-24 09:42:24 +01:00
Laurin Quast
e3a3667c28
feat: store legacy cdn keys on s3 [1/4] (#1003) 2023-01-23 17:21:02 +01:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
Kamil Kisiela
f0af9f2e67
Use ClickHouse Cloud for READ operations and drop legacy tables (#1031) 2023-01-17 11:45:09 +01:00
Laurin Quast
0abc58b9e2
feat: use non-presigned url for S3 HEAD requests (#971) 2023-01-11 15:16:24 +01:00
Dimitri POSTOLOV
02469da474
[🔧 ESLint] fixes for no-implicit-coercion (#742)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-28 21:04:17 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Laurin Quast
72b036a308
feat: more granular configuration of OIDC endpoints (#835) 2022-12-20 13:18:05 +01:00
Kamil Kisiela
86161052bd
Transfer ownership of an organization (#732) 2022-12-07 11:36:52 +01:00
Kamil Kisiela
a031bb642c
Add current month to the date ranges in the admin panel (#708) 2022-11-29 12:25:51 +01:00
Kamil Kisiela
06b68fce21
Explain why comparison of versions failed (#701) 2022-11-28 13:36:40 +00:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
Kamil Kisiela
935cc59f6a
Do not capture GraphQLError exceptions (#653) 2022-11-15 09:21:30 +00:00
Laurin Quast
991c82693b
feat: OIDC organisation integration (#524)
* feat: support login via okta

* add deployment config

* feat: automatically start okta login when visiting /auth with okta provider query parameter

* remove trailing slash from base url

* laurin pls

* ...

* adjust deployment url

* we dont need this

* docs: document how to enabled Google and GitHub social login (#511)

* docs: document how to enabled Google and GitHub social login

* Apply suggestions from code review

* Apply suggestions from code review

* docs: add Okta instructions

* fix typo

* add database migration

* feat: env decoding

* auto generate id

* add generates types for the postgres table

* implement crud graphql fields for the oidc integration entites

* add unique constraint for the oidc domain column

* use correct sql query for updating an oidc integration

* return organization from deleteOIDCIntegration ok result

* add crud forms to the settings page

* update integration test fixture value

* drop unique constraint for oidc_integrations.domain as this would allow a malicous user to block another account from using a domain

* move notice to isolated component

* apply url normalization in a central place

* implement supertokens provider and overrides for dynamic oidc provider integrations

* relocate code to correct files

* prettify oidc crud forms

* replace Query.isOIDCIntegrationFeatureEnabled with the Organization.viewerCanManageOIDCIntegration field

* do not show oidc integrations for personal organizations + disable crud endpoints if the feature is disabled

* load oidc integration for the supertokens flow via trpc from the server

* prepare encryption secret within constructor

* add user to organization upon oidc login

* login via oidc does not create a personal organization

* redirect oidc user to oidc organization

* disallow oidc users to create an organization

* disallow oidc accounts joining another organization

* add test for updating an oidc integration

* enhance ui

* add documentation for OIDC SSO

* add more tests

* import Callout component

* update snapshots

* rename field User.isLinkedToOIDCIntegration to User.canSwitchOrganization to be more decriptive

* add traling new line

* gracefully handle unique constraint

* upgrade supertokens-auth-react and adjust the code in order to remove the global preApiHook

* sync image versions with tests

* remove obsolete comment

* rename database column

* bruv

* add test for oidc user deletion
2022-11-03 16:45:17 +01:00
Saihajpreet Singh
642daaf494
Use Envelop v3 and GraphQL Yoga v3 (#443)
Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-06 13:48:01 +02:00
Kamil Kisiela
c1a119626a
Remove Mixpanel (#385) 2022-09-20 11:51:36 +02:00
Kamil Kisiela
6f7c51a62f
External schema composition (#373) 2022-09-16 13:30:50 +02:00
Laurin Quast
7b9c2ec90a
feat: import auth0 accounts into supertokens when doing a password reset (#349)
* feat: import auth0 accounts into supertokens when doing a password reset

* refactor: more detailed error messages
2022-09-09 14:36:18 +02:00
Laurin Quast
6540155fc7
feat: replace auth0 with supertokens (#303)
* add supertoken container to docker-compose file

* yeah I am sorry this one big commit and I am ashamed of it

* use logOut function

* feat: show header on 404 page

* feat: better handling for organization cookie when not authenticated

* wrap it

* check session within server side props

* add is_admin flag user migration

* simplify and annotate the config

* fix: handle status codes + fix email/password sign up with import from auth0

* no hardcoded env pls

* decode process.env

* secure update user id mapping via a key

* fix: login form

* lol we don't need to hit the API

* fix: do graphql api authorization via authorization header instead of cookie

* implement isAdmin flag

* fix: types :)

* skipit

* yo we can run this

* set env variables

* disable because it annoys the hell out of me

* use the right host

* add not about token length

* refactor: decode environment variables

* feat: store external user id from guthub/google provider in the database

* workaround supertokens omitting null values from the token

* re-enable check

* i have no time for this shit

* add missing env variable

* fix: email test; missing domain extension

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>

* configure pulumi deployment

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* fix: env names

* fix: link google account to the correct db record

* feat: email confirmation emails

* ?

* bump ts-node

* fix types

* omit package form the bundle

* remove it from dependencies...

* add emails apckage to dev deps

* resolve eslint issues

* remove comments

* update dev info + change env variable (no need to expose it on the frontend)

* use correct user id lol

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-09-06 09:38:31 +02:00
Kamil Kisiela
8cd7a4a885
New invitation system (#315)
* New invitation system

* Fix format

* Deployment
2022-08-25 21:01:37 +02:00
Kamil Kisiela
43f6817e1f
Schema Explorer (experimental) (#241) 2022-07-29 16:13:52 +02:00
Kamil Kisiela
9e90b1a53d
Client exclusions in breaking change detection (#243)
* Replace date-fns-tz with Intl.DateTimeFormat
2022-07-19 16:24:41 +02:00
Kamil Kisiela
1d449f4cab
New pricing (#231)
* Format dates
* Fetch only active products from Stripe
2022-07-11 21:37:43 +02:00
Kamil Kisiela
0fd7e9eea3
Get Started checklist (#232) 2022-07-11 18:22:07 +02:00
Kamil Kisiela
069e2ecef0
Update cleanId and make redirect when renaming target, project or org (#229) 2022-07-06 19:30:51 +02:00
Kamil Kisiela
c3e4619ba3
Publish new version if SDL is different but no changes in types and fields (#226) 2022-07-05 18:10:26 +02:00
Laurin Quast
80358619b1
feat: always log unexpected errors (#215)
* feat: always log unexpected errors

* feat: better handling for syntax errors on CLI and API

* chore: add changesets

* Update integration-tests/tests/cli/schema.spec.ts

* chore: ignore test fixture from prettier formatting

* run prettier

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-07-01 11:25:34 +02:00
Kamil Kisiela
9cee7420a7
Pass x-request-id to tRPC (#195)
- No Sentry reporting for GraphQLErrors
- No more debugging of that sentry issue
- Passes x-request-id to tRPC and uses `fastifyRequest.log` for logging (that extracts x-request-id and shows it in the log message)
2022-06-28 15:01:44 +02:00
Dimitri POSTOLOV
a91e013840
apply no-else-return fixes (#74) 2022-05-24 16:14:28 -04:00
Kamil Kisiela
20e3129caa
$ prettier <all> (#46)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2022-05-24 16:31:53 +03:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00