36133 Commits

Author SHA1 Message Date
Boegie19
34fcf341ec
fix: test CI/CD building repo 2 times (#21740) 2024-10-10 09:06:53 +02:00
Lucas Boilly
63ac248852
enhancement: ui issues and french translations (#21633)
* chore: ui issues and french translations

* chore: added missing translation

* chore: made it prettier
2024-10-09 12:27:02 -04:00
Convly
e97d870c8f v5.0.4 v5.0.4 2024-10-09 17:08:23 +02:00
SamPhillemon
3e244fdb48
Merge branch 'develop' into fix/issue_21600 2024-10-09 17:29:53 +05:30
Marc Roig
d6fc84a403
fix: loading relations without DP fails after migrating to v5 (#21501)
* fix: loading entries without DP

* fix: time format

* fix: unit test

* fix: set published at with db query
2024-10-09 11:22:11 +02:00
SamPhillemon
90e96c2f49
fix: Removed back button from Role page (#21627)
* fix: removed back button from role page

* chore: removed unused import of back button
#20818

* chore: added prettier and linting changes
#20818

---------

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-10-09 11:07:53 +02:00
Ben Irvin
51d9cfeaec
enhancement: add support for Node 22 (#21467) 2024-10-09 09:52:15 +02:00
Marc Roig
53c97b9b27
fix: update review workflow (#21610)
* fix: update review workflow

* chore: comment

* chore: comment
2024-10-08 15:34:28 +02:00
Marc Roig
002fc78b3c
feat: preview endpoint (#21574)
* 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

* feat: preview endpoint

* feat: preview test

* fix: tests

* fix: api test

* chore: comment

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-10-08 14:23:47 +02:00
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
Gonzalo Andres Garcia
bbe5b7f1f4
feat(cli): add environment list command to cloud cli (#21465)
* feat(cli): environments list
2024-10-07 14:50:58 +02:00
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
Bassel Kanso
62c4d48d34
Merge pull request #21540 from sm0483/fix/users-permissions-plugin-validation-issue
fix: validation issues in the Users & Permissions plugin
2024-10-03 13:23:33 +03:00
Rémi de Juvigny
0ee68f583f Merge remote-tracking branch 'origin/main' into develop 2024-10-03 12:02:55 +02:00
Rémi de Juvigny
c333c395f3
Merge pull request #21563 from strapi/releases/5.0.2
chore: v5.0.2 release
2024-10-03 12:01:03 +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
e1fd9b07b7 Merge remote-tracking branch 'origin/main' into releases/5.0.2 2024-10-02 17:11:03 +02:00
Rémi de Juvigny
8c4b6f27a0 v5.0.2 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
Bassel Kanso
44b2147cf3
Merge pull request #21493 from strapi/enhancement/config-password-rules-u
Config password rules users-permissions
2024-10-02 12:24:52 +03:00
Bassel Kanso
483fc83a30 fix: refactoring validation methods 2024-10-02 12:03:28 +03: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
Ben Irvin
1a60292e6f
test(api): enable graphl and upload tests (#21500) 2024-10-01 11:31:13 +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
Ben Irvin
bdce42ce6e
test(cli): update snapshots for list commands (#21496) 2024-10-01 10:37:37 +02:00
sreerag
9173bce015 test: add unit test for email template schema 2024-10-01 12:29:34 +05:30
sreerag
6fec5eecc2 fix: resolved issue #17536 - incorrect validation for subdomain and callback 2024-10-01 12:19:20 +05:30
sreerag
b74e09ae7d test: add test for provider schema 2024-10-01 12:11:21 +05:30
Bassel Kanso
402e635b13 Merge branch 'enhancement/config-password-rules-u' of https://github.com/strapi/strapi into enhancement/config-password-rules-u 2024-09-30 16:31:38 +03:00
Bassel Kanso
d9c48152d7 fix: remove logs 2024-09-30 16:31:19 +03:00
Bassel Kanso
68b78b685a
Merge branch 'develop' into enhancement/config-password-rules-u 2024-09-30 16:30:11 +03:00
Bassel Kanso
98f1b7f205 feat: use yup.test and make error messages customizable 2024-09-30 16:28:57 +03: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