Commit graph

1046 commits

Author SHA1 Message Date
renovate[bot]
6737636084
fix(deps): update dependency tailwindcss-radix to v2.7.0 (#1065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 11:48:51 +02:00
Kamil Kisiela
5102c88f49
Use dist directory for web, docs and migrations (#1057) 2023-01-18 15:34:49 +00:00
renovate[bot]
98cede95b9
fix(deps): update supertokens (#1037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 10:07:28 +02:00
renovate[bot]
af4e97c272
fix(deps): update trpc to v10.9.0 (#1038)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 09:59:36 +02:00
renovate[bot]
76ab122200
fix(deps): update dependency immer to v9.0.18 (#1018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 10:28:57 +00:00
renovate[bot]
a53a4ead45
fix(deps): update whatwg-node (#1008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 09:54:06 +00:00
renovate[bot]
5758bad2a1
fix(deps): update dependency hyperid to v3.1.0 (#1020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 10:25:33 +02:00
renovate[bot]
5304027009
fix(deps): update dependency valtio to v1.9.0 (#1022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 10:24:34 +02:00
renovate[bot]
0d82a1729a
fix(deps): update sentry to v7.30.0 (#1023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 10:24:22 +02:00
renovate[bot]
deca36619e
fix(deps): update dependency use-debounce to v9.0.3 (#1007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 12:36:49 +02:00
renovate[bot]
7cf0b6b153
fix(deps): update graphql-tools (#999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-13 08:46:17 +01:00
renovate[bot]
3015353f95
fix(deps): update dependency @stripe/react-stripe-js to v1.16.3 (#985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:56:38 +02:00
Dimitri POSTOLOV
9d6b77489a
better react linting (#924) 2023-01-09 12:45:20 +01:00
renovate[bot]
80b16127b8
fix(deps): update dependency valtio to v1.8.2 (#970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 07:58:57 +01:00
renovate[bot]
0e0a1a7cdd
fix(deps): update dependency dompurify to v2.4.3 (#968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 07:58:47 +01:00
renovate[bot]
9b69964cd3
fix(deps): update stripe (#961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 11:07:00 +02:00
renovate[bot]
3924c7199b
Update dependency @whatwg-node/fetch to v0.6.1 (#934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 20:23:20 +02:00
renovate[bot]
9ce9a4d59d
Update dependency immer to v9.0.17 (#944)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 20:22:49 +02:00
Dotan Simha
20edc8c5e5
Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
renovate[bot]
9d75649fbd
fix(deps): update dependency valtio to v1.7.6 (#886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:30:51 +02:00
renovate[bot]
f1e2189a84
fix(deps): update dependency supertokens-node to v12.1.4 (#894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:27:46 +02:00
renovate[bot]
9f55eac266
fix(deps): update dependency monaco-themes to v0.4.3 (#847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:27:32 +02:00
renovate[bot]
042460cc2a
fix(deps): update graphql-tools (#888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:27:07 +02:00
renovate[bot]
196e53c6e3
fix(deps): update dependency react-string-replace to v0.5.1 (#878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 14:26:54 +02:00
renovate[bot]
4057091de6
fix(deps): update dependency supertokens-auth-react to v0.28.1 (#884)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 11:31:21 +02:00
renovate[bot]
c91ed4f71b
fix(deps): update trpc to v10.7.0 (#889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 11:30:12 +02:00
renovate[bot]
e6454a244b
fix(deps): update dependency react-icons to v4.7.1 (#871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 11:40:43 +02:00
renovate[bot]
5e01cda242
fix(deps): update dependency react-children-utilities to v2.8.0 (#870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 09:21:18 +02:00
renovate[bot]
329f251c8d
fix(deps): update dependency react-select to v5.7.0 (#877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 09:20:05 +02:00
Dotan Simha
6267dff8c9
Upgrade to Node 18 (#818) 2022-12-21 10:25:00 +02:00
Dotan Simha
69ff4d3a24
Replace tgz artifacts with Docker images and refactor all CI pipelines (#808) 2022-12-20 16:34:46 +02:00
renovate[bot]
99491d95db
Update dependency @headlessui/react to v1.7.7 (#825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-18 09:16:07 +02:00
renovate[bot]
ce9626bdbd
Update dependency @headlessui/react to v1.7.6 (#821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 10:47:05 +02:00
Kamil Kisiela
4813c72793
Revert "Update dependency @urql/exchange-graphcache to v4.4.3" (#809) 2022-12-14 15:37:57 +01:00
renovate[bot]
12a89a93be
Update dependency date-fns to v2.29.3 (#802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 16:19:07 +02:00
renovate[bot]
0ea779d173
Update dependency echarts to v5.4.1 (#804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 16:19:01 +02:00
renovate[bot]
249727cdff
Update dependency @urql/exchange-graphcache to v4.4.3 (#793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:59:38 +02:00
renovate[bot]
10b4ae7bbe
Update dependency dompurify to v2.4.1 (#803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:59:14 +02:00
renovate[bot]
cacbbe95c9
Update dependency supertokens-node to v12.1.3 (#790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-13 10:18:20 +02:00
renovate[bot]
f238173b0e
Update dependency @whatwg-node/fetch to v0.5.3 (#794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-13 10:17:54 +02:00
renovate[bot]
b60f92798c
Update dependency @stripe/react-stripe-js to v1.16.1 (#775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 08:41:01 +00:00
renovate[bot]
c880ccbeb5
Update dependency @headlessui/react to v1.7.5 (#772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 10:10:40 +02:00
renovate[bot]
234640d4bc
Update dependency @urql/core to v2.6.1 (#780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 10:08:33 +02:00
renovate[bot]
0261700669
Update dependency @stripe/stripe-js to v1.46.0 (#778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 10:08:27 +02:00
renovate[bot]
f800969df7
Update dependency @graphiql/toolkit to v0.8.0 (#704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 08:22:15 +00:00
renovate[bot]
8980a1c34e
Update supertokens (#759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 09:09:50 +01:00
renovate[bot]
8a8773a667
Update dependency @chakra-ui/react to v1.8.9 (#698)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 08:24:22 +01:00
renovate[bot]
2d11fc0316
Update dependency @radix-ui/react-select to v1.1.2 (#765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 08:15:42 +01:00
renovate[bot]
092683ecb1
Update dependency @monaco-editor/react to v4.4.6 (#760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 08:15:35 +01:00
Kamil Kisiela
86161052bd
Transfer ownership of an organization (#732) 2022-12-07 11:36:52 +01:00
renovate[bot]
83b4885567
Update dependency regenerator-runtime to v0.13.11 (#689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 08:48:31 +01:00
renovate[bot]
d0ba28cddc
Update trpc to v10.4.3 (#740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 07:35:40 +01:00
Laurin Quast
c9daecfc0d
upgrade supertoken packages to the latest version (#683) 2022-12-04 14:25:55 +00: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
Dimitri POSTOLOV
ed9d64ee13
update to react 18 / next 13 (#703) 2022-11-29 18:26:27 +01:00
Dimitri POSTOLOV
eb48df1f8d
update graphiql to v2 (#702)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-29 17:58:23 +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]
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]
85aa5ae783
Update dependency immer to v9.0.16 (#557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 10:34:11 +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
renovate[bot]
9e91741384
Update dependency nextjs-cors to v2.1.2 (#636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 09:58:59 +01:00
renovate[bot]
18958c111b
Update emotion monorepo to v11.10.5 (#638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 09:02:29 +01:00
Kamil Kisiela
6a3a0e2b33
Update Sentry to latest (#662) 2022-11-22 11:21:19 +01:00
renovate[bot]
adca484813
Update dependency @radix-ui/react-switch to v0.1.5 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 12:44:43 +01:00
renovate[bot]
dd47abfee6
Update dependency react-virtualized-auto-sizer to v1.0.7 (#577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 12:43:57 +01:00
Arda TANRIKULU
2e036acc4c
Update GraphQL Tools (#466) 2022-11-10 12:43:24 +01:00
renovate[bot]
3a43b3bdb6
Update dependency react-window to v1.8.8 (#578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 11:35:51 +01:00
Kamil Kisiela
32b65e7b84
Add bundle analyzer and improve build:config command (#610) 2022-11-09 11:17:34 +00: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
Laurin Quast
7148990d35
fix: verify email redirect in server side props (#597)
* add debug information

* lets try again

* cache pls

* help

* fix: redirect to email confirmation screen after login

* cache cache cache
2022-11-04 11:59:00 +00:00
Denis Badurina
8b30ae3028
Include implicit deps of supertokens-auth-react (#590) 2022-11-03 17:06:30 +00: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
renovate[bot]
a989af0d9d
Update dependency regenerator-runtime to v0.13.10 (#579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 03:10:20 +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]
6d4553f963
Update dependency @radix-ui/react-toolbar to v0.1.5 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:46:31 +03:00
renovate[bot]
3e2948bd7a
Update dependency @radix-ui/react-avatar to v0.1.4 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:43:38 +03:00
renovate[bot]
6f3d5a54a9
Update dependency @radix-ui/react-tabs to v0.1.5 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:02:32 +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
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
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
43f6817e1f
Schema Explorer (experimental) (#241) 2022-07-29 16:13:52 +02:00
Kamil Kisiela
9e90b1a53d
Client exclusions in breaking change detection (#243)
* Replace date-fns-tz with Intl.DateTimeFormat
2022-07-19 16:24:41 +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
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
068d018c54
Use strongly-typed react-table and improve perf of admins stats (#136)
* Use strongly-typed react-table and improve perf of admins stats

* Update packages/web/app/src/components/target/operations/List.tsx

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

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>
2022-06-13 15:40:28 +02:00
Dimitri POSTOLOV
249580878d
improve laboratory page (#116)
* improve laboratory page

* save last visited organization in cookies (#117)

* Use separate component to connect to lab endpoint

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-06-13 10:17:12 +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
Laurin Quast
fc6f95c198
chore: enable TypeScript rule useUnknownInCatchVariables for @hive/app (#82)
* feat: enable TypeScript rule useUnknownInCatchVariables

* fix: TypeScript errors caused by the useUnknownInCatchVariables rule

* chore: change name of typecheck script

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-05-25 14:03:14 +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