11019 Commits

Author SHA1 Message Date
Marc-Roig
3720a7fa8c feat: sanitize excludeNotCreatableFields 2023-06-22 08:11:59 +01:00
Josh
be77eea6b7 refactor: remove workaround for relations
it's not needed
2023-06-22 08:11:50 +01:00
Josh
6283e43000 fix: use the specific clone route to post the new entity when finished cloning 2023-06-22 08:11:50 +01:00
Josh
99f6e71df8 fix: wrong operator used for searching 2023-06-22 08:11:50 +01:00
Josh
1c0b4f14ba chore: add plugin query params to request 2023-06-22 08:11:31 +01:00
Josh
cef57c7841 chore: add tests 2023-06-22 08:11:31 +01:00
Marc-Roig
14fc4028e7 feat: find the origin & only load to modified data under the clone route
chore: pr amends from bad rebase
2023-06-22 08:11:31 +01:00
Marc-Roig
616c2283a5 fix: prohibited fields error message 2023-06-22 08:11:11 +01:00
Josh
889a183706 chore: pr fixes
chore: tidy ups
2023-06-22 08:11:11 +01:00
Josh
c7363e4feb feat: add clone entity on click in table redirect if not possible 2023-06-22 08:10:49 +01:00
Marc
28252dfa94 chore: remove todo 2023-06-22 08:00:14 +01:00
Marc
a6f4afeda6 refactor: change cloneRelations cloneAttrs format 2023-06-22 08:00:14 +01:00
Marc
b1d780bebb update lock 2023-06-22 08:00:14 +01:00
Marc-Roig
4d79a359bd feat: compute omitIds 2023-06-22 07:59:49 +01:00
Marc-Roig
49f290ff97 feat: add omitIds 2023-06-22 07:59:49 +01:00
Marc-Roig
e6b1b53db9 refactor: move clone utils to controller 2023-06-22 07:59:49 +01:00
Marc-Roig
06bb305691 feat: admin clone controller 2023-06-22 07:59:49 +01:00
Marc-Roig
75c0450400 feat: admin clone route 2023-06-22 07:59:49 +01:00
Marc-Roig
fa42b89891 feat: clone method 2023-06-22 07:59:49 +01:00
Marc-Roig
ccb4b2ab38 test has prohibited cloning fields 2023-06-22 07:59:49 +01:00
Marc-Roig
6d514aaffd implement hasProhibitedCloningFields 2023-06-22 07:59:49 +01:00
Marc-Roig
3702d0a320 do not clone null components 2023-06-22 07:59:49 +01:00
Marc-Roig
1cc853a5eb clone components 2023-06-22 07:59:49 +01:00
Marc-Roig
460099408b remove todos 2023-06-22 07:59:49 +01:00
Marc-Roig
9ec082fa72 add files in cloning 2023-06-22 07:59:49 +01:00
Marc-Roig
292ae24aea update relations inside clone relations 2023-06-22 07:59:48 +01:00
Marc-Roig
d81131ce8a clone method 2023-06-22 07:59:48 +01:00
Marc-Roig
a8af01763c rename merge with customizer variables 2023-06-22 07:59:48 +01:00
Marc-Roig
76eb559466 clone entity 2023-06-22 07:59:48 +01:00
Marc-Roig
4c310e5659 polymorphic check 2023-06-22 07:59:48 +01:00
Marc-Roig
b5f1d6842c rename targetId to id 2023-06-22 07:59:48 +01:00
Marc-Roig
2e7e8b6813 rename id cloneId to targetId sourceId 2023-06-22 07:59:48 +01:00
Marc-Roig
e970451c9e update clone relation jsdoc 2023-06-22 07:59:48 +01:00
Marc-Roig
8241f4ae3a mention future support for join columns 2023-06-22 07:59:48 +01:00
Marc-Roig
2faed39cbb remove todos 2023-06-22 07:59:48 +01:00
Marc-Roig
8cf615583d clone and replace regular relations db queries 2023-06-22 07:59:48 +01:00
Marc-Roig
e817c74b25 clean inverse order column 2023-06-22 07:59:48 +01:00
Marc-Roig
c4386ef013 add entity-repository cloneRelations method 2023-06-22 07:59:48 +01:00
Marc-Roig
49cc9cfb89 add entity-repository cloneRelations method 2023-06-22 07:59:48 +01:00
Ben Irvin
c2c33a3b32 add comments to providers 2023-06-21 19:18:05 +02:00
Alexandre Bodin
2b8b23a8d8 Merge branch 'main' into chore/ts-core 2023-06-21 18:14:27 +02:00
Convly
9fb9f758da Merge branch 'releases/4.11.2' 2023-06-21 16:04:33 +02:00
Convly
6f7c815c2b v4.11.2 2023-06-21 15:57:32 +02:00
Gustav Hansen
1f70bba2ce
Merge pull request #17049 from strapi/fix/review-workflow-notification
Fix: Improve stage change success notification
2023-06-21 15:29:37 +02:00
Jean-Sébastien Herbaux
6612f60e0e
Merge pull request #17030 from LuizPelegrini/fix/overlapping-date-type 2023-06-21 14:50:30 +02:00
Gustav Hansen
fcb7185344 Fix: Improve stage change success notification 2023-06-21 14:33:46 +02:00
Gustav Hansen
9dd3971b54
Merge pull request #17035 from strapi/chore/permissions-components-redux
Chore: Move admin permissions into redux
2023-06-21 12:54:11 +02:00
Christian
8460ef7e29
Merge branch 'main' into dependabot/npm_and_yarn/stream-json-1.8.0 2023-06-21 12:40:28 +02:00
Gustav Hansen
96d8abb6b6
Merge pull request #16995 from strapi/enhancement/use-enterprise-hook-users-list
Enhancement: Replace ee_else_ce imports with useEnterprise in settings - users
2023-06-21 12:11:13 +02:00
Christian
16df3c178f
Merge branch 'main' into dependabot/npm_and_yarn/stream-json-1.8.0 2023-06-21 11:51:25 +02:00