Commit Graph

19 Commits

Author SHA1 Message Date
Jesse Brault
0d86ab6d93 Ensuring consistency of nullable mainImage in recipe views and tests. 2024-08-17 10:58:42 -05:00
Jesse Brault
c163e8ee1d Ensuring that RecipeController.update returns a non-null mainImage property. 2024-08-17 10:51:03 -05:00
Jesse Brault
3a7c0f5b1d Added update method to controller and related implementation. 2024-08-16 11:38:14 -05:00
Jesse Brault
9b82e549ca Added ability to get Recipe.rawText from api. 2024-08-15 14:20:38 -05:00
Jesse Brault
84596865dd Added data about principal's relation to FullRecipeView and related implementation. 2024-08-14 18:48:32 -05:00
Jesse Brault
73fdced131 Added starred to FullRecipeView and related query/service implementation. 2024-08-14 08:55:34 -05:00
Jesse Brault
941acf7f2b Changed "/stars" mapping to "/star" for individual star requests. 2024-08-13 11:45:10 -05:00
Jesse Brault
f47e767612 Added getStar to RecipeController and related. 2024-08-13 11:43:21 -05:00
Jesse Brault
c467bd75b3 Added removeStar to RecipeController and related. 2024-08-13 11:29:41 -05:00
Jesse Brault
e23526dbcc Added addStar to RecipeController and related. 2024-08-13 11:13:24 -05:00
Jesse Brault
ccae29b202 ImageView.viewers only non-empty when principal is owner. Added preparation, cook, and total time to Recipe. 2024-08-12 20:05:24 -05:00
Jesse Brault
22441a8e47 Recipe views now use UserInfoView. 2024-08-12 17:15:53 -05:00
Jesse Brault
733899fee8 Fixed bug where Recipe owner was not being seen as a 'viewer' by the RecipeRepository. 2024-08-07 17:33:24 -05:00
Jesse Brault
83b1f63a56 Fixed SecurityConfiguration to permit all requests. Small isPublic test line in RecipeControllerTests. 2024-08-02 10:47:59 -05:00
Jesse Brault
57d2451be9 Recipe GET now working by ownerUsername and slug. 2024-07-29 17:43:39 -05:00
Jesse Brault
341133f779 Massive refactor of RecipeService and related. All tests passing. 2024-07-28 14:54:03 -05:00
JesseBrault0709
1137f390b7 Get recipe info views from RecipeService and RecipeController. 2024-07-09 17:46:17 +02:00
JesseBrault0709
019210d334 RecipeController for getting RecipePageView. 2024-07-09 15:11:05 +02:00
JesseBrault0709
97bbab3cf0 Basic RecipeController and tests. 2024-07-09 09:59:48 +02:00