Commit graph

177 commits

Author SHA1 Message Date
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
2745d5d8d2
Log version id when sending schema change notification (#666) 2022-11-22 14:53:34 +00:00
Kamil Kisiela
847c55f5ca Remove 'bin' field from @hive/server 2022-11-22 14:20:36 +01:00
Ryan Perry-Nguyen
e288d323cc
Support log level and request logs (#612)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-22 11:52:26 +01:00
renovate[bot]
ae3e73de6a
Update dependency fastify to v3.29.4 [SECURITY] (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 11:31:53 +01:00
Kamil Kisiela
6a3a0e2b33
Update Sentry to latest (#662) 2022-11-22 11:21:19 +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
Kamil Kisiela
db4768f345
Increase the capacity of LRU cache in tokens (#654) 2022-11-15 10:03:07 +00:00
Kamil Kisiela
935cc59f6a
Do not capture GraphQLError exceptions (#653) 2022-11-15 09:21:30 +00:00
Kamil Kisiela
9ac112db1e
Ignore unknown graphql_client_name 2022-11-14 14:47:53 +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
renovate[bot]
26d0636e6b
Update envelop (#639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 09:59:34 +01:00
Dotan Simha
c4a0cac755
Improve rate-limit email title (#564)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-10 14:19:55 +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
renovate[bot]
4f8ce0ac8a
Update dependency got to v12.5.2 (#549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 12:44:20 +01:00
Arda TANRIKULU
2e036acc4c
Update GraphQL Tools (#466) 2022-11-10 12:43:24 +01:00
renovate[bot]
14108c55e1
Update dependency supertokens-node to v12.0.5 (#581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 11:34:02 +01:00
Laurin Quast
dcc970ee78
fix: fastify wants a string or buffer not object (#620) 2022-11-09 11:20:12 +00:00
Laurin Quast
8a93ed28b8
update supertokens to 4.2 (#618) 2022-11-09 11:07:10 +01:00
Laurin Quast
0c3acec055
feat: revoke all sessions after a password reset (#606) 2022-11-08 16:45:21 +01:00
Kamil Kisiela
51cb4bb412
Request Proxy in CF Worker (#517) 2022-11-07 14:27:19 +01:00
Laurin Quast
bf11f56469
enable organization <-> oidc linking feature (#605) 2022-11-07 11:51:01 +01:00
Kamil Kisiela
6305788f93
Use sourcemaps in dev (#598) 2022-11-04 13:46:04 +01:00
Kamil Kisiela
849da7bc53
Cut short all tokens that are not 32 chars long in TokenStorage (#600) 2022-11-04 13:45:47 +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
Denis Badurina
9e81130c12
TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00:00
renovate[bot]
1738ce26ee
Update dependency ioredis to v4.28.5 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 03:05:54 +02:00
renovate[bot]
d8afd15b00
Update dependency kafkajs to v2.2.2 (#571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 03:05:40 +02:00
Denis Badurina
ac7a5b0341
Use workspace:* for workspace packages (#576) 2022-11-01 20:02:56 +01: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
Kamil Kisiela
c3573812da
Add orgId label to usage_rate_limit_dropped metric (#566) 2022-10-31 10:37:11 +01: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
Miles Bardon
f9cd014ff5
docs: Fixing CLI config docs and server readme envs (#546) 2022-10-31 09:48:13 +01:00
Kamil Kisiela
c47df8338a
Ignore GraphQLError in Sentry plugin (#555) 2022-10-27 11:15:24 +02: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
renovate[bot]
e189a6f364
Update dependency fastify to v3.29.3 (#547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 04:12:07 +03:00
renovate[bot]
0e030f1406
Update dependency agentkeepalive to v4.2.1 (#538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:50:45 +03:00
renovate[bot]
d18ccf5c7d
Update dependency @octokit/app to v12.0.7 (#519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:03:12 +03:00
Kamil Kisiela
e85d8220a7
Ensure user and personal org creation after successful sign up/in (#518) 2022-10-25 16:12:43 +02:00
rickbijkerk
f0e403db30
Do not reconnect BullMQ on taskforcesh/bullmq#323 (#516)
Co-authored-by: Rick Bijkerk <rickbijkerk@bol.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-20 15:39:33 +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
renovate[bot]
e48b0ce057
Update dependency @envelop/graphql-modules to v4.0.2 (#488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 17:09:51 +02:00
renovate[bot]
0a55dd49a5
Update dependency @envelop/sentry to v4.0.2 (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 17:09:44 +02:00
Kamil Kisiela
eb5e3f1645
Update ClickHouse and Kafka images to latest (#502)
* Update docker-compose.yml

* Update docker-compose.yml
2022-10-18 12:06:39 +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
e8287d2abc
Ensure no parsing errors in usage reports (#496)
* Ensure no parsing errors in usage reports
* Report back the number of accepted and rejected operations
2022-10-17 12:49:30 +00:00
renovate[bot]
0db43b7219
Update dependency @envelop/core to v3.0.1 (#483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 13:34:14 +02:00
Kamil Kisiela
9ae078bd3d
Write to ClickHouse less often (#465) 2022-10-10 11:10:10 +02:00
Kamil Kisiela
2ddc64b145
No access by default when generating tokens (#464)
Closes #458
2022-10-07 18:14:03 +02:00