1115 Commits

Author SHA1 Message Date
Rémi de Juvigny
6d1431fe2a
enhancement: create dedicated preview page (#21965)
* enh: add preview page and navbar

* chore: remove header

* chore: update e2e tests

* chore: remove getDocumentStatus export

* fix: error state
2024-10-24 12:15:35 -04:00
Marc Roig
17dbeb2030
release: main to develop (#21963)
* fix: make contrib docs landing message clearer to users

* v5.1.1 to main (#21954)

* enhancement: ui issues and french translations (#21633)

* chore: ui issues and french translations

* chore: added missing translation

* chore: made it prettier

* fix: test CI/CD building repo 2 times (#21740)

* fix: do not display fill from locales if i18n no enabled (#21737)

* fix: do not display fill from locales if i18n no enabled

* chore: disable only if there is not i18n enabled

* fix: send ids when connecting relations to update u&p user role (#21726)

* fix:update role

* fix: send entry id when connecting/disconnecting relations

* fix: changed empty components wording (#21630)

* fix: changed empty components wording

* fix: updated selectors

* fix: made it prettier

* enhancement: add preview panel button (#21776)

* chore: add test workflow filters for each test type (#21770)

* chore: upgrade mysql2 package to 3.9.8 (#21795)

* feat: add mapping property support for documentation plugin's open api generated docs (#21752)

* feat: add mapping property support for documentation plugin's open API generated spec

Dynamic zones are reflected in the OpenAPI docs generated as an anyOf.
We can use a discriminator and mapping to improve the docs.

* fix: missing one value enum for __component property

* enhancement: extract logic to convert component names to OpenAPI names

* chore: run prettier write on clean schema attributes

---------

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

* chore: fix mysql workflow (#21801)

* chore: upgrade koa/router to 12.0.2 (#21802)

* Update "upgrade major" rules (#21745)

* fix: broken list view pagination (#21800)

* fix: broken list view pagination

* chore: add list view pagination e2e test

* enhancement: add copy preview url button (#21780)

* enhancement: add copy preview button

* chore: remove useClipboard from upload plugin

* Add <latest> Upgrade Command (#21754)

* Make locale/localizations private for non-localized cts (#21495)

* chore: upgrade sendgrid-mail to 8.1.3 (#21797)

* chore: re-enable history e2e tests (#21739)

* fix: reenable history api tests

fix: flaky findAndClose

fix: close notifications

* chore: add test workflow filters for each test type

* chore: fix node versions

* fix: match format of test.yml

* revert: don't add test_result to skipped_tests

* fix: add new outputs vars

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* fix: search by numeric numbers in a relation (#21873)

* Sort Generated Content-Types and Components Definitions (#21868)

* fix(e2e): remove webkit skip conditions (#21611)

* fix(e2e): remove webkit skip conditions

* chore: revert uniqueness spec to test others on ci

* fix(e2e): ctb navigation

* chore: ci config to speed up testing

* chore: revert lock

* chore(e2e): wip add webkit waiting

* chore: single out history spec changes for ci

* chore(e2e): use new webkit navigation for all affected test files

* chore(e2e): revert e2e ci config so all tests run again

* chore(e2e): temp skip uniqueness to test others

* chore(e2e): revert so all tests run again

* chore(e2e): re-skip uniqueness in webkit

* chore(e2e): revert workflow yaml

* chore(e2e): pr feedback

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>

* fix(strapi/types): add Attribute column type (#21858)

* chore: add preview tracking (#21913)

* chore: upgrade plop to 4.0.1 (#21798)

* chore: upgrade cookie to 0.7.1 (#21833)

* enhancement: DTS assert count of items sent and received is equal (#21900)

* feat: added a count, start, finish counts to compare data recieved with data sent

* feat: refactoring

* feat: refactoring

* v5.1.1

---------

Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Pedro Cerejo <pedro.cerejo@tecnico.ulisboa.pt>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Andrei Luca <1881266+iamandrewluca@users.noreply.github.com>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>

* fix: prettier

---------

Co-authored-by: Pierre Wizla <pwizla@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Pedro Cerejo <pedro.cerejo@tecnico.ulisboa.pt>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Andrei Luca <1881266+iamandrewluca@users.noreply.github.com>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-10-24 14:16:34 +02:00
Marc Roig
3db8f1fc61
fix: order when loading more than 10 relations (#21855)
* fix: relations page loading

* chore: comment

* fix: do not regenerate all keys
2024-10-22 10:45:20 +02:00
Rémi de Juvigny
8aa515fdcd
chore: add preview tracking (#21913) 2024-10-21 04:05:31 -04:00
Ben Irvin
e6d1e1e5e4
v5.1.0 release into main (#21870)
* enhancement: ui issues and french translations (#21633)

* chore: ui issues and french translations

* chore: added missing translation

* chore: made it prettier

* fix: test CI/CD building repo 2 times (#21740)

* fix: do not display fill from locales if i18n no enabled (#21737)

* fix: do not display fill from locales if i18n no enabled

* chore: disable only if there is not i18n enabled

* fix: send ids when connecting relations to update u&p user role (#21726)

* fix:update role

* fix: send entry id when connecting/disconnecting relations

* fix: changed empty components wording (#21630)

* fix: changed empty components wording

* fix: updated selectors

* fix: made it prettier

* enhancement: add preview panel button (#21776)

* chore: add test workflow filters for each test type (#21770)

* chore: upgrade mysql2 package to 3.9.8 (#21795)

* feat: add mapping property support for documentation plugin's open api generated docs (#21752)

* feat: add mapping property support for documentation plugin's open API generated spec

Dynamic zones are reflected in the OpenAPI docs generated as an anyOf.
We can use a discriminator and mapping to improve the docs.

* fix: missing one value enum for __component property

* enhancement: extract logic to convert component names to OpenAPI names

* chore: run prettier write on clean schema attributes

---------

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

* chore: fix mysql workflow (#21801)

* chore: upgrade koa/router to 12.0.2 (#21802)

* Update "upgrade major" rules (#21745)

* fix: broken list view pagination (#21800)

* fix: broken list view pagination

* chore: add list view pagination e2e test

* enhancement: add copy preview url button (#21780)

* enhancement: add copy preview button

* chore: remove useClipboard from upload plugin

* Add <latest> Upgrade Command (#21754)

* Make locale/localizations private for non-localized cts (#21495)

* chore: upgrade sendgrid-mail to 8.1.3 (#21797)

* v5.1.0

---------

Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com>
Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Pedro Cerejo <pedro.cerejo@tecnico.ulisboa.pt>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2024-10-16 12:33:32 +02:00
Rémi de Juvigny
a281e06e9e v5.0.6 2024-10-11 18:13:53 +02:00
Rémi de Juvigny
7e12b7a9df fix: broken list view pagination (#21800)
* fix: broken list view pagination

* chore: add list view pagination e2e test
2024-10-11 18:00:28 +02:00
Marc-Roig
9cbf0e65dc
v5.0.5 2024-10-10 20:33:17 +02:00
Convly
e97d870c8f v5.0.4 2024-10-09 17:08:23 +02:00
Ben Irvin
51d9cfeaec
enhancement: add support for Node 22 (#21467) 2024-10-09 09:52:15 +02: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
Rémi de Juvigny
0ee68f583f Merge remote-tracking branch 'origin/main' into develop 2024-10-03 12:02:55 +02: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
Rémi de Juvigny
8c4b6f27a0 v5.0.2 2024-10-02 16:33:35 +02:00
Rémi de Juvigny
ebaf1403e4
fix: dynamic zones breaking layout logic (#21483)
* fix: layout panel after dynamic zone

* chore: update test
2024-09-30 04:36:44 -04:00
Alexandre Bodin
335b9a2962 v5.0.2-beta.0 2024-09-27 11:14:34 +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
646ad2aaf2 fix: reordering & load more 2024-09-26 17:06:57 +02:00
Dhruv Chheda
69ef78b471
fix: Filter by text field with "&" symbol doesn't work #20271 (#21406)
* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering
2024-09-26 11:23:47 +02:00
Rémi de Juvigny
deda462b1b
v5.0.1 (#21470) 2024-09-25 11:39:57 -04:00
Lucas Boilly
9f51dccf97
fix: Changed the color of the subtitle (#21453)
* fix: Added a gap between the 2 icon buttons

* fix: Changed the color of the subtitle

* fix: Changed the color of the subtitle

* Update packages/core/content-manager/admin/src/history/components/VersionHeader.tsx

Co-authored-by: Simone <startae14@gmail.com>

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
2024-09-25 10:11:32 -04:00
Alexandre Bodin
56109c4ad2 fix: status computation 2024-09-25 15:44:44 +02:00
Lucas Boilly
a8e30018c0
fix: changed the color of the titles of the panels (#21448)
* fix: Changed the color of the titles of the panels

* Update packages/core/content-manager/admin/src/pages/EditView/components/Panels.tsx

Co-authored-by: Simone <startae14@gmail.com>

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
2024-09-25 08:28:57 -04: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
bb39175992 fix: locale on disconnect 2024-09-24 18:43:29 +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
Alexandre Bodin
ce84fada19 v5.0.0 2024-09-18 17:17:32 +02:00
Alexandre Bodin
506f8c8a6e v5.0.0-rc.30 2024-09-18 17:13:46 +02:00
Alexandre BODIN
726f3cc313
Merge pull request #21314 from strapi/fix/cm-validation
fix: cm validation logic is broken
2024-09-18 17:11:24 +02:00
Alexandre Bodin
f3ac9da018 fix: roles creation 2024-09-18 16:31:48 +02:00
Alexandre Bodin
6f3a2283e0 v5.0.0-rc.29 2024-09-18 15:02:45 +02:00
Alexandre Bodin
2ee3865f9d fix: update schemas to have nullables where needed 2024-09-18 14:54:26 +02:00
Alexandre Bodin
b5354baf37 fix: checks 2024-09-18 13:56:47 +02:00
Ben Irvin
46c7eec8a2
chore: upgrade sanitize-html to 2.13.0 (#21278) 2024-09-18 13:45:13 +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
Jamie Howard
f3c30dfb3f
Merge branch 'releases/5.0.0' into fix/i18n-rbac-locale-switch 2024-09-18 09:42:17 +01:00
Alexandre Bodin
0faf896735 fix: cm validation logic is broken 2024-09-18 10:17:59 +02:00
Alexandre Bodin
42f0cd4dcc v5.0.0-rc.28 2024-09-17 20:29:18 +02:00
Jamie Howard
ca27873487 fix(content-manager): wip pass userbac context for accurate query params
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2024-09-17 18:36:51 +01:00
Ben Irvin
c1d097e2f9 fix: do not use single type id in useDoc 2024-09-17 15:50:13 +02:00
Rémi de Juvigny
0a14b9e2e8
fix: manyToOne relation input (#21299)
* fix: manyToOne relation input

* chore: remove if blocks
2024-09-17 08:47:15 -04:00
Alexandre Bodin
3afad34184 v5.0.0-rc.27 2024-09-17 12:28:01 +02:00
Ben Irvin
76615c85ce
Merge branch 'releases/5.0.0' into fix/rbac-locales 2024-09-17 12:19:47 +02:00
Ben Irvin
351e3e4a8d fix: useDoc returns document id for single types
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Jamie Howard <jhoward1994@users.noreply.github.com>
2024-09-17 12:17:29 +02:00