Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformat everything with Rust 2024 edition | Sven-Hendrik Haase | 2025-03-07 | 1 | -16/+24 |
| | |||||
* | feat: address comments; add in new argument (`temp-directory`); add comments ↵ | Alec Di Vito | 2025-02-22 | 1 | -8/+83 |
| | | | | to upload code; add tests | ||||
* | feat: implement temporary file uploads and tweak mobile design | Alec Di Vito | 2025-02-17 | 1 | -2/+17 |
| | |||||
* | Get rid of server_no_stderr | Sven-Hendrik Haase | 2025-02-06 | 1 | -4/+4 |
| | | | | We'll now always just pipe the contents of the child to the parent. | ||||
* | Reorganize imports to be more consistent | Sven-Hendrik Haase | 2025-01-10 | 1 | -4/+6 |
| | |||||
* | Use tokio::fs instead of std::fs to enable async file operations (fixes #445) | Sven-Hendrik Haase | 2024-01-13 | 1 | -2/+2 |
| | |||||
* | Run cargo fmt | Sven-Hendrik Haase | 2022-12-30 | 1 | -1/+2 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2022-12-19 | 1 | -3/+3 |
| | |||||
* | Return 403 instead of 500 for upload errs | Jonas Diemer | 2022-09-19 | 1 | -1/+1 |
| | |||||
* | Switched to using Path in test to handle windows platform. | Jonas Diemer | 2022-09-19 | 1 | -12/+12 |
| | |||||
* | Fixing (hopefully) issue with path on Windows | Jonas Diemer | 2022-09-18 | 1 | -7/+5 |
| | |||||
* | Fixed formatting | Jonas Diemer | 2022-09-18 | 1 | -3/+4 |
| | |||||
* | trying to handle paths in a way that works for windows | Jonas Diemer | 2022-09-18 | 1 | -8/+12 |
| | |||||
* | Test dir with starting - | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | |||||
* | sanitize allowed upload paths for cases like ./dir | Jonas Diemer | 2022-09-18 | 1 | -0/+1 |
| | |||||
* | Use argument -u instead of --allowed-upload-dir | Jonas Diemer | 2022-09-18 | 1 | -5/+5 |
| | |||||
* | check status code when restricted; fix formatting | Jonas Diemer | 2022-09-18 | 1 | -14/+12 |
| | |||||
* | test case with two allowed dirs | Jonas Diemer | 2022-09-18 | 1 | -35/+39 |
| | |||||
* | Moved use to global | Jonas Diemer | 2022-09-18 | 1 | -2/+1 |
| | |||||
* | renaming of option for clarity in test | Jonas Diemer | 2022-09-18 | 1 | -5/+5 |
| | |||||
* | Renamed option for more clarity | Jonas Diemer | 2022-09-18 | 1 | -4/+4 |
| | |||||
* | Avoid error message during testing of restricted | Jonas Diemer | 2022-09-18 | 1 | -2/+2 |
| | |||||
* | added test cases for sub directory | Jonas Diemer | 2022-09-18 | 1 | -5/+10 |
| | |||||
* | Added positive test for --restrict-upload-dir | Jonas Diemer | 2022-09-18 | 1 | -0/+45 |
| | |||||
* | Removed redundant test code, fixed comments | Jonas Diemer | 2022-09-18 | 1 | -11/+5 |
| | |||||
* | Test that uploads fail if outside restricted dir | Jonas Diemer | 2022-09-18 | 1 | -0/+38 |
| | |||||
* | Add test cases for the media-type parameters | Johannes May | 2022-03-13 | 1 | -0/+20 |
| | |||||
* | Better name and docs for symlink test | Ali MJ Al-Nasrawy | 2021-09-04 | 1 | -1/+7 |
| | |||||
* | Adress review comments | Ali MJ Al-Nasrawy | 2021-09-04 | 1 | -4/+8 |
| | |||||
* | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 2021-09-01 | 1 | -1/+80 |
| | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | new partial-injection syntax | Ali MJ Al-Nasrawy | 2021-08-26 | 1 | -2/+2 |
| | |||||
* | tests: Refactor! | Ali MJ Al-Nasrawy | 2021-08-26 | 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. | ||||
* | Bump reqwests to v0.10 | Sven-Hendrik Haase | 2020-03-11 | 1 | -10/+13 |
| | |||||
* | Added test for disabled file uploads | Damian | 2019-12-18 | 1 | -0/+46 |
| | |||||
* | Make tests into their own proper modules without star imports | Sven-Hendrik Haase | 2019-05-01 | 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. | ||||
* | Move helpers.rs to fixtures/mod.rs | khai96_ | 2019-04-29 | 1 | -2/+2 |
| | |||||
* | Split integration test into multiple files | khai96_ | 2019-04-28 | 1 | -0/+51 |