Commit graph

33 commits

Author SHA1 Message Date
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]
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
Kamil Kisiela
e7bbd01212
Update tsup to v6.5.0 (#674) 2022-11-23 10:52:58 +01:00
Ryan Perry-Nguyen
e288d323cc
Support log level and request logs (#612)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-22 11:52:26 +01:00
Kamil Kisiela
6a3a0e2b33
Update Sentry to latest (#662) 2022-11-22 11:21:19 +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
Kamil Kisiela
51cb4bb412
Request Proxy in CF Worker (#517) 2022-11-07 14:27:19 +01:00
Kamil Kisiela
6305788f93
Use sourcemaps in dev (#598) 2022-11-04 13:46:04 +01:00
Denis Badurina
9e81130c12
TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00: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
rickbijkerk
f0e403db30
Do not reconnect BullMQ on taskforcesh/bullmq#323 (#516)
Co-authored-by: Rick Bijkerk <rickbijkerk@bol.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-20 15:39:33 +02:00
Laurin Quast
7990f9f03f
feat: treat empty string environment variable as undefined (#449) 2022-10-05 09:22:20 +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
45946f0c5e
NextJS 12.3.0 (#348)
* NextJS 12.3.0
* Console log Error.getInitialProps
2022-09-08 19:41:05 +02:00
Kamil Kisiela
53fc9418fd
Sentry on staging (#338) 2022-09-06 18:05:39 +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
d02f9efdf0
Initial Emails service (#261)
* Initial Emails service

* Fix yarn.lock

* Metrics

* Fixes
2022-08-12 14:51:09 +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
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Kamil Kisiela
692d8a5830
Fix infinite loop in Operations view (#199)
* Fix infinite loop in Operations view

* Use cjs version of fastify adapter for trpc server
2022-06-28 22:19:11 +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
d2a0f9d4e7
Rename HEARTBEATS_ENDPOINT to HEARTBEAT_ENDPOINT (#190)
To match the env var of deployment code
2022-06-27 13:56:00 +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
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
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
a7152bd6f5
Add service_readiness metrics (#105)
* Add service_readiness metrics

* Format
2022-05-26 11:02:10 +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
dcf4b4579b
chore: update year in LICENSEs (#53) 2022-05-23 23:10:27 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00