11 Commits

Author SHA1 Message Date
Marc Roig
011cefc73f
feat: preview content in an iframe (#22008)
* feat: preview content

* fix: pr suggestions

* fix: pr suggestions

* fix: iframe border
2024-10-30 09:01:47 +01:00
Jen Tak
5fc763775e
Register logger middleware before errors middleware (#16921)
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>
2023-12-05 09:28:41 +01:00
Pierre Noël
3facd1de7f add env.example back + code style 2022-01-19 17:21:23 +01:00
Pierre Noël
8b39d44992 create app keys at app creation instead of runtime auto-generation 2022-01-19 17:13:00 +01:00
Pierre Noël
da9b064536 add session middleware + remove authentication using url param access_token 2022-01-19 17:10:41 +01:00
Alexandre Bodin
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
Alexandre Bodin
89d0eacdb1 Update ip , compress middlewares 2021-09-29 16:05:33 +02:00
Alexandre Bodin
cd2cdaae76 Resolve plugin from package or path like plugins and allow same resolve at route level 2021-09-29 15:54:16 +02:00
Alexandre Bodin
010294813d Apply feedbacks 2021-09-29 12:25:06 +02:00
Alexandre Bodin
d6a448d44a Add listing commands 2021-09-29 09:34:37 +02:00
Alexandre Bodin
c610e34c7f Refactor middleware loading and config/boot 2021-09-27 22:57:24 +02:00