Commit Graph

37 Commits (9e134d55aa99697cfe656ac7276da87c249c74e3)

Author SHA1 Message Date
_ 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
_ 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
_ bf48eb2dbd Update todo 2020-10-31 16:53:38 +00:00
_ be53772337 🎉 Add parent directory link.
I was way overthinking this one.
2020-10-31 15:46:24 +00:00
_ 55b3e9f520 🚧 Working on handlebars for prettier directories 2020-10-30 21:31:03 -05:00
_ 325f68b566 ♻️ Make the server's inner handlers look more like a regular Hyper server 2020-10-30 17:11:35 -05:00
_ 2e2e6a5f32 Use percent encoding for spaces in file names 2020-10-30 16:46:03 -05:00
_ 5a690b287e update todo 2020-10-30 21:26:46 +00:00
_ 8a301a6d03 🚧 Can index directories now, but a lot of stuff is missing 2020-10-29 13:31:13 +00:00
_ af226cb36c 🚧 Working on directory indexes 2020-10-29 13:19:14 +00:00
_ 6f31c93c1f ♻️ 2020-10-29 12:45:35 +00:00
_ ec5b770ae3 ♻️ Extract serve_file fn 2020-10-29 12:17:40 +00:00
_ 722eac97e8 Typo 2020-10-27 22:57:49 -05:00
_ 1e6c29fb01 Byte ranges are properly advertised and served.
This means Firefox can seek video / audio served by us.
To think, you used to need Flash to do this.
2020-10-27 22:05:19 -05:00
_ 9e3470d5b4 ❇️ content-length response header 2020-10-27 21:33:03 -05:00
_ 1e86e9735e ♻️ Towards response headers and status code 2020-10-27 21:10:40 -05:00
_ d286adadc9 ❇️ You can now actually request different files 2020-10-27 20:39:02 -05:00
_ cab36c7a19 Actually it works okay, I was just off on my estimate of how big videos are.
Still needs to support byte range, too.
2020-10-27 13:26:40 +00:00
_ 587849bcfa Sending a picture to the client. Streaming works on the server but not yet on the relay 2020-10-27 03:58:50 +00:00