Commit graph

6304 commits

Author SHA1 Message Date
Kamil Kisiela
ffe03be9ea
WAF: block only when x-api-token and authorization headers are missing (#245) 2022-07-18 16:00:45 +02:00
Kamil Kisiela
ab9ae413b7
Log more details in the usage service (#244)
* Log more details in the usage service
2022-07-18 11:09:33 +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
41ec31b3d2
Update GraphQL Inspector to 3.2.0 (#239) 2022-07-12 00:28:05 +02:00
Kamil Kisiela
1c2586f7a7
Migrate existing data retention periods (#238)
* Migrate existing data retention periods

* Fix invoices view
2022-07-11 22:42:22 +02:00
Kamil Kisiela
849747940b
Adjust title and description of the landing page (#236)
* Disallow robots for app
2022-07-11 21:52:00 +02:00
Kamil Kisiela
1d449f4cab
New pricing (#231)
* Format dates
* Fetch only active products from Stripe
2022-07-11 21:37:43 +02:00
Kamil Kisiela
05890fa347
Fix missing scopes when generating a token (#235)
Bug introduced by #220
2022-07-11 19:15:36 +02:00
Kamil Kisiela
0fd7e9eea3
Get Started checklist (#232) 2022-07-11 18:22:07 +02:00
Laurin Quast
f6ccd015ae
hive/app: strict null checks (#220)
* fix src/lib/urql-cache.ts

* fix src/lib/mixpanel.ts

* fix: src/lib/hooks/use-route-selector.ts

* fix: src/lib/access/common.ts

* fix: src/components/v2/time-ago.tsx

* fix: src/components/v2/skeleton.tsx

* fix: src/components/v2/modals/delete-organization.tsx (verified functionality)

* fix: src/components/v2/modals/create-target.tsx

* fix: src/components/v2/modals/create-project.tsx

* fix: src/components/v2/modals/create-organization.tsx

* fix: src/components/v2/modals/create-channel.tsx

* fix: src/components/v2/modals/create-alert.tsx

* fix: packages/web/app/src/components/v2/dropdown.tsx

* fix: src/components/v2/data-wrapper.tsx

* fix: src/components/target/operations/Filters.tsx

* fix: pages/[orgId]/[projectId]/[targetId]/history.tsx

* fix: src/components/project/Switcher.tsx

* fix: src/components/organization/Switcher.tsx

* fix: src/components/organization/Permissions.tsx

* fix: pages/settings.tsx

* fix: packages/web/app/src/components/v2/tabs.tsx

* fix: packages/web/app/src/components/v2/avatar.tsx

* fix: packages/web/app/pages/join/[inviteCode].tsx

* fix: packages/web/app/pages/[orgId]/index.tsx

* fix: pages/[orgId]/members.tsx

* fix: pages/[orgId]/settings.tsx

* fix:  pages/[orgId]/subscription/index.tsx

* fix: pages/api/github/callback.ts

* fix: pages/api/github/connect/[orgId].ts

* fix: src/components/common/Navigation.tsx

* fix: src/components/common/UserSettings.tsx

* fix: src/components/common/LoadingAPI.tsx

* fix: packages/web/app/src/components/common/Feedback.tsx

* fix: packages/web/app/src/components/common/DataWrapper.tsx

* fix: src/components/admin/AdminStats.tsx

* fix: pages/index.tsx

* fix: pages/api/proxy.ts

* fix: src/components/auth/AuthProvider.tsx

* fix: pages/[orgId]/[projectId]/index.tsx

* fix:  pages/[orgId]/[projectId]/settings.tsx

* fix: src/components/organization/billing/Billing.tsx

* fix: src/components/organization/billing/BillingPaymentMethod.tsx

* fix: src/components/organization/billing/BillingPlanPicker.tsx

* fix: src/components/organization/billing/InvoicesList.tsx

* fix: pages/[orgId]/_new.tsx

* fix: pages/[orgId]/subscription/manage.tsx

* fix: pages/[orgId]/[projectId]/[targetId]/settings.tsx

* fix: src/components/target/operations/List.tsx

* fix: src/components/target/operations/Stats.tsx

* fix: src/components/target/Switcher.tsx

* fix: pages/[orgId]/[projectId]/[targetId]/index.tsx

* fix: src/components/organization/billing/PlanSummary.tsx

* fix: src/components/v2/modals/create-access-token.tsx

* fix: src/components/v2/header.tsx

* fix: src/components/layouts/project.tsx

* fix: src/components/layouts/target.tsx

* fix: src/components/layouts/organization.tsx

* fix: src/components/v2/activities.tsx

* fix: enable rule

* strict mode

* NOTE: This file should not be edited 😁

* run prettier
2022-07-08 11:18:33 +02:00
Saihajpreet Singh
6ddcf908d3
fix: make editor full width (#230) 2022-07-06 15:11:23 -05:00
Kamil Kisiela
069e2ecef0
Update cleanId and make redirect when renaming target, project or org (#229) 2022-07-06 19:30:51 +02:00
Kamil Kisiela
2fe1e801ca
Reproduce and fix the error masking issue (#225) 2022-07-05 18:52:49 +02:00
Kamil Kisiela
c3e4619ba3
Publish new version if SDL is different but no changes in types and fields (#226) 2022-07-05 18:10:26 +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
d4bb130ee0
Enable Authorization header and /graphql endpoint (#217) 2022-07-01 12:15:57 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Laurin Quast
80358619b1
feat: always log unexpected errors (#215)
* feat: always log unexpected errors

* feat: better handling for syntax errors on CLI and API

* chore: add changesets

* Update integration-tests/tests/cli/schema.spec.ts

* chore: ignore test fixture from prettier formatting

* run prettier

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-07-01 11:25:34 +02:00
Kamil Kisiela
c083a52999
Use timeout-minutes 2022-06-30 21:45:47 +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
github-actions[bot]
bd49d18daa
chore(release): update monorepo packages versions (#209)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-29 15:24:08 +02:00
Kamil Kisiela
ae6ae2f746
Add changeset for CLI about linkToWebsite 2022-06-29 15:06:10 +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
17786f9fad
Enable linkToWebsite (#205) 2022-06-29 13:45:54 +02:00
Dimitri POSTOLOV
92d708b956
fix eslint pre-commit issue (#204) 2022-06-29 13:45:37 +02:00
Kamil Kisiela
8a66800537
Disable linkToWebsite in CLI (#203) 2022-06-29 13:04:19 +02:00
Laurin Quast
71c08f9577
test: prove error masking works as expected and always do error masking (#201)
* Make sure CLI gets it as well (#202)

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-06-29 12:56:17 +02:00
Kamil Kisiela
77b2e24765
Expose link to the website when publishing schema in GraphQL API (#198)
* Expose link to the website when publishing schema in GraphQL API
* Print link to the website in the cli
2022-06-29 09:00:39 +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
ebddde55e5
Create production, staging and development targets by default for new projects (#196) 2022-06-28 16:41:24 +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
Laurin Quast
8ccd0e99dd
chore: only mess with the filename not the path (#194) 2022-06-28 11:02:32 +02:00
Kamil Kisiela
723de58e38
Fix missing user in activities (#192) 2022-06-27 17:59:38 +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
Laurin Quast
f060d953ec
chore: enable strictFunctionTypes (#182) 2022-06-27 13:53:37 +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
bffaf4a01d
Show rate limit error to the user (#178) 2022-06-24 22:47:47 +02:00
github-actions[bot]
d640cccf16
chore(release): update monorepo packages versions (#177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 21:12:17 +02:00
Kamil Kisiela
23eb4cc07f
Add message about empty schema registry in schema:check (#176)
* Add message about empty schema registry in schema:check

* prettier on changeset...
2022-06-24 21:04:50 +02:00
Kamil Kisiela
482dd426ff
Indicate an initial version in Mutation.schemaCheck (#175) 2022-06-24 20:15:58 +02:00
Kamil Kisiela
d969ee7cc0
Improve integration tests of CLI (#174) 2022-06-24 16:51:53 +02:00
Kamil Kisiela
14aac7a03e
Create codeql-analysis.yml (#173) 2022-06-24 09:07:23 +02:00
Kamil Kisiela
6ec9faf133
Change log levels in usage-ingestor service (#172) 2022-06-24 08:44:00 +02:00
Kamil Kisiela
7060c2b053
Restart on consumer.crash event (#170)
* Restart on consumer.crash event

* Do not restart when kafkajs is going to attempt a restart
2022-06-23 22:04:12 +02:00
Kamil Kisiela
302169a38e
Validate the timestamp in Usage reports (#169) 2022-06-23 18:37:44 +02:00
github-actions[bot]
bb34743e3b
@graphql-hive/client@0.16.0 (#167) 2022-06-23 17:23:31 +02:00
Kamil Kisiela
6d7d054c17
Introduce Connected status to reconnect kafka consumer more reliably (#166) 2022-06-23 17:16:19 +02:00