Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added tests and small fixes | Silux | 2023-02-25 | 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! | ||||
* | Make clippy happy | Sven-Hendrik Haase | 2022-12-30 | 1 | -1/+1 |
| | |||||
* | Run cargo fmt | Sven-Hendrik Haase | 2022-12-30 | 3 | -7/+5 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2022-12-19 | 9 | -46/+44 |
| | |||||
* | Merge pull request #907 from svenstaro/dependabot/cargo/fake-tty-0.3.1 | Sven-Hendrik Haase | 2022-09-20 | 1 | -1/+1 |
|\ | | | | | Bump fake-tty from 0.2.0 to 0.3.1 | ||||
| * | Fix `fake-tty` API breaking change | cyqsimon | 2022-09-19 | 1 | -1/+1 |
| | | | | | | | | It's difficult to create a more trivial commit. Possible, but difficult. | ||||
* | | Merge pull request #858 from jonasdiemer/restrict-upload-dir | Sven-Hendrik Haase | 2022-09-20 | 1 | -2/+89 |
|\ \ | | | | | | | Added option restrict-upload-dir | ||||
| * | | 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 support for README.txt and README files | Gaurav-Lab-PC | 2022-09-19 | 1 | -10/+12 |
|/ | |||||
* | Merge branch 'master' into qrcode | cyqsimon | 2022-09-15 | 2 | -2/+130 |
|\ | |||||
| * | Merge pull request #902 from kianmeng/fix-typos | Sven-Hendrik Haase | 2022-09-15 | 1 | -2/+2 |
| |\ | | | | | | | Fix typos | ||||
| | * | Fix typos | Kian-Meng Ang | 2022-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | | Found via `codespell -L crate`. | ||||
| * | | Check for directories in default request test | Sven-Hendrik Haase | 2022-09-15 | 1 | -0/+3 |
| | | | |||||
| * | | Reformat readme tests and add some comments | Sven-Hendrik Haase | 2022-09-15 | 1 | -4/+11 |
| | | | |||||
| * | | Add README test in root | Gaurav | 2022-09-13 | 1 | -32/+69 |
| | | | | | | | | | | | | | | | Root and Directories' readme test is in different functions to make it easier to catch bugs. | ||||
| * | | Test for different README.md in all directories. | Gaurav | 2022-09-02 | 2 | -46/+41 |
| | | | |||||
| * | | Add test for README.md file for `--readme` | Gaurav | 2022-08-27 | 1 | -6/+23 |
| | | | |||||
| * | | Make cases for `--readme` test functions | Gaurav | 2022-08-26 | 1 | -48/+27 |
| | | | | | | | | | | | | | | | * remove extra functions for directory check * add directory listing check for with and without readme | ||||
| * | | Appease `cargo fmt` | Gaurav | 2022-08-26 | 1 | -3/+4 |
| | | | |||||
| * | | Use `TestServer` in `--readme` tests | Gaurav | 2022-08-26 | 2 | -43/+8 |
| | | | |||||
| * | | Modify `--readme` tests for directories | Gaurav | 2022-08-26 | 1 | -4/+4 |
| | | | |||||
| * | | Add tests for `--readme` | Gaurav | 2022-08-26 | 1 | -0/+124 |
| |/ | |||||
* | | Add tooltip on QR code | cyqsimon | 2022-09-15 | 1 | -1/+8 |
| | | |||||
* | | Fix test name | cyqsimon | 2022-09-15 | 1 | -1/+1 |
| | | |||||
* | | Restores webpage QR tests | cyqsimon | 2022-09-15 | 1 | -1/+21 |
| | | |||||
* | | Remove outdated test | cyqsimon | 2022-09-01 | 1 | -21/+1 |
| | | |||||
* | | Fix QR code test | cyqsimon | 2022-08-22 | 1 | -3/+3 |
| | | |||||
* | | Fix QR test screwing up terminal | cyqsimon | 2022-08-22 | 1 | -1/+3 |
| | | |||||
* | | Disable broken tests for Windows | cyqsimon | 2022-08-22 | 1 | -0/+5 |
| | | |||||
* | | Fix tests | cyqsimon | 2022-08-22 | 1 | -17/+68 |
|/ | |||||
* | Apply suggestions from code review | zhoupeiheng | 2022-07-28 | 2 | -30/+23 |
| | |||||
* | test: check_static_file_route_pattern | zhoupeiheng | 2022-07-28 | 1 | -0/+28 |
| | |||||
* | Fix test | cyqsimon | 2022-07-20 | 1 | -1/+1 |
| |