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
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
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
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
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
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
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
Bassel Kanso
3bc72930fa
Merge branch 'v5/main' into v5/replace-axios
2024-05-08 12:00:18 +03:00
Josh
b7c62568a8
chore!: update styled-components to 6 & update DS to 2.0.0-beta.3 ( #20260 )
...
* chore: update styled-components to 6
* chore: update admin
* chore: update CM
* chore: update ctb
* chore: update other plugin packages
* chore: update content-releases
* chore: update user-permissions
* chore: update upload
* chore: update fields to be dot notation
* chore: update tests
* chore: update yarn.lock
* chore: update snapshots
* chore: update deps
* chore: update snapshots
* fix: left menu
* test: add label prop to NavLink test
* chore: PR tweaks
2024-05-07 14:01:26 +01:00
Bassel Kanso
ab41b2e7ac
Merge branch 'v5/main' into v5/replace-axios
2024-05-06 21:48:47 +03:00
Mark Kaylor
1d3baa5a5c
fix(history): adjust condition to display missing relations
2024-05-06 14:22:06 +02:00
Madhuri Sandbhor
63d70071de
chore: moved cms components from DS to admin ( #20242 )
...
* chore: move all CMS components from DS to admin
* fix: eslint config
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-06 09:29:44 +01:00
Bassel Kanso
6138ca5504
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 16:22:04 +03:00
Rémi de Juvigny
66bc16965f
chore: run lint fix ( #20246 )
2024-05-02 08:28:14 -04:00
Bassel Kanso
0ca752ad99
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 10:52:23 +03:00
Rémi de Juvigny
9d4475b11a
feat: show hidden fields in history frontend ( #20201 )
...
* chore: add configuration to history context
* feat: show fields that aren't in the layout in history
* chore: add renderLayout prop to ComponentInput
* feat: render remaining fields in components
* fix: types
* chore: refactor to composition api
* chore: move renderInput to children
* fix: repeatable components index
* fix: repeatable components toggling together
* chore: move ComponentLayout
* fix: generate temp keys for history values
* chore: delete ComponentLayout
* fix: components with no hidden fields
* fix: add comments
* chore: add comment
2024-04-30 11:53:27 -04:00
markkaylor
4a26739ee0
fix(history): handle sanitization when fetching versions ( #20212 )
...
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2024-04-30 11:33:06 +02:00
Bassel Kanso
6e4752e83e
chore: fix lint issues
2024-04-29 10:14:25 +03:00
Bassel Kanso
fd55682955
Merge branch 'v5/main' into v5/replace-axios
2024-04-29 02:13:48 +03:00
Bassel Kanso
e3ea9f6402
chore: fixing some tests that are not rendering properly
2024-04-26 17:47:13 +03:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 ( #20151 )
2024-04-25 16:17:23 +01:00
Bassel Kanso
dfd5bbf8d6
Merge branch 'v5/main' into v5/replace-axios
2024-04-24 09:41:49 +03:00
Bassel Kanso
620bcfe40d
fix: content-manager build
2024-04-24 08:20:56 +03:00
markkaylor
bdaafbbb3c
chore(history): add api tests ( #20157 )
2024-04-23 10:50:47 +02:00
Bassel Kanso
403e00ab42
Merge branch 'v5/main' into v5/replace-axios
2024-04-18 18:25:23 +03:00
markkaylor
113a853206
fix: add render prop to use VersionInputRenderer ( #20139 )
2024-04-18 14:26:17 +02:00
Rémi de Juvigny
d23c1d5b0e
chore: remove history future flag ( #20131 )
2024-04-17 11:20:32 +02:00
markkaylor
b2d2f81797
feat: add confirmation modal when restoring history version ( #20106 )
...
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-04-17 10:13:36 +02:00
Bassel Kanso
7cf2162702
Merge branch 'v5/main' into v5/replace-axios
2024-04-17 09:26:51 +03:00
Rémi de Juvigny
abaeef8b3c
fix: history design details ( #20122 )
2024-04-16 08:04:19 -04:00
markkaylor
b4f819aae7
feat(history): restore version ( #20102 )
2024-04-16 09:18:33 +02:00
Bassel Kanso
1dd94812c4
Merge branch 'v5/main' into v5/replace-axios
2024-04-15 20:00:47 +03:00
Bassel Kanso
f41be330aa
chore: remove axios from packages and edit some tests
2024-04-15 19:47:36 +03:00
Rémi de Juvigny
63d7006f9e
enhancement: add history license check ( #20099 )
...
* enhancement: add history license check
* fix: add history to default license data
2024-04-12 13:07:16 -04:00
Marc Roig
01a203b446
feat: move rw to plugin ( #19937 )
...
* chore: initiate moving CM to own package
* chore: refactor to handle routes
* chore: init review-workflows-package
* chore: fix build
* chore: refactor review-workflows fe
* chore: fix unit suite
* feat: move rw to plugin
* fix: build
* fix: start up
* chore: clean things up
* fix: peer dependencies
* chore(wip): refactor rw fe
* chore: re-add admin ui
* chore: fix tests & linter
* chore: re-implement drag layer
* fix: type
* feat: review-workflow middlewares
* chore: send params to CM endpoints
* fix: use layout options as well, let that have the final say, just incase
* feat: use doc id and locale for entity assignee and stage
* fix: api tests
* fix: cm updates when we update fields
* chore: cleanup edit-view e2e tests
* fix: build
* fix: useDocumentLayout for RW options
* test: fix fe tests
* fix: ts
* test(e2e): add review-workflow e2e tests
* chore: fix bad import for cli tests
* chore: delete old e2e data
* chore: import EVERYTHING for DTS
* chore: update dataset
* fix: e2e script
* fix: stage permissions
* chore: remove duplicate settings menu link
* fix: workflow middleware
* chore: change permission
* test(e2e): fix RW tests
* chore: ignore dynamic attributes in DTS
Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
* chore: make settings rw e2e run on EE only
* test(e2e): fix them all pls
* fix: admin stage transition uid name
* chore: fix firefox e2e ce tests
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-04-12 10:58:38 +02:00
markkaylor
a1b6aeee27
fix(history): update relations display ( #20081 )
2024-04-10 17:27:04 +02:00
markkaylor
0a031cc777
feat(history): display new and unknown fields ( #20039 )
2024-04-10 14:51:10 +02:00
Bassel Kanso
9e8dcb640e
Merge branch 'v5/main' into v5/replace-axios
2024-04-09 15:07:12 +03:00
Bassel Kanso
7ca9df7f9d
chore: error handling for fetch
2024-04-08 21:43:37 +03: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
Bassel Kanso
65df420943
chore: replacing axios with native fetch
2024-04-08 17:31:38 +03: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
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
Jamie Howard
66039c144d
(content-manager): ask for confirmation of d&p tab change ( #19912 )
...
* feat(content-manager): ask for confirmation of d&p tab change when form is modified
* fix(admin): controlled tabs
* chore(admin): types
* chore: update design-system to 1.17.0
2024-04-04 14:36:25 +01:00
markkaylor
971168147b
chore(history): simplify the meta object ( #19990 )
2024-04-02 13:49:09 -04:00
Josh
56f8262f9d
Merge branch 'v5/main' of github.com:strapi/strapi into v5/main
2024-04-02 10:12:18 +01:00
Josh
660b779c4c
Merge branch 'develop' into v5/main
2024-04-02 10:11:20 +01:00