1096 Commits

Author SHA1 Message Date
GitStart
d10a74f576
fix: add type compare in row isSelected condition (#16824)
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com>
2023-06-05 09:59:09 +01:00
Gustav Hansen
d4ff351347 Chore: Update snapshot tests 2023-06-02 15:36:18 +02:00
Gustav Hansen
41885fdd3d Merge branch 'main' into chore/react18 2023-06-01 12:50:17 +02:00
Gustav Hansen
94e4147c4d Chore: Update snapshot tests 2023-05-26 12:50:45 +02:00
Josh
e233d8afdc
feat: introduce useClipboard hook to remove dependency (#16751) 2023-05-23 08:43:35 +01: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
cb68382384
chore: update DS to 1.7.7 (#16770) 2023-05-22 10:08:09 +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
Simone
49a5c205d4
Chore: Replace axios calls with helper-plugin utils (#16628)
* overwrite the Authorization header when passed as config

* replace axios call with fetchClient and remove axios cancel from the admin

* replace axios call in the UseCasePage form

* replace axios with useFetchClient inside the App component for the analytics call

* replace axios calls with the post useFetchClient inside the AuthPage

* remove axios instances inside the CollectionTypeFormWrapper and the SingleTypeFormWrapper

* Replace axios call with useFetchClient inside the Register component

* replace axios call with useFetchClient sinde the urlToFile utils

* remove axios instances inside the useFetchContentTypeLayout

* remove axios instances inside the ComponentSettingsView component

* update test urlToFile

* remove axios as dependency in admin and remove cancel token from ListView

* remove axios dependency from the admin

* revert dependency

* replace the downloadFile axios call with getFetchClient

* remove console log

* fix issue if preferedLanguage is null

* replace axios call with getFetchClient inside the urlToAssets utility

* revert back cancel token inside CollectionTypeFormWrapper

* revert cancel token logic

* add the logic to handle paths without prepending slash

* remove tip for the relative path

* move the fetchMarketplaceProviders util inside the useFetchMarketplaceProviders file

* use fetch instead of useFetchClient for external calls

* remove the control of the preferedLanguage inside the Profile page

* move up useFetchClient call

* refactor normalize url

* add mock getFetchClient in FromComputerForm test

* fix check full url

* refactor fetch

* cleanup code

* fix comments

* fix review comments

* refaactor fetch calls and fix types and format code

* add more info in the documentation

* fix unit tests marketplace and add a constants file shared between the two hooks

* change the import order

* refactor hooks returining type

* move whatwg-fetch import inside the admin-test-util and small refactoring

* fix test, remove comments and remove only
2023-05-17 11:01:28 +02:00
Josh
c1682bf644 chore: bump ds to 1.7.4 2023-05-10 09:17:12 +01:00
Gustav Hansen
9c6c9ad560 Chore: Update snapshot tests 2023-05-08 13:10:30 +02:00
Gustav Hansen
b2e08defbb Chore: Remove styled overwrites 2023-05-08 12:18:14 +02:00
Josh
5acae2e2a9 chore: remove tracking mocks 2023-05-05 18:47:48 +01:00
Josh
ef9ed92c45 chore: update ds@1.7.3 2023-05-04 11:45:05 +01:00
Josh
85b3eeb64f chore: update to DS 1.7.2
chore: add snapshots

chore: update to 1.7.0

chore: fix tests

chore: fix hp & upload tests

chore: fix admin tests

chore: fix user-permissions FE test

chore: update snapshots and helper-plugin

fix: multi-select

chore: bump to 1.7.1

chore: bump to 1.7.2

chore: update snapshots

fix: broken test

chore: update snapshots
2023-05-02 10:23:23 +01:00
Josh
407be7cbbd
Merge pull request #16481 from strapi/chore/refactor-hp-to-features 2023-04-26 09:56:28 +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
Gustav Hansen
092a80bc33 Merge branch 'main' into feature/review-workflow 2023-04-21 13:08:41 +02:00
Simone Taeggi
c9422396ca cleanup the datetimepicker delete fix in a new branch 2023-04-18 17:46:11 +02:00
Gustav Hansen
ca6513aec7 Chore: Update snapshot tests 2023-04-12 13:28:30 +02:00
Mark Kaylor
eb2cf3a987 Fix components not found 2023-04-11 10:21:05 +02:00
Marc-Roig
f8677df6ca Merge branch 'main' into feature/private-s3-bucket 2023-03-23 09:30:04 +01:00
edlefebvre
3b2346c98b
fix(core upload): add missing FR translations (signed) (#16156) 2023-03-21 16:35:20 +01:00
Marc-Roig
456bdcba33 Merge branch 'main' into feature/private-s3-bucket 2023-03-21 14:59:26 +01:00
Josh
fd978f3f79 chore: update snapshots & tests for DS 1.6.6
chore: update tests
2023-03-16 19:44:54 +00:00
Marc-Roig
2f6afb9695 Merge branch 'main' into feature/private-s3-bucket 2023-03-15 12:42:31 +01:00
Tobias Frank
b1e105fca5 move unique key up in hierarchy 2023-03-08 15:29:36 +01:00
Marc-Roig
a271258f79 Merge branch 'main' into feature/private-s3-bucket 2023-03-08 14:19:29 +01:00
Marc-Roig
d4d76865fe update snapshots 2023-03-08 14:19:02 +01:00
Marc-Roig
15b41fe7a4 update snapshots 2023-03-08 11:17:29 +01:00
Marc-Roig
4ef8732caf Merge branch 'main' into feature/private-s3-bucket 2023-03-08 10:56:03 +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
Marc-Roig
8ebd933d51 Merge branch 'main' into feature/private-s3-bucket 2023-02-28 11:53:09 +01: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
Marc-Roig
6e02e3aca1 update test snapshots with no asset query params 2023-02-22 12:08:23 +01:00
Josh
cf179e35d3
Merge pull request #15831 from strapi/fix/useConfig-returns-null 2023-02-21 09:05:46 +00:00
Marc-Roig
162b46e7f9 remove query parameters from asset 2023-02-19 18:08:31 +01: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