30539 Commits

Author SHA1 Message Date
Marc
1285ba7ecd
Merge pull request #16759 from strapi/fix/delete-unintentional-folders 2023-05-19 12:40:51 +02:00
Marc
a7b8ad0fd5
Merge branch 'fix/delete-unintentional-folders' into fix/some-folders-cant-be-moved-inside-others 2023-05-19 12:15:06 +02:00
Marc-Roig
1b00e1d8e2
remove logs 2023-05-19 11:22:17 +02:00
Marc-Roig
c266835d04
chore: more logs 2023-05-19 10:35:15 +02:00
Marc-Roig
2ad193e1a3
chore: logs to debug test 2023-05-19 09:35:35 +02:00
Ben Irvin
767f3dbd60 test filtering 2023-05-18 17:17:03 +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
a781a8a368
fix: do not assign result to data folders 2023-05-18 09:39:28 +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
a1a2453c15
chore: rename tests 2023-05-17 17:51:02 +02:00
Marc-Roig
c4b966a03d
chore: rename test 2023-05-17 17:36:39 +02:00
Marc-Roig
15e71b69b0
test: delete of folder does not delete unintended folders 2023-05-17 17:32:00 +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
DMehaffy
1ff71db3f6
Merge pull request #16746 from strapi/fix/marketCSP
Remove all references to airtable assets and switch to market-assets
2023-05-17 05:44:39 -07: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
Marc
73852290ee
Merge pull request #16621 from goodhoko/patch-1 2023-05-17 11:46:04 +02: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
derrickmehaffy
b66bd63a65 remove all references to airtable assets and switch to market-assets 2023-05-16 14:17:58 -07: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
Gustav Hansen
30c2c78008
Merge pull request #16736 from strapi/chore/window-strapi
Chore: Add eslint rule to forbid access to the strapi global
2023-05-16 11:24:31 +02: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
Gustav Hansen
65a8d1965e Chore: Add eslint rule to forbid using strapi as global 2023-05-16 10:56:46 +02:00
Gustav Hansen
a0423a1414
Merge pull request #16732 from strapi/dependabot/npm_and_yarn/vm2-3.9.18
chore(deps): bump vm2 from 3.9.17 to 3.9.18
2023-05-16 10:42:22 +02:00
dependabot[bot]
63451295c8
chore(deps): bump vm2 from 3.9.17 to 3.9.18
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:38:18 +00: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