Commit Graph

24 Commits (f81d819c3187d79972c6fc36b6e5977c5df162d4)

Author SHA1 Message Date
_ f81d819c31 Flip match_prefix args 2020-11-09 00:56:29 +00:00
_ 2b93aa8b83 🐛 Implement 416 Range Not Satisfiable
I had a lot of trouble getting AlwaysEqual to compile, so I tested it in a
completely separate crate and vendored it back into PTTH. It's also AGPLv3.
2020-11-09 00:55:45 +00:00
_ 02da0ff0fc 🐛 Redirect to add trailing slashes for directories 2020-11-08 17:58:14 +00:00
_ 435232bf6c ♻️ Use a prelude to clean up the unused imports for `tracing` 2020-11-08 16:00:31 +00:00
_ c5691d9d05 🐛 Fix the backlinks from servers up to the relay 2020-11-08 15:53:09 +00:00
_ 345fa64ad0 Hide ptth_server.toml with 403 Forbidden 2020-11-08 15:01:15 +00:00
_ 5fa0bd8584 ♻️ Remove unused `use` statements 2020-11-08 02:38:27 +00:00
_ 151f236a0b 💄 Tweak a few things and update todo 2020-11-07 23:10:01 +00:00
_ f02e12aecc 🐛 Add forced shutdown to ptth_file_server. 2020-11-07 01:40:29 +00:00
_ 75177cec80 🚧 Guess it's a bug in hyper.
You can't gracefully shutdown while a client is connected.
2020-11-07 01:34:58 +00:00
_ e0298a5289 🐛 Working on a bunch of bugs and error handling 2020-11-06 23:43:52 +00:00
_ 3786cec8ab 🚧 Add a bunch more logging / tracing 2020-11-06 20:55:55 +00:00
Trisha Earley a96c82dea4 🐛 Add content-length header when POSTing a response to the relay 2020-11-06 18:47:04 +00:00
_ c5ecf4bc88 Add another layer in the URI to make room for future features 2020-11-01 22:07:55 -06:00
_ 063e79d217 🚨 Add license to Cargo.toml and fix up clippy stuff 2020-10-31 21:59:02 -05:00
_ f57777c72f Add server list page 2020-10-31 15:46:38 -05:00
_ 9244953e57 ♻️ Extract load_templates fn for file server 2020-10-31 12:56:36 -05:00
_ be53772337 🎉 Add parent directory link.
I was way overthinking this one.
2020-10-31 15:46:24 +00:00
_ 0572de2ad0 💄 Make directory indexes prettier 2020-10-31 15:28:27 +00:00
_ 1fb0c2aafa 💄 Switched to a handlebars template for the whole dir index 2020-10-31 09:35:18 -05:00
_ 55b3e9f520 🚧 Working on handlebars for prettier directories 2020-10-30 21:31:03 -05:00
_ ba17f11297 ♻️ Extract http_serde::Body so I can make the file server standalone 2020-10-30 20:35:39 -05:00
_ 0f092f7213 Test the file server by hashing the AGPL license remotely 2020-10-30 18:36:32 -05:00
_ 41213f7272 ♻️ Move the server bin into the lib, too 2020-10-30 18:02:57 -05:00