126 Commits

Author SHA1 Message Date
Fernando Chávez
430ac2d3d0
feat(content-releases): show release scheduled date (#19552)
* feat(content-releases): show release scheduled date

* add future flag checks

* apply Madhuri feedback

* change env to use env.bool
2024-02-21 13:58:19 +01:00
Fernando Chávez
4af8963f68
feat(content-releases): add publish webhook (#19515)
* feat(content-releases): add publish webhook

* apply Marks feedback
2024-02-20 14:38:27 +01:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Mark Kaylor
24e6b11e8e Merge branch 'main' of github.com:strapi/strapi into feature/content-releases 2023-12-08 14:07:43 +01:00
Fernando Chávez
35f56a0444
feat(core): add feature flags (#18871)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-12-08 09:19:31 +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
Ben Irvin
87431e44c3
feat: allow passing http serverOptions from config (#18591) 2023-11-06 15:31:17 +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
markkaylor
f1c2201b6e
Merge pull request #16265 from strapi/fix/plugin-documentation-bugs
Fix/plugin documentation bugs
2023-04-24 19:50:10 +02:00
Mark Kaylor
19ce046512 Apply overrides for specified versions 2023-04-24 15:25:17 +02:00
Mark Kaylor
0798cf75f3 Revert plugins config diff 2023-04-24 15:25:17 +02:00
Mark Kaylor
179f3eb65d Reduce use of lodash and respect fp immutability 2023-04-24 15:25:17 +02:00
Mark Kaylor
ff971821fb Test overrides and fix upload schema 2023-04-24 15:25:17 +02:00
Mark Kaylor
119ddd4d98 Test the current override system 2023-04-24 15:25:17 +02:00
nathan-pichon
41c682d09c
chore(example): add comment on why use http_proxy env var 2023-04-18 16:59:04 +02:00
nathan-pichon
068078a2a5
chore(example): change server config 2023-04-18 16:59:04 +02:00
nathan-pichon
e696b13c34
chore(config): rename proxy into globalProxy 2023-04-18 16:59:03 +02:00
Ben Irvin
6444ce74a9 Merge branch 'main' into enh/allow-mysql2 2023-03-24 16:35:12 +01:00
Ben Irvin
41c7792b54 add mysql2 as a db client option 2023-03-22 12:11:15 +01:00
Rémi de Juvigny
7c197ba0d1 Merge remote-tracking branch 'origin/main' into feature/audit-logs-config 2023-03-09 18:44:30 +01:00
Rémi de Juvigny
0dcfbde89f Allow disabling audit logs 2023-02-23 12:20:58 +01: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
Marc-Roig
6d05a64089 add webhooks populate relations configuration variable 2023-01-19 14:53:37 +01:00
Marc-Roig
52b3dda02b fix localizations count 2023-01-18 15:42:11 +01:00
Marc-Roig
cf814fc1da move config to admin 2023-01-17 09:27:33 +01:00
Marc-Roig
25e1435173 Revert "remove relations populate configuration"
This reverts commit cea950fd9657df6434d22ecd29c1bbfd8d9a0912.
2023-01-13 15:35:21 +01:00
Marc-Roig
cea950fd96 remove relations populate configuration 2023-01-12 14:31:04 +01:00
Marc-Roig
bf3c7e6a9d remove relations performance config 2023-01-10 15:18:34 +01:00
Marc-Roig
8fb75a8ce9 rename relations populate config 2023-01-10 15:15:11 +01:00
Marc-Roig
8806f5eeb1 add admin config variable to enable relations performance 2023-01-05 15:55:47 +01:00
Pierre Noël
eba2da51af refactor the way database version is fetched 2022-11-16 18:32:32 +01:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Pierre Noël
53d2a3d17d revert jest update + use and refactor strapi.cron 2022-07-13 13:35:32 +02:00
Pierre Noël
019007ba3e improve error message + remove use of API_TOKEN_SALT 2022-04-07 16:34:57 +02:00
Pierre Noël
b48cf115c7 rename APP_SECRETS to APP_KEYS 2022-01-25 11:06:52 +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
a33d9e56be Move admin config to config/admin.js 2021-10-26 12:12:02 +02:00
Alexandre Bodin
20ae9ce9e5 Fix some legacy code and cleanup old code 2021-10-18 21:21:06 +02: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
43c7e47f2b Merge branch 'releases/v4' into v4/middlewares 2021-09-29 09:52:15 +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
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Pierre Noël
932536e534 pass strapi through params instead of creating a wrapping function 2021-09-23 15:55:02 +02:00