Commit Graph

617 Commits (800dbcb019eedb0105844f4bfe6461ae33413a0e)

Author SHA1 Message Date
_ 1df0f0f677 ♻️ refactor: extract stream_file 2021-04-03 16:27:31 +00:00
_ ff73f501a4 🚧 2021-04-03 16:21:59 +00:00
_ 3389292457 placeholder for caching - Always returns a random ETag header.
So the browser-side cache will always miss, but I tested that Firefox will at
least send us If-None-Match with the last ETag it saw.
2021-04-03 15:53:59 +00:00
_ 6e24983ad7 🚨 refactor: cargo clippy 2021-04-03 15:30:32 +00:00
_ 5a6d9314cc 🚨 refactor: appease clippy 2021-04-03 15:23:03 +00:00
_ 0821ccaac6 ♻️ refactor: move Markdown support in ptth_server out to a feature.
It may be removed in the future.
2021-04-03 15:17:28 +00:00
_ e5bf5f7d1f ♻️ refactor: flatten out indentation 2021-04-03 14:27:17 +00:00
_ ac289e18f7 ⬆️ cargo update 2021-04-03 14:16:15 +00:00
_ 832794f844 in-memory audit logging 2021-04-02 23:19:33 -05:00
_ 6927707501 ♻️ refactor: use BoundedVec for unregistered_servers 2021-04-02 22:30:22 -05:00
_ 2c4d3cf534 add BoundedVec generic struct 2021-04-02 22:14:23 -05:00
_ 6ee9b6e7c9 🐛 bug: ptth_server: add 30-second timeout for _only_ http_listen requests 2021-04-02 20:58:19 -05:00
_ 7172f3e1a2 ⬆️ 2021-04-02 20:41:51 -05:00
_ ff05794041 Merge branch 'main' into HEAD
`-s ours` to get rid of a laptop branch I don't care about
2021-04-02 20:16:01 -05:00
_ ed8d59621f Merge branch 'main' into HEAD
This is a `-s ours` merge to get rid of some old branch on my laptop.
I can't remember what was in it, it doesn't look important.
2021-04-02 19:13:27 -05:00
Trisha d94a2a14aa
Update auth-route-YNQAQKJS.md 2021-03-22 09:58:23 -05:00
_ 4dd08bdbb1 bump ptth_server to 1.2.1 for the Windows patch 2021-03-21 19:10:40 +00:00
_ ad44e96b3b drafting readme 2021-03-21 19:10:24 +00:00
Trisha 02d4362c3b 🏁 build: fix Windows build for ptth_server 2021-03-21 14:07:09 -05:00
_ 2253ae3391 🐛 bug: fix reqwest feature needed for ptth_server 2021-03-21 18:28:08 +00:00
_ d15f8539cb 🎉 ptth_server to 1.2.0 2021-03-21 18:25:02 +00:00
_ 3ff9c0f46c add license 2021-03-21 18:22:32 +00:00
_ 6f2c14670e 🎊 always_equal to 1.0.0 2021-03-21 18:21:48 +00:00
_ 02070e3660 🐛 bug: add metadata to ptth_relay 2021-03-21 18:16:29 +00:00
_ fc4893f2e8 🎉 ptth_relay to 1.2.0 2021-03-21 18:11:39 +00:00
_ 71a2b37fab 🎉 ptth_core to 1.2.0 2021-03-21 17:56:20 +00:00
_ 85de9e3a7e drafting new readme 2021-03-21 17:49:34 +00:00
_ f05257d833 🐛 bug fix requests timing out after 40 seconds.
This is such a stupid bug. I swear I checked this exact piece of code for
this exact bug and it wasn't there. But after I fixed it, I had no problem
running a download for 11 hours straight.

This fix won't affect a case where the firewall is actually closing long-
running connections (which is bad behavior, but it could happen) or a case
where the Internet is just flakey and the connection drops.

But it will fix the most common case where both client and server are on
robust connections and the download times out anyway.
2021-03-21 15:43:31 +00:00
_ c1118971b0 add --throttle-upload option 2021-03-21 15:43:15 +00:00
_ 235e134cb2 ♻️ refactor: more clippy lints, and make read_git_version simpler 2021-03-21 03:45:00 +00:00
_ c6b2418a49 ♻️ refactor: split up large function at clippy's behest 2021-03-21 03:40:45 +00:00
_ 50fc509c8b 🚨 fix a bunch of easy clippy warnings 2021-03-21 03:34:47 +00:00
_ f1f13d6e17 ⬆️ deps: new version of dashmap 2021-03-21 03:15:01 +00:00
_ 820099c2ca ⬆️ deps: replace ulid with rusty_ulid so I can drop rand 0.6.x 2021-03-21 03:09:44 +00:00
_ 4dddfb1768 ⬆️ update important crates to Tokio 1.4.0 2021-03-21 03:01:06 +00:00
_ ee1db02b08 ♻️ refactor: use constructor for ConfigFile 2021-03-21 02:49:44 +00:00
_ 453532e48e add listen ID to http_listen 2021-03-16 15:15:16 +00:00
_ 3302411daa ptth_relay: update tokio, trying to find this bug 2021-03-16 14:50:52 +00:00
_ 62821c546b log error for 500 internal server error during 'listen' 2021-03-16 14:39:15 +00:00
_ 456ab04f78 impl auto-gen-key 2021-03-15 20:34:32 +00:00
_ a356d981a8 add file_server_root CLI opt too 2021-03-15 20:02:37 +00:00
_ 5b7934169b hide unfinished 'dark mode' flag 2021-03-15 19:56:44 +00:00
_ 56496bf97b add `--name` so caller program can provide name 2021-03-15 19:55:12 +00:00
_ 13c1ddc01a 🐛 bug: fix tests not compiling 2021-03-15 19:29:54 +00:00
_ 8a04481236 finish hooking up the unregistered servers page 2021-03-15 19:22:23 +00:00
_ 699cb671ec add unregistered servers page 2021-03-15 19:11:57 +00:00
_ 9648a9853c wip: debug proxy now owns a filter which can drop or modify request bodies 2021-03-06 22:58:23 +00:00
_ a980d151fc ⬆️ deps: upgrade everything to Tokio 1.2.0
And pretend I didn't completely goober the Docker build somehow
2021-03-06 21:46:35 +00:00
_ e0f5b229a1 🐳 build: fix Dockerfile 2021-03-06 19:52:04 +00:00
_ 1e42110ae1 ♻️ refactor: extract basic client tests 2021-03-06 19:36:37 +00:00