Commit Graph

69 Commits (eec17b10a14544132a8809a5aa236c0ea9288db2)

Author SHA1 Message Date
_ 7a47c705d7 update: add a few other assets from the logo 2020-12-18 18:10:00 +00:00
_ c70f44f4e4 📝 docs: update todo 2020-12-18 17:03:24 +00:00
_ 5f947ed73c 👕 refactor: Extract relay_state module 2020-12-13 03:29:54 +00:00
_ 532f99f770 💄 update: add dev mode and server Git version to server list 2020-12-13 03:00:45 +00:00
_ 0e4839e146 🐳 build: add Tini to Docker image, simplify Git version injection
Building the Git version into the code meant that Cargo had to recompile
ptth_relay every time I built. This is annoying and it doesn't add anything.

I changed it to read the Git version from a text file which is absent by
default, and present in the Docker image.
2020-12-13 02:20:12 +00:00
_ dc2958ad7a 📝 docs: add todo 2020-12-13 01:55:47 +00:00
_ 6861560274 📝 docs: update todo.md 2020-12-12 15:07:45 +00:00
_ 4014290f98 📝 docs (YNQAQKJS) add plan for 3rd auth route 2020-12-11 21:04:59 +00:00
_ 28ce6a32cd 💄 Show servers in the server list even if they aren't connected yet 2020-11-26 23:31:23 +00:00
_ bf4e5c7a5b ♻️ Planning changes to relay config 2020-11-26 21:50:55 +00:00
_ 8369dc8675 Reload relay config every minute 2020-11-25 03:09:21 +00:00
_ 7aafbba4d9 Add "last seen" to server list 2020-11-25 02:17:08 +00:00
_ bfe07fddc3 Add "--print-tripcode" option to ptth_server 2020-11-24 23:57:17 +00:00
_ 1b9eabf458 Relay sorting was fixed in the last commit 2020-11-24 23:55:59 +00:00
_ 5378e66e39 🐛 Use file permissions to forbid access to ptth_server.toml 2020-11-19 01:45:42 +00:00
_ 563465c85b Add todo 2020-11-19 01:01:53 +00:00
_ c726cb3456 Add todo 2020-11-19 00:12:00 +00:00
_ ed45e190ae Add todo 2020-11-19 00:10:32 +00:00
_ b333b56e80 Make Markdown previews sans-serif on principle 2020-11-10 03:01:00 +00:00
_ 63abdc3a16 💄 Show file server name in directory pages 2020-11-10 00:44:21 +00:00
_ 1d469c8dff Update todo / readme 2020-11-09 17:02:36 +00:00
_ 9714794122 Add trace log for streaming files 2020-11-09 16:33:13 +00:00
_ 116b3b4900 Marking known issues and wrapping up dev for the night 2020-11-09 00:56:29 +00:00
_ 49cd292115 🐛 Allowing spaces in server names 2020-11-09 00:56:29 +00:00
_ 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
_ f42068db89 🐛 Fix a bug in the backoff and update todo.
Video streaming and seeking is working pretty well now behind Caddy, but
I'm still seeing some lag when Firefox first starts a request.
2020-11-08 03:16:13 +00:00
_ 151f236a0b 💄 Tweak a few things and update todo 2020-11-07 23:10:01 +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
_ 5626ecc05c Update todo 2020-11-06 18:49:57 +00:00
_ b6f6987eec Update todo 2020-11-06 18:49:57 +00:00
_ 95a038f7af Running for real. Lots of todos added 2020-11-06 18:49:57 +00:00
_ 16984ddcd3 Split up the prefixes for frontend and servers so we can separate auth easier 2020-11-02 17:44:04 +00:00
_ 11d6471612 Update todo 2020-11-02 17:05:31 +00:00
_ aabd51cba6 Update todo and readme 2020-11-02 15:51:13 +00:00
_ 1de6c0aca7 The server will now error out if it detects that its own password is weak 2020-11-02 14:23:08 +00:00
_ 903d5f338d Working on README. The relay will now error out if 2 servers share a tripcode 2020-11-02 13:52:27 +00:00
_ 189ae7abd7 🐛 Don't create new rendezvous points for unknown servers.
Also improve error reporting when loading config files
2020-11-02 13:37:08 +00:00
_ b1b37ee696 Update todo 2020-11-02 13:16:57 +00:00
_ dfa3689565 Update todo 2020-11-01 22:13:38 -06:00
_ c5ecf4bc88 Add another layer in the URI to make room for future features 2020-11-01 22:07:55 -06:00
_ 13117e4237 Add tripcodes for a little security 2020-11-01 21:34:50 -06:00
_ e7edf84282 🐛 Fix rendezvous problem.
Now clients can queue up for a server, which fixes a few things:

- A server can receive multiple requests at once, reducing roundtrip
count in theory
- Clients can wait up to 30 seconds on the relay before the server
is ready for them
- If the server has just left to service a request, the client will
queue instead of seeing the server as absent and giving up
2020-11-01 20:07:46 -06:00
_ c056118798 Set up CLI flags to manually test 2 servers at once 2020-10-31 22:17:11 -05:00
_ 41e5f99688 update todo 2020-10-31 16:00:13 -05:00