Commit Graph

65 Commits

Author SHA1 Message Date
Jesse Brault
1976e345b6 Fixed exception being thrown when deleting old RefreshTokenEntity. 2024-08-08 12:00:41 -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
1804b1556f Refactored ContainsItemsMatcher to allow different expected and actual types. 2024-08-07 17:32:48 -05:00
Jesse Brault
73e5f95e92 Small final field. 2024-08-07 17:02:58 -05:00
Jesse Brault
17533e15ed More ideal settings of token lifetimes and usage of @Nullable in AuthController. 2024-08-07 17:02:38 -05:00
Jesse Brault
96deeca6a4 Tweaked refresh-token cookie's path and sameSite attributes. 2024-08-07 08:42:03 -05:00
Jesse Brault
e2765c4a96 Working on refresh auth flow. 2024-08-06 21:54:53 -05:00
Jesse Brault
6a104f7f1a Added lasagna. 2024-08-06 17:09:38 -05:00
Jesse Brault
15e9dfb93b Added action to SecurityExceptionView. 2024-08-06 11:08:15 -05:00
Jesse Brault
026e3a7ab2 Some minor refactoring of auth-related classes. 2024-08-06 10:35:44 -05:00
Jesse Brault
e4bf81d14f SecurityExceptionView and related work in JwtFilter. 2024-08-02 17:46:02 -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
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
710f0d7c00 Added some recipes. 2024-08-01 08:00:08 -05:00
Jesse Brault
9983b0ef95 Added support for webp. 2024-08-01 07:52:32 -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
faf4434b7a Added a TODO. 2024-07-30 14:06:19 -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
ff0f22b9e4 Added Obazda test image to DevConfiguration. 2024-07-28 15:03:42 -05:00
Jesse Brault
341133f779 Massive refactor of RecipeService and related. All tests passing. 2024-07-28 14:54:03 -05:00
Jesse Brault
2565e63a7d Added security tests to ImageControllerTests. 2024-07-27 15:23:52 -05:00
Jesse Brault
eeb58aa5a1 Unused import. 2024-07-26 20:05:04 -05:00
Jesse Brault
20cfaa116e All ImageControllerTests passing. 2024-07-26 20:04:20 -05:00
Jesse Brault
6e29ec7d58 S3ImageServiceTests all passing. 2024-07-26 10:38:29 -05:00
Jesse Brault
a5c0add82b ImageController updateInfo and deleteImage methods and related. A bunch of TODO tests. 2024-07-26 10:12:14 -05:00
Jesse Brault
9976b7337f Implemented ImageController.putImage and related. 2024-07-25 09:49:43 -05:00
Jesse Brault
6f7016f870 Basic ImageController and related. 2024-07-24 16:27:15 -05:00
Jesse Brault
b2c702b534 Refactoring of S3ImageService and related. 2024-07-23 16:23:44 -05:00
Jesse Brault
467a69460d Using dev profile for running locally, and all integration tests now passing. 2024-07-23 10:17:41 -05:00
Jesse Brault
d98101b8a4 Refactoring of ImageService tests. 2024-07-23 08:53:19 -05:00
Jesse Brault
3e4db86457 ImageService updateOwner, setAlt, and setCaption implementations. 2024-07-23 08:50:21 -05:00
Jesse Brault
a264b10cdb Removed a TODO and some whitespace. 2024-07-23 08:36:44 -05:00
Jesse Brault
d4da12c349 Refactoring of custom matchers and implementation/testing of ImageService.getImagesOwnedBy(). 2024-07-23 08:34:55 -05:00
Jesse Brault
24db93111f Added ImageService.getImageContentById and ImageService.*viewer* methods. 2024-07-22 18:21:07 -05:00
Jesse Brault
bb65ec7d24 Added S3Manager.load() method. 2024-07-22 17:52:48 -05:00
Jesse Brault
4f46fce70a Basic setup of MinIO with containers and appropriate services/components for image/file storage. 2024-07-22 10:09:46 -05:00
Jesse Brault
2c897d6d50 Basic set up of testing data and communication with front-end for recipe info. 2024-07-18 18:26:45 -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