10181 Commits

Author SHA1 Message Date
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
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
Gustav Hansen
e210edbb38 Chore: Fix eslint errors 2023-05-16 10:57:07 +02:00
Ben Irvin
4029068155
Merge pull request #16706 from marcoautiero/tracking-system-environment-attribute 2023-05-15 16:56:14 +02:00
Jamie Howard
7a4024a1ab test(webhooks): webhook disable 2023-05-15 15:12:19 +01:00
Ben Irvin
55817f5f05
Update packages/core/strapi/lib/Strapi.js 2023-05-15 14:24:13 +02:00
Bassel Kanso
6bbdf94d5c
Merge pull request #16648 from strapi/fix/transfer-pull
Wait for websocket to open only once in transfer pull
2023-05-15 15:20:03 +03:00
Jamie Howard
76ab105dc4 test(webhooks): webhook deletion 2023-05-15 11:42:33 +01:00
Jamie Howard
182af61050 chore: code cleanup 2023-05-15 11:11:50 +01:00
Jean-Sébastien Herbaux
833f017981
Merge pull request #16705 from strapi/fix/generate-admin-user-hash 2023-05-15 09:20:07 +02:00
Gustav Hansen
6345de302d
Merge pull request #16718 from strapi/dependabot/npm_and_yarn/date-fns-2.30.0
chore(deps): bump date-fns from 2.29.3 to 2.30.0
2023-05-15 09:16:49 +02:00
dependabot[bot]
5c17679d9c
chore(deps): bump babel-plugin-styled-components from 2.0.2 to 2.1.1
Bumps [babel-plugin-styled-components](https://github.com/styled-components/babel-plugin-styled-components) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/styled-components/babel-plugin-styled-components/releases)
- [Commits](https://github.com/styled-components/babel-plugin-styled-components/compare/v2.0.2...v2.1.1)

---
updated-dependencies:
- dependency-name: babel-plugin-styled-components
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-14 23:04:46 +00:00
dependabot[bot]
04bd1d9eeb
chore(deps): bump date-fns from 2.29.3 to 2.30.0
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.3 to 2.30.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.3...v2.30.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-14 23:04:03 +00:00
Jamie Howard
9330ba872c feat(webhooks): combine deletion mutations
feat(webhooks): use api error handler

feat(webhooks): add translations
2023-05-12 16:49:08 +01:00
marcoautiero
e79e1f9257 Reintroduce the environment property in the tracking system 2023-05-12 16:53:17 +02:00
Convly
1916c48282 Make sure the admin user email is defined before trying to use it 2023-05-12 15:59:34 +02:00
Jamie Howard
46d50a6b90 feat(webhooks): useMutation for enabled change 2023-05-12 14:08:33 +01:00
Jamie Howard
ace6bb8a16 fix(webhooks): hide delete button when no webhooks to delete 2023-05-12 12:09:29 +01:00
Jamie Howard
e8189e616a feat(webhooks): remove reducer from the list view
feat(webhooks): refactor data fetching
2023-05-12 12:06:27 +01:00
Ben Irvin
e9bb5ccdc4
Merge pull request #16465 from strapi/feature/collection-names-and-ids-uniqueness 2023-05-12 12:40:11 +02:00
Convly
d9277d616b v4.10.5 2023-05-11 18:28:54 +02:00
Jean-Sébastien Herbaux
e348595b8d
Merge pull request #16686 from strapi/chore/ds-175 2023-05-11 18:12:01 +02:00
Ben Irvin
45333fe530
Merge pull request #16634 from strapi/fix/dts-bypass-schema-check 2023-05-11 18:11:38 +02:00
Ben Irvin
6c3d9b662a clean up path logic 2023-05-11 16:34:14 +02:00
Ben Irvin
498c18aade remove trailing dot 2023-05-11 15:26:00 +02:00
Ben Irvin
63560762f9 fix typo 2023-05-11 15:21:41 +02:00
Ben Irvin
35bcad0ae7 handle cases with empty path 2023-05-11 15:15:07 +02:00
Jamie Howard
5cf4ead7eb chore(SettingsPage/Webhooks): move formatValue to the component using it 2023-05-11 12:49:11 +01:00
Josh
9e8ccf93b6 chore: update DS to 1.7.5 2023-05-11 11:02:18 +01:00
Gustav Hansen
aa749f4022
Merge pull request #16675 from strapi/fix/list-view-sort
Fix: Fix toOne sorting in CM list-view
2023-05-11 11:11:48 +02:00
Rémi de Juvigny
bb5c73781f
Merge pull request #16644 from konstantinmuenster/patch-3
Extend CustomFieldServerOptions types
2023-05-10 15:47:22 +02:00
Gustav Hansen
370587f4fb Fix: Fix toOne sorting in CM list-view 2023-05-10 15:08:01 +02:00
Convly
62efe7c12a Merge branch 'releases/4.10.4' 2023-05-10 14:58:38 +02:00
Convly
3f55bac2e7 v4.10.4 2023-05-10 14:46:30 +02:00