Commit Graph

31 Commits

Author SHA1 Message Date
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
22fac36e4b Removed @Deprecated ownerId and ownerUsername. 2024-08-12 17:29:48 -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
e4bf81d14f SecurityExceptionView and related work in JwtFilter. 2024-08-02 17:46:02 -05:00
Jesse Brault
ebc58e6221 Added isPublic to FullRecipeView. 2024-08-01 15:38:46 -05:00
Jesse Brault
40b315bb08 Overrode RecipeStarId equals() and hashcode(). 2024-08-01 08:03:12 -05:00
Jesse Brault
81424eb2e6 Added basic dev-data and loading mechanism. 2024-07-31 17:39:31 -05:00
Jesse Brault
c89524a989 Added HttpStatuses to RecipeController exception handler. 2024-07-31 13:01:22 -05:00
Jesse Brault
4ca1a077a1 Added @Nullable to FullRecipeView.modified. 2024-07-31 12:55:55 -05:00
Jesse Brault
23d6f147c4 Fixed RecipeInfoView getIsPublic naming. 2024-07-30 14:13:18 -05:00
Jesse Brault
57d2451be9 Recipe GET now working by ownerUsername and slug. 2024-07-29 17:43:39 -05:00
Jesse Brault
3d7d5d00f1 Added url to ImageView and related. 2024-07-29 17:09:03 -05:00
Jesse Brault
67b5452d82 Added ImageView to FullRecipeView and RecipeInfoView. 2024-07-29 12:32:09 -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
4779070142 Small cleanup. 2024-07-09 17:07:48 +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
JesseBrault0709
35ef2aa039 More RecipeService security and tests. 2024-07-09 09:24:36 +02:00
JesseBrault0709
d3a532fb12 Tweaking security expressions in RecipeServiceImpl. 2024-07-08 18:50:22 +02:00
JesseBrault0709
1e772af67f Starting to use Spring Security/SpEL on RecipeService methods. 2024-07-08 13:00:57 +02:00
JesseBrault0709
b173d86f23 Wrote tests for adding and deleting recipe stars. 2024-07-08 09:46:29 +02:00
JesseBrault0709
7c7e29ac27 Added more tests for RecipeService. 2024-07-01 10:01:56 +02:00
JesseBrault0709
6dd0d1483e Added public/viewable check to Recipes for adding stars. 2024-06-29 18:26:45 +02:00
JesseBrault0709
a335fcd9c4 Fixed saving of RecipeStarEntities. 2024-06-29 18:11:28 +02:00
JesseBrault0709
b10451203b Basic Recipe entity and models. 2024-06-27 13:06:41 +02:00