Madhuri Sandbhor
adfa9612c9
Fix: bulk publish modal and related issues ( #20386 )
...
* fix: added bulk actions
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* feat: bulk delete with locale selection option
* fix: bulk unpublish working without locale support
* test: e2e tests updated
* fix: documents api change, deleteMany tags updated, test skipped
* chore: renaming
* test: reverting e2e tests for delete action changes
* feat: publish action changes
* fix: reverting publish action changes
* fix: hide add to release as its not ready to be migrated
* fix: error message updated
* fix: tests updated for useDocumentAction
* fix: updated request params
* fix: publish action added
* fix: publish action changes with documentId
* fix: reverting wrong commit message
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: comments updated
* chore: renaming
* chore: add type to bulk action actions (#20256 )
* chore: actionType renamed to just type
* fix: added missing import
* test: fixed
* fix(content-manager): edit entry button on bulk publish modal
* fix: validationError message type is not as expected
* fix: ts error
* only fetch entries when modal is opened
* fix(content-releases): use status to show the published instead of publishedAt
* fix: alignment fix, update selectedEntries to reflect count, reset selectedEntries on locale change
* fix: fixed type error
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-29 15:01:55 +02:00
Bassel Kanso
6ecc67b1e9
fix: check if it ends with _cmps
2024-05-29 15:04:32 +03:00
markkaylor
7b7a51fc89
fix(webhooks): ensure id sent to client is always a string ( #20377 )
2024-05-29 10:59:20 +02:00
Bassel Kanso
5985207d3b
fix: prevent transfering of component links
2024-05-28 16:03:03 +03:00
Madhuri Sandbhor
be0adb1bd8
enhancement: bulk publish migration to v5 ( #20255 )
...
* fix: added bulk actions
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* feat: bulk delete with locale selection option
* fix: bulk unpublish working without locale support
* test: e2e tests updated
* fix: documents api change, deleteMany tags updated, test skipped
* chore: renaming
* test: reverting e2e tests for delete action changes
* feat: publish action changes
* fix: reverting publish action changes
* fix: hide add to release as its not ready to be migrated
* fix: error message updated
* fix: tests updated for useDocumentAction
* fix: updated request params
* fix: publish action added
* fix: publish action changes with documentId
* fix: reverting wrong commit message
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: comments updated
* chore: renaming
* chore: add type to bulk action actions (#20256 )
* chore: actionType renamed to just type
* fix: added missing import
* test: fixed
* fix(content-manager): edit entry button on bulk publish modal
* fix: validationError message type is not as expected
* fix: ts error
* only fetch entries when modal is opened
* fix(content-releases): use status to show the published instead of publishedAt
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-28 14:23:09 +02:00
Bassel Kanso
e4b2a92811
Merge pull request #20172 from strapi/v5/remove-root-level-nested-params
...
Remove root level nested params
2024-05-28 10:56:21 +03:00
Ben Irvin
04c4983e3d
chore: replace plugin cli with external strapi/sdk-plugin package
2024-05-28 08:24:20 +02:00
Rémi de Juvigny
79490c1229
chore: adds and fixes e2e for content history ( #20098 )
...
* chore: add e2e test for unknown relation
* chore: add single type test
* chore: fix history e2e tests
* fix: releases matching two fields
* chore: await success notifications
2024-05-27 11:23:55 -04:00
Bassel Kanso
c35ac771c5
Update tests/api/core/strapi/api/populate/sanitize.test.api.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2024-05-27 16:42:12 +03:00
Bassel Kanso
4fe3c1b4c4
fix: populate syntax in media test
...
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-27 16:40:15 +03:00
Jean-Sébastien Herbaux
c80d4d9b20
[TS] Update position attribute to be optional in relation reordering types ( #20370 )
2024-05-27 09:33:47 +02:00
markkaylor
f75e3c6d67
chore(audit-logs): migrate audit logs to v5 ( #20251 )
2024-05-27 09:30:23 +02:00
Marc Roig
eb316acc5c
fix: create locale column when migrating from v4 ( #20261 )
...
* fix: create locale column
* fix: typo
* fix: rewrite comment
* feat: create locale column migration
2024-05-24 15:09:53 +02:00
Convly
cffa227999
v5.0.0-beta.8
v5.0.0-beta.8
2024-05-22 17:53:58 +02:00
Convly
8d33a8c285
Merge tag 'v4.24.3' into develop
...
v4.24.3
2024-05-22 16:46:48 +02:00
Convly
aa35157a65
v4.24.3
v4.24.3
2024-05-22 16:43:50 +02:00
Bassel Kanso
ff5a4cf03b
fix: lint issue
2024-05-22 13:45:21 +03:00
Bassel Kanso
a31bbe7211
Merge branch 'v5/main' into v5/remove-root-level-nested-params
2024-05-22 13:13:56 +03:00
Bassel Kanso
8dea6a6594
fix: use fragment populate in countDraftRelations
...
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-22 13:10:58 +03:00
Benjamin Robinet
bd269fa8b5
feat: add missing attributes to Media in typescript generator ( #19329 )
2024-05-22 10:40:37 +02:00
Ben Irvin
5277eaf60c
fix(ctb): validate pluralName and collectionName correctly ( #20347 )
2024-05-22 09:59:58 +02:00
Ben Irvin
710e683d6b
enhancement: improve gitignore in generated projects ( #20348 )
2024-05-22 08:56:53 +02:00
Bassel Kanso
d687b16123
Merge pull request #20342 from strapi/fix/transfer-documentId
...
Fix transfer document id in DTS
2024-05-22 09:47:48 +03:00
Ben Irvin
cb78770d20
fix: data transfer logging ( #20335 )
...
* fix: only create one log file and only as needed
* test: add regression test for multiple logs
2024-05-22 08:36:19 +02:00
Bassel Kanso
5952f60c18
fix: lint error
2024-05-21 12:27:07 +03:00
Bassel Kanso
e0270cd122
fix: change attributesToRemove to attributesToKeep
2024-05-21 12:14:33 +03:00
Simone
0c9f2e7cee
fix(chore): replace use-context-selector context with React Context ( #20287 )
...
* fix(chore): replace use-context-selector context with React Context
* fix(chore): remove the selector
* fix(chore): remove use-context-selector
* fix(chore): fix prettier issue
2024-05-21 04:37:59 -04:00
Marc Roig
ef532b9298
feat: unlist core packages from plugin list ( #20266 )
...
* feat: unlist core packages from plugin list
* feat: unlist content releases and review workflows
* chore: enabled plugins note
2024-05-21 09:31:12 +02:00
Ben Irvin
7f81f32de5
fix(typescript): add tsBuildInfoFile to fix incremental options ( #20341 )
2024-05-20 17:26:01 +02:00
Bassel Kanso
4c1e9f5a61
fix: filtering out documentId from attributesToRemove
2024-05-20 17:10:34 +03:00
Josh
e98c3e2020
fix(admin): reset all redux toolkit cache on logout ( #20318 )
...
* fix(admin): reset all redux toolkit cache on logout
* chore: refactor API to use one createApi call from redux/toolkit
* chore: fix e2e suite
* chore: spelling error
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
* chore: remove rogue import
---------
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-05-20 14:43:30 +01:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 ( #20301 )
2024-05-20 10:42:44 +01:00
Ben Irvin
48a7b1e909
chore: sync e2e tests with v5 branch ( #20334 )
2024-05-20 11:15:57 +02:00
Ben Irvin
7d9787cb7c
chore(test): change utils to .ts ( #20333 )
2024-05-20 11:15:33 +02:00
Bassel Kanso
58ab115ac3
fix: update and remove tests that are using deprectated populate api for DZ
2024-05-20 11:27:56 +03:00
Josh
a3960e1ee5
chore: update react&react-dom to 18.3 ( #20316 )
...
* chore: update react&react-dom to 18.3
* chore: TS fix
* chore: update testing packages
* chore: fix lint
2024-05-17 16:00:38 +01:00
Josh
20865b6661
chore: add workflow to update Browserslist DB ( #20325 )
2024-05-17 15:19:37 +01:00
med8bra
0d2c6df081
Merge branch 'develop' into fix/strapi-csp-merge
2024-05-15 00:55:52 +01:00
Lucas Boilly
ead9202716
chore(cm): change the Configure the view link icon in the edit view ( #20274 )
...
* Updated configure the view icon in the edit view
* Removed the functions that were removing the fill from the icons
* removed bad indentation
2024-05-14 08:57:04 +01:00
Simone
c734c14d5f
feat(main-nav): Main nav refactoring, change links order ( #20275 )
...
* feat(main-nav): change links order in main nav
* feat(main-nav): add the position property to order links in the main nav
* feat(main-nav): refactor the sorting of the nav links
* feat(main-nav): add useCollator and format message to sort by name the links
2024-05-13 08:58:09 +02:00
Jamie Howard
8c5105d949
Publish multiple locales ( #20258 )
...
* fix: date comparison
* feat(core): document service publish multiple locales (#20046 )
* feat(core): document service (un)publish multiple locales
* fix(core): cleanup locale param types
* feat(content-manager): wip - multiple locale support
* Count draft relations across locales (#20116 )
* feat(content-manager): publish multiple locales from CM route
* feat(core): multiple locales in document service discard draft
* feat(content-manager): use bulkpublish for locale publish
* feat(content-manager): use query from bulkpublish locales
* feat(content-manager): publishMany
* feat(content-manager): api test for bulk locale + document publish
* chore(content-manager): fix for build
* fix(core): avoid * in locale data
* chore(content-manager): pr amends and validation improvement
* feat(content-manager): use transaction in document manager publish many
* feat(core): throw when a non string locale is provided and not supported
* fix(core): doc service find many
* chore: clean up
* feat(content-manager): Select fields that require validation in availablelocales (#20156 )
* feat(content-manager): wip - select more fields in availablelocales
* feat(content-manager): wip available locales using entity traversal
* feat(content-manager): wip test available locales returns fields with validation
* feat(content-manager): test available locales returns fields with validation
* fix(content-manager): ensure sensitive info not exposed in available statuses
* fix(content-manager): sanitize document metadata available status
* fix(content-manager): sanitize document metadata available status at controller level
* fix(content-manager): populate only for validatable fields
* chore: clean up
* chore: clean up
* chore: clean up
* fix(content-manager): build issues
* fix(content-manager): allow null locales
* fix(content-manager): history service (#20185 )
* fix(content-manager): history service
* chore(content-manager): clean up
* fix: pr feedback
* chore: update actions deps
* chore: update utility deps
* chore: upgrade sentry
* chore: upgrade graphql-tools
* fix: http-errors ugprade
* chore: add fs-extra types where needed
* docs(typescript): type system cheat sheet
* chore!: remove deprecated verbose option from ts:generate-types
* chore: clean up
fix(content-manager) correctly count bulk publish results
* fix(content-manager): pr feedback and test improvements
* feat(i18n): bulk locale publish modal in CM edit view (#20069 )
* feat(i18n): wip bulk locale publish modal
* fix(i18n): wip - fe bulk locale publish
* feat(content-manager): multi locale publish, integrate with backend and add basic e2e test
* feat(i18n): wip - display validation errors in bulk locale modal
* chore: clean up
* chore(i18n): design system changes
* feat(i18n): display correct status after publish and clean up error messaging
* feat(i18n): access onclose from modal body
* fix(i18n): selected locale change
* fix(i18n): locale table state
* fix(i18n): edit view e2e test
* chore(content-manager): validation tweak wip
* feat(i18n): cover validation cases in i18n e2e tests
* chore: clean up
* fix(i18n): edit view more document actions disabled state
* chore: feedback
* fix(i18n): send all params to publish many
* fix(i18n): place bulk locale publish 3rd in array
* fix(content-manager): validation error extraction
* fix(content-manager): pr feedback
* fix: build
* chore(content-manager): simplify exports
* chore(i18n): revert package
---------
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
* fix(i18n): disable publish button after bulk locale publish
* fix(content-manager): ce e2e fix
* chore: typography
* fix(i18n): e2e edit view test
* fix: wip date comparison
* fix: wip date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* chore: update api tests
* fix: draft versions must be ahead of published to be considered modified
* fix: published modified calculation
* fix: clean up
* fix: simplify draft and publish comparison
* chore: clean up
* fix: flaky fe tests
* fix: pr feedback
* fix(i18n): error message extraction in bulk locale modal
* chore: remove old publish action
* chore: pr feedback
* chore: refactor error types & validation messages
* chore: use anchor link for locale changes
* chore: fix releases
* fix: clean up
* chore: snapshot
---------
Co-authored-by: Marc-Roig <marc12info@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-10 18:20:35 +01:00
Marc Roig
521cd3f8cd
fix: improve CM modified date comparison ( #19898 )
...
* fix: date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* fix: draft versions must be ahead of published to be considered modified
* fix: published modified calculation
* fix: clean up
* fix: simplify draft and publish comparison
* chore: clean up
* fix: flaky fe tests
* fix: pr feedback
---------
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-05-09 19:19:18 +02:00
Josh
9381bbbca6
fix(cm): nested components never have permission ( #20291 )
...
* fix(cm): nested components never have permission
* chore: memoize form inputs for complex forms
* fix(cm): performance regression where selectFromResult was running too often due to arguments
2024-05-09 15:41:07 +01:00
Jamie Howard
8592bde151
fix: u&p FE tests ( #20289 )
...
* fix: use act in u&p test
* fix: clean up
2024-05-09 14:39:05 +01:00
Simone
0082657789
feat(main-nav): Fix the tooltip position of the links ( #20290 )
...
* feat(main-nav): invert the order of the Tooltip and the link
* fix(main-nav): remove useless imports
2024-05-09 15:34:46 +02:00
Madhuri Sandbhor
e1b9d9adee
enhancement(CM): bulk delete and unpublish migration to v5 ( #20235 )
...
* fix: added bulk actions
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* feat: bulk delete with locale selection option
* fix: bulk unpublish working without locale support
* test: e2e tests updated
* fix: documents api change, deleteMany tags updated, test skipped
* chore: renaming
* test: reverting e2e tests for delete action changes
* fix: reverting publish action changes
* fix: hide add to release as its not ready to be migrated
* fix: error message updated
* fix: tests updated for useDocumentAction
* fix: updated request params
* fix: reverting wrong commit message
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: comments updated
* chore: renaming
* chore: add type to bulk action actions (#20256 )
* chore: actionType renamed to just type
* fix: dont show unpublish button on contentTypes without draft and publish
* fix: set a fixed width for FieldActionWrapper on UID input
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-09 12:35:48 +02:00
Jamie Howard
64e86a273f
fix: flaky fe tests ( #20288 )
...
* fix: flaky fe tests
* fix: pr feedback
* fix: tweak expectations
* chore: match format of other tests
2024-05-09 11:13:06 +01:00
Marc Roig
c413ad99eb
release: v4.24.2 to develop ( #20280 )
2024-05-08 17:07:53 +02:00
Marc-Roig
ddc12d6edc
fix: yarn lock
2024-05-08 17:06:44 +02:00
Marc-Roig
a86c75effa
v5.0.0-beta.7
v5.0.0-beta.7
2024-05-08 16:33:08 +02:00