36133 Commits

Author SHA1 Message Date
Alexandre Bodin
330b5b968a fix: i18N non localized sync issue due to doc service changes 2024-04-10 19:04:51 +02:00
markkaylor
a1b6aeee27
fix(history): update relations display (#20081) 2024-04-10 17:27:04 +02:00
Marc Roig
450055e5af
release: 4.23.0 to develop (#20078)
* feat(releases): add release column to CM list view (#19926)

* draft: bulk release injection zone added

* chore: implement cm-api to strapi-app & description component renderer

* feat: bulk delete action

* Revert "draft: bulk release injection zone added"

This reverts commit 2d9e8872e847327888d988009fa16f91b5f1c777.

* feat: bulk unpublish action added

* feat: default bulk publish action

* fix: variable renaming

* fix: on close of modal updated and refetched list on publish action completion

* fix: removed IZ publish and unpublish modals, e2e tests added for default bulk actions

* tests: e2e updated for publish button disabled state

* fix: bug fixed on publishing with already published entries

* fix: e2e tests

* fix: reverted IZ components

* feat: bulk release action added

* update: check right permissions to show add to release button

* update: bulk actions modal updated to accept content(modalbody+modalfooter), publish action and release actions updated accordingly

* fix: types

* test: bulk release e2e test added

* fix: e2e test

* fix: test case timeout added, notification component updated to not saved message

* feat: inject release column in LV

* fix: minor changes

* fix: remove commented code

* fix: upgraded styled components to fix the error: defaultProps circularly references

* feat(content-releases): add to be released in column in list view

* fix: types and 0 releases entry

* fix: invalidate entries in release after bulk release or on deleting a release action

* tests: e2e tests added for release column

* tests: e2e updated to create new release and then add bulk release

* fix: minor changes, test fixed

* fix: delete release action invalite tag added back

* fix: e2e test

* apply josh feedback|

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>

* chore(deps): revert sharp to 0.32.6 (#20066)

* fix: fix boot issue when removing i18n from an app

* chore: get i18n service outside the for loop

* chore: remove empty spaces

* v4.23.0

---------

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2024-04-10 17:08:53 +02:00
markkaylor
0a031cc777
feat(history): display new and unknown fields (#20039) 2024-04-10 14:51:10 +02:00
Simone
6a87b376f5
fix(i18n): Add some space to show the Locale values in the CM (#20059)
* fix(i18n): add some width to the locale column

* fix(i18n): remove useless width
2024-04-10 11:15:52 +02:00
Christian Capeans
e47cce9d55 fix: use forwardedAs instead of as prop 2024-04-10 11:03:07 +02:00
Christian Capeans
0269c018d2 fix: use forwardedAs instead of as prop 2024-04-10 11:02:05 +02:00
Christian Capeans
6bf0ee33b0 fix: link dependency coming from react-router-dom 2024-04-10 10:59:56 +02:00
Jean-Sébastien Herbaux
144ac5e55b
Merge pull request #19986 from strapi/v5/tsdoc/ts-doc-as-markdown 2024-04-10 10:16:57 +02:00
Jean-Sébastien Herbaux
e0bb8ea8ce
Merge branch 'v5/main' into v5/tsdoc/ts-doc-as-markdown 2024-04-09 16:26:45 +02:00
Ben Irvin
cb00a17994
chore: add watch script for all projects (#20068) 2024-04-09 14:34:28 +02:00
Bassel Kanso
9e8dcb640e Merge branch 'v5/main' into v5/replace-axios 2024-04-09 15:07:12 +03:00
Simone
4dbfc9c022
Hide Locale column and grouping option when i18n plugin is not installed (#19358)
* fix(content-releases): create an hook to check if the i18n plugin is installed

* fix(content-releases): refactor code to use StrapiApp getPlugin

* fix(content-releases): hide locale if i18n is not installed

* fix(content-releases): move the createHook in the content-release plugin
2024-04-08 21:43:09 +02:00
Bassel Kanso
7ca9df7f9d chore: error handling for fetch 2024-04-08 21:43:37 +03:00
Alexandre Bodin
43a32432fc fix: v4-v5 conflict in polymorphic relations 2024-04-08 19:27:59 +02:00
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01:00
Alexandre Bodin
cbc0656f5f fix: doc service middleware args 2024-04-08 17:15:50 +02:00
Bassel Kanso
65df420943 chore: replacing axios with native fetch 2024-04-08 17:31:38 +03:00
Josh
df42d2ac71 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-04-08 15:22:55 +01:00
Josh
e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01:00
Jamie Howard
16983e52f4
chore(tests): allow unknown args in e2e (#20026)
* chore(tests): allow unknown args in e2e

* chore(tests): revert and specify debug as flag

* chore: clean up

* fix: pr feedback

* chore: remove manual debug flag and document new playwright debugging process

* chore: clean up
2024-04-08 15:18:10 +01:00
Alexandre BODIN
8dc428d4d4
Merge pull request #20017 from strapi/v5/document-service-api
Improvement to the doc service API
2024-04-08 15:02:54 +02:00
Convly
b2690ca50e fix: update validation for custom U&P OAuth callbacks 2024-04-08 14:58:51 +02:00
Convly
feeeef6cf9 fix: make the default callback validation stricter 2024-04-08 14:48:42 +02:00
Simone
ecb089c3e0
fix(content-releases): fix flaky FE unit tests (#19936)
* fix: fix CMReleasesContainer flaky test

* fix: add skipHover option in the render
2024-04-08 14:40:18 +02:00
Rémi de Juvigny
30dc322a9b
enhancement: display relations on history page (#20054)
* feat: add relation data to history versions response

* fix: restore unknown attributes

* fix: admin test ts errors

* chore: mark feedback

* feat: show missing relations/assets banner

* enhancement: display relation input in history

* fix: bg color, non sticky header, bottom padding

* chore: use RelationResult type

* fix: relations empty view

* chore: add useField generic type
2024-04-08 08:20:14 -04:00
Alexandre BODIN
a806043f96 Merge branch 'v5/main' into v5/document-service-api 2024-04-08 11:22:28 +02:00
Bassel Kanso
6fe2e78edf
Merge pull request #20009 from strapi/fix/creating-api-tokens
fix: making api tokens creation work
2024-04-08 11:55:09 +03:00
Bassel Kanso
04bbb9c618
Merge branch 'v5/main' into fix/creating-api-tokens 2024-04-08 11:07:49 +03:00
Marc Roig
bad7fc83ed
fix: prevent empty body when cloning (#20047) 2024-04-05 16:32:40 +02:00
Jean-Sébastien Herbaux
d5fe7b300f
Merge branch 'v5/main' into v5/tsdoc/ts-doc-as-markdown 2024-04-05 15:34:06 +02:00
Ben Irvin
9139d4b029
test: use object.defineProperty to mock global.fetch 2024-04-05 15:22:19 +02:00
Alexandre Bodin
2b548ef558 chore: create updateEntry 2024-04-05 14:08:18 +02:00
Josh
b86306c946
chore(cm): fix peer-deps (#20049) 2024-04-05 12:48:13 +01:00
Alexandre Bodin
5e5bcf8c8f chore: improve middleware api 2024-04-05 11:34:41 +02:00
Alexandre Bodin
57ef329165 chore: make document service method take a single argument object 2024-04-05 11:34:40 +02:00
Alexandre Bodin
6c0c7031cc chore: cleanup entity-service and move everything into document service for further changes 2024-04-05 11:34:10 +02:00
Alexandre Bodin
544d55dc42 chore: simplify components api in doc service and fix some typings 2024-04-05 11:34:10 +02:00
Ben Irvin
7c9a984c7b
tests(cli): use semver for both version tests 2024-04-05 10:55:36 +02:00
Ben Irvin
a8a195eacd
chore: move cli config to tests dir 2024-04-05 10:53:38 +02:00
Convly
e762295cbe enhancement: add validation for custom U&P OAuth callbacks 2024-04-05 09:12:04 +02:00
DMehaffy
68c52dc267
Chore: Update vite and webpack-dev-middleware (#20037) 2024-04-05 08:10:26 +01:00
Alexandre Bodin
2fe3160287 Merge branch 'releases/4.22.1' into develop 2024-04-05 08:31:44 +02:00
Alexandre Bodin
009bd52a1a v4.22.1 v4.22.1 2024-04-05 08:20:38 +02:00
Alexandre BODIN
8a05303f93
Merge pull request #20041 from strapi/revert/19921
Chore: Revert @koa/cors upgrade to 5.0.0 due to breaking cors middleware
2024-04-05 08:05:48 +02:00
Rémi de Juvigny
163e91acfe
enhancement: add relation data to history versions response (#20035)
* feat: add relation data to history versions response

* fix: restore unknown attributes

* fix: admin test ts errors

* chore: mark feedback
2024-04-04 17:31:51 -04:00
Derrick Mehaffy
3fe3bbfca2 Chore: Revert #19921
Related to: https://github.com/strapi/strapi/issues/20033
2024-04-04 13:21:00 -07:00
Ben Irvin
5ab818b8ee
test: add e2e tests for CTB restarts from file changes 2024-04-04 18:55:24 +02:00
Christian
ab56a0f690
Merge pull request #20024 from strapi/chore/delete-cli-version-test
Refactor cli version test
2024-04-04 18:27:19 +02:00
Christian
14a2f428ae
Merge pull request #20030 from strapi/chore/refactor-link-to-v2
Refactor Link to v2
2024-04-04 18:26:28 +02:00