Commit graph

151 commits

Author SHA1 Message Date
54db92a76c
persist is admin in json user repo 2026-04-24 13:15:24 +03:00
4157710187
pass is admin through create user 2026-04-24 13:14:57 +03:00
0e86af3e81
add is admin to user entity 2026-04-24 13:14:48 +03:00
affa1e7b1b
add is admin to create user dto 2026-04-24 13:14:39 +03:00
b9f7fcf148
add is admin to create user request 2026-04-24 13:14:30 +03:00
e664fead2c
parse json body in plan controller 2026-04-24 10:28:00 +03:00
0e57b90509
add plan controller 2026-04-24 10:25:53 +03:00
baf12500c7
add json scheduled node repository 2026-04-24 10:25:08 +03:00
3595bcbf11
add json user repository 2026-04-24 10:24:57 +03:00
895bfb01da
add json plan repository 2026-04-24 10:24:39 +03:00
6b9ad5ef8e
extract validation code to private method 2026-04-23 21:19:58 +03:00
49663d70d9
distribute scheduled nodes evenly by filling days sequentially 2026-04-23 21:06:22 +03:00
358694e7e3
nodes are scheduled on different days according to dates provided 2026-04-23 20:54:08 +03:00
858f2e075f
test for date end being before date start 2026-04-23 20:50:26 +03:00
a752ff9ba5
add start and end date and test for null entries 2026-04-23 20:44:14 +03:00
f8a1c2616d
test that nonexistant text will throw error 2026-04-23 20:20:53 +03:00
c32087c35d
move instantiation of date time immutable to use case. request gets a string 2026-04-23 20:09:17 +03:00
29db3aec55
add home controller method 2026-04-23 10:02:10 +03:00
6009fb7ddd
refactor create text controller to catch BadRequestException 2026-04-19 23:38:23 +03:00
8a90c5bab4
refactor bulk create nodes controller to catch BadRequestException 2026-04-19 23:37:40 +03:00
1761bfad7f
refactor create node controller to catch BadRequestException 2026-04-19 23:37:12 +03:00
38b7a0adb8
add count validation in bulk create nodes use case 2026-04-19 23:36:37 +03:00
2d19265c24
add @throws BadRequestException to create scheduled node 2026-04-19 23:23:33 +03:00
03e4781799
add @throws BadRequestException to create user 2026-04-19 23:23:26 +03:00
a8bc84f246
add @throws BadRequestException to create plan 2026-04-19 23:23:18 +03:00
920f8ad768
add @throws BadRequestException to create text 2026-04-19 23:23:11 +03:00
99c320b28f
add @throws BadRequestException to create node 2026-04-19 23:23:03 +03:00
1199fcbff3
add @throws BadRequestException to bulk create nodes 2026-04-19 23:22:56 +03:00
ace727dae0
php cs fix 2026-04-19 23:19:05 +03:00
374eaeb4ec
add null guards in create scheduled node use case 2026-04-19 23:14:52 +03:00
8cd11e98c2
make CreateScheduledNodeRequest properties nullable 2026-04-19 23:14:36 +03:00
90a9002df0
add null guard in create user use case 2026-04-19 23:13:57 +03:00
e2c220e0ee
make CreateUserRequest email nullable 2026-04-19 23:13:42 +03:00
3775607503
add null guards in create plan use case 2026-04-19 23:13:08 +03:00
02244b6ed9
make CreatePlanRequest properties nullable 2026-04-19 23:12:52 +03:00
f77101e4e9
add null guard in create text use case 2026-04-19 23:12:07 +03:00
ab023315a9
make CreateTextRequest name nullable 2026-04-19 23:11:52 +03:00
ff721d9137
add null guards in create node use case 2026-04-19 23:11:15 +03:00
23f4e70e57
make CreateNodeRequest properties nullable 2026-04-19 23:10:58 +03:00
1f76fc08b6
add null guards in bulk create nodes use case 2026-04-19 23:10:10 +03:00
337017fc52
make BulkCreateNodesRequest properties nullable 2026-04-19 23:09:52 +03:00
6c1ecc8b38
add BadRequestException class 2026-04-19 23:09:08 +03:00
189493b045
php cs fixer 2026-04-19 23:07:48 +03:00
53cb002d0d
implement node controller method for bulk create nodes 2026-04-18 23:05:14 +03:00
ce56e460ff
add use case and request 2026-04-18 23:04:56 +03:00
628c633823
change the way data is accessed from request in node controller 2026-04-18 22:00:24 +03:00
bdf386e510
implement create node method in node controller 2026-04-18 21:33:41 +03:00
f5a8b8447f
rename route for nodes and adjust calls to route 2026-04-18 21:01:02 +03:00
a092ee8840
json node repo 2026-04-17 11:30:17 +03:00
38d06fce43
refactor getNodes into a new NodeController and update refs 2026-04-17 11:29:55 +03:00