Commit graph

14 commits

Author SHA1 Message Date
Kamil Kisiela
45946f0c5e
NextJS 12.3.0 (#348)
* NextJS 12.3.0
* Console log Error.getInitialProps
2022-09-08 19:41:05 +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
7dd5d67334
Bump connection and authentication timeouts in Kafka (#332)
* Bump kafkajs
2022-09-02 10:02:36 +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
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
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
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
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
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
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
github-actions[bot]
bb34743e3b
@graphql-hive/client@0.16.0 (#167) 2022-06-23 17:23:31 +02:00
Kamil Kisiela
86f5945aab
Fix missing dependencies between packages (#121)
Why?  Few reasons:

- tsup treats dependencies as external code and does not bundle them
- without dependencies turborepo will always serve stale code when some of dependencies changed

Moving internal dependencies to devDependencies makes tsup treat them as non-external and turborepo still keep tracks of relations
2022-05-27 14:15:11 +02:00
Kamil Kisiela
fa3104d2b8
Let's not rely on deps (#11) 2022-05-18 14:46:35 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00