Commit graph

15 commits

Author SHA1 Message Date
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
db19282bf8
Implement new ClickHouse DB structure (#304)
FF_CLICKHOUSE_V2_TABLES
2022-08-23 12:53:22 +02:00
Kamil Kisiela
d02f9efdf0
Initial Emails service (#261)
* Initial Emails service

* Fix yarn.lock

* Metrics

* Fixes
2022-08-12 14:51:09 +02:00
Kamil Kisiela
5cf6b92766
Use Slonik v30 (#282) 2022-08-11 10:58:36 +02:00
Kamil Kisiela
605f52319a
Enable sampling for selected operations in Sentry (#224)
Instead of TEST_FILTER use the same logic as when running jest fileOrPattern
2022-07-05 17:29:39 +02:00
Kamil Kisiela
77b2e24765
Expose link to the website when publishing schema in GraphQL API (#198)
* Expose link to the website when publishing schema in GraphQL API
* Print link to the website in the cli
2022-06-29 09:00:39 +02:00
Kamil Kisiela
d969ee7cc0
Improve integration tests of CLI (#174) 2022-06-24 16:51:53 +02:00
Kamil Kisiela
68681197a2
Improve integration-tests setup (#160)
No more issues with kafka and zookeeper
2022-06-23 10:55:43 +02:00
Kamil Kisiela
c82b22ac05
Simplify the schema publishing logic (#156)
- Removes the uniqueness requirement of commit it
- Makes the logic of schema publishing simpler and more readable
- Updating the service url results in a new version (previously an update of existing version)
- Introduces a requirement of defining service url in federated projects (new `SchemaPublishMissingUrlError` type)
2022-06-23 10:00:43 +02:00
Kamil Kisiela
5d0f0770d8
Revert "Simplify the schema publishing logic (#153)" (#155)
This reverts commit 38f6a92d39.
2022-06-22 15:16:36 +02:00
Dotan Simha
38f6a92d39
Simplify the schema publishing logic (#153)
- Removes the uniqueness requirement of commit it
- Makes the logic of schema publishing simpler and more readable
- Updating the service url results in a new version (previously na update of existing version)
- Introduces a requirement of defining service url in federated projects (new `SchemaPublishMissingUrlError` type)
2022-06-22 12:41:46 +02:00
Laurin Quast
faebda1857
fix: only allow CDN access with the correct access key (#147)
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-06-19 15:41:35 +03: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