12157 Commits

Author SHA1 Message Date
Marc-Roig
1f7e67d801
fix: rw unit test 2023-05-18 11:00:50 +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
1e3c8036ba
fix: do not activate rw worklfow if not enabled in CTB 2023-05-18 10:14:22 +02: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
Gustav Hansen
b9d1d3589c
Merge pull request #16752 from strapi/feature/review-workflow-delete
Settings: Implement workflow deletion in list-view
2023-05-17 18:40:29 +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
Gustav Hansen
578988ca2f CTB: Remove review workflows feature toggle 2023-05-17 16:27:46 +02:00
Convly
e63e3bee81 Add default type values for component and dynamic zone 2023-05-17 16:26:53 +02:00
Convly
4f8161c665 Introduce Attribute.Any 2023-05-17 16:26:19 +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
Gustav Hansen
d12217cf87 Settings: Render actual workflow name in list-view 2023-05-17 15:22:45 +02:00
Gustav Hansen
cdfdd02d1a Merge branch 'main' into feature/review-workflow-multiple 2023-05-17 15:13:13 +02:00
Gustav Hansen
0f793e862c Settings: Hide delete workflow button on the last workflow 2023-05-17 15:04:17 +02:00
Gustav Hansen
ce34059c78 Settings: Implement workflow deletion 2023-05-17 14:47:10 +02:00
Gustav Hansen
abb82466ca Chore: Add tests for WorkflowAttributes 2023-05-17 14:18:35 +02: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
Gustav Hansen
674c268a6f Settings: Split edit and create views; share workflow attributes 2023-05-17 13:05:38 +02:00
Convly
3ef8a8dc67 Move core types to namespaces and use new UIDs 2023-05-17 12:32:50 +02:00
Convly
2a14902896 Export dynamic UIDs union types based on the registry values 2023-05-17 12:32:14 +02:00
Convly
015dd9ffcc Allow UID.Component to be generic for inferrence 2023-05-17 12:31:23 +02:00
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