Commit Graph

58 Commits

Author SHA1 Message Date
Jesse Brault
54118d597e Some various refactoring. Added more testing for recipe drafts controller. 2026-01-23 17:51:00 -06:00
Jesse Brault
0a83a032c8 Refactoring: less reliance on entity-specific exceptions, more converters, etc. 2026-01-21 17:42:30 -06:00
Jesse Brault
db9e9eca07 Add some tests, more to do. 2026-01-19 13:55:16 -06:00
Jesse Brault
2d2fa524fa Add endpoints for recipe draft manipulation. 2026-01-19 13:04:02 -06:00
Jesse Brault
547c04fbab Add second AI call to recipe infer job. 2026-01-16 23:01:34 -06:00
Jesse Brault
b19dc42094 Add endpoint for creating ai recipe draft. 2026-01-16 21:08:31 -06:00
Jesse Brault
7f985f3434 Service and data layer handling of jobs, files, and recipe inferences. 2026-01-16 20:37:58 -06:00
Jesse Brault
012bf743a1 More pushing down interface methods for recipes. 2026-01-16 07:52:41 -06:00
Jesse Brault
fc19361ab6 Misc. clean up. 2026-01-16 07:44:04 -06:00
Jesse Brault
51cae79daa Clean up recipe classes. 2026-01-15 22:18:08 -06:00
Jesse Brault
bea8af4a0e Get rid of Image interface. 2026-01-15 15:35:08 -06:00
Jesse Brault
3e08436abd Remove user-related interfaces and replace with entities. Also some casting clean up. 2026-01-14 16:59:01 -06:00
Jesse Brault
7230c7887d Remove recipe-related interfaces and replace with entities. 2026-01-14 16:44:13 -06:00
Jesse Brault
0b62e06646 Move recipes ai-search to POST endpoint. 2025-12-29 12:53:20 -06:00
Jesse Brault
9f54c63c53 Add basic AI search. 2025-12-28 21:22:13 -06:00
Jesse Brault
b9e7ccedce Fix tests to compile. 2025-12-26 13:50:18 -06:00
Jesse Brault
1fefeaa1da Change to flyway migrations, many SQL/entity updates. 2025-12-26 13:45:27 -06:00
Jesse Brault
b952440047 Add recipe comment endpoints and associated logic. 2025-12-21 17:17:37 -06:00
Jesse Brault
66242845d6 Fixed typo with mainImage in RecipeUpdateSpec. 2024-08-17 11:11:16 -05:00
Jesse Brault
aeadd07f70 RecipeController.update by default includes rawText in response. 2024-08-17 11:10:19 -05:00
Jesse Brault
0d86ab6d93 Ensuring consistency of nullable mainImage in recipe views and tests. 2024-08-17 10:58:42 -05:00
Jesse Brault
113227ef97 Fixed RecipeEntity.cachedRenderedText not being nullified when rawText updated. 2024-08-17 10:32:40 -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
1484a7023c Require principal for star mutations. 2024-08-14 09:29:11 -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
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