7231 Commits

Author SHA1 Message Date
Marc Roig
024626cf43
Releases/4.21.0 (#19854) 2024-03-20 15:12:40 +01:00
Alexandre Bodin
1c6cf2ae9f v5.0.0-alpha.3 2024-03-20 15:08:03 +01:00
Convly
670c292117 Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 14:22:44 +01:00
Alexandre Bodin
de9951b5bd Merge branch 'releases/v5-beta' into v5/main 2024-03-20 13:02:25 +01:00
Josh
e11b6f2e96
chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState (#19847)
* chore(helper-plugin)!: move useRBAC

* chore: get tests working

* chore!: remove auth

* chore!: remove usePersistentState

* fix: refactor building admin package so it shares modules with different entries

* fix: session vs local
2024-03-20 11:39:59 +00:00
Convly
d671c5698d Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 08:51:37 +01:00
Alexandre Bodin
7f3ccd6b24 v5.0.0-alpha.2 2024-03-19 23:16:28 +01:00
Alexandre Bodin
00d0f90934 5.0.0-alpha.1 2024-03-19 23:12:32 +01:00
Simone
bef2911a46
chore(helper-plugin)!: remove stopPropagation (#19846)
* chore(helper-plugin)!: remove stopPropagation

* chore(helper-plugin)!: remove onRowClick util
2024-03-19 17:47:38 +00:00
Simone
e9eabddd69
chore(helper-plugin)!: move getFetchClient and useFetchClient (#19840)
* chore(helper-plugin)!: move useFetchClient and getFetchClient to the admin

* chore(helper-plugin)!: fix prettier errors

* chore(helper-plugin)!: remove useless functions
2024-03-19 15:37:20 +00:00
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
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
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
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
Simone
2b10610286
chore(helper-plugin)!: move getPrefixedId, useAPIErrorHandler, normalizeAPIError and getAPIInnerErrors (#19823) 2024-03-18 15:43:19 +00:00
Jamie Howard
4ea3de8f04
fix(admin): CM access when using custom conditions (#19820) 2024-03-18 14:45:50 +00:00
Convly
b4cd0a26a3 fix: lint 2024-03-18 15:27:17 +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
Convly
bc9f526e2b chore: refine import statements and remove redundant comments 2024-03-18 11:57:32 +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
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
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
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
Josh
1cbd1d1765
feat(admin): create internal history for universal back button (#19746) 2024-03-15 11:18:27 +00:00
markkaylor
782d2acf66
fix(history): save status on version create (#19737) 2024-03-15 11:58:54 +01:00
Simone
85f4bdc214
chore: helper-plugin remove prefixFileUrlWithBackendUrl (#19764)
* chore: remove prefixFileUrlWithBackendUrl from the helper plugin

* chore: move the prefixFileUrlWithBackend in an util inside the admin

* chore: remove commented code
2024-03-14 15:26:13 +01:00
Simone
11079442a1
chore: remove pxToRem and replace it with the returning value of the function (#19771)
* chore: remove pxToRem from the helper plugin utils

* chore: fix prettier errors
2024-03-14 11:18:35 +01:00
Alexandre BODIN
5dca68fa39
Merge pull request #19770 from strapi/v5/database-enh
chore: database enhancements
2024-03-14 10:49:10 +01:00
Josh
0f4345f52f
chore!: refactor filters (#19739) 2024-03-14 08:00:17 +00:00
Simone
794f5522b5
chore: remove getFileExtension and replace it with its code where used (#19762)
* chore: remove getFileExtension and replace it with its code where used

* chore: create a getFileExtension util in upload with its test
2024-03-13 22:54:00 +01:00
Alexandre Bodin
a95285578b chore: database enhancements 2024-03-13 22:13:40 +01:00
Simone
d87468f098
chore: helper plugin remove difference util (#19757)
* chore: remove awaitToJs setHexOpacity wrapAxiosInstance

* chore: move difference util from helper-plugin to admin where it is used
2024-03-13 21:03:55 +01:00