Commit graph

63 commits

Author SHA1 Message Date
renovate[bot]
b2bb73031e
Update clickhouse/clickhouse-server Docker tag to v22.11 (#695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-26 14:50:59 +01: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
renovate[bot]
44f47ec8e0
Update Apollo GraphQL packages (#650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 10:26:00 +01:00
github-actions[bot]
ca9411399c
Upcoming Release Changes (#669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-22 18:03:46 +01:00
Kamil Kisiela
e116841a73
Fix ESM/CJS (#668)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
2022-11-22 17:58:48 +01:00
Kamil Kisiela
43b9c2f54e
test: report to app.graphql-hive.com/graphql by default (#665) 2022-11-22 13:26:26 +01:00
Kamil Kisiela
73adb11a20
Use null when token is not found (#658) 2022-11-21 17:23:22 +01:00
github-actions[bot]
8b5c7098f8
Upcoming Release Changes (#660)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-21 17:11:31 +01:00
Laurin Quast
2cbf27fdc9
feat: add user-agent header to fetcher functions (#655)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-21 10:44:25 +01:00
renovate[bot]
65efbb2e70
Update dependency graphql-yoga to v3.0.0-next.12 (#556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 14:14:13 +01:00
github-actions[bot]
3cd155e360
Upcoming Release Changes (#625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 13:47:59 +01:00
Arda TANRIKULU
2e036acc4c
Update GraphQL Tools (#466) 2022-11-10 12:43:24 +01: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
renovate[bot]
b3e67931fe
Update dependency apollo-server-core to v3.11.0 [SECURITY] (#585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 13:34:07 +02:00
Dimitri POSTOLOV
12ceda69dc
Use pnpm instead of yarn (#477)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
Co-authored-by: Denis Badurina <denis@domonda.com>
2022-11-01 02:11:53 +02:00
github-actions[bot]
80fba5fea0
chore(release): update monorepo packages versions (#565)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-31 10:18:38 +01:00
Pablo Sáez
d58a470916
Fix createServicesFetcher handle null service url (#563) 2022-10-31 09:32:31 +01:00
github-actions[bot]
e8579d00c4
chore(release): update monorepo packages versions (#542)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-27 11:14:58 +02:00
Dmitry Til
fb9b624ab8
(processVariables: true) do not collect input if variable is missing (#456) 2022-10-25 16:27:26 +02:00
Kamil Kisiela
e85d8220a7
Ensure user and personal org creation after successful sign up/in (#518) 2022-10-25 16:12:43 +02:00
Saihajpreet Singh
af772fbdeb
update to next yoga version (#497)
* udpate to next yoga version

* sanitize branch
2022-10-20 11:54:13 +00:00
Kamil Kisiela
9e7f00ad0c
Update usage.spec.ts 2022-10-18 11:31:37 +02:00
github-actions[bot]
e899872601
chore(release): update monorepo packages versions (#501)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-18 09:39:49 +02:00
Kamil Kisiela
682cde8109
Add self-hosting options to GraphQL Hive client (#499) 2022-10-18 06:49:25 +00: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
Laurin Quast
7656b7957d
feat: clean app env (#422)
* feat: document environment variables

* more env documentation

* wip

* add noop for backend env

* typo

* feat: embed environment validation/parsing in built app

* fix the sentry integration 😌

* feat: use env

* feat: decode the usage service environment

* feat: decode the webhooks service environment

* feat: disallow process.env

* feat: decode the tokens service environment

* feat: decode the stripe-billing service environment

* feat: decode server service environment

* feat: decode schema service environment

* feat: decode rate-limit service environment

* feat: decode usage-estimator service environment

* feat: decode emails service environment

* adjust env

* remove commented out code

* adjust env variable name

* use separate env variables

* env fixes

* more environmental stuff :)

* ...

* replace POSTGRES_CONNECTION_STRING with specific environment variables

* handle optional clickhouse (for now :)

* add missing POSTGRES_DB environment variable

* make ENVIRONMENT optional

* the other matters lol

* feat: support delivering mails via SMTP (#412)

* feat: optional CDN (#410)

* feat: optional CDN

* enable CDN in deployment

* enable the CDN in integration tests

* add sendmail provider

* remove unused env variables from the deployment

* only show login alert when legacy auth0 migration is enabled

* feat: make TOKENS_ENDPOINT mandatory and RATE_LIMIT_ENDPOINT optional for usage service

* feat: upgrade supertokens and enable server side email confirmation (#423)

* feat: upgrade supertokens and enable server side email confirmation

* feat: opt into required email verification

* docs: self hosting (#428)

* docs: self-hosting quick start

* Update packages/web/docs/pages/self-hosting/get-started.mdx

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

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

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

* feat: optional GitHub and Slack environment variables (#440)

* feat: optional github integration environment variables

* feat: optional slack integration (#441)

* use latest stable supertokens

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-04 14:30:21 +02:00
github-actions[bot]
fedd03a3c9
Upcoming Release Changes (#436) 2022-09-30 17:38:59 +02:00
Kamil Kisiela
36413f1682
Use ETag and If-None-Match in CDN and clients (#427)
* Use ETag and If-None-Match in CDN and clients

* Document it in 'Using registry' chapter
2022-09-30 13:37:57 +02:00
github-actions[bot]
733bc165ad
chore(release): update monorepo packages versions (#400)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22 19:18:51 +02:00
Kamil Kisiela
bd6e500532
Fix the cacheKey from #397 (#399) 2022-09-22 19:13:19 +02:00
github-actions[bot]
50405d0bb3
chore(release): update monorepo packages versions (#396)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22 13:47:18 +02:00
Kamil Kisiela
3983eb7637
Improve #379 and add more tests (#397) 2022-09-22 13:22:35 +02:00
Dmitry Til
2e7c8f3c94
collect input fields from variables (#379)
Closes #369

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-09-22 12:12:19 +02:00
Laurin Quast
3dd0bd4f95
docs: document usage configuration and GraphQL Yoga (#343) 2022-09-07 12:49:42 +02:00
Kamil Kisiela
8cd7a4a885
New invitation system (#315)
* New invitation system

* Fix format

* Deployment
2022-08-25 21:01:37 +02:00
github-actions[bot]
01c383e5a5
chore(release): update monorepo packages versions (#309)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-23 15:55:39 +02:00
Kamil Kisiela
5a212f61f2
Avoid marking the same type as used twice (#308)
Fixes #305
2022-08-23 15:49:10 +02:00
Kamil Kisiela
efb03e184d
Bump @oclif/core and update CLI installation script (#292)
* Bump @oclif/core

* Update CLI installation script
2022-08-16 12:10:55 +02:00
github-actions[bot]
3bdfdb0364
chore(release): update monorepo packages versions (#288)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 16:08:01 +02:00
Kamil Kisiela
52969c0632
Hash operation based on its body, name, list of sorted coordinates (#283)
* Hash operation based on its body, name, list of sorted coordinates

* Support Docker Compose v2

* martynka

* Move hashing behind cache

* Add comments

* Move transformation of coordinates to the caching layer

* Add another test
2022-08-12 11:23:07 +02:00
Kamil Kisiela
ef18a38cca
Show error messages in the client when publishing the schema (#272)
Closes #267
2022-08-12 10:15:19 +02:00
Kamil Kisiela
5cf6b92766
Use Slonik v30 (#282) 2022-08-11 10:58:36 +02:00
Kamil Kisiela
449b0f6e37
Initial version a plugin for Apollo Router (#266) 2022-08-08 14:58:22 +02:00
github-actions[bot]
206f1ddcb4
chore(release): update monorepo packages versions (#265)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-03 11:45:54 +02:00
JYC
c0e08216b0
fix: hide missing token warning when disabled (#260)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-08-03 11:39:57 +02:00
github-actions[bot]
3a65f79a5e
chore(release): update monorepo packages versions (#240)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-27 17:15:38 +02:00
Kamil Kisiela
a94fd68503
Introduce createSupergraphManager (#262) 2022-07-27 17:12:23 +02:00
Kamil Kisiela
0fd7e9eea3
Get Started checklist (#232) 2022-07-11 18:22:07 +02:00
github-actions[bot]
1d05a46077
chore(release): update monorepo packages versions (#216)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 12:35:37 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00