12906 Commits

Author SHA1 Message Date
Alexandre Bodin
02a374ff4e chore: simplify dependencies 2024-01-09 13:23:50 +01:00
Alexandre Bodin
ee77c912f0 chore: fix minor ts issues in cli 2024-01-09 13:16:44 +01:00
Josh
8aac0893a9
chore: update ds 1.14.1 (#19179) 2024-01-09 11:40:22 +00:00
Josh
170799d29c
fix(helper-plugin): memoize GenericInput for performance issues (#19177)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-01-09 10:59:30 +00:00
Simone
00f3e14308
fix(content-releases): change the submit button action name on edit (#19167)
* fix(content-releases): change submit label on the release edit modal

* fix(content-releases): disable button if the input name is empty

* fix(content-releases): use location to identify if the modal is on create or edit

* fix(content-releases): change variable name and logic for the button labels based on review comments

* fix(content-releases): change translation content for the Modal title and button
2024-01-09 11:30:25 +01:00
Simone
a5f9f4b678
fix(content-releases): handle the lastname null in the createdBy content (#19174) 2024-01-09 11:29:03 +01:00
markkaylor
be8c5a115d
fix(content-releases): update options to match designs (#19171) 2024-01-09 10:07:14 +01:00
Fernando Chávez
cf88e1ba2e
enhancement(content-releases): add new status column to Release Details (#19154)
* enhancement(content-releases): add new status column to Release Details page

* fix lint & ts errors
2024-01-09 08:58:32 +01:00
Ben Irvin
7d13a12c99
feat: Upgrade Tool
* feat: upgrade tool refactor for updated specs (v5)
* chore: format code (prettier)
* chore: remove debug comments
* feat: upgrade the strapi dependencies in project's package.json
* feat: install dependencies during the upgrade process
* chore: fix lint issue
* chore: rephrase requirement sentence's sentiment
* feat: add a --yes option for the upgrade CLI
* enh: make properties readonly to avoid mutations
* chore: adding better logs to the upgrade CLI
* chore: remove unused import
* feat: add minor and patch commands
* fix: use major and minor instead of premajor and preminor
* fix: re-add type casting
* fix: make major requirements required
* chore: revert sentiment update on GIT_CLEAN requirement
* fix: make promisify working by mocking the entire file-system
* fix: yarn.lock update
* feat: Select and run codemods only (#19083)
* chore: add unit tests for upgrader tasks
* fix: rename tests
* chore: Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts
* chore: Add unit tests for upgrade tool (#19056)
* chore: move example codemods (#19156)
* chore: fix yarn.lock
* fix: sync glob versions
* chore: add comment
* chore: update docs

---------

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
2024-01-08 11:26:27 +01:00
Rémi de Juvigny
25d2a8ffa1
fix: display nested components in edit view (#19160)
* add nested component in getstarted dz

* fix: display nested components in edit view

* chore: add comment
2024-01-05 13:50:10 +00:00
Ben Irvin
3a87f3cd99
enh: add types for project configuration files
Add types for project configuration files

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
2024-01-05 10:36:54 +01:00
Jean-Sébastien Herbaux
f6ae15bd8b
fix(types): attributes filtering when no registries are extended (#19145)
* fix: improved registries extensions detection & attribute filtering

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>

* chore: remove unnecessary ts-expect-error directives

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-01-04 14:21:17 +00:00
markkaylor
29255bc953
feat(content-releases): group release actions by property (#19097)
* feat(content-releases): group release actions by property

* fix: remi feedback

* feat: sort findMany actions

* chore(content-releases): group by UI for content releases (#19133)

* feat(content-releases): group by UI for content releases

* apply remi's and josh's feedback

* remove unnecessary types

---------

Co-authored-by: Fernando Chávez <fernando.chavez@strapi.io>
2024-01-04 10:18:21 +01:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +00:00
Madhuri Sandbhor
68e91e14ec
feat(blocks): Ability to expand blocks input (#19125)
* tests: added

* fix: styling changes, variable renaming, test case updated

* fix: removed focus as its not needed

* tests: added default context value

* tests: added missing context prop

* fix: build process errors from merger

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-01-03 14:21:27 +00:00
Madhuri Sandbhor
cc76d35eed
fix(Blocks): remove pop up link and reopening on save/publish (#19052)
* feat: show remove button in the same pop-up, remove edit pop-up

* update: link validation added on popup save click

* fix: opening link pop-up check restricted to add a link via toolbar

* minor changes

* fix: disable save state on invalid link input

* fix: remove timeout

* update: added event type

* fix: build process errors from merger

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-01-03 14:00:32 +00:00
Convly
0e1d097bba fix: avoid undefined controllers in telemetry checks 2024-01-03 14:55:00 +01:00
Fernando Chávez
73686d4847
fix(content-releases): fix test (#19142) 2024-01-03 13:18:01 +00:00
Josh
966723fe56
chore: update ds to 1.14.0 (#19138) 2024-01-03 10:06:15 +00:00
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