Commit graph

37 commits

Author SHA1 Message Date
Kamil Kisiela
6897e54733
Improve ESLint speed (#623) 2022-11-09 11:55:07 +01:00
Dimitri POSTOLOV
0267d942cf
update docs to latest nextra (#467)
* update docs

* Move tailwindcss from devDeps to deps

* try to fix ci

* fix lint

* rebase fixes

* fix build

* rebase fixes

* remove no-unused-modules

* update lock

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-05 22:47:12 +01:00
Denis Badurina
76ad1a47eb
Resolve to single @emotion/react version (#595) 2022-11-04 10:30:15 +00:00
Denis Badurina
3e8417b4c5
patch bob (#584) 2022-11-02 13:58:32 +00:00
renovate[bot]
c63884a318
Update pnpm to v7.14.1 (#567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 03:28:21 +02: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]
1114482050
Update jest monorepo to v29 (major) (#486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 04:11:33 +03:00
renovate[bot]
c4f4586e0f
Update dependency @theguild/prettier-config to v0.1.1 (#479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:02:55 +03:00
renovate[bot]
af84646d27
Update dependency turbo to v1.5.6 (#485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 17:11:02 +02: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
bc230cce86
chore: export images for local build (#411)
@kamilkisiela please don't fire me for not awaiting approval
2022-09-28 10:27:58 +02:00
Laurin Quast
d73de654eb
feat: docker images (#386)
* feat: build images

* :)

* (:

* try caching

* naming adjustments

* feat: add some labels

* chore: run integration tests on the built docker images

* feat: use hcl file and tag images with the branch name

* fix hash

* build all lol

* feat: only push stuff on non forks

* only push a few images :)

* load that s

* comon

* embed port in docker image

* increase timeout

* don't run stuff multiple times
2022-09-23 14:39:28 +02:00
Kamil Kisiela
6f7c51a62f
External schema composition (#373) 2022-09-16 13:30:50 +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
511f9a477b Add missing @changesets/changelog-github 2022-08-16 12:24:43 +02:00
Dotan Simha
5b7e079151
Use latest changesets, fix changesets config (#294) 2022-08-16 12:03:34 +02:00
Kamil Kisiela
3f1b6edc97
Update turbo to v1.4.2 (#264) 2022-08-03 11:19:44 +02:00
Kamil Kisiela
43f6817e1f
Schema Explorer (experimental) (#241) 2022-07-29 16:13:52 +02:00
Kamil Kisiela
03a5127fab
Fixes #218 (#242)
* Disable plugins in prettier

Closes #218

* fix
2022-07-14 13:57:55 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Kamil Kisiela
086d972dcd
Use different url-prefix when publishing sourcemaps (#214) 2022-06-30 13:57:40 +02:00
Kamil Kisiela
341700d5bd
Upload Source Maps to Sentry (#213) 2022-06-30 09:20:08 +02:00
Kamil Kisiela
fa5045f188
Use graphql as direct dependency of CLI (#168)
* ESLint cache
2022-06-29 14:58:08 +02:00
Kamil Kisiela
173b4844f1
Add heartbeats to tokens, webhooks and usage-ingestor services (#186)
Support BetterUptime Heartbeats
2022-06-27 13:17:32 +02:00
Laurin Quast
8a0e0cd300
chore: enable noImplicitAny TypeScript rule (#94) 2022-06-27 13:00:41 +02:00
Kamil Kisiela
6d7d054c17
Introduce Connected status to reconnect kafka consumer more reliably (#166) 2022-06-23 17:16:19 +02:00
Dimitri POSTOLOV
bd3100d2a6
enable and fixes errors for @typescript-eslint/no-floating-promises rule (#150)
* enable rule and update eslint deps

* add return types

* fixes

* fix storage migration

* fix typecheck

* fix integrations tests

* fix last issues

* Update packages/libraries/client/src/client.ts

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-06-23 12:04:10 +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
Dimitri POSTOLOV
f4217458dc
add Lint ESLint in CI and group lint actions (#151) 2022-06-21 20:21:42 +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
ad6697374c
Update changesets cli to latest (#90)
* Update changesets cli to latest

* Bump
2022-05-25 15:54:06 +02:00
Kamil Kisiela
20e3129caa
$ prettier <all> (#46)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2022-05-24 16:31:53 +03: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
bc063e932f
Update package.json 2022-05-18 09:58:04 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00