From 9933ac40d46299ba9a655aa0c1cc9f755ff38b6b Mon Sep 17 00:00:00 2001 From: _ <> Date: Fri, 6 Nov 2020 05:17:29 +0000 Subject: [PATCH 1/2] Update todo --- .rgignore | 1 + todo.md | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .rgignore diff --git a/.rgignore b/.rgignore new file mode 100644 index 0000000..ebbb1bf --- /dev/null +++ b/.rgignore @@ -0,0 +1 @@ +src/bad_passwords.txt diff --git a/todo.md b/todo.md index f76f183..a1e81d5 100644 --- a/todo.md +++ b/todo.md @@ -1,5 +1,12 @@ +- Not working behind Nginx +- Try sending the http_response "OK" _after_ the request body is received +- Add relay / server debug flags in config +- Tracing / structured logging, maybe? + +- Sort directory listings +- ".." from server to server list is broken +- Redirect to add trailing slashes - Add file size in directory listing -- Large text files not streaming as expected? - Allow spaces in server names - Make file_server_root mandatory - Deny unused HTTP methods for endpoints From d57fa2e5a4fac194da131916b64aee986f8b5a9d Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Wed, 20 Jan 2021 21:41:28 -0600 Subject: [PATCH 2/2] :package: build: prepare ptth_relay for crates.io --- crates/ptth_relay/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/ptth_relay/Cargo.toml b/crates/ptth_relay/Cargo.toml index 6619475..ccc259b 100644 --- a/crates/ptth_relay/Cargo.toml +++ b/crates/ptth_relay/Cargo.toml @@ -6,6 +6,10 @@ authors = ["Trish"] edition = "2018" license = "AGPL-3.0" +description = "A relay that allows HTTP clients to access PTTH servers" +repository = "https://github.com/ReactorScram/ptth" +categories = ["command-line-utilities", "web-programming::http-server"] + [dependencies] base64 = "0.12.3" @@ -29,4 +33,4 @@ tracing-futures = "0.2.4" tracing-subscriber = "0.2.15" ulid = "0.4.1" -ptth_core = { path = "../ptth_core" } +ptth_core = { path = "../ptth_core", version = "1.1.0" }