12382 Commits

Author SHA1 Message Date
Convly
aa9cb0529a Fix the base registry types to fix keyof set to never for empty registries 2023-05-17 12:30:32 +02:00
Convly
c1a3193a83 Remove SchemaUID from the strapi/strapi ts utils 2023-05-17 12:26:02 +02:00
Convly
e0b3603447 Remove global interface type and uids definitions from global.d.ts 2023-05-17 12:25:15 +02:00
Convly
2d32cb1015 Remove the possibility to select a filename and a directory for the generated types 2023-05-17 12:23:56 +02: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
Marc-Roig
72c08abd23
feat: do not delete the last workflow 2023-05-17 10:45:34 +02:00
Marc-Roig
b1c17c3b69
feat: delete workflow service 2023-05-17 10:43:12 +02:00
Marc-Roig
ea370c6386
feat: add delete workflow route 2023-05-17 10:42:07 +02:00
Marc-Roig
8a784993ca
chore: move transaction 2023-05-17 09:42:28 +02:00
Marc-Roig
17b9fd4bf9
chore: udpate jsdocs 2023-05-17 09:40:14 +02:00
Marc-Roig
df8efe760a
fix: entity decorator test 2023-05-17 08:07:18 +02:00
Marc-Roig
763623b7ba
fix: review-workflows tests 2023-05-16 20:06:19 +02:00
GitStart
d6979650f6
Merge branch 'main' into fix/description-min-and-max-characters 2023-05-16 20:07:40 +03:00
Marc-Roig
27a7c9de74
chore: rename functions 2023-05-16 18:30:21 +02:00
Marc-Roig
8a1aadbe10
chore: update jsdocs 2023-05-16 18:30:04 +02:00
Marc-Roig
b1b9c637b0
chore: add jsdocs 2023-05-16 18:24:23 +02:00
Marc-Roig
dd0a8e3f54
chore: cleanup content types 2023-05-16 18:11:27 +02:00
Marc-Roig
dc4d44e2a5
chore: warn about validation using strapi global 2023-05-16 18:10:50 +02:00
Marc-Roig
bdb917071a
feat: add $jsonSuperset operator 2023-05-16 17:52:13 +02: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
Marc-Roig
66eb52aab8
chore: remove enableReviewWorkflows as it is not necessary anymore 2023-05-16 15:32:40 +02:00
Marc-Roig
d0af106201
chore: remove todo 2023-05-16 15:08:11 +02:00
Marc-Roig
3556f5e2f6
chore: PR comments 2023-05-16 15:05:09 +02:00
Marc-Roig
bedebcc7de
fix: rw unit test 2023-05-16 13:45:17 +02:00
Marc-Roig
4030324b1a
chore: improve error text 2023-05-16 13:03:03 +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
Christian
73ef6a5857
Merge pull request #16697 from strapi/feature/ts-factories 2023-05-16 09:34:46 +02:00
Marc
dda3b1b754
Merge pull request #16707 from strapi/feature/review-workflow-update-route 2023-05-15 18:28:17 +02:00
Marc-Roig
7993b225e1
chore: rename assignedContentTypes to contentTypes 2023-05-15 18:11:49 +02:00
Christian Capeans
1254018e0b Add default value to RouterConfig 2023-05-15 18:11:05 +02:00
Christian Capeans
d73bb18381 Improve typings 2023-05-15 17:56:39 +02:00
Marc-Roig
d09df4d47e
chore: remove comments 2023-05-15 17:44:09 +02:00
Marc-Roig
d41390e3a2
tests: validate uid is a visible CT 2023-05-15 17:43:33 +02:00
Christian Capeans
e33d36019d Add todo comment 2023-05-15 17:37:29 +02:00
Convly
4e60b8a21f Fix typo in jsdoc 2023-05-15 17:25:34 +02:00
Convly
d7fa412811 Scope types with modules 2023-05-15 17:22:21 +02:00
Christian Capeans
92f84af23a Undo not necessary changes 2023-05-15 17:21:30 +02:00
Jamie Howard
3ea6733d7d chore(webhooks/EditView): Header, Root and Field layouts 2023-05-15 16:19:32 +01:00
Marc
053642fc66
Merge pull request #16704 from strapi/feature/review-workflow-create-route 2023-05-15 17:17:59 +02:00
Marc-Roig
a86cb01583
fix: update migration to include activated RW CTs 2023-05-15 17:17:39 +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
975be32e96 chore(webhooks/EditView): use formik provider 2023-05-15 15:45:19 +01:00