Convly
ccb2b38bb4
v5.0.0-beta.15
2024-06-24 10:22:34 +02:00
Marc Roig
d4d66d1fc0
fix: incorrect populate when using morph relations ( #20582 )
2024-06-21 15:11:48 +02:00
Convly
b8b91d16eb
chore: v5.0.0-beta.14
2024-06-21 10:28:28 +02:00
Rémi de Juvigny
bbdc5e8aa3
fix: navigation issues ( #20565 )
2024-06-20 08:35:59 -04:00
Fernando Chávez
c89af5f4e3
Merge pull request #20548 from strapi/v5/fix-relations-filters
...
fix(content-manager): fix filters bugs with relations, enums and uids
2024-06-20 13:39:53 +02:00
Fernando Chávez
e7034d01e1
Merge pull request #20557 from strapi/v5/disallow-required-on-relations
...
fix(core): disallow required on relation fields on schemas
2024-06-20 11:37:40 +02:00
Marc-Roig
346110fac1
v5.0.0-beta.13
2024-06-20 09:27:20 +02:00
Fernando Chavez
06f526742a
fix(content-manager): allow required on relations on schema but ignore it
2024-06-19 18:30:38 +02:00
Alexandre Bodin
915ff6c0b2
chore: fix tests
2024-06-19 17:03:50 +02:00
Alexandre Bodin
e5ea1c3e60
fix: cm/i18n/admin rtk issues
...
fix: multiple loading issue in the CM
2024-06-19 15:51:53 +02:00
Convly
a91fff3ff8
v5.0.0-beta.12
2024-06-19 15:22:14 +02:00
Fernando Chávez
e8fcfc5466
Merge pull request #20535 from strapi/v5/fix-not-found-error
...
fix(content-manager): add isFetching to loading check
2024-06-19 11:40:32 +02:00
Fernando Chavez
cdb95f31ee
fix(content-manager): fix filters bugs with relations, enums and uids
2024-06-18 15:57:39 +02:00
Jamie Howard
92fb9e9b23
Component unique fields ( #20427 )
...
* feat: wip component unique fields
* feat: wip component unique fields e2e test
* feat: repeatable component unique fields e2e test
* chore: update contributor docs
* chore: update types
* feat: e2e for repeatables
* chore: pr feedback
* chore: types
* chore(core): clean up entity validator unt tests
* Fix/nested-form-errors (#20496 )
* fix(core): only highlight the relevant repeated values in components
* chore(core): set up component context for dynamic zones
2024-06-18 14:55:34 +01:00
Convly
cefa185d29
v5.0.0-beta.11
2024-06-18 15:12:41 +02:00
Fernando Chávez
e740c642d7
fix(content-manager): only check for isFetching
2024-06-18 11:29:54 +02:00
Fernando Chavez
f1427b0ee2
fix(content-manager): add isFetching to loading check
2024-06-17 10:35:29 +02:00
Fernando Chávez
5b211b3891
chore(content-releases): releases migration to v5 ( #20259 )
...
* 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
* chore(content-releases): v5 migration
* chore(content-releases): remove CMReleasesContainer
* fix(content-releases): singleType works with v5 changes and e2e tests enabled
* fix(content-releases): apply josh & marc comments
* apply comments
* fix(content-releases): tests
* fix(content-releases): create custom populate object for each content type to handle relations
* fix(content-releases): build problem
* fix(content-releases): editing lifecycles
* fix(content-releases): details view table columns
* feat: releases settings (#20354 )
* feat: releases settings
* feat: test nulling default timezone
* chore: refactor tests
* fix: remove async from describe
* chore: OneOf type for response
* chore: move OneOf utility to types package
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
* feat: content releases settings permissions (#20357 )
* feat: releases settings
* feat: test nulling default timezone
* chore: refactor tests
* fix: remove async from describe
* feat: content releases settings permissions
* chore: test for unauthorized role
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
* fix(content-releases): run settings api tests only on ee edition
* fix(content-releases): apply mark comments
* fix(content-releases): remove releases box when there are no releases related to the entry
* fix(content-releases): relation between actions and documents (#20424 )
* fix(content-releases): refactor relation with entries
* fix(content-releases): refactor relation with entries
* fix(content-releases): lint & unit tests errors
* fix(content-releases): add migration for releases actions coming from v4
* fix(content-releases): apply multiple suggestions
* fix(content-releases): new test data for e2e tests
* fix(content-releases): fix test data
* fix(content-releases): handle edge cases
* fix(content-releases): apply marc suggestions
* fix(content-releases): add modified status on validation column
* fix(content-releases): fix releases menu button
* fix(content-releases): use documents middleware instead of db lifecycles
* fix(content-releases): invalidate releases tags on some content manager queries
* fix(content-releases): using contentType utils and make afterDeleteMany lifecycle async
* fix(content-releases): ui fixs
* fix(content-releases): removing not needed axios from releases plugin
* fix(content-releases): invalidate tags on release service
* fix(content-releases): fix dependencies
* feat(release-settings): remove navbar link release purchase page in CE (#20498 )
---------
Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
Co-authored-by: Simone <startae14@gmail.com>
2024-06-13 11:12:38 +02:00
Josh
d53e940834
feat: add client router API ( #20494 )
...
* feat: add client router API
* feat: add addRoute method to router class
* chore: fix broken types
* test: update snapshots
* chore: fix lexical scoping issue
* chore: removed unused exports
2024-06-12 16:33:16 +01:00
Marc-Roig
d4542f0dcc
v5.0.0-beta.10
2024-06-12 14:50:15 +02:00
Rémi de Juvigny
d739cd3dce
feat: add language selector to the blocks code editor ( #20469 )
...
* feat: display code language selector in blocks
* chore: rename syntax to language
* chore: use slate for state
* chore: add blocks e2e test
* fix: unit test
* chore: move language list to constants file
* fix: unused import
2024-06-11 06:05:01 -04:00
Josh
11011e9804
chore: integrate beta.5 of the design-system ( #20431 )
...
* chore: refactor admin
* chore: refactor content-manager
* chore: refactor plugins
* chore: refactor content-releases
* chore: refactor CTB
* chore: refactor i18n
* chore: refactor user-permissions
* chore: refactor upload plugin
* chore: update deps
* chore: fix ci
* chore: design fixes
* chore: update import
Co-Authored-By: Simone <startae14@gmail.com>
* fix: guided home tour check color
* chore: update snapshots
* chore: update to beta.6
* chore: update import
Co-authored-by: Simone <startae14@gmail.com>
* chore: more fixes
* chore: fix import syntax
Co-authored-by: Simone <startae14@gmail.com>
* chore: fixes
* fix(upload): snapshot
---------
Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-06-10 14:50:34 +01:00
Alexandre Bodin
7d7d762918
fix: issue 20086, avoid preloading services during init lifecycles
2024-06-06 16:42:15 +02:00
markkaylor
fae4cffeda
Merge pull request #20439 from strapi/releases/5.0.0-beta.9
...
v5.0.0-beta.9
2024-06-05 16:27:24 +02:00
Mark Kaylor
0a5a7b9147
v5.0.0-beta.9
2024-06-05 16:16:34 +02:00
Rémi de Juvigny
dd3311938a
fix: prevent duplicate history versions on publish ( #20415 )
...
* fix: prevent duplicate history versions on publish
* fix: build failing
* chore: fix e2e tests
2024-06-04 08:28:29 -04:00
Rémi de Juvigny
f09eabe242
feat: customize localization label actions in history ( #20407 )
...
* fix: label actions on history relations
* feat: display custom label action
* chore: use cloneElement
* fix: globe icon showing on on non localized cts
* chore: add todo comment
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: typo in translation
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-06-03 04:37:37 -04:00
Madhuri Sandbhor
20380c3536
fix: validation error fixed for simple errors ( #20395 )
2024-05-31 14:41:47 +02:00
Madhuri Sandbhor
08850ba05e
Fix: bulk publish modified entry status ( #20399 )
...
* fix: updated publication status for modified entry
* fix: handled modified entry to unpublish bulk action along with bulk publish
2024-05-30 14:40:49 +02:00
Simone
1b8629849e
fix(content-manager): pass params to the discard endpoint ( #20384 )
2024-05-30 10:53:07 +02:00
markkaylor
6049796485
fix(content-manager): remove i18n search params when navigating ( #20382 )
2024-05-30 09:24:35 +02:00
Rémi de Juvigny
826f263c58
fix: add clone actions to history ( #20387 )
...
* fix: clone action not appearing in history
* chore: add api tests
2024-05-29 09:09:54 -04:00
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
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
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
Convly
cffa227999
v5.0.0-beta.8
2024-05-22 17:53:58 +02: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
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
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
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
Marc-Roig
a86c75effa
v5.0.0-beta.7
2024-05-08 16:33:08 +02:00
Bassel Kanso
3bc72930fa
Merge branch 'v5/main' into v5/replace-axios
2024-05-08 12:00:18 +03:00