Dario Piotrowicz
3738c7dda1
improve be (+functions) linting:
...
- enable no-unsafe-call for be/functions linting
- enable backend await-thenable eslint rule
- enable backend no-misused-promises eslint rule
2023-01-23 11:38:16 +00:00
Sven Sauleau
06975b8a5e
Fix post status formdata
2023-01-18 14:40:09 +00:00
Sven Sauleau
914f293d97
Merge pull request #136 from cloudflare/sven/MOW-115
...
MOW-115: improve logging for fetchKey failures
2023-01-18 13:24:49 +01:00
Sven Sauleau
dd944f46db
MOW-115: improve logging for fetchKey failures
2023-01-18 12:19:03 +00:00
André Cruz
43c6fd534f
parse form data locally in specific cases
...
In order to work around an EW bug, use local form data parsing
temporarly when receiving media.
2023-01-18 12:16:15 +00:00
Sven Sauleau
a6c42f5204
centralize CORS and add idempotency-key in allow headers
2023-01-17 14:14:58 +00:00
Sven Sauleau
4d29d661ee
improve error handling in fetchKey
2023-01-17 12:56:48 +00:00
André Cruz
bcfc0e9a99
attempt manual form data parse
...
When content-type triggers a bug in EW, attempt to parse in
worker itself.
2023-01-13 17:04:32 +00:00
Sven Sauleau
41846f2d42
MOW-98: add optional sentry
2023-01-12 11:06:39 +00:00
Dario Piotrowicz
68cf43df19
make backend linting pass
2023-01-10 12:53:18 +00:00
Sven Sauleau
483b4ab40f
/oauth/token supports both JSON and FormData
2023-01-10 11:07:46 +00:00
Sven Sauleau
6873eb78e2
Merge pull request #12 from cloudflare/be-lint-prefer-const
...
enable BE prefer-const eslint rule
2023-01-04 16:44:56 +00:00
Dario Piotrowicz
d44d1e6103
enable BE prefer-const eslint rule
2023-01-04 15:41:26 +01:00
Dario Piotrowicz
e344006f26
enable be no-unsafe-return eslint rule
...
also apply some related refactoring to make the
code more DRY
2023-01-04 15:01:00 +01:00
Sven Sauleau
25be15b2a0
Import wildebeest code
...
Co-authored-by: Sven Sauleau <sven@cloudflare.com>
Co-authored-by: Dario Piotrowicz <dario@cloudflare.com>
Co-authored-by: André Cruz <acruz@cloudflare.com>
Co-authored-by: James Culveyhouse <jculveyhouse@cloudflare.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
2023-01-04 09:51:17 +00:00