554 Commits

Author SHA1 Message Date
Adrien L
9c630ba433
fix: prefill non translatable fields when creating new document locale (#24659) 2025-10-29 15:50:50 +01:00
markkaylor
7861fc41cb
future(i18n): add background job notification system (#24637) 2025-10-22 14:39:07 +02:00
Rémi de Juvigny
dd0a18d252
future(i18n): trigger ai localizations (#24612)
future(i18n): trigger ai localizations
2025-10-20 15:45:22 +02:00
Bassel Kanso
dd3fe6fd8a
fix: extending csp configs (#24571) 2025-10-20 16:16:17 +03:00
Alexandre BODIN
e1891a9c99 chore: lint 2025-10-09 10:45:24 +02:00
Alexandre BODIN
6a5663977e fix: find published relations on components 2025-10-09 10:31:25 +02:00
Adrien L
a8a53e3e7c
fix: wrong count of non draftAndPublish entries (#24211) 2025-08-26 09:45:23 +02:00
Bas Broekhuizen
9651e7ce33
fix: wrong count for published entries in homepage widget (#24152) 2025-08-13 10:20:06 +02:00
Giulio Montagner
e648c19c20
chore: replace node-schedule with strapi.cron service 2025-07-28 14:58:05 +02:00
Hannah Paine
a6f2f89298
Merge pull request #23988 from ioleo/patch-issue-23969
fix: document_id must appear in the GROUP BY clause
2025-07-25 09:19:18 +02:00
Rémi de Juvigny
39b256a9a2
enhancement: promote preview configuration docs (#23961)
* enhancement: promote preview configuration docs

* chore: add tests

* fix: api test

* fix: don't show panel in create mode
2025-07-22 05:34:48 -04:00
ioleo
947c3a83d8 fix: document_id must appear in the GROUP BY clause 2025-07-19 13:08:12 +01:00
Adrien L
cca0790e58
feat: homepage widget entries chart (#23903) 2025-07-09 15:38:15 +02:00
Adrien L
42d441cd5d
feat: homepage widget assigned to me (#23848) 2025-07-07 11:29:12 +02:00
Simone
5f27c76d39
fix: use documentId as mainField fallback (#23796) 2025-07-01 16:48:00 +02:00
Yatin Gaikwad
be26954af3
fix: locale selector dropdown showing incorrect status in content man… (#23434) 2025-06-24 17:02:08 +02:00
markkaylor
eef6d59588
fix: bulk publish mutliple locales does not validate required media (#23750) 2025-06-16 16:47:30 +02:00
Simone
610f71e631
fix: serve the correct document when we duplicate a document with a locale different than the default one (#23709) 2025-06-16 09:30:02 +02:00
Adrien L
df5dd4b92e
fix(content-manager): documentId missing from fields for the view and… (#23604)
* fix(content-manager): documentId missing from fields for the view and filters

---------

Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2025-06-10 17:43:39 +02:00
Aurélien MANCA
3561ab6db9
feat(uid): add regex attribute (#23141) 2025-06-10 16:34:28 +02:00
Rémi de Juvigny
883f4fcabd
fix: avoid history data loss when license is missing (#23562)
* fix: avoid history data loss when license is missing

* fix: history lifecycle test

* fix: restore ts-expect-error
2025-05-27 12:24:14 -04:00
Bassel Kanso
c8de96f027
Test: replace snapshot tests (#23409)
---------

Co-authored-by: Jamie Howard <jhoward1994@gmail.com>
2025-05-05 11:05:29 +03:00
markkaylor
167a9bf54f
chore(homepage): move widget controllers, services, and routes from admin to content-manager (#23407) 2025-04-24 11:01:12 +02:00
markkaylor
51ac3e3622
future(homepage): refactor internal widgets to use api (#23352) 2025-04-14 17:08:21 +02:00
Marc-Roig
242fecbcf1
fix: await document exists 2025-02-20 15:56:05 +01:00
Alexandre Bodin
92055a7fb1 chore: use rollup
chore: fetch template only if name matches name convention

chore: linting

chore: fix tests

chore: fix npm scripts

test: try to fix test
2025-01-23 16:28:23 +01:00
markkaylor
dad3c50630
fix(history): handle nested component images (#22278) 2025-01-08 15:57:28 +01:00
Marc-Roig
9f812af47f
fix: do not filter by locale if no i18n 2024-12-18 20:38:55 +01:00
Marc Roig
0d4051ce87
fix: multiple requests locale (#22273)
* fix: multiple requests locale

* fix: actions request

* fix: properly load locales

* fix: add status to localizations

* fix: remove unused types

* fix: front tests

* fix: add validation fields into localizations

* fix: validatable attributes

* fix: select nested fields when populating localizations

* fix: uncomment localizations populate

* fix: document-metadata

* fix: empty populate

* fix: revert to original proposal

* fix: do not select document ids on components (#22330)

* fix: do not select document ids on components

* chore: unit test

* fix: metadata test

* fix: populate

* fix: default fields

* fix: show current locale when bulk publishing

* fix: create locale

* Update packages/core/content-manager/server/src/services/document-metadata.ts

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-12-16 16:12:40 +01:00
Rémi de Juvigny
81b62a508e feat: add content preview (remove future flag) 2024-12-04 09:36:19 +01:00
Marc Roig
780730225a
chore: e2e test for preview (#22190)
* chore: e2e test for preview

* fix: comments
2024-11-20 13:55:42 +01:00
Marc Roig
b67f4e6a09
feat: preview allowed origins config (#22138)
* feat: allowed origins config

* chore: update getstarted admin preview config

* fix: do not extend middlewares if allowedOrigins is not defined

* fix: middleware merging
2024-11-20 09:54:32 +01:00
markkaylor
5c463a4f33
fix(e2e): enable e2e tests in editview.spec.ts (#21986) 2024-11-04 11:12:15 +01:00
Marc Roig
002fc78b3c
feat: preview endpoint (#21574)
* 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

* feat: preview endpoint

* feat: preview test

* fix: tests

* fix: api test

* chore: comment

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-08 14:23:47 +02:00
Rémi de Juvigny
80bde34977
fix: history cron job breaking on mysql (#21616)
* fix: history cron job breaking on mysql

* fix: backend unit test

* fix: use js date instead of string
2024-10-08 06:04:23 -04: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
dc3f54929b
fix: history trying to restore components that were deleted (#21559)
* fix: reenable history api tests

* fix: history trying to restore components that were deleted

* Update tests/api/core/content-manager/content-manager/history/history.test.api.ts

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>

* chore: refactor to deselect component ids at version creation

* Revert "fix: reenable history api tests"

This reverts commit a35f61fbc066f8ed4d4053ee99bed5d5c4949312.

* fix: type error

---------

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
2024-10-07 05:59:35 -04:00
Marc Roig
475ef78c75
feat: base files for static preview (#21555)
* feat: base files for static preview

* 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: comment controllers type

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-03 10:02:19 +02:00
Alexandre BODIN
9a4af3a3cc
Merge pull request #21428 from strapi/fix/cm-relations
fix: cm relations
2024-09-27 10:22:45 +02:00
Alexandre Bodin
56109c4ad2 fix: status computation 2024-09-25 15:44:44 +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
206912e54c chore: remove comments 2024-09-24 18:48:51 +02:00
Alexandre Bodin
86fea32ae4 fix: locale might be null 2024-09-24 16:23:20 +02:00
Alexandre Bodin
f8a68bc03b fix: unidirectional sync for non dp source 2024-09-24 11:15:30 +02:00
Alexandre Bodin
7002f0b916 fix: cm relations 2024-09-24 10:32:21 +02:00
Rémi de Juvigny
5d0c1f94a1
fix: history fields width (#21313)
* fix: history field width

* fix: relations to admin:user are not fetched correctly

* fix: do not link to admin users from history relation input

* fix: apply shadow none everywhere

---------

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2024-09-18 05:49:14 -04:00
Alexandre BODIN
a4f31bf045
Merge pull request #21301 from strapi/fix/relations
fix: relations filtering on locales
2024-09-17 10:42:07 +02:00
Alexandre Bodin
71ed910bd8 fix: relations filtering on locales 2024-09-17 09:59:45 +02:00
Simone Taeggi
0b7f833b6f fix: change the updateDocument setCreator in case of new locale 2024-09-16 22:20:46 +02:00
Simone
37776ceb24
fix: allow publish new locale directly (#21251)
* fix: change the publish controller logic to handle different versions publish

* fix: change the logic to create a new document variant

* fix: apply review's comments
2024-09-13 17:31:36 +02:00