Marc-Roig
|
e2fa85f848
|
skip cloning relations tests
|
2023-06-22 08:12:20 +01:00 |
|
Marc-Roig
|
bf324d0557
|
test: skip relations test
see if it fixes flakey tests
|
2023-06-22 08:12:20 +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
|
0f5668e16e
|
chore: fix dep
|
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
|
ad2da0c410
|
chore: update lock
|
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
|
21498fbda7
|
test: set and disconnect should not steal from one to X relations
|
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
|
2ac90b8e8e
|
test: disconnect and clone relations
|
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
|
19f9273e7d
|
test clone components
|
2023-06-22 07:59:49 +01:00 |
|
Marc-Roig
|
52bf461b06
|
test clone dynamic zones
|
2023-06-22 07:59:49 +01:00 |
|
Marc-Roig
|
d90a0c34bb
|
test clone
|
2023-06-22 07:59:49 +01:00 |
|
Marc-Roig
|
8982eea28e
|
test clone relations
|
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 |
|