Commit Graph

25 Commits

Author SHA1 Message Date
5c80fb3591 Add the ability to create and list users 2023-10-03 19:37:53 -04:00
5417eecdad Create the initial database migration 2023-10-03 19:37:53 -04:00
5cc7c3ac5e Finish the auth handler and create app auth stubs 2023-10-03 19:37:53 -04:00
40b9c41ed1 Set up authentication routes 2023-10-03 19:37:51 -04:00
d4fb5601c0 Complete upload 2023-10-03 19:34:04 -04:00
5479c136fd Set up temperory working directories 2023-10-03 19:34:04 -04:00
f204920216 Correctly set up file ids from list_files 2023-10-03 19:34:03 -04:00
5c23427fdb Refactor PathResolver so it cannot fail 2023-10-03 19:34:03 -04:00
a3add82294 Remove old test files 2023-10-03 19:34:03 -04:00
3b05e31374 Lots more refactoring :( 2023-10-03 19:34:03 -04:00
756120c9e6 Clean up the filehandle logic 2023-10-03 19:34:03 -04:00
b7ffdfac61 Add cool_asserts 2023-10-03 19:34:03 -04:00
8afbe1ddc1 Provide a unified interface for the File and Thumbnail 2023-10-03 19:34:03 -04:00
89594d3169 Load file by ID 2023-10-03 19:34:03 -04:00
e957865d2a Get thumbnail creation working again 2023-10-03 19:34:03 -04:00
334cd42e10 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:34:03 -04:00
5ef0260ce2 Add some testing for the PathResolver 2023-10-03 19:34:03 -04:00
10a0c483a1 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:34:03 -04:00
0d0cc8c495 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:34:03 -04:00
f451df3a79 Refactor file and thumbnail serving to common code 2023-10-03 19:34:03 -04:00
d0c5e0a59f Attempt to add etag caching 2023-10-03 19:34:03 -04:00
de034d53c1 Render thumbnails 2023-10-03 19:34:03 -04:00
404ccd1854 Swap from iron to warp and start rebuilding the app 2023-10-03 19:33:00 -04:00
e36657591b Add orizentic and file-service to the build 2023-10-03 19:32:57 -04:00
7077724e15 Import a questionably refactored version of file-service 2023-10-03 17:59:55 -04:00