Gustav Hansen
7b83703576
Merge branch 'main' into feature/review-workflow-multiple-merge-main
2023-06-22 11:20:53 +02:00
Josh
9a537e811b
chore: merge fixes
...
chore: fix lint
2023-06-22 09:18:57 +01:00
Marc
674dc96b89
refactor: mark uid as a prohibited field & separate auto-clone route ( #16957 )
...
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-06-22 08:12:20 +01:00
Josh
f72a62be05
fix: error message improvements ( #16949 )
2023-06-22 08:12:12 +01:00
Josh
38cafa5385
chore: fix weird merge conflict
2023-06-22 08:12:12 +01:00
Marc-Roig
ec434498d1
fix: excludeNotCreatableFields
2023-06-22 08:12:11 +01:00
Josh
b62df89641
fix: if we have an origin it will be type string
2023-06-22 08:12:11 +01:00
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
Nathan Pichon
cd08c590a8
fix(review-workflow): the feature shouldn't be deactivated on content type creation ( #17045 )
...
* fix(reviewWorkflows): should not set review workflows as false on CT creation
* fix(reviewWorkflows): remove check on boolean to inject the stage attribute
* feat(reviewWorkflows): let people be able to deactivate rw stage attr
- without touching the old boolean for retro-compat
2023-06-21 18:09:16 +02:00
Convly
9fb9f758da
Merge branch 'releases/4.11.2'
2023-06-21 16:04:33 +02:00