14487 Commits

Author SHA1 Message Date
Marc Roig
66c1011328
fix: cm relation bugs (#19842)
* fix: relations

* fix: hardcode english locale

* fix(cm): don't try and be clever with caching relations

* fix: locale when target is not localized

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-19 14:57:36 +01:00
Josh
49e84a90ad
fix(cm): send status & locale with disconnect array (#19832)
* fix(cm): send status & locale with disconnect array

* fix: backend ids to omit to entry ids

* fix(cm): use id to connect & invalidate form data after updating

* fix: api tests

* fix: cache issue switching tabs

---------

Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-19 12:39:45 +00:00
Marc Roig
5004c4cc5a
feat: disabled dp with content releases (#19756)
* feat: disabled dp with content releases

* chore: export admin test setup (#19794)

* fix: export admin store config

* fix: pr feedback

* fix: move default config fallback

* chore: wip place everything on sub path

* chore: tweak tsconfig to sort build out

* chore: user admin server setup for content-releases

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* chore: fix tests with permissions

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-19 12:36:48 +01:00
Madhuri Sandbhor
0a8a7f1e0e
feat(Releases): Bulk actions renderer (#19749)
* 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

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-19 12:35:41 +01:00
Josh
b17a180f13
chore!(helper-plugin): remove useLockScroll / useClipboard / useFocusWhenNavigate / useQuery / useFocusInputField (#19835)
* chore!: remove useLockScroll & useClipboard

* chore!: remove useFocusWhenNavigate

* chore!: remove useQuery

* chore!: remove useFocusInputField

* chore!: move useQueryParams

* chore: fix tests

* chore: update copy

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* chore: pretty

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-19 09:56:07 +00:00
Bassel Kanso
c2ce153240
Merge branch 'develop' into fix/ctb-not-reloading 2024-03-19 11:50:37 +02:00
Alexandre Bodin
db34007a2f release: 5.0.0-alpha.0 2024-03-19 10:34:28 +01:00
Alexandre BODIN
ceeb3f383c
Merge pull request #19834 from strapi/v5/u-p
chore: update u&p
2024-03-19 09:49:29 +01:00
Alexandre Bodin
3e8b3d565b chore: update u&p 2024-03-19 08:50:23 +01:00
Marc Roig
84d3bb44d6
feat: make relation status handling smarter (#19833) 2024-03-19 08:25:09 +01:00
Josh
95674865d9
chore(helper-plugin)!: move Notifications & AppInfo to admin (#19831)
* chore(helper-plugin)!: move Notifications to admin

* chore(helper-plugin)!: move AppInfo to admin
2024-03-18 21:07:24 +00:00
Simone
96e943ca89
chore(helper-plugin)!: remove getYupInnerErrors (#19825) 2024-03-18 20:44:44 +00:00
Alexandre Bodin
7412893359 Merge branch 'releases/v5-beta' into v5/main 2024-03-18 20:33:17 +01:00
Josh
23d1b3801a
chore(helper-plugin)!: remove auto-reload blockers (#19828) 2024-03-18 19:09:41 +00:00
Alexandre Bodin
5c631acec2 fix: review-workflows nav 2024-03-18 19:58:08 +01:00
Ben Irvin
aa61ab1812
chore: set default log level to 'http' (#19827) 2024-03-18 17:49:58 +00:00
Josh
5863c79318
chore(helper-plugin)!: move useStrapiApp and remove Library / CustomFields (#19822) 2024-03-18 17:29:28 +00:00
Josh
493e2923f5
chore(deps): update some fe deps (#19810)
* chore(deps): update some

* chore: fix tests from deps updates
2024-03-18 17:27:27 +00:00
Bassel Kanso
f0d3c70cbe fix: refetch and update initial state after successful save 2024-03-18 19:11:00 +02:00
Alexandre Bodin
5f05a98acc Merge branch 'releases/v5-beta' into v5/main 2024-03-18 17:12:48 +01:00
Simone
2b10610286
chore(helper-plugin)!: move getPrefixedId, useAPIErrorHandler, normalizeAPIError and getAPIInnerErrors (#19823) 2024-03-18 15:43:19 +00:00
Ben Irvin
60dc0879a3
chore: make default log level http 2024-03-18 16:42:58 +01:00
Jamie Howard
4ea3de8f04
fix(admin): CM access when using custom conditions (#19820) 2024-03-18 14:45:50 +00:00
Convly
06e1c76d19 fix: style 2024-03-18 15:30:32 +01:00
Convly
b4cd0a26a3 fix: lint 2024-03-18 15:27:17 +01:00
Marc Roig
1e7fe8ee8c
fix: failed to dynamically load chunk (#19821) 2024-03-18 15:18:05 +01:00
Fernando Chávez
fc23104120
Merge pull request #19791 from strapi/fix/releases-cache
fix(content-releases): fix cache issues
2024-03-18 14:47:16 +01:00
Simone
1cb89ea8d0
chore!: remove translatedErrors from the helper-plugin (#19814)
* chore: move translatedErrors into the admin

* chore: fix prettier errors
2024-03-18 13:36:43 +00:00
Marc Roig
ee2fca083a
fix: relation positional arguments (#19357) 2024-03-18 13:45:58 +01:00
Marc Roig
8956c051aa
feat: get relation default locale (#19803)
* feat: get relation default locale

* fix: remove unused file
2024-03-18 13:11:00 +01:00
Convly
bc9f526e2b chore: refine import statements and remove redundant comments 2024-03-18 11:57:32 +01:00
Marc Roig
cd4e508b7a
feat: handle db errors on document service (#19806) 2024-03-18 11:39:37 +01:00
Convly
a328275adb Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-18 11:38:17 +01:00
Marc Roig
a2741e3bc6
feat: do not send status relations (#19776)
* feat: do not send status relations

* fix: status contract

* chore: hide D&P status on relations that don't have it

* fix: relations not appearing

* fix: do not show status on relations dropdown

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-18 11:21:30 +01:00
Christian Capeans
8cb962b8dd Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-18 11:11:46 +01:00
Josh
5989f7ef55
chore(helper-plugin)!: move tracking feature (#19809) 2024-03-18 10:09:21 +00:00
Marc Roig
98bdf8e07f
feat: count cm relations (#19804) 2024-03-18 10:49:37 +01:00
Bassel Kanso
2896c5580a fix: reload ctb after save 2024-03-18 11:04:44 +02:00
Josh
07f12e2a1d
chore(helper-plugin)!: move GuidedTour (#19808)
* chore!: remove CheckPermissions component

* chore(helper-plugin)!: move GuidedTour
2024-03-18 08:17:54 +00:00
Josh
82aa22ff29
chore!: remove CheckPermissions component (#19793) 2024-03-18 08:17:42 +00:00
Josh
0ab07bc000
chore(admin): global-error design-updates (#19795) 2024-03-15 17:21:06 +00:00
Josh
7dc4206d08 Merge branch 'develop' into v5/main 2024-03-15 16:11:49 +00:00
Marc Roig
5fff2d3fee
fix: fix cm metadata when dp is disabled (#19792)
* feat: add drag-and-drop to relations

Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>

* chore: spelling mistakes

* chore: fix mainField accessing

* chore: remove comment code

Co-Authored-By: Marc Roig <marc12info@gmail.com>

* fix: metadata

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
2024-03-15 16:36:09 +01:00
Josh
f2e89269f9
chore!: move confirm dialog to admin package and refactor (#19782) 2024-03-15 15:33:24 +00:00
Josh
98ecaa5093
feat: add drag-and-drop to relations (#19788)
* feat: add drag-and-drop to relations

Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>

* chore: spelling mistakes

* chore: fix mainField accessing

* chore: remove comment code

Co-Authored-By: Marc Roig <marc12info@gmail.com>

---------

Co-authored-by: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2024-03-15 15:16:35 +00:00
Ben Irvin
f62c536bfa
test: update d&p snapshot 2024-03-15 15:43:46 +01:00
Fernando Chavez
6c5841280a fix(content-releases): fix cache issues 2024-03-15 15:38:43 +01:00
Josh
4824f73ee0
chore!: remove DynamicTable and move Table (#19781)
* chore!: remove DynamicTable and move Table

* chore: tweak to not filter the array

* chore: fix prettier
2024-03-15 14:32:57 +00:00
Marc Roig
201de5ad3c
feat: document service clone cleanup (#19765) 2024-03-15 14:48:12 +01:00
Josh
1cbd1d1765
feat(admin): create internal history for universal back button (#19746) 2024-03-15 11:18:27 +00:00