Commit graph

638 commits

Author SHA1 Message Date
Laurin Quast
8412a34e1a
new artifacts API (#692)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-01 11:08:52 +01:00
Kamil Kisiela
2181690e84
Seems like @trpc/client needs @trpc/server (#717) 2022-11-30 10:51:01 +01:00
Kamil Kisiela
49380ff695
tRPC v10 (#706) 2022-11-29 18:47:13 +01:00
Kamil Kisiela
a031bb642c
Add current month to the date ranges in the admin panel (#708) 2022-11-29 12:25:51 +01:00
renovate[bot]
ce25bfab53
Update dependency @graphql-inspector/core to v3.4.0 (#705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-29 09:38:34 +01:00
renovate[bot]
d87fdace11
Update dependency graphql-yoga to v3.1.0 (#686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-26 16:41:39 +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]
a01332a12a
Update dependency graphql-parse-resolve-info to v4.12.3 (#550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 10:33:58 +01:00
renovate[bot]
93bd63cf47
Update dependency got to v12.5.3 (#671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 10:07:47 +01:00
renovate[bot]
3083386322
Update dependency tslib to v2.4.1 (#582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 09:59:20 +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
6a3a0e2b33
Update Sentry to latest (#662) 2022-11-22 11:21:19 +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]
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
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
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
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
Saihajpreet Singh
af772fbdeb
update to next yoga version (#497)
* udpate to next yoga version

* sanitize branch
2022-10-20 11:54:13 +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
Kamil Kisiela
3b9722baa6
Update got to latest and tag clickhouse exception (#437) 2022-10-03 10:37:31 +02:00
Kamil Kisiela
c1a119626a
Remove Mixpanel (#385) 2022-09-20 11:51:36 +02:00
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
Kamil Kisiela
8cd7a4a885
New invitation system (#315)
* New invitation system

* Fix format

* Deployment
2022-08-25 21:01:37 +02:00
Kamil Kisiela
41ec31b3d2
Update GraphQL Inspector to 3.2.0 (#239) 2022-07-12 00:28:05 +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
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
Dimitri POSTOLOV
465e64a130
New redesign (#4)
* New redesign

* Use latest nextjs and bob

It fixes the start command

* fix: text overflow issue in the organization switcher dropdown (#14)

* fix: text overflow issue in the organization switcher dropdown

* feat: strict children typings

* Force dark mode (#15)

If somebody used the light mode before, Hive App displays light version of tailwind classes

* Fix dev, GH app optional, project type instead of Connected (#16)

* Make Github integration optional

* Show project type instead of Connected

* Fix dev command

* Small changes to the version card (#17)

* Small changes to the version card

* Apply suggestions from code review

* Polish (#18)

* Make the design a bit more clean

* Add a bit of separation

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* fix: do not access properties on potential undefined variable (#33)

* fix: renaming not being added during rebase (#32)

* feat: add Mutation.createToken validation (#30)

* Remove `#` from organization pages, polish subcription page (#34)

* Remove `#` from project/target pages (#38)

* fix: add missing service names for multi service projects (#35)

* Re-design subscription (#40)

* Missing list of changes in the schema diff view (#41)

* Missing list of changes in the schema diff view

Closes #19

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Move titleMap outside of the component

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Blurred fixed header + new `404` page + use `@theguild/prettier-config` (#44)

* fix header

* make things amazing

* Update packages/web/app/pages/404.tsx

* fix build

* remove unused styles

* Add --fix to lint-staged (#43)

* Fix access (#45)

* Fix access on organization level

* Fix access on project level

* Fix access on target level

* Align with main

* Bring back schema view (#49)

* Add missing Mark as Valid button (#50)

* Update the design of the operations view (#51)

* Update doc link

Co-authored-by: Dotan Simha <dotansimha@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-05-24 09:41:53 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00