6461 Commits

Author SHA1 Message Date
Gustav Hansen
d6e38a2ad9 Settings: Add client-side name max-length validation 2023-05-19 14:20:55 +02:00
Jamie Howard
2122cf6729 chore(webhooks/ListView): PR feedback 2023-05-19 13:20:27 +01:00
Marc-Roig
12a7ebd000
feat: sort attr on workflow list 2023-05-19 14:18:59 +02:00
Gustav Hansen
0373086a8a Chore: Revert accidental commit 2023-05-19 14:10:05 +02:00
Gustav Hansen
5f126020b3 Settings: Sort workflows by name 2023-05-19 14:10:05 +02:00
Gustav Hansen
624ee834df Settings: Add __tmp_key__ to initial stage state 2023-05-19 14:10:05 +02:00
Marc-Roig
6d04d3277c
fix: tests with unique workflow name 2023-05-19 14:08:12 +02:00
Gustav Hansen
147f6ad9d8 Settings: Prepare list-view to render content-types 2023-05-19 13:15:59 +02:00
Gustav Hansen
18131c4976 Settings: Improve formik setValue usage 2023-05-19 13:15:19 +02:00
Gustav Hansen
8ef9ac959f Settings: Fix workflow POST endpoint 2023-05-19 12:41:14 +02:00
Gustav Hansen
fa3d2175ed Settings: Swap edit and delete, Fix row click 2023-05-19 12:40:42 +02:00
Gustav Hansen
a5758274ca Settings: Reverse isDirty for workflows in creation 2023-05-19 12:39:49 +02:00
Gustav Hansen
bc943683ca Settings: Make workflow.contentTypes a non-required field 2023-05-19 12:39:00 +02:00
Marc
1ba70e1599
Merge branch 'feature/review-workflow-assigned-content-types-routes' into feature/review-workflow-delete-route 2023-05-19 12:05:49 +02:00
Simone Taeggi
95aea1d0ee change schema validation on the frontend 2023-05-19 11:56:58 +02:00
Simone Taeggi
7d716d16f2 remove unused loadash merge 2023-05-19 11:11:25 +02:00
Simone Taeggi
041690d7b5 update snapshot SSO 2023-05-19 11:03:03 +02:00
Simone Taeggi
3fdb517b0b fix backend part of the sso form submission 2023-05-19 11:00:05 +02:00
Gustav Hansen
d8ce77cf25 Settings: Improve content-type multi-select value 2023-05-19 10:53:49 +02:00
Gustav Hansen
0a3b591023 Settings: Use nested multiple select for content-types 2023-05-19 10:53:49 +02:00
Gustav Hansen
6d7fa04d0a Settings: Fix PUT queries in edit view 2023-05-19 10:53:49 +02:00
Gustav Hansen
c4468f267e Merge branch 'main' into feature/review-workflow-multiple 2023-05-19 10:10:28 +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
Marc-Roig
f03406c812
chore: update comment 2023-05-18 16:38:16 +02:00
Simone Taeggi
8a5683256f add the new field in the apis 2023-05-18 16:27:13 +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
Simone Taeggi
c5ab7915d6 implemented the multi select for the sso authentication disabled 2023-05-18 11:41:43 +02:00
Marc-Roig
1f7e67d801
fix: rw unit test 2023-05-18 11:00:50 +02: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
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
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
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