36133 Commits

Author SHA1 Message Date
Convly
16a54daf6a fix: refactor object notation type in entity-service sort 2023-12-18 17:36:58 +01:00
Convly
1107713a66 fix: update watch script in core/utils/package.json 2023-12-18 17:36:18 +01:00
Jean-Sébastien Herbaux
4473dccab5
Merge pull request #18883 from strapi/fix/case-insensitive-user-lookup-by-email 2023-12-18 15:27:25 +01:00
Convly
943b055fff feat: flag custom controllers & send related metrics for telemetry 2023-12-18 14:53:53 +01:00
Josh
f38a1037bd
feat(strapi): add experimental plugin:verify command (#19041) 2023-12-18 09:37:23 +00:00
Josh
5404b0b69b
chore: backport fix for relation search (#19070) 2023-12-15 19:08:53 +00:00
Arshia
aa7dc3d222
fix(content-manager): search relations with contains not startsWith (#19043)
* Improved and fixed relational input field search.

* refactor frontend tests for improved RelationInput and userRelation functionality
2023-12-15 16:00:51 +00:00
Fernando Chávez
c469b9f446
Merge pull request #18586 from strapi/feature/content-releases
feat(content-releases): add content releases
2023-12-15 15:24:57 +01:00
Jean-Sébastien Herbaux
9fbf22643f
Merge pull request #19053 from strapi/upgrade-tool/chores 2023-12-15 15:22:57 +01:00
Jean-Sébastien Herbaux
0ad5d099a3
Merge pull request #18811 from josephemswiler/chore/bump-graphql-upload-15.0.2 2023-12-15 10:46:20 +01:00
Marc-Roig
e82829754f
feat: rename document engine 2023-12-14 17:14:24 +01:00
markkaylor
62eeed5e50
Merge branch 'main' into feature/content-releases 2023-12-14 17:13:48 +01:00
markkaylor
fdb3a2d73b
chore(content-releases): update permissions wording (#19059) 2023-12-14 17:13:28 +01:00
Ben Irvin
ce5ef260b7
chore: lint test scripts (#19057) 2023-12-14 16:15:21 +01:00
Simone
ac2c8acb7e
feat(content-releases): Release delete action (#19049)
* implement the delete action

* fix missing prop

* fix type errors

* add translation
2023-12-14 16:00:45 +01:00
Marc-Roig
905e8b770c
feat: extend i18n attributes to every content type 2023-12-14 15:29:06 +01:00
Fernando Chávez
75149a8fce
feat(content-releases): add functionality to publish release button (#19055)
* feat(content-releases): add functionality to publish release button

* apply mark's feedback

* apply simone's feedback
2023-12-14 15:14:33 +01:00
markkaylor
93969787db
feat(content-releases): add delete release action button (#19047) 2023-12-14 12:38:05 +01:00
Convly
dedf0def91 fix: yarn.lock update 2023-12-14 11:57:08 +01:00
Convly
1f39b5b904 fix: make promisify working by mocking the entire file-system 2023-12-14 11:54:11 +01:00
Convly
f646f9ceda chore: revert sentiment update on GIT_CLEAN requirement 2023-12-14 10:52:09 +01:00
Convly
a17f4e8617 fix: make major requirements required 2023-12-14 10:29:30 +01:00
Convly
c56802ae6f Merge branch 'features/upgrade-tool' of github.com:strapi/strapi into upgrade-tool/chores 2023-12-14 10:26:11 +01:00
Fernando Chávez
849c8126fd
feat(content-releases): Add action column to details view (#19046)
* feat(content-releases): add action column to details view

* apply marks feedback

* apply marks feedback
2023-12-14 10:24:41 +01:00
ELABBASSI Hicham
4e6961c7b8
Merge pull request #19020 from strapi/chore/convert-audit-logs-ee-pages
chore(admin): convert auditLogs page to TS
2023-12-14 09:56:47 +01:00
HichamELBSI
c95839be4f chore(admin): Fix PR feedback (round 2) 2023-12-14 09:43:28 +01:00
Alexandre BODIN
da439790ee
Merge pull request #19031 from strapi/v5/core-refactorings 2023-12-13 17:52:58 +01:00
Alexandre Bodin
be13751233 chore: update test script 2023-12-13 17:18:25 +01:00
Simone
9b5e69d822
feat(content-releases): Release Details page (#19026)
* first implementation details page

* refactor code based on comments received

* move the countDays function inside the ReleaseDetails page

* fix unit tests for the Details page

* add padding bottom heading

* fix type errors

* integrate new fields to the Details page

* fix types

* change the way we handle the timepassed since release creation

* fix unit test

* fix review comments

* unit test control table content

* fix review comments

* remove mocking useParams

* refactor provideTags and invalidateTags

* improves in rtk tags and createdBy type

* fix last review comments

* increase warning timeout to solve issues with unit tests

* add AnErrorOccured content if we have errors

* fix type error

* fix condition

* remove new line

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
2023-12-13 15:59:37 +01:00
Alexandre Bodin
4ad8ac0235 chore: return commands to decouple code 2023-12-13 13:15:18 +01:00
HichamELBSI
341ae4df62 chore(admin): Fix PR feedback (round 1) 2023-12-13 11:49:07 +01:00
HichamELBSI
24106a1c69 chore(admin): convert auditLogs page to TS 2023-12-13 11:49:05 +01:00
Josh
240feaeb04
refactor(admin): remove some contexts and use redux instead (#19040)
* refactor(admin): move to use slice over reducer

* refactor(admin): theme into redux

* refactor(admin): remove Admin context

* chore: move api tokens context to its edit view

* chore: move injection zones up to appropriate folders

we never use shared anyway.

* chore: move Configuration to single feature file

* refactor(admin): move language to redux

* chore: add tests for redux slice
2023-12-13 10:04:43 +00:00
Jamie Howard
0d8a6e7cd6
(content-manager): types for data mapper service (#18887) 2023-12-12 15:47:23 +00:00
Madhuri Sandbhor
17801215c6
Feat(blocks): move blocks (#18852)
* feat: updated useDragAndDrop hook to enable DND for blocks where path is not a number but number[], wrapped renderElement with Dnd component to have ability to move blocks around in editor

* fix: useDragandDrop hook updated to accept number[] for moving heirarchy of nodes, cmd/ctrl + shift + up/down arrow to move blocks around using keyboard, set live text on moving blocks for accessibility

* fix: when node is dragged downwards inside list convert it to list-item

* fix: index type updated

* style: margin added to preview block as droppable area needs some height to drop the item

* refactor: updated context, code optimisation, added necessary comments

* docs: updated use-drag-and-drop hook doc

* fix: type NonSelectorBlock

* Revert "fix: type NonSelectorBlock"

This reverts commit c3cb3c15442ba0008c650cbe38e993b0aa44817c.

* fix: block value type

* fix: type of onMoveItem() in useKeyboardDragAndDrop

* fix: selection issue resolved, ondragstart styling updated, grab cursor added back, missing comments added

* update: VisuallyHidden with aria-hidden attr added

* fix: minor fix

* update: link block dropped from dnd, test cases updated

* fix: if list node is empty after dragging remove it, drag handle aligned at the start

* update: link is inline block so skip wrapping dnd component

* Update: comment

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>

* fix: types updated, disabled state managed for drag item

* update: IconButton is used for drag handler, refered getAttributesToClear from utils

* update: on drop blocks are moved, updated useDragAndDrop hook and related changes, instead of blue line showing border box around drop target for now

* update: canDrag, canDrop options removed, as its not required for onDropItem()

* fix: dragging is enabled only on drag button

* fix: quote block padding and margin reduced

* update: useDragAndDrop hook doc

* update: useDragAndDrop hook doc with onDropItem usage

* update: drop placeholder added

* fix: missing condition check added

* update: useDragAndDrop hook doc

* update: useDragAndDrop and useKeyboardDragAndDrop hook converted to TS, styling changes related to list and quote

* fix: types updated for useDragAndDrop hook, tooltip disabled for drag button

* fix: mock event typecasted as its not possible to add all required props for type event

* fix: deleted useDragAndDrop js file

* fix: drag handle is made visible on hover, hide on selection change

* fix: history undo

* fix: dragging block into list-item, drop item at right position

* fix: placeholder margin adjusted for list items

* fix: cloned drag item extracted

* fix: dragging list-item out of block downward

* chore: refactor dnd hook to use generics (#18994)

* fix: required block types exported, manual id creation replaced with useId

* update: drag handle top margin added for few headings

* fix: extended useDropAndDropOptions callback types, comments updated

* fix: drag handle top margin added for all required blocks, selection bug fixed

* fix: reordering between different list-items

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-12-12 15:51:37 +01:00
Josh
c8f63ff188
refactor(cm): remove collection-type form wrappers (#19036)
* refactor(cm): remove collection-type form wrappers

* fix: bad import in DeleteLink

* test(e2e): tweak url we expect to wait for
2023-12-12 14:22:47 +00:00
Bassel Kanso
d4fa995454
Merge pull request #19027 from strapi/upgrade-tool/minor-patch
Upgrade tool minor and patch commands
2023-12-12 15:53:37 +02:00
Josh
5582657cb6
chore(generator): add runtime dir to gitignore (#18978) 2023-12-12 12:52:29 +00:00
Bassel Kanso
fec3b08033 fix: re-add type casting 2023-12-12 13:27:02 +02:00
Bassel Kanso
315452778c fix: use major and minor instead of premajor and preminor 2023-12-12 13:24:58 +02:00
Rémi de Juvigny
a3bd0451c5
doc(pack-up): fix config file name in readme (#19037) 2023-12-12 12:08:25 +01:00
markkaylor
5bfbd8c659
refactor(content-releases): update findMany actions (#19006) 2023-12-12 10:43:39 +01:00
Alexandre Bodin
8bf56b0d72 chore(strapi/strapi): simplify code 2023-12-12 09:57:35 +01:00
Alexandre Bodin
495fe3fe78 chore(content-manager): update test and snapshot 2023-12-12 09:48:49 +01:00
Bassel Kanso
8a84ee15e6 feat: add minor and patch commands 2023-12-12 00:08:46 +02:00
Josh
d23325640d
chore(cm): convert list-view to TS (#19016)
* chore(cm): convert list-view to TS

* chore: fix broken tests

* chore: remove separate recursive paths and unify
2023-12-11 18:51:25 +00:00
Fernando Chávez
32d0c4f02d
feat(content-releases): Delete a Release (#19000)
* feat(content-releases): delete a release endpoint

* feat(content-releases): delete actions when deleting a release

* feat(content-releases): apply mark's feedback

* feat(content-releases): use transaction for delete a release
2023-12-11 19:03:53 +01:00
Alexandre BODIN
1b654d7f4f
Merge pull request #18927 from strapi/v5/core-split 2023-12-11 07:29:25 -08:00
Jean-Sébastien Herbaux
438091e28a
Merge pull request #19011 from strapi/fix/types/es-relation-input 2023-12-11 15:04:27 +01:00
Jamie Howard
1f94748146
fix: wrapAxiosInstance.test (#18382) 2023-12-11 12:23:15 +00:00