_
fd238d8c2b
♻️ refactor: rename file_server::State to file_server::FileServer
2021-04-17 19:10:52 -05:00
_
ae33337156
♻️ refactor: clean up ptth_server
...
- Found I was passing the file server root twice
- Removed handlebars from the public API. The templates are fixed
when ptth_server ships, so I don't think users of the lib should
care what handlebars is.
- Making other stuff private where possible
2021-04-17 18:59:59 -05:00
_
d16b0c4c61
🚨 `cargo check` pass
2021-04-10 09:41:21 -05:00
_
d9669a7073
proof of concept for private browser cache based on etag and if-none-match
2021-04-03 17:26:53 +00:00
_
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
_
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
_
235e134cb2
♻️ refactor: more clippy lints, and make read_git_version simpler
2021-03-21 03:45:00 +00:00
_
50fc509c8b
🚨 fix a bunch of easy clippy warnings
2021-03-21 03:34:47 +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
_
f335644b03
➕ update: measuring CPU usage every minute
2020-12-20 17:17:31 -06:00
_
96106e68fc
♻️ refactor: use file_server::State directly more
2020-12-20 19:55:20 +00:00
_
4cb0911b77
➕ update: add RSS MiB to server root page
2020-12-20 19:46:30 +00:00
_
e5103d48bd
➕ update: add ArcSwap to update gauges lock-free
2020-12-20 19:35:32 +00:00
_
b2b0bbc8fc
♻️ refactor: rename
2020-12-20 19:00:22 +00:00
_
066c95dc07
♻️ refactor: extract html.rs
2020-12-20 18:38:39 +00:00
_
4bd38180d0
♻️ refactor: remove lifetime on handlebars
2020-12-20 18:23:17 +00:00
_
1aff4389bd
♻️ refactor: move file server runtime state into file_server
2020-12-20 18:10:11 +00:00
_
009601e136
♻️ refactor: move file server config into file_server
2020-12-20 18:04:19 +00:00
_
e8d94da661
♻️ refactor: change PerInstance to Startup
2020-12-20 17:44:03 +00:00
_
b54be58abc
🚨 refactor: rename InstanceMetrics to PerInstance
2020-12-18 23:45:30 +00:00
_
d03c1a5476
➕ update: add InstanceMetrics and replace ServerInfo
2020-12-18 20:43:34 +00:00
_
cda627fa4b
⭐ new: add JSON API in server for dir listings
2020-12-15 05:15:17 +00:00
_
8079b3f778
♻️ Remove "internal" from names in the internal module
2020-11-29 23:15:45 +00:00
_
bb4c4e803a
♻️ Extract file server internal parts to their own file
2020-11-29 23:12:56 +00:00
_
6e6e062c51
♻️ Move Markdown previewing to its own file
2020-11-29 22:58:38 +00:00
_
ab95485d92
♻️ Fix clippy issues
2020-11-29 22:41:48 +00:00
_
b94a3a1e17
Move byte range code into its own file
2020-11-29 22:31:54 +00:00
_
b43a6c2e4b
♻️ Move emoji icons into one place
2020-11-29 22:12:25 +00:00
_
028970cdf0
♻️ Remove the hyper dep from ptth_server.exe
2020-11-29 21:55:24 +00:00
_
d6430e39a9
♻️ Get rid of more unwraps and panics
2020-11-29 21:38:23 +00:00
_
eada65d94b
♻️ Remove unwraps from file server module
2020-11-29 19:59:47 +00:00
_
f212931842
♻️ Remove more unwraps
2020-11-29 19:47:40 +00:00
_
720aae2201
♻️ Working on errors for file server and server
2020-11-29 19:19:59 +00:00
_
c3ff3deb8e
♻️ Fix some clippy warnings
2020-11-29 19:05:28 +00:00
_
47c59447f3
♻️ Splitting tests for file server into their own tests.rs
2020-11-29 18:50:51 +00:00