Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-04-25 | Fix some clippy lints | Sven-Hendrik Haase | 1 | -2/+2 | |
2025-03-20 | Add --directory-size flag to enable directory size calculation | Sven-Hendrik Haase | 1 | -2/+5 | |
This is turned off by default as it's potentially quite IO intensive, especially on HDDs. | |||||
2025-03-09 | Fix dir size calculation for percent-encoded paths with spaces | Sven-Hendrik Haase | 2 | -4/+12 | |
2025-03-07 | Add asynchronous directory size counting | Sven-Hendrik Haase | 2 | -0/+56 | |
This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread. | |||||
2025-03-07 | Reformat everything with Rust 2024 edition | Sven-Hendrik Haase | 15 | -142/+198 | |
2025-03-07 | Upgrade to Rust 2024 edition | Sven-Hendrik Haase | 1 | -1/+1 | |
2025-03-07 | Add healthcheck route at /__miniserve_internal/healthcheck | Sven-Hendrik Haase | 1 | -0/+19 | |
Fixes #1435 | |||||
2025-02-22 | feat: address comments; add in new argument (`temp-directory`); add comments ↵ | Alec Di Vito | 1 | -8/+83 | |
to upload code; add tests | |||||
2025-02-17 | feat: implement temporary file uploads and tweak mobile design | Alec Di Vito | 1 | -2/+17 | |
2025-02-06 | move favicon and css to stable, non-random routes | Lukas Stabe | 1 | -3/+3 | |
2025-02-06 | Strip symlink target dir to make Windows happy | Sven-Hendrik Haase | 1 | -1/+1 | |
Turns out Windows doesn't like forward slashes. | |||||
2025-02-06 | Clean up and modernize rstest usage | Sven-Hendrik Haase | 7 | -148/+127 | |
We still had some old-style syntax in there. | |||||
2025-02-06 | Get rid of server_no_stderr | Sven-Hendrik Haase | 6 | -54/+28 | |
We'll now always just pipe the contents of the child to the parent. | |||||
2025-02-06 | Make symlinks into global fixtures | Sven-Hendrik Haase | 4 | -60/+48 | |
So far, tests had to create their own symlinks which made them less concise. Also, now that we always have symlinks in all tests, side effects of having them won't go undetected. | |||||
2025-02-05 | add read-only webdav support | Lukas Stabe | 1 | -0/+164 | |
2025-01-10 | Reorganize imports to be more consistent | Sven-Hendrik Haase | 15 | -78/+92 | |
2025-01-10 | Remove some unnecessary #[allow(dead_code)] | Sven-Hendrik Haase | 2 | -12/+2 | |
2024-09-12 | Fix lints | Sven-Hendrik Haase | 2 | -3/+3 | |
2024-06-09 | Bump reqwest to v0.12 | Sven-Hendrik Haase | 2 | -2/+2 | |
2024-06-09 | Remove explicit dependency on http | Sven-Hendrik Haase | 2 | -2/+2 | |
We now use the one supplied by actix-web. | |||||
2024-01-30 | tweak test assertions | Carson McManus | 1 | -1/+5 | |
2024-01-30 | add test for disabled archives | Carson McManus | 1 | -0/+28 | |
2024-01-30 | add unit tests | Carson McManus | 1 | -0/+31 | |
2024-01-13 | Make default sorting test more meaningful | Sven-Hendrik Haase | 1 | -12/+27 | |
2024-01-13 | Clean up default order function | Sven-Hendrik Haase | 2 | -17/+13 | |
I removed the stringly typing as we already have enums for this that we can make use of. | |||||
2024-01-13 | Fix formatting | Sven-Hendrik Haase | 1 | -1/+1 | |
2024-01-13 | Use tokio::fs instead of std::fs to enable async file operations (fixes #445) | Sven-Hendrik Haase | 1 | -2/+2 | |
2024-01-13 | Set default sorting order and method with arguments | elandsborough | 2 | -1/+45 | |
2024-01-07 | Skip newline test case on Windows | Sven-Hendrik Haase | 1 | -0/+1 | |
2024-01-07 | Fix serving files with a newline (fixes #1294) | Sven-Hendrik Haase | 1 | -0/+1 | |
2023-09-05 | Fix clippy complaints | cyqsimon | 1 | -36/+36 | |
2023-08-21 | Fix formatting | Sven-Hendrik Haase | 1 | -6/+10 | |
2023-08-08 | Add tests for `--auth-file` flag | Proudmuslim | 2 | -0/+65 | |
2023-08-06 | Add pretty urls | Norberto Lopes | 1 | -0/+18 | |
This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`. | |||||
2023-04-16 | Add EC key support (closes #1080) | Sven-Hendrik Haase | 7 | -104/+157 | |
2023-02-25 | Added tests and small fixes | Silux | 1 | -3/+19 | |
...discovered when writing the tests. Ran rustfmt, clippy::all, cargo test, everything passed and I hope the tests I wrote are good. Now with 100% less forgotten debug logs! | |||||
2022-12-30 | Make clippy happy | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-12-30 | Run cargo fmt | Sven-Hendrik Haase | 3 | -7/+5 | |
2022-12-19 | Fix lints | Sven-Hendrik Haase | 9 | -46/+44 | |
2022-09-19 | Add support for README.txt and README files | Gaurav-Lab-PC | 1 | -10/+12 | |
2022-09-19 | Fix `fake-tty` API breaking change | cyqsimon | 1 | -1/+1 | |
It's difficult to create a more trivial commit. Possible, but difficult. | |||||
2022-09-19 | Return 403 instead of 500 for upload errs | Jonas Diemer | 1 | -1/+1 | |
2022-09-19 | Switched to using Path in test to handle windows platform. | Jonas Diemer | 1 | -12/+12 | |
2022-09-18 | Fixing (hopefully) issue with path on Windows | Jonas Diemer | 1 | -7/+5 | |
2022-09-18 | Fixed formatting | Jonas Diemer | 1 | -3/+4 | |
2022-09-18 | trying to handle paths in a way that works for windows | Jonas Diemer | 1 | -8/+12 | |
2022-09-18 | Test dir with starting - | Jonas Diemer | 1 | -1/+1 | |
2022-09-18 | sanitize allowed upload paths for cases like ./dir | Jonas Diemer | 1 | -0/+1 | |
2022-09-18 | Use argument -u instead of --allowed-upload-dir | Jonas Diemer | 1 | -5/+5 | |
2022-09-18 | check status code when restricted; fix formatting | Jonas Diemer | 1 | -14/+12 | |