Commit graph

23 commits

Author SHA1 Message Date
99b93b4e7d just unwrap on datetime formatting, it should never be an issue and there's no point having an error ready to pass back to the client 2022-05-01 02:22:03 -04:00
b33bb7aa9d cleanup all the <Uploader as Actor>::Contexts 2022-04-30 16:10:12 -04:00
e95590ef07 Normalize filenames to Unicode Normal Form D before sanitisation 2022-04-30 15:14:28 -04:00
458f791fe3 namespace all our variables 2022-04-30 01:53:21 -04:00
f52aa0f08b added file expiration and fleshed out the API a bit 2022-04-30 01:38:26 -04:00
cc0aaaab94 fix weird end-of-file bug by having downloaders use inotify to directly track changes 2022-04-29 22:36:44 -04:00
32738e4515 better cleanup of storage state 2022-04-28 06:26:44 -04:00
fa1917ac17 prevent deserializer from tripping up on positive integers 2022-04-28 05:25:03 -04:00
bda6da33e8 cargo clippy and fmt 2022-04-28 05:18:35 -04:00
127d7e9c67 add persistent state 2022-04-28 05:13:14 -04:00
cee8c93659 Content-Security-Policy: sandbox for user-submitted files 2022-04-28 01:06:39 -04:00
7d8c4f00fa maximum file count 2022-04-28 00:27:22 -04:00
55fa969bea zip: set minimum version field back to 4.5
I'm not sure what the deal is, it sounds like the UTF-8 bit flag is
6.3, but linux's zip utilities don't support 6.3 and do support the
bit flag, so *shrug*
2022-04-27 21:58:11 -04:00
b832ae5a95 zip: set bit flag for UTF-8 filenames, bump minimum zip version to 6.3 2022-04-27 20:31:12 -04:00
2ec295e606 implement downloads, lots of misc tweaks/fixes 2022-04-27 20:15:51 -04:00
f10ee6aa2a zip: go back to saying we're unix, we just forgot to include unix permissions in the external file attributes 2022-04-27 12:47:43 -04:00
527f184944 fix type error 2022-04-27 01:31:34 -04:00
16913bb079 finish functionality for uploader to receive waker handle messages 2022-04-27 01:17:00 -04:00
ba3326ef24 cargo fmt 2022-04-27 00:55:36 -04:00
779337de5e make static dir and port configurable 2022-04-27 00:53:32 -04:00
c41430bcdc don't bother trying to make app name configurable actually 2022-04-27 00:44:35 -04:00
b84cb24ab9 don't say the zipfile was made on unix, it causes trouble with permissions 2022-04-27 00:28:26 -04:00
20da86132b WIP file drop server, no downloads yet 2022-04-26 23:54:29 -04:00