149 Commits

Author SHA1 Message Date
Rémi de Juvigny
81b62a508e feat: add content preview (remove future flag) 2024-12-04 09:36:19 +01:00
Rémi de Juvigny
3827154d28
chore: add json data to dummy preview (#22243) 2024-11-25 03:37:44 -05:00
Marc Roig
f4ec69568d
chore: dummy preview page on getstarted (#22137)
* chore: dummy preview

* feat: update preview route

* Update examples/getstarted/src/admin/preview/dummy-preview.jsx

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* Update examples/getstarted/src/admin/preview/dummy-preview.jsx

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* fix: register as named export

* fix: register as named export

* fix: remove unnecessary brackets

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-11-13 14:55:21 +01:00
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
Marc Roig
840550dc97
feat: preview config (#21561)
* feat: base files for static preview

* feat: preview config

* Update packages/core/content-manager/server/src/preview/routes/index.ts

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>

* chore: empty handler

* chore: comment controllers type

* fix: remove is enabled check from load

* feat: test preview config

* chore: refactor type

* fix: pr comments

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-07 21:16:25 +02:00
Rémi de Juvigny
e7af8a5ec7
chore: set up preview feature boilerplate (#21443)
* chore: set up preview feature boilerplate

* fix: admin build
2024-09-25 05:54:59 -04:00
Alexandre Bodin
bceb8fa4ad chore: improve admin panel DX & add more advance plugin example 2024-09-09 11:11:02 +02:00
Rémi de Juvigny
d23c1d5b0e
chore: remove history future flag (#20131) 2024-04-17 11:20:32 +02:00
Alexandre Bodin
279eb4479d chore: migrate graphql plugin to v5 2024-03-07 21:12:36 +01:00
Mark Kaylor
a47d2a8c43 chore: use env var to enable future flag 2024-03-05 16:15:09 +01:00
Rémi de Juvigny
8294852592 Merge remote-tracking branch 'origin/v5/main' into v5/history 2024-02-29 11:48:35 +01:00
Josh
84b8d2ccd4 Merge branch 'develop' into v5/main 2024-02-28 16:01:39 +00:00
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
Rémi de Juvigny
c448c0402f
Merge branch 'v5/main' into v5/history 2024-02-21 10:35:41 +01:00
Josh
0aca28c03c Merge branch 'develop' into v5/main 2024-02-20 17:51:28 +00: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
Rémi de Juvigny
ee34c43cd5
Merge branch 'v5/main' into v5/history 2024-02-09 18:43:52 +01:00
Ben Irvin
c9de63e8ae
enh: add logger level to server config 2024-02-09 15:04:00 +01:00
Rémi de Juvigny
df4560117a
Merge branch 'v5/main' into v5/history 2024-01-24 17:40:04 +01:00
Rémi de Juvigny
18b28ce2ee
chore: set up content history files (#19298)
* setup history server files

* add admin files

* chore: remove dedicated lifecycle files
2024-01-23 18:15:34 +01:00
Ben Irvin
9469280178 enhancement: refactor env-only values into configuration 2024-01-17 15:59:25 +01:00
Josh
d402c40cae Merge branch 'develop' into v5/main 2024-01-11 15:52:47 +00: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
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +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
Marc-Roig
8aca4eae6a
Merge branch 'main' into v5/main 2023-11-09 12:13:13 +01:00
Ben Irvin
87431e44c3
feat: allow passing http serverOptions from config (#18591) 2023-11-06 15:31:17 +01:00
Ben Irvin
3e3b3393e2
chore: use mysql2 as the package for mysql (#18503) 2023-10-30 13:29:39 +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