14487 Commits

Author SHA1 Message Date
Josh
30ae2308e8 fix: build process errors from merger 2024-01-03 09:13:19 +00:00
Josh
22f3123e94
refactor(admin): add auth provider & move to use redux-toolkit-query (#19062)
* feat(admin): add Auth feature

* refactor: authentication to use redux-toolkit

* chore(admin): convert admin data-fetching to use redux-toolkit-query

* chore: add docs

* fix: default logo would not show on login page

* fix: app flashes on logout

* fix: logout should work across browsers
2024-01-02 17:01:58 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Fernando Chávez
77f850f895
Merge pull request #19089 from strapi/feat/delete-release-action
feat(content-releases): delete release action on release page
2024-01-02 13:48:17 +01:00
Jamie Howard
9fa86dd22b
(content-manager): types for permission checker service (#19068)
* feat(content-manager): WIP types for permission checker

* fix: PR feedback
2024-01-02 09:38:40 +00:00
Simone
5ee4c898ad
fix(content-releases): redirect to the list page when we have errors in the Details page (#19078)
* redirect to the list page when we have errors from APIs

* replace push url with the Redirect component

* add the Redirect state and show a notification error when try to navigate a delete release

* fix review comments

* fix double notification for the same error
2023-12-22 14:29:49 +01:00
Simone
399a5d7422
fix(content-releases): empty Details page add a button to the CM (#19095)
* refactor the content of Releases page when there are no entries

* move the new content in the Details page

* fix type errors

* fix translation errors
2023-12-22 11:40:01 +01:00
Simone
28dd017262
fix(content-releases):disable edit and delete buttons in the Details page when you don't have permissions (#19099)
* add the disable permissions and style to the edit and delete buttons

* fix review comments and add unit test

* fix type errors

* remove useless Icon

* add satisfies to define Permissions type
2023-12-22 11:38:07 +01:00
Simone
1832540151
fix(content-releases): CM add Release add content when there are no releases (#19096)
* add the message when there are not releases in the Add to releases modal with a button to the releases list page

* fix review comments

* apply review comments
2023-12-22 11:09:40 +01:00
Simone
b3e0f9335c
add the Divider in the Releases list page (#19090) 2023-12-22 11:07:45 +01:00
Simone
e6a1663ead
fix(content-releases): remove Refresh button from the details page (#19067)
* remove the refresh button from the Details page because the logic is not implemented yet

* remove comments
2023-12-22 11:07:18 +01:00
Simone
515a292046
remove-padding-bottom-and-useless-box (#19066) 2023-12-22 10:46:12 +01:00
Jean-Sébastien Herbaux
c69b335b1d
Merge pull request #19093 from strapi/fix/types/es-params-inference-mapped-types 2023-12-21 18:21:35 +01:00
Convly
01e89d1a40 fix: remove conditionals for attribute filtering, causing infinite recursion 2023-12-21 16:18:11 +01:00
Convly
b887f1aa47 v4.16.2 2023-12-21 15:53:18 +01:00
Convly
a6bca44db5 chore: remove unnecessary dependency from data-transfer package 2023-12-21 15:44:12 +01:00
Mark Kaylor
af13d4e056 v4.16.1 2023-12-21 15:23:45 +01:00
Jean-Sébastien Herbaux
8a2684845c
Merge pull request #19100 from strapi/releases/4.16.0 2023-12-21 14:03:58 +01:00
Convly
84d5b5f2a0 fix: use an intermediary mapping step to fix the UID distribution during generic inference 2023-12-21 13:41:07 +01:00
Convly
336b8c7c3e enhancement: allow to configure AttributeUtils.GetValue guard 2023-12-21 10:41:54 +01:00
Alexandre Bodin
8fde111aa9 Fix dep issue 2023-12-21 09:51:10 +01:00
Alexandre BODIN
4586650c2a
Merge pull request #19091 from strapi/v5/refactor-admin-cmds
chore: move commands from admin back to strapi/strapi
2023-12-20 22:14:07 +01:00
Jean-Sébastien Herbaux
268318f748
Merge pull request #19081 from strapi/enhancement/custom-controllers-telemetry 2023-12-20 17:33:57 +01:00
Mark Kaylor
b8acb528cd v4.16.0 2023-12-20 15:52:24 +01:00
Convly
64d75d007f enhancement: add a second conditional to full-proof the sort inference 2023-12-20 15:35:31 +01:00
Alexandre Bodin
3124f474fe chore: move commands from admin back to strapi/strapi 2023-12-20 11:38:58 +01:00
Convly
19d8bbb355 chore: rename mapped type's iterator (guidelines) 2023-12-19 16:26:02 +01:00
Convly
d69ae78526 fix: type inference issue with generic parameters in mapped types for filters' object notation 2023-12-19 16:18:48 +01:00
Convly
b2905acaea chore: fix typo in types/utils/array/Values 2023-12-19 16:17:27 +01:00
Mark Kaylor
4d6d68b218 feat(content-releases): delete release action on release page 2023-12-19 14:56:11 +01:00
Josh
bdcd983c3d
fix(tooling): use nx to build & clean (#19084)
* remove pre-publish scripts

* fix: use nx to clean & build
2023-12-19 13:21:33 +00:00
Jamie Howard
b5711d6f61
[Content manager] Refactor useContentManagerInitData to remove ModelsContext (#19042)
* feat(admin): refactor useContentManagerInitData and remove ModelsContext

* chore(content-manager): cleanup

* fix(admin): restore the redux store

* fix(admin): restore the redux store GET_INIT_DATA

* chore(admin): reintroduce redux breaking changes for v5

* fix(admin): test snapshot
2023-12-19 09:44:29 +00:00
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
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
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
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
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
HichamELBSI
c95839be4f chore(admin): Fix PR feedback (round 2) 2023-12-14 09:43:28 +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