Commit graph

156 commits

Author SHA1 Message Date
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
acdfc14442
create root node on text creation 2026-04-17 11:03:10 +03:00
d4f5b22034
add method to get nodes of text id in text controller 2026-04-17 11:00:36 +03:00
85ab8f2bbc
add getText method to text controller 2026-04-17 09:54:21 +03:00
4fe10214d5
change fn to function -- style 2026-04-17 09:53:50 +03:00
68da48aedd
add view for single text 2026-04-17 09:23:38 +03:00
89c295e6d2
Remove TextRepository dependency and createText from ViewController 2026-04-15 20:47:21 +03:00
ec32ca0103
Add TextController for texts API 2026-04-15 20:46:56 +03:00
72d92debab
make create text method 2026-04-12 22:39:50 +03:00
d4e31baed0
implement texts view method 2026-04-12 22:14:30 +03:00
e9195fe991
implement text repo for json files 2026-04-12 22:05:10 +03:00
878e4840a2
add getAll method to text repo 2026-04-12 21:54:31 +03:00
6b4ea8a1f4
remove all twig related code 2026-04-11 22:41:30 +03:00
6d75d3770a
use regular php files instead of twig 2026-04-11 22:36:30 +03:00
394b8d890c
move response logic to new view controller 2026-03-22 10:51:22 +02:00
a527c8b01e
filter for non parent nodes in create plan 2026-03-21 20:01:21 +02:00
a606ceadaa
plan schedules all nodes of text - impl of use case 2026-03-01 11:57:33 +02:00
0d00254e5f
id getter for scheduled node 2026-03-01 11:56:55 +02:00
2affd2a84e
test that error is thrown if plan doesnt exist for creating scheduled node 2026-02-25 10:21:05 +02:00
449df516ae
add find method to plan 2026-02-25 10:17:13 +02:00
412a74e390
add plan to scheduled node 2026-02-25 10:16:59 +02:00
50ecacd46d
create scheduled node dto for create method 2026-02-23 22:40:47 +02:00
40d8032569
create scheduled node with request 2026-02-23 22:40:34 +02:00
49328404c9
scheduled node repo with create method 2026-02-23 22:40:15 +02:00
5bb5bf0c47
init scheduled node 2026-02-23 22:36:30 +02:00
f0eb4cf5d5
test that use case throws error if non existant user id given 2026-02-23 11:05:42 +02:00
547558d850
add user to plan 2026-02-23 10:58:37 +02:00
9c2f95eda1
add find method to user repo 2026-02-23 10:58:13 +02:00
9f29b9b94e
test create plan with request 2026-02-23 10:41:31 +02:00
de744c9b15
plan repo with create method 2026-02-23 10:41:22 +02:00
957de13e71
init plan entity 2026-02-23 10:40:52 +02:00
d1eb648b73
test and impl that only one root node exists per text
in practice this means only one node with a null parentNode
2026-02-21 22:44:18 +02:00
4f83ae7926
add find by text id method to node repo w/ impl 2026-02-21 22:43:55 +02:00
143a4ffe39
test nonexistant parent node id throws exception 2026-02-21 22:23:30 +02:00
021a2a6f15
add parent node to node, fix type of null 2026-02-21 22:17:59 +02:00
483110f773
add find method to node repo and impl to fake repo 2026-02-21 22:14:10 +02:00
424d46104b
fix test warning for undefined array key by using array_find 2026-02-21 21:09:08 +02:00
b3453a4604
throw exception if text doesnt exist 2026-02-21 21:08:42 +02:00
df7ce696a9
add id to text and find method to text repo 2026-02-20 12:02:00 +02:00
c0994d806e
add text to node 2026-02-20 12:01:53 +02:00
e55133ceac
dto for the create method of node 2026-02-19 21:26:01 +02:00
3d0d07385c
node repo 2026-02-19 21:25:50 +02:00
bd1520c2ca
create node with request dto 2026-02-19 21:25:37 +02:00
3ddca5687b
node entity 2026-02-19 21:25:26 +02:00
0998c70160
dto for passing to create method of text repo 2026-02-19 21:00:46 +02:00
a95a8838f6
create text with request dto 2026-02-19 21:00:28 +02:00