10449 Commits

Author SHA1 Message Date
Marc
4e17f00e35
Merge pull request #16760 from strapi/fix/some-folders-cant-be-moved-inside-others 2023-05-22 12:40:25 +02:00
Gustav Hansen
fe72e32fe3 Chore: Rename useModels hook to useContentTypes, Add auto mocks 2023-05-22 12:39:13 +02:00
Gustav Hansen
95970ec91b Chore: Use named export 2023-05-22 12:23:52 +02:00
Gustav Hansen
32523eff19 Chore: Refactor useModels to use react-query rather than redux 2023-05-22 12:20:52 +02:00
Gustav Hansen
4d07d9e411
Merge pull request #16742 from strapi/chore/update-licenses
Chore: Update license files
2023-05-22 11:32:40 +02:00
Josh
cb68382384
chore: update DS to 1.7.7 (#16770) 2023-05-22 10:08:09 +01:00
Ben Irvin
eefdae1e5e require matching case for operators 2023-05-22 10:27:39 +02:00
Ben Irvin
6fcad7cf3e update strapi/utils package 2023-05-22 10:26:32 +02:00
Ben Irvin
794654ef7b Merge remote-tracking branch 'originStrapi/main' into fix/clean-filters 2023-05-22 10:23:35 +02:00
Marc-Roig
087ff3765b
chore: create util to check if folder is the same as another one or a child one 2023-05-22 10:06:37 +02:00
Gustav Hansen
3f9b0e3769
Merge pull request #16404 from GitStartHQ/fix/description-min-and-max-characters
fix: Description and min/max characters not visible during error screen
2023-05-19 18:28:51 +02:00
Jamie Howard
4d29bb121c chore(webhooks/ListView): correct translation 2023-05-19 15:33:19 +01:00
Jamie Howard
ba442c4df5 feat(webhooks/EditView): refactor headers input 2023-05-19 15:27:22 +01:00
Jamie Howard
05c1d3ec64 chore(webhooks/ListView): clean up tests 2023-05-19 13:58:22 +01:00
Jamie Howard
e499e4de53 Merge remote-tracking branch 'origin/main' into webhooks/list-view 2023-05-19 13:25:04 +01:00
Jamie Howard
2122cf6729 chore(webhooks/ListView): PR feedback 2023-05-19 13:20:27 +01:00
Marc
1285ba7ecd
Merge pull request #16759 from strapi/fix/delete-unintentional-folders 2023-05-19 12:40:51 +02:00
Ben Irvin
5c5d27247b remove case sensitivity 2023-05-18 17:16:02 +02:00
Jamie Howard
f5bffad6b0 feat(webhooks/EditView): react-query
feat(webhooks/EditView): remove the reducer

feat(webhooks/EditView): disable save button until form is modified
2023-05-18 16:02:27 +01:00
Ben Irvin
6827350469 allow id filter 2023-05-18 17:01:20 +02:00
Marc-Roig
f03406c812
chore: update comment 2023-05-18 16:38:16 +02:00
Marc-Roig
34db3fe237
fix: audit log tests 2023-05-18 15:58:47 +02:00
Jamie Howard
5dfe7abe05 feat(webhooks/ListView): improve mutation logic 2023-05-18 12:42:58 +01:00
Marc-Roig
180d61dc0c
feature: onCommit , onCallback transaction methods 2023-05-18 12:57:47 +02:00
Sébastien Vanvelthem
5d645f2103
chore: align swc usage for test:unit and fix swc/helpers hazards (#16731) 2023-05-18 09:53:07 +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
Ben Irvin
6ffb7f99e1 remove case insensitivity from id check 2023-05-18 10:00:04 +02:00
Ben Irvin
c1cd5b5b90 fix scope 2023-05-18 09:53:02 +02:00
Marc-Roig
4870920918
fix: improve path match on check if folder is movable 2023-05-17 18:08:02 +02:00
Marc-Roig
008d82f8f7
fix: filter folder by eq and startswith 2023-05-17 17:31:38 +02:00
Jamie Howard
5747e3acf4 chore: test cleanup 2023-05-17 15:09:22 +01:00
Jamie Howard
28d36c1250 test(webhooks/ListView): improve element selection 2023-05-17 15:03:44 +01:00
Jamie Howard
8743dc6e7d test(webhooks/ListView): test cases for delete and enable 2023-05-17 12:58:49 +01:00
Jamie Howard
6c4439e7ae test(webhooks/ListView) 2023-05-17 12:47:50 +01:00
Josh
8eec10c6ca
chore: remove react-fast-compare (#16749) 2023-05-17 10:57:47 +01:00
Josh
14c829e273
chore: remove react-test-renderer (#16750) 2023-05-17 10:57:27 +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
GitStart
d6979650f6
Merge branch 'main' into fix/description-min-and-max-characters 2023-05-16 20:07:40 +03:00
Gustav Hansen
432377b2dd Chore: Update license files 2023-05-16 17:43:19 +02:00
Jamie Howard
d983afc313 feat(webhooks/ListView): Refactor state management
feat(webhooks/ListView): improve react-query usage
2023-05-16 16:42:43 +01:00
Jamie Howard
75dd31c598 chore(webhooks/EditView): Refactor events form for composability 2023-05-16 15:29:57 +01:00
Jamie Howard
f12a5e744e chore(webhooks/EditView): Remove isDraftAndPublishEvents prop from WebhookForm 2023-05-16 15:28:13 +01:00
Jamie Howard
dc2f97d1df chore(webhooks/EditView): Remove EventInput 2023-05-16 15:27:33 +01:00
Jamie Howard
e9a4167ffa feat(webhooks/EditView): Add CE and EE Edit View 2023-05-16 15:26:31 +01:00
Jamie Howard
f555f0d1d5 fix(webhooks/EditView): tooltips for publish and unpublish 2023-05-16 10:24:10 +01:00
Gustav Hansen
e210edbb38 Chore: Fix eslint errors 2023-05-16 10:57:07 +02:00
Jamie Howard
3ea6733d7d chore(webhooks/EditView): Header, Root and Field layouts 2023-05-15 16:19:32 +01:00
Ben Irvin
4029068155
Merge pull request #16706 from marcoautiero/tracking-system-environment-attribute 2023-05-15 16:56:14 +02:00
Jamie Howard
975be32e96 chore(webhooks/EditView): use formik provider 2023-05-15 15:45:19 +01:00
Jamie Howard
7a4024a1ab test(webhooks): webhook disable 2023-05-15 15:12:19 +01:00