943 Commits

Author SHA1 Message Date
Alexandre BODIN
d0b51fbf84
Merge pull request #20615 from strapi/v5/cm-fixes
fix: several UI issues a typos
2024-06-25 16:58:11 +02:00
Rémi de Juvigny
4babf95f0e
fix: main nav fixes (#20626) 2024-06-25 10:49:27 -04:00
Alexandre Bodin
49d033e747 fix: cm component validation 2024-06-25 16:09:16 +02:00
Alexandre Bodin
068381c9c9 fix: content manager error management 2024-06-25 10:10:53 +02:00
Convly
4bc5b35e36 v5.0.0-beta.16 2024-06-24 23:02:36 +02:00
Alexandre BODIN
105cdbf182
Merge pull request #20609 from strapi/v5/fixes
fix: ui
2024-06-24 17:47:38 +02:00
Alexandre Bodin
48555c1304 fix: history empty state add back button 2024-06-24 16:23:43 +02:00
Alexandre Bodin
a1a359742a fix: manage auth in redux store 2024-06-24 11:19:53 +02:00
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