8b53114d0d
Have the file-service depend on the new authdb library
2023-11-19 23:55:43 -05:00
532210db03
Extract the authentication DB from the file service
2023-11-19 23:43:33 -05:00
7949033857
Add the handler to delete a file
2023-10-26 00:14:10 -04:00
66876e41c0
Clean up broken tests and clippy warnings
2023-10-25 10:35:24 -04:00
e96b8087e2
Add filenames to FileInfo and then set those filenames when creating the file
2023-10-25 10:17:17 -04:00
e657320b28
Thoroughly lint the file-service
2023-10-05 12:57:35 -04:00
b3bfa84691
Validate the session token
...
A previous commit added authentication token checks. Auth tokens are replaced with session tokens, which can (and should) expire. This commit validates sessions, which now allows access to gated operations.
2023-10-03 19:48:44 -04:00
491c80b42b
Split out a support library
2023-10-03 19:48:44 -04:00
5e4db0032b
Add session checks
2023-10-03 19:48:43 -04:00
4a7d741224
Add the ability to create and list users
2023-10-03 19:48:43 -04:00
535ea6cd9d
Finish the auth handler and create app auth stubs
2023-10-03 19:48:43 -04:00
da8281636a
Set up authentication routes
2023-10-03 19:48:43 -04:00
75a90bbdff
Set up temperory working directories
2023-10-03 19:48:43 -04:00
94aa67a156
Correctly set up file ids from list_files
2023-10-03 19:48:43 -04:00
ee5f4646df
Refactor PathResolver so it cannot fail
2023-10-03 19:48:43 -04:00
14f0a74af8
Lots more refactoring :(
2023-10-03 19:48:43 -04:00
68b62464f0
Clean up the filehandle logic
2023-10-03 19:48:43 -04:00
3e87e13526
Provide a unified interface for the File and Thumbnail
2023-10-03 19:48:43 -04:00
88938e44c8
Load file by ID
2023-10-03 19:48:43 -04:00
89a1aa7ee5
Get thumbnail creation working again
2023-10-03 19:48:43 -04:00
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