2499 Commits

Author SHA1 Message Date
Alexandre BODIN
5f5cb554de
Merge pull request #19906 from strapi/v5/traverse-get-model
chore: remove strapi global from traversal utils
2024-03-25 10:44:06 +01:00
Alexandre Bodin
fed8ac1cb7 chore: remove usage of strapi global in traverse 2024-03-25 08:52:10 +01:00
Alexandre Bodin
78d30d2e60 chore: reintegrate policy logic into core 2024-03-25 08:51:43 +01:00
Alexandre Bodin
e68afb0e1e chore: inverse control of contentAPI sanitize & validate 2024-03-21 22:26:41 +01:00
Alexandre Bodin
eedd4c978a chore: migrate doc plugin to ts 2024-03-21 18:20:12 +01:00
Josh
b278481fa8 Merge branch 'develop' into v5/main 2024-03-21 10:45:15 +00:00
Alexandre Bodin
f8ef062eb5 Merge branch 'releases/5.0.0-beta.0' into v5/main 2024-03-20 16:05:47 +01:00
Alexandre Bodin
4b2e592f77 v5.0.0-beta.0 2024-03-20 16:00:06 +01:00
Alexandre Bodin
894c8f40f3 v5.0.0-alpha.5 2024-03-20 15:54:53 +01:00
Alexandre Bodin
d536f44a9a v5.0.0-alpha.4 2024-03-20 15:44:45 +01:00
Alexandre Bodin
24b9de6705 Merge branch 'releases/v5-beta' into v5/main 2024-03-20 15:19:07 +01:00
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
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
Alexandre Bodin
ce341c366f chore: make i18n plugin a dep & required 2024-03-19 22:18:04 +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
c46976a9da
chore(helper-plugin)!: remove prefixPluginTranslations (#19845) 2024-03-19 16:33:46 +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
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
Marc Roig
858ad95264
chore: remove locale when disabling i18n (#19819)
* chore: remove locale when disabling i18n

* chore: pr suggestion

* fix: unit tests
2024-03-19 09:32:56 +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
Josh
23d1b3801a
chore(helper-plugin)!: remove auto-reload blockers (#19828) 2024-03-18 19:09:41 +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
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
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
82aa22ff29
chore!: remove CheckPermissions component (#19793) 2024-03-18 08:17:42 +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
1cbd1d1765
feat(admin): create internal history for universal back button (#19746) 2024-03-15 11:18:27 +00:00
DMehaffy
93bfd5946b
Merge branch 'develop' into feat/keycloak-grant 2024-03-14 15:09:18 -07: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
Alexandre Bodin
a95285578b chore: database enhancements 2024-03-13 22:13:40 +01:00
Alexandre BODIN
ec8a0ecb9b
Merge pull request #19728 from strapi/v5/entity-service
chore: deprecate entity-service and delegate to document service
2024-03-13 17:03:21 +01:00
Jamie Howard
48a688e1d7
fix(i18n): close modal after successful locale creation (#19755) 2024-03-13 15:58:44 +00:00
Mark Kaylor
7a2a86e65f v4.20.5 2024-03-13 15:49:11 +01:00
Josh
a8498df926
feat(cm): reimplement relations for draft & publish (#19642)
* feat(content-manager): Rework findAvailable and findExisting (#19597)

* feat(content-manager): wip rework findAvailable and findExisting

* chore(strapi): simplify relations controller

* feat(content-manager): entity Id based find available

* feat(content-manager): entity Id based find existing

* fix(content-manager): build issues

* chore(content-manager): cleanup

* fix(content-manager): relations controllers unit tests

* fix(content-manager): improve error handling

* fix(content-manager): simplify findExisting relations logic

* fix(content-manager): clean up types

* fix(content-manager): extend available relation API tests

* fix(content-manager): pr feedback

* feat(content-manager): cover find existing test cases

* feat(content-manager): test that we can only find available relations in the same locale

* fix: wip fix unit tests

* chore(content-manager): pr feedback

* fix(content-manager): use db layer to find relations

fix(content-manager): failing relations tests

* fix(content-manager): find relations test

* fix(content-manager): build issues

* fix(content-manager): return latest status of relations in findAvailable (#19681)

* fix(content-manager): return latest status of relations in findAvailable

* fix(content-manager): share logic for findAvailable and findExisting

* fix(admin): relation tests

* fix(content-manager): clean up types

* fix(content-manager): support status for find exisiting

* fix(content-manager): add status and locale filters to subQuery

* fix(content-manager): ts front and skip relations unit tests

* fix(content-manager): request specific status or get latest using document-metadata

* chore(content-manager): use interface

* fix(content-manager): tidy up target relation subquery

* fix(content-manager): tidy up and skip TS for build issues

* fix(content-manager): return status when requested

* chore(content-manager): dont re type entity service response

* fix(content-manager): use document metadata getManyAvailableStatus

* chore(content-manager): remove mapAsync

* feat: implement relations in the cm (#19702)

* Fix: Relating i18n and non-i18n content types (#19731)

* chore: re-enable e2e relation tests

* fix: return undefined

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-13 10:25:47 +00:00