In the examples and project templates the "errors" middleware which turn
thrown errors into HTTP responses is registered before the "logger"
middleware. This causes any errors thrown in controllers to pierce
through the logger middleware resulting in these requests not being
logged.
Eg. when a controller throws a ValidationError the resulting HTTP 400
request is not logged at all.
Change the order of middleware registration so that the logger is
'above' the errors middleware and has a chance to log *all* requests.
Co-authored-by: DMehaffy <derrickmehaffy@gmail.com>
* first draft implementation edit release
* add dialog unit test
* add permission to the edit button
* add permissions type and remove old unit test
* add createAction to the PermissionMap
* fix type errors
* fix unit test
* fix lint error
* fix review comments
* change state naming
* change dialog to modal
* first draft implementation Releases page
* fix some comments
* refactor releases page and its logic
* add a more readable comment
* fix rtk transformResponse return type
* add unit test changing tab
* add unit test with mixed content
* fix type response error
* remove log
* fix review comments
* fix review comments
* reduce releases page unit test code
* test AddReleaseDialog
* remove useless mocked data and fix comments syntax
* refactor releases filters
* remove empty line
* add TODO
* fix(blocks): handle enter key on image
* reuse mock schema image
* show image block focus
* remove created paragraph
* remove unused utils
* fix delete image when it's the only block
* fix images taller than needed
* handle double enter on code blocks
* rename code translations
* allow forced line breaks
* mark feedback
* don't add paragraph when converting to code block
* move toolbar up one directory
* rename BlocksInput to BlocksContent
* rename BlocksEditor to BlocksInput
* rename parent dir to BlocksInput
* extract BlocksEditor component out of BlocksInput
* pass editor via useBlocksEditorContext hook
* rename Toolbar file to BlocksToolbar
* update test names
* assemble blocks store in context
* add basic unit tests for each block type
* test individual block logic
* simplify wrapper code
* delete useBlocksStore
* rename dir to Blocks
* fix build error
* use type guard for Link element
* pass modifiers via useBlocksEditorContext
* remove useBlocksStore
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it
fix(admin): annotate return type on createBuildContext
fix(admin): ensure shared is a the base folder not importing from server
chore(pack-up): PRINT MOREEEE
fix(ctb): export required type
chore: refactor tsconfigs
* chore: pr amends