Savanni D'Gerinel
ee5f4646df
Refactor PathResolver so it cannot fail
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
561ec70a65
Remove old test files
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
14f0a74af8
Lots more refactoring :(
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
68b62464f0
Clean up the filehandle logic
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
da6bf3bfea
Add cool_asserts
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
3e87e13526
Provide a unified interface for the File and Thumbnail
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
88938e44c8
Load file by ID
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
89a1aa7ee5
Get thumbnail creation working again
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
22e25256a5
Add some tests to verify that a file can be added to the system
...
Still gutting a lot of the old code, but this MR focuses more on ensuring that a file can be added and that the metadata gets saved.
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
9787ed3e67
Add some testing for the PathResolver
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
396f6e3bcf
Start ripping out lots of infrastructure
...
Much of the infrastructure is old and seems to be based on some assumptions about how Iron handled multipart posts. I don't understand how much of this works, so I'm slowly ripping parts out and rebuilding how the separation of concerns works.
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
8521db333b
Set up the delete route
...
Sets up the delete route, including post-delete redirect back to the root.
Also adds logging.
Delete does not actually delete things yet.
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
4a7b23544e
Refactor file and thumbnail serving to common code
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
a06c9fae25
Attempt to add etag caching
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
f05e0a15f1
Render thumbnails
2023-10-03 19:48:43 -04:00
Savanni D'Gerinel
634c404ae9
Swap from iron to warp and start rebuilding the app
2023-10-03 19:48:25 -04:00
Savanni D'Gerinel
e36657591b
Add orizentic and file-service to the build
2023-10-03 19:32:57 -04:00
Savanni D'Gerinel
7077724e15
Import a questionably refactored version of file-service
2023-10-03 17:59:55 -04:00