_
134035f198
Merge remote-tracking branch 'origin/main'
2021-10-14 18:35:31 -05:00
_
2972e85671
➕ use rust_embed and default configs so you can call `ptth_file_server` from any working dir.
...
This is like Python's old `-m SimpleHTTPServer` but better because I wrote it.
2021-10-02 19:49:19 +00:00
_
b8d07c526a
➕ add ptth_file_server to ptth_multi_call_server.
...
Even with all 3 servers it's only 18 MB - Most of the big code is shared.
2021-10-02 19:07:55 +00:00
_
324c1f7cd6
♻️ refactor: remove pointless `Option <>` for file server root
2021-08-29 19:49:32 -05:00
_
d8c6e1bd14
⬆️ update to Tokio 1.8.x to get a feature I want
2021-07-18 17:33:34 +00:00
_
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
_
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
_
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
_
27336d8571
add debug_proxy which I can probably use to inject network problems during tests
2021-03-05 03:17:56 +00:00
_
031b03a13c
🎉 release: bump versions to 1.1.0 for everything in prod
...
I forgot to set the version in Cargo.toml files for 1.0.0.
I'm not gonna do 0.x versions because this is already live somewhere
and I don't like that 0.x adds complexity to versioning.
2021-01-20 20:49:32 -06:00
_
bcc673b74b
♻️ refactor: extract metrics monitor function and add it to ptth_server
2020-12-20 17:32:13 -06:00
_
f335644b03
➕ update: measuring CPU usage every minute
2020-12-20 17:17:31 -06:00
_
1e5aa528c9
🚧 wip: collecting CPU time used.
2020-12-20 20:10:29 +00: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
_
64ac4baaa8
➕ update: print RSS in MiB at startup
2020-12-20 18:58:14 +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
_
028970cdf0
♻️ Remove the hyper dep from ptth_server.exe
2020-11-29 21:55:24 +00:00
_
f4b0c64e01
♻️ Move ptth_file_server into a bin crate so ptth_server can shed some
...
dependencies
2020-11-29 21:42:03 +00:00