15 Commits

Author SHA1 Message Date
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Ben Irvin
3a87f3cd99
enh: add types for project configuration files
Add types for project configuration files

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
2024-01-05 10:36:54 +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
Maxime Castres
dfc4d17eb4
feat(admin): add promoting EE features in CE projects by default (#18179)
* Add: promoting EE features in CE projects by default

* Add: pages

* Update: first review modifications

* Update: integrate locked features pages

* Update: rename pages + update links to the website

* Update: append config to default files

* Update: implement flags logic

* Update: implement promoteEnterpriseFeatures flag

* Update: revamp variable + add doc

* Update: add documentation

* Delete: ContentTypes.d.ts file
2023-10-23 17:20:59 +01:00
Boegie19
f9f70e25b5
feat(admin): allows users to disable NPS in strapi config. (#18287) 2023-10-10 17:11:40 +02:00
Convly
1b51476e93 Add transfer.token.salt to the examples app admin
Co-authored-by: Christian <christiancp100@gmail.com>
Co-authored-by: Simone <simone.taeggi@strapi.io>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Ben Irvin <innerdvations@users.noreply.github.com>
2023-02-02 16:52:48 +01:00
Christian Capeans
9166795976 Add default APP_KEYS to the server config 2022-10-25 10:40:10 +02:00
Convly
e5a7d43355 Update extended tsconfigs paths & fix kitchensink-ts app env/config variables 2022-06-08 11:30:01 +02:00
Convly
507018c611 Update config values and package version 2022-06-01 11:18:35 +02:00
Convly
d86156aea1 Update kitchensink-ts to the latest beta 2022-05-31 16:40:09 +02:00
Convly
fb91d68983 Typos 2022-04-04 11:41:13 +02:00
Convly
e9619b5b25 Remove test plugin from kitchensink-ts 2022-04-04 11:40:00 +02:00
soupette
4365796df1 Remove ts from kitchensink and fix async issue
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:51 +02:00
Convly
f0cacae5d8 Fixes 2022-04-04 11:36:50 +02:00
Convly
ce577b1b1c Add a typescript kitchensink example 2022-04-04 11:32:59 +02:00