297 Commits

Author SHA1 Message Date
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
Marc-Roig
ec434498d1 fix: excludeNotCreatableFields 2023-06-22 08:12:11 +01:00
Marc-Roig
3720a7fa8c feat: sanitize excludeNotCreatableFields 2023-06-22 08:11:59 +01:00
Marc-Roig
616c2283a5 fix: prohibited fields error message 2023-06-22 08:11:11 +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
Mark Kaylor
b5d4687c57 Maintain consistent backend validation for publish and bulk publish 2023-06-19 18:25:29 +02:00
Marc-Roig
fceac49066
fix: count relations when webhook populate is disabled 2023-06-19 12:34:24 +02:00
Marc-Roig
7ad44c8699
Merge branch 'main' into fix/rbac-condition-and-relations 2023-06-09 10:32:42 +02:00
Marc-Roig
566a0f74ba
test: populate edge case 2023-06-08 10:09:48 +02:00
Josh
8357aab46e
chore: fix tests (#16937)
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2023-06-07 11:43:09 +01:00
Convly
106cfafca4 Merge branch 'main' into releases/4.11.0 2023-06-07 11:31:42 +02:00
Jamie Howard
59d61424a9 chore: fix entity manager linter warnings 2023-06-01 15:21:47 +01:00
Jamie Howard
c53b7a7ae4 fix: simplify emitEvent logic 2023-06-01 15:20:13 +01:00
Mark Kaylor
ee5278b9fd Fix filters causing too many emitted events 2023-06-01 11:24:07 +02:00
Jamie Howard
d77e42b859 refactor(webhooks): populate allowed events from relevant modules 2023-05-30 16:13:10 +01:00
Marc-Roig
74023ce419
todo: revert create if custom condition does not allow it 2023-05-29 15:42:36 +02:00
Marc-Roig
91d4759433
fix: unit test 2023-05-29 11:13:29 +02:00
Marc-Roig
1bdf9afa6b
fix: populate al top level attributes 2023-05-29 10:45:47 +02:00
Marc-Roig
304f32d56b
fix: populate attributes in delete 2023-05-29 09:34:45 +02:00
Marc-Roig
296aa4b53c
fix: replace all for node14 2023-05-29 09:12:07 +02:00
Marc-Roig
b571f2f511
feat: exclude morphTo relations 2023-05-29 08:43:00 +02:00
Marc-Roig
31afc24ee5
fix: unit tests 2023-05-26 17:57:23 +02:00
Marc-Roig
e73a41ecde
todo: handle dz and morph relations in getQueryPopulate 2023-05-26 17:47:59 +02:00
Marc-Roig
810efff6da
fix: use is nil for countRelations 2023-05-26 17:37:33 +02:00
Marc-Roig
9a7bef24bf
chore: PR proposed changes 2023-05-26 17:26:55 +02:00
Marc
832b4aa46d
Update packages/core/content-manager/server/controllers/collection-types.js
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-05-26 16:11:33 +02:00
Marc-Roig
00b166d439
fix: single types unit test 2023-05-26 14:45:22 +02:00
Marc-Roig
450b9fd7cf
chore: remove jsdoc unnecessary return 2023-05-26 13:21:53 +02:00
Marc-Roig
ee59206428
chore: document getQueryPopulate 2023-05-26 13:19:37 +02:00
Marc-Roig
fabe6c7c71
chore: document populate builder 2023-05-26 13:17:48 +02:00
Marc-Roig
ee5d821fa7
chore: cleanup comments 2023-05-26 13:05:08 +02:00
Marc-Roig
ba845dd0ac
chore: update entity manager types 2023-05-26 12:37:52 +02:00
Marc-Roig
f8f0b75185
feat: populateFromQuery 2023-05-26 12:35:22 +02:00
Marc-Roig
f41e29c40b
feat: populate in relations and single types 2023-05-26 12:34:18 +02:00
Marc-Roig
a9efdd0771
feature: populate from query 2023-05-26 12:34:00 +02:00
Marc-Roig
7c0a562948
feat: use populate builder 2023-05-25 17:00:52 +02:00
Marc-Roig
bed3540c9a
chore: move populate to its own folder 2023-05-25 16:54:11 +02:00
Marc-Roig
3425d44d42
chore: remove populate query from permissionChecker 2023-05-25 14:41:19 +02:00
Marc-Roig
398414854e
feat: populate builder 2023-05-25 14:39:07 +02:00
Marc-Roig
b37f6b1c1e
feat: cleanup entity manager 2023-05-25 14:36:50 +02:00
Jamie Howard
f509468158 test(content-manager): entity manager 2023-05-25 13:28:54 +01:00
Jamie Howard
14ff035647 feature: replace emitEvent calls with new webhook store 2023-05-25 12:37:38 +01:00
Marc-Roig
cdb17d5c16
chore: rename populate query 2023-05-24 18:20:06 +02:00