Commit graph

23 commits

Author SHA1 Message Date
Kamil Kisiela
a2e71a7074
Use Redpanda instead of Kafka and ZooKeeper (integration tests and local) (#995) 2023-01-17 15:47:45 +01:00
renovate[bot]
0475352680
chore(deps): update registry.supertokens.io/supertokens/supertokens-postgresql docker tag to v4.3 (#993)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-13 08:45:00 +01:00
Dotan Simha
4d2ec4bc8a
Upgrade Redis to v7 and upgrade BullMQ to latest (#937) 2023-01-02 13:05:23 +02:00
Dotan Simha
34b80e9492
Drop dockest, refactor integration testkit, and run all integration tests in parallel (#883)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-28 10:37:23 +01:00
renovate[bot]
f5b67355b1
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.3.1 (#836)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 11:22:30 +02:00
renovate[bot]
2b17716987
chore(deps): update confluentinc/cp-kafka docker tag to v7.3.1 (#833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 08:04:58 +00:00
renovate[bot]
ed5f0790f1
chore(deps): update clickhouse/clickhouse-server docker tag to v22.12 (#822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 10:01:51 +01:00
Kamil Kisiela
5d34dffb1a
Revert "[🔧 ESLint] fixes for yaml with yml/plain-scalar rule" (#768) 2022-12-08 11:27:32 +00:00
Dimitri POSTOLOV
eb43ee84d3
[🔧 ESLint] fixes for yaml with yml/plain-scalar rule (#738)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-08 08:53:56 +01:00
Kamil Kisiela
55bbfb0963
Create bucket if non-existing, do not abort on exit (#730) 2022-12-02 10:25:10 +01:00
Laurin Quast
265313cd8d
feat: show cdn stuff for self-hosted version (#725) 2022-12-02 09:19:57 +01:00
Laurin Quast
8412a34e1a
new artifacts API (#692)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-01 11:08:52 +01:00
renovate[bot]
d243501fa3
Update confluentinc/cp-zookeeper Docker tag to v7.3.0 (#697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 13:24:15 +01:00
renovate[bot]
994f0a014e
Update confluentinc/cp-kafka Docker tag to v7.3.0 (#696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 13:23:58 +01:00
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
Mart Ganzevles
22b6be21d3
fix: broker network typo (#680) 2022-11-24 11:01:58 +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
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
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
Laurin Quast
29f580f507
docs: self-hosted client and cli adjustments (#543)
* docs: self-hosted client and cli adjustments

* adjust port
2022-10-26 15:19:55 +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
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