33691 Commits

Author SHA1 Message Date
Fernando Chávez
6afedafb5d
fix(content-releases): using lifecycle hooks for delete actions (#19178)
* fix(content-releases): using lifecycle hooks for delete actions when entries are deleted

* Update packages/core/content-releases/server/src/bootstrap.ts

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-01-12 16:24:30 +01:00
Fernando Chávez
3a85dd153e
fix(content-releases): dont allow update on a released release (#19165)
* fix(content-releases): dont allow update on a released release

* fix(content-releases): move logic to services

* fix(content-releases): check if release is published on update

* check if release is released when adding entries

* add test cases

* change tests names
2024-01-12 16:21:58 +01:00
Christian
a75a6b909e
Merge branch 'develop' into Upload-AWS-S3-docs-hotfix 2024-01-12 13:55:17 +01:00
markkaylor
0c6eab7116
Merge pull request #19211 from strapi/fix/publish-scripts
fix(scripts): add skip cache flag
2024-01-12 13:22:07 +01:00
markkaylor
28330b04f5
fix(content-releases): delete release-actions depending on changes to… (#19185) 2024-01-12 13:21:22 +01:00
Mark Kaylor
40dc25729e fix(scripts): add skip cache flag 2024-01-12 12:48:45 +01:00
Josh
e1ede8c55a
feat(strapi): add experimental pluginlink command to CLI (#19143)
* feat(strapi): add plugin:link-watch command to CLI

* chore: skip assertion of strapi project if its the plugin:init command

* fix: add yalc

* fix: add yalc files/folders to ignore list to avoid restarting strapi when using

* chore: don't use run-action on plugin:init

* chore: add yarn dlx command to yarn suggestion
2024-01-11 16:00:54 +00:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
markkaylor
4b33c7a01b
Merge pull request #19198 from strapi/fix/release-action-menu-styles
fix(content-releases): fix ReleaseActionMenu styles
2024-01-11 11:51:38 +01:00
Sébastien Vanvelthem
d9649a4764
ci(perf): update yarn-nm-install action (#18747) 2024-01-11 09:42:47 +00:00
Josh
c626c4234c
chore: update contribution guide to reflect new git process (#19196) 2024-01-11 08:57:03 +00:00
Mark Kaylor
be43aa4d97 fix(content-releases): fix ReleaseActionMenu styles 2024-01-11 09:45:03 +01:00
Josh
eddf037976
chore(admin): data-transfer should be dev dep & peer dep loose (#19192) 2024-01-11 08:02:21 +00:00
Josh
09b9d36b22 Merge branch 'main' into develop 2024-01-10 14:37:01 +00:00
Josh
5e1c15f295
Merge pull request #19136 from strapi/releases/4.17.0
release: 4.17.0
2024-01-10 14:31:20 +00:00
Josh
91ffe59a86 Merge branch 'main' into releases/4.17.0 2024-01-10 14:05:06 +00:00
Mark Kaylor
07112073ac v4.17.0 v4.17.0 2024-01-10 14:46:39 +01:00
Alexandre BODIN
749b32e28c
Merge pull request #19025 from L-Weisz/feature/strapi-init-create-plugins
feat: Automatically Create 'plugins.js/ts' in Config on New Strapi Project Initialization
2024-01-10 09:46:21 +01:00
Simone
0bb09577ca
fix(content-releases): move the check permission to the main App component (#19183) 2024-01-10 09:38:57 +01:00
L-Weisz
0ece62b7f3
Merge branch 'develop' into feature/strapi-init-create-plugins 2024-01-09 17:36:57 +01:00
Leah Weisz
1dbb4b62d9 feat(app-generator): create plugins file when init strapi 2024-01-09 17:36:35 +01:00
Bassel Kanso
f7b9b47085
fix(graphql): revert graphql-upload library to non breaking change version (#19182) 2024-01-09 14:37:29 +00:00
Josh
863b902483
fix(cm): update placeholder in blocks link popover (#19172) 2024-01-09 12:56:09 +00: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
Bassel Kanso
e178f2fd66
Merge pull request #19157 from strapi/revert-18811-chore/bump-graphql-upload-15.0.2
Revert "chore(deps): bump graphql-upload to 15.0.2"
2024-01-09 11:15:54 +02: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
nolliebigspin
a2cdc77e0d fix(docs): add credentials object to upload-aws-s3 example configuration 2024-01-08 15:07:06 +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
Bassel Kanso
b025dffff5
Revert "chore(deps): bump graphql-upload to 15.0.2" 2024-01-05 12:11:47 +02: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
Jean-Sébastien Herbaux
a99ed82a44
Merge pull request #19144 from strapi/fix/undefined-controller-in-startup-telemetry 2024-01-03 16:13:33 +01: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
Rémi de Juvigny
762abbf7f8
chore(sentry): convert to typescript (#19128)
* chore(sentry): convert to typescript

* qa fixes

* josh feedback
2024-01-03 13:51:22 +01: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