Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-03-07 | Reformat everything with Rust 2024 edition | Sven-Hendrik Haase | 1 | -16/+24 | |
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 | Get rid of server_no_stderr | Sven-Hendrik Haase | 1 | -4/+4 | |
We'll now always just pipe the contents of the child to the parent. | |||||
2025-01-10 | Reorganize imports to be more consistent | Sven-Hendrik Haase | 1 | -4/+6 | |
2024-01-13 | Use tokio::fs instead of std::fs to enable async file operations (fixes #445) | Sven-Hendrik Haase | 1 | -2/+2 | |
2022-12-30 | Run cargo fmt | Sven-Hendrik Haase | 1 | -1/+2 | |
2022-12-19 | Fix lints | Sven-Hendrik Haase | 1 | -3/+3 | |
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 | |
2022-09-18 | test case with two allowed dirs | Jonas Diemer | 1 | -35/+39 | |
2022-09-18 | Moved use to global | Jonas Diemer | 1 | -2/+1 | |
2022-09-18 | renaming of option for clarity in test | Jonas Diemer | 1 | -5/+5 | |
2022-09-18 | Renamed option for more clarity | Jonas Diemer | 1 | -4/+4 | |
2022-09-18 | Avoid error message during testing of restricted | Jonas Diemer | 1 | -2/+2 | |
2022-09-18 | added test cases for sub directory | Jonas Diemer | 1 | -5/+10 | |
2022-09-18 | Added positive test for --restrict-upload-dir | Jonas Diemer | 1 | -0/+45 | |
2022-09-18 | Removed redundant test code, fixed comments | Jonas Diemer | 1 | -11/+5 | |
2022-09-18 | Test that uploads fail if outside restricted dir | Jonas Diemer | 1 | -0/+38 | |
2022-03-13 | Add test cases for the media-type parameters | Johannes May | 1 | -0/+20 | |
2021-09-04 | Better name and docs for symlink test | Ali MJ Al-Nasrawy | 1 | -1/+7 | |
2021-09-04 | Adress review comments | Ali MJ Al-Nasrawy | 1 | -4/+8 | |
2021-09-01 | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 1 | -1/+80 | |
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-08-26 | new partial-injection syntax | Ali MJ Al-Nasrawy | 1 | -2/+2 | |
2021-08-26 | tests: Refactor! | Ali MJ Al-Nasrawy | 1 | -40/+10 | |
Remove duplicate code responsible for the initial setup and teardown of the test binary. This introduces `TestServer` as a resource manager for a running miniserve binary, which can be created with the fixtures `server()` and `server_no_stderr()` It also provides convenience function for handling server url. | |||||
2020-03-11 | Bump reqwests to v0.10 | Sven-Hendrik Haase | 1 | -10/+13 | |
2019-12-18 | Added test for disabled file uploads | Damian | 1 | -0/+46 | |
2019-05-01 | Make tests into their own proper modules without star imports | Sven-Hendrik Haase | 1 | -1/+11 | |
Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit. | |||||
2019-04-29 | Move helpers.rs to fixtures/mod.rs | khai96_ | 1 | -2/+2 | |
2019-04-28 | Split integration test into multiple files | khai96_ | 1 | -0/+51 | |