14118 Commits

Author SHA1 Message Date
Jamie Howard
52742fc75d
fix: wrong jobs value after removing a task (#21606)
Co-authored-by: Joel Tafilaj <158201282+jotafilaj@users.noreply.github.com>
2024-10-08 12:09:26 +01:00
Rémi de Juvigny
80bde34977
fix: history cron job breaking on mysql (#21616)
* fix: history cron job breaking on mysql

* fix: backend unit test

* fix: use js date instead of string
2024-10-08 06:04:23 -04:00
Marc Roig
840550dc97
feat: preview config (#21561)
* feat: base files for static preview

* feat: preview config

* Update packages/core/content-manager/server/src/preview/routes/index.ts

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

* chore: empty handler

* chore: comment controllers type

* fix: remove is enabled check from load

* feat: test preview config

* chore: refactor type

* fix: pr comments

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-07 21:16:25 +02:00
SamPhillemon
c7c382f99a
Merge branch 'develop' into fix/issue_21600 2024-10-07 19:38:42 +05:30
Bassel Kanso
2e432e278a
Merge pull request #21578 from strapi/fix/install-shown-on-v4-plugins
fix: copy button shown on v4 plugins
2024-10-07 13:12:28 +03:00
SamPhillemon
c04ac81b22
Merge branch 'develop' into fix/issue_21600 2024-10-07 15:34:22 +05:30
Rémi de Juvigny
dc3f54929b
fix: history trying to restore components that were deleted (#21559)
* fix: reenable history api tests

* fix: history trying to restore components that were deleted

* Update tests/api/core/content-manager/content-manager/history/history.test.api.ts

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>

* chore: refactor to deselect component ids at version creation

* Revert "fix: reenable history api tests"

This reverts commit a35f61fbc066f8ed4d4053ee99bed5d5c4949312.

* fix: type error

---------

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
2024-10-07 05:59:35 -04:00
Sam-Phillemon9493
b0fd28fc0e
fix: added the neutral800 for the feild title in content builder
Ref: 21600
2024-10-07 14:33:45 +05:30
Simone
df8fc36161
chore: migrate media-library hooks to Typescript (#21554)
* chore: migrate to TS useConfig

* chore: migrate to TS useCropImg

* chore: migrate to TS useRemoveAsset

* chore: migrate to TS useEditFolder

* chore: migrate to TS useMediaLibraryPermissions

* chore: migrate to TS rename-keys

* chore: migrate to TS useFolderStructure

* chore: migrate to TS useBulkRemove

* chore: migrate to TS useModalQueryParams

* chore: migrate to TS useBulkMove

* chore: migrate to TS useAssets

* chore: migrate to TS useEditAsset

* chore: migrate to TS useFolder

* chore: migrate to TS useFolders

* chore: migrate to TS useUpload

* chore: fix review's comments

* chore: fix get call response type
2024-10-07 09:29:08 +02:00
DMehaffy
b558642be8
Merge pull request #21582 from strapi/fix/20907
fix: rename file to remove spec char reserved on windows
2024-10-04 10:54:16 -07:00
Simone
38dcf9a2f0
chore: migrate media-library utils to Typescript (#21532)
* chore: migrate to TS typeFromMime

* chore: migrate to TS toSingularTypes

* chore: migrate to TS prefixPluginTranslations

* chore: migrate to TS prefixFileUrlWithBackendUrl

* chore: migrate to TS moveElement

* chore: migrate to TS getTrad

* chore: migrate to TS getFileExtension

* chore: migrate to TS containsAssetFilter

* chore: migrate to TS displayedFilters

* chore: migrate to TS downloadFile

* chore: remove findRecursiveFolderMetadatas because is unused

* chore: migrate to TS appendSearchParamsToUrl

* chore: migrate to TS formatBytes

* chore: migrate to TS formatDuration

* chore: migrate to TS urlYupSchema

* chore: migrate to TS urlsToAssets

* chore: migrate to TS rawFileToAsset

* chore: migrate to TS getFolderURL

* chore: migrate to TS getFolderParents

* chore: migrate to TS createAssetUrl

* chore: migrate to TS findRecursiveFolderByValue

* chore: migrate to TS getAllowedFiles

* chore: migrate to TS getBreadcrumbDataCM

* chore: migrate to TS normalizeAPIError

* chore: migrate to TS getAPIInnerErrors

* chore: migrate to TS getBreadcrumbDataML and change the utils imports

* chore: fix export from index

* chore: reduce the errors type definition

* chore: change Query type

* chore: change the way utils are exported in the index

* chore: reduce the code in the custom declaration type file
2024-10-04 16:57:43 +02:00
Marc Roig
43e15a3ba8
fix: v5 migration with wrong enum values (#21588)
* fix: migration with bad enum

* fix: types

* chore: comment
2024-10-04 15:54:14 +02:00
Jean-Sébastien Herbaux
39d0386301
Add Back the Deprecated Shared Populate Option for Morph Links (#21549)
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-10-04 15:33:02 +02:00
Ben Irvin
006a21d394
fix: ignore order when checking index diff (#21576) 2024-10-04 15:11:11 +02:00
Jean-Sébastien Herbaux
8ee9efcbbb
Fix Internal Plugin Resolve Path (#21557) 2024-10-04 11:03:09 +02:00
Derrick Mehaffy
5cdc241348 fix: rename file to remove spec char reserved on windows 2024-10-03 12:28:34 -07:00
Bassel Kanso
902e79d1ba fix: add test and don't show tooltip 2024-10-03 21:03:47 +03:00
Bassel Kanso
21c57644b1 fix: copy button shown on v4 plugins 2024-10-03 17:49:46 +03:00
Rémi de Juvigny
0ee68f583f Merge remote-tracking branch 'origin/main' into develop 2024-10-03 12:02:55 +02:00
Marc Roig
475ef78c75
feat: base files for static preview (#21555)
* feat: base files for static preview

* Update packages/core/content-manager/server/src/preview/routes/index.ts

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

* chore: comment controllers type

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-03 10:02:19 +02:00
Rémi de Juvigny
8c4b6f27a0 v5.0.2 2024-10-02 16:33:35 +02:00
Den
959c5589d0
fix: <svg> attribute width="<N>rem" errors in Safari (#21550)
* fix: <svg> attribute width="2rem" error in Safari
I changed the with and height value for all svgs used in the LeftMenu. It was changed from 2rem to 20px. Rem was leading to the error message Error: Invalid value for <svg> attribute width="2rem" in the safari browser.

* fix: <svg> attribute width="1.2rem" error in Safari
I changed the with and height value for all svgs used in the Onboarding. It was changed from 1.2rem to 12px. Rem was leading to the error message Error: Invalid value for attribute width="1.2rem" in the safari browser.

* Update packages/core/admin/admin/src/components/LeftMenu.tsx

Co-authored-by: Simone <startae14@gmail.com>

* 12px => 12

---------

Co-authored-by: Simone <startae14@gmail.com>
2024-10-02 14:24:19 +02:00
Jean-Sébastien Herbaux
7f1333f196
Fix Various Document Service Type Issues (#21533) 2024-10-01 15:45:03 +02:00
Ziyi
34ea768ed0
fix: Create table if it doesn't exist (#21542)
* fix: test create table if it doesn't exist

* fix: return if table doesn't exsist
2024-10-01 15:09:01 +02:00
Archana Agivale
3fed37db71
Fix issue #20597 by adding scroll (#21383)
* fix issue 20597 by adding scroll

* fix: fix for wrong modal height for the component field
Ref: #20597

* fix: added styled component rather than adding style

* fix: fixed lint issues
2024-10-01 10:48:40 +02:00
Archana Agivale
5007ea441d
Fixed issue 20843 : Wrong numbers are displayed media library (#21459)
* fixed issue Wrong numbers are displayed (total assets and folders) when doing bulk action in the Media Library

* fix: fix for wrong number display when bulk action in media library
#20843

* fix: fix test case for wrong number not display in media library
Ref : #20843

* fix: fix eslint issues in CI
2024-09-30 14:30:48 +02:00
Rémi de Juvigny
ebaf1403e4
fix: dynamic zones breaking layout logic (#21483)
* fix: layout panel after dynamic zone

* chore: update test
2024-09-30 04:36:44 -04:00
Ben Irvin
f91d91eef5
chore: upgrade deps and pinned subdeps for CVEs (#21425) 2024-09-27 15:43:24 +02:00
Alexandre Bodin
335b9a2962 v5.0.2-beta.0 2024-09-27 11:14:34 +02:00
Alexandre BODIN
9a4af3a3cc
Merge pull request #21428 from strapi/fix/cm-relations
fix: cm relations
2024-09-27 10:22:45 +02:00
Archana Agivale
dcdeecfbf4
fixed issue 21342: HP logos are misaligned (#21481)
* fixed issue 21342: HP logos are misaligned

* prettier changes done

* reverted last commit

* fix: fix for HP logos alignment issue
#21342
2024-09-27 10:19:25 +02:00
Alexandre Bodin
646ad2aaf2 fix: reordering & load more 2024-09-26 17:06:57 +02:00
Lucas Boilly
4052765aa2
fix: added a gap between the 2 icon buttons (#21449)
* fix: Added a gap between the 2 icon buttons

* fix: updated snapshot
2024-09-26 08:23:20 -04:00
Simone
cefde6fa13
chore: migrate media-library define shared contracts (#21439)
* chore: migrate and create config files for the migration

* chore: migrate test utils to TS

* chore: fix the typo

* chore: fix eslint errors

* chore: define the shared contracts
2024-09-26 11:51:07 +02:00
Dhruv Chheda
69ef78b471
fix: Filter by text field with "&" symbol doesn't work #20271 (#21406)
* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering

* fix: handle special characters in text field filtering
2024-09-26 11:23:47 +02:00
Alexandre BODIN
3c5bc3f353
Merge pull request #19351 from freestingo/feature/add-mariadb-migration-support
fix: add MariaDB support for unique indexes
2024-09-25 20:39:41 +02:00
Alexandre Bodin
b1d7921ddb fix: discard unidirectional 2024-09-25 20:36:40 +02:00
Rémi de Juvigny
deda462b1b
v5.0.1 (#21470) 2024-09-25 11:39:57 -04:00
Ben Irvin
9bc666db2f
Merge branch 'develop' into feature/add-mariadb-migration-support 2024-09-25 17:34:31 +02:00
Lucas Boilly
9f51dccf97
fix: Changed the color of the subtitle (#21453)
* fix: Added a gap between the 2 icon buttons

* fix: Changed the color of the subtitle

* fix: Changed the color of the subtitle

* Update packages/core/content-manager/admin/src/history/components/VersionHeader.tsx

Co-authored-by: Simone <startae14@gmail.com>

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
2024-09-25 10:11:32 -04:00
Alexandre Bodin
56109c4ad2 fix: status computation 2024-09-25 15:44:44 +02:00
Lucas Boilly
a8e30018c0
fix: changed the color of the titles of the panels (#21448)
* fix: Changed the color of the titles of the panels

* Update packages/core/content-manager/admin/src/pages/EditView/components/Panels.tsx

Co-authored-by: Simone <startae14@gmail.com>

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
2024-09-25 08:28:57 -04:00
Rémi de Juvigny
e7af8a5ec7
chore: set up preview feature boilerplate (#21443)
* chore: set up preview feature boilerplate

* fix: admin build
2024-09-25 05:54:59 -04:00
Lucas Boilly
927824c76d
chore: harmonized all button sizes in settings (#21457) 2024-09-25 04:18:18 -04:00
Alexandre Bodin
206912e54c chore: remove comments 2024-09-24 18:48:51 +02:00
Alexandre Bodin
bb39175992 fix: locale on disconnect 2024-09-24 18:43:29 +02:00
Alexandre BODIN
55dabf6295
Merge pull request #21407 from strapi/chore/fixInternalCronTasks
enhancement: change all internal cron tasks to named tasks
2024-09-24 17:22:20 +02:00
Alexandre Bodin
86fea32ae4 fix: locale might be null 2024-09-24 16:23:20 +02:00
Bassel Kanso
565d3e2963
Merge pull request #21421 from strapi/fix/cannot-create-component-from-dz
fix: cannot create component from dynamic zone
2024-09-24 14:08:13 +03:00
Ben Irvin
e43238abaf
fix: drop and create columns and indexes in the correct order (#21402) 2024-09-24 12:52:57 +02:00