191 Commits

Author SHA1 Message Date
Josh
96d8ebb0c8 fix: CM media-input browsing 2023-07-10 10:26:01 +01:00
Mark Kaylor
132fc9e4a9 Josh Gustav feedback 2023-07-06 14:48:24 +02:00
Mark Kaylor
1899ac4d42 Add params serializer 2023-07-06 14:48:21 +02:00
Josh
9bc4e05325
Merge pull request #17140 from strapi/fix/useRBAC-infinite-loop 2023-07-03 14:24:55 +01:00
Josh
239d832457 refactor: useAsset query to use folderPath 2023-06-30 08:45:49 +01:00
Josh
885aa13160 refactor: useRBAC hook to stop infinite loop
chore: add test setup to helper-plugin

test: add useRBAC suite

refactor: useRBAC hook to stop infinite loop

chore: shuffle around and add jsdocs
2023-06-29 11:56:36 +01:00
Gustav Hansen
528b451257 Chore: Move plugin permissions into constants 2023-06-20 14:18:34 +02:00
Gustav Hansen
dca5778d8e Chore: Apply eslint import sorting fix 2023-06-12 21:34:07 +02:00
Paul Tiedtke
301e0706b8 chore: upgrade libs to react 18 and fix tests
chore: update snapshots

chore: fix fe tests

chore: update snapshot

Revert "revert react18 (#16793)"

This reverts commit 141d3675ab2c9a8c16eff26406bebef50ecce4c5.
2023-05-22 15:33:31 +01:00
Josh
141d3675ab
revert react18 (#16793) 2023-05-22 12:23:24 +01:00
Josh
bdd0c462a1
chore: update to react18 (#16701)
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de>
2023-05-18 09:41:59 +01:00
Josh
5acae2e2a9 chore: remove tracking mocks 2023-05-05 18:47:48 +01:00
Josh
4134c0e33b refactor: colocate code in helper-plugin features for clearer view
refactor: move Notification logic into helper-plugin

refactor: wip

fix: typo

chore: fix tests

chore: ensure contexts are still exported

Update packages/core/helper-plugin/src/features/OverlayBlocker.js

Update packages/core/helper-plugin/src/features/AutoReloadOverlayBlocker.js

Co-Authored-By: Gustav Hansen <gustav.hansen@strapi.io>
2023-04-26 09:06:18 +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
cf179e35d3
Merge pull request #15831 from strapi/fix/useConfig-returns-null 2023-02-21 09:05:46 +00: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
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
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
85637195bb Chore: Upgrade axios to 1.2.1 2022-12-22 14:43:19 +01:00
Jamie Howard
d2abb0899a Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-19 09:47:05 +00:00
Julie Plantey
80626a65c8 fixed table displayed without assets or folders in BrowseStep + added a test case 2022-12-16 14:54:13 +01:00
Jamie Howard
12eb6ceb69 Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-12 10:07:23 +00:00
Jamie Howard
268efc629f chore(upload): review feedback 2022-12-12 10:05:22 +00:00
Gustav Hansen
a19579634c useEditAsset: Send folder.id instead of full folder object 2022-12-06 12:12:58 +01:00
Jamie Howard
c0f7a4cea6 Merge remote-tracking branch 'origin/feature/media-library-ctv' into feature/media-library-ctv-front 2022-11-15 11:33:35 +00:00
Jamie Howard
d7e3db84b6 chore(upload): test setup 2022-11-14 16:27:25 +00:00
Cooper Floyd
7c919b1e79 prevent caption and alternativeText from automatically populating with file name on upload 2022-11-04 13:48:23 -05:00
Jamie Howard
e6ca645460 feat(upload): configure the view in media library
test(upload): useConfig hook
2022-11-03 11:20:37 +00:00
Gustav Hansen
f916756a7e ML: Fix folder prop-types 2022-10-24 16:30:54 +02:00
Jamie Howard
11a193c8dc
Merge pull request #14463 from strapi/fix/search-encoding
Fix search query encoding
2022-10-04 16:46:00 +01:00
Jamie Howard
0f69f833b9 fix(helper-plugin): search query encoding 2022-09-23 10:14:48 +01:00
Convly
d4688c716a Fix instanciate => instantiate 2022-08-31 11:46:43 +02:00
Gustav Hansen
6da2461d3c BulkMoveButton: Fix prop-types 2022-08-23 13:55:54 +02:00
Alexandre Bodin
17866010b7 Apply no promise return 2022-08-11 10:20:50 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Julie Plantey
2774384c89 breadcrumbs in upload page 2022-07-31 16:39:47 +02:00
Gustav Hansen
887e7b8f7c ML: Add useTracking mocks in tests 2022-07-27 14:11:22 +02:00
ronronscelestes
967558c47f fixed tests 2022-07-05 12:04:13 +02:00
ronronscelestes
fd084ce96e Merge branch 'features/ML-folder' of https://github.com/strapi/strapi into ML-folder/track-events-front 2022-07-04 16:49:23 +02:00
ronronscelestes
45086ec764 didSelectAllMediaLibraryElements, didFilterMediaLibraryElements, didSortMediaLibraryElements, didSearchMediaLibraryElements, didAddMediaLibraryFolders 2022-06-23 10:54:13 +02:00