1060 Commits

Author SHA1 Message Date
Tobias Frank
b1e105fca5 move unique key up in hierarchy 2023-03-08 15:29:36 +01:00
Simone Taeggi
eae7fc9b1d chore: update DS to 1.6.5 and fix a unit test 2023-03-08 10:36:08 +01:00
Josh
e438557f17 fix: check if mime or ext are nullish and replace with empty strings 2023-03-07 11:46:03 +00:00
Josh
024758e731 chore: update snapshots for react-select classNames 2023-03-07 08:35:27 +00:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Josh
09ff54bc6e chore: convert Stack components to Flex
chore: update snapshots

chore: convert rest of files to use Flex

chore: fix duplicate import

chore: update snapshots

chore: add eslint rule for stack

refactor: catch other Stack component uses

chore: remove horizontal prop
2023-03-02 10:02:40 +00:00
fuwanhong
73b225f3c7 chore: update zh-Hans translation 2023-02-25 17:07:29 +08:00
fuwanhong
0aa5e6140a chore: update zh-Hans translation 2023-02-25 13:01:47 +08:00
Josh
cf179e35d3
Merge pull request #15831 from strapi/fix/useConfig-returns-null 2023-02-21 09:05:46 +00:00
Gustav Hansen
b335cc8814 EditAssetDialog: Only send the folderId when saving the cropped asset 2023-02-16 14:59:42 +01:00
Josh
9e9547a64e fix: always return an object if data is falsey
test: add test for falsey value
2023-02-15 17:48:51 +00:00
Josh
6b17f8ad12 chore: convert all files to single imports of the DS & icons
chore: remove eslint rule

chore: update snapshots

chore: update snapshots

chore: add eslint rule to stop direct imports apart from v2
2023-02-15 17:23:59 +00:00
Josh
ea31438cc5 fix: provide a default func to validateAssetTypes prop in UploadAssetDialog 2023-02-10 13:28:40 +00:00
Mohamed
04afe667b6 Prevent uploading files that have unallowed file type 2023-02-10 13:19:41 +00:00
Gustav Hansen
8ef88457b3
Merge branch 'main' into fix/api-errors-fe 2023-02-10 12:59:37 +01:00
gitstart
dbd718e10c chore: resolves bug resulting form folder update
Co-authored-by: raph941 <raph941@gmail.com>
Co-authored-by: oxenprogrammer <emmy1000okello@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
2023-02-10 05:56:18 +00:00
Mark Kaylor
f97c352fa0 Update snapshots 2023-02-06 18:24:10 +01:00
Mark Kaylor
4bc7afc769 Update snapshots 2023-02-03 14:48:38 +01:00
Simone
69859fc17e
Merge branch 'main' into enhancement/axios-migration-upload 2023-01-26 18:37:00 +01:00
Simone Taeggi
96a589dfc5 remove the axiosInstance implementation on the upload 2023-01-26 17:31:51 +01:00
Simone Taeggi
ae372c8afb replace axiosInstance in the deleteRequest utils to replace the api calls with the getFetchClient del method 2023-01-26 17:27:50 +01:00
Simone Taeggi
79bb5949bd replace axiosInstance in the EditFolderDialog unit test 2023-01-26 17:03:33 +01:00
Simone Taeggi
aaa91cde7c replace axiosInstance in the MediaLibrary SettingsPagee to replace the api calls with the useFetchClient get and put methods 2023-01-26 16:59:59 +01:00
Simone Taeggi
ab8ffd0686 replace axiosInstance in the useEditFolder hook to replace the api call with the useFetchClient post and put methods and update test 2023-01-26 15:16:24 +01:00
Simone Taeggi
0227276d32 replace axiosInstance in the useEditAsset hook to replace the api call with the useFetchClient post method 2023-01-26 14:53:45 +01:00
Simone Taeggi
97626c4dd4 replace axiosInstance in the useUpload hook to replace the api call with the useFetchClient post method 2023-01-26 13:27:34 +01:00
Simone Taeggi
da5c8f753f replace axiosInstance in the useFolderStructure hook to replace the api call with the useFetchClient get method and update test 2023-01-26 11:18:31 +01:00
Simone Taeggi
16fe20c6ad replace axiosInstance in the useFolder hook to replace the api call with the useFetchClient get method and update test 2023-01-26 10:39:57 +01:00
Simone Taeggi
c2e11e481e replace axiosInstance in the useFolders hook to replace the api call with the useFetchClient get method and update test 2023-01-26 10:26:45 +01:00
Simone Taeggi
d801ed12fe replace axiosInstance in the useConfig hook to replace the api call with the useFetchClient get and put methods and update test 2023-01-25 17:19:19 +01:00
Simone Taeggi
8f0366eac8 replace axiosInstance in the useBulkRemove hook to replace the api call with the useFetchClient get method and update test 2023-01-25 16:26:04 +01:00
Simone Taeggi
40dcc501d4 replace axiosInstance in the useBulkMove hook to replace the api call with the useFetchClient get method and update test 2023-01-25 15:50:29 +01:00
Simone Taeggi
803ff586ab replace axiosInstance in the useAssets hook to replace the api call with the useFetchClient get method 2023-01-25 15:28:28 +01:00
Gustav Hansen
d359e8315e Fix failing tests for BulkMoveDialog 2023-01-25 15:09:21 +01:00
Gustav Hansen
8e9f2b74ed Enhancement: Add API error handling utilities 2023-01-25 13:32:40 +01:00
Julie Plantey
8b135b0725 update video preview size to be the same size as Avatar 2023-01-24 16:55:21 +01:00
Josh
6b43c01732 fix: update to 1.6.1 to fix styling issue with buttons 2023-01-24 14:12:56 +00:00
Josh
e8bc90744d chore: update DS to 1.6.0 2023-01-24 11:34:12 +00:00
Josh
c0ec0b5705 chore: remove only 2023-01-19 13:18:00 +00:00
Josh
fb0f59788a chore: install design-system 1.5.0 2023-01-18 12:07:24 +00:00
Julie Plantey
cbd7802302 Merge branch 'main' of https://github.com/strapi/strapi into enh/ML-listview-video-preview 2023-01-17 15:49:08 +01:00
Julie Plantey
a71300e5dc chore: update tests to component prop refactor 2023-01-17 15:37:47 +01:00
Julie Plantey
14a1565a02 refactor PreviewCell content prop 2023-01-17 15:10:25 +01:00
Josh
d4fee96b43 chore: update snapshots 2023-01-16 17:35:42 +00:00
Josh
f2069063a2
Merge pull request #15458 from strapi/fix/block-unallowed-types-in-media-input 2023-01-16 11:57:52 +00:00
Julie Plantey
e545520bf3 chore: remove unnecessary comment 2023-01-16 12:05:40 +01:00
Julie Plantey
65ac616473 refactor with Initials in CellContent 2023-01-16 11:59:09 +01:00
Julie Plantey
828815e745 Merge branch 'main' of https://github.com/strapi/strapi into enh/ML-listview-video-preview 2023-01-16 11:48:32 +01:00
Josh
7de920548e chore: use getTrad so react-intl works 2023-01-16 10:43:20 +00:00
Josh
7e5bb3b333 fix: filter dropped files before trying to upload 2023-01-16 09:47:15 +00:00