Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'svenstaro:master' into restrict-upload-dir | Jonas Diemer | 2022-09-19 | 1 | -12/+59 |
|\ | |||||
| * | Merge pull request #908 from svenstaro/dependabot/cargo/clap-3.2.22 | Sven-Hendrik Haase | 2022-09-19 | 1 | -12/+59 |
| |\ | | | | | | | Bump clap from 3.2.21 to 3.2.22 | ||||
| | * | Bump clap from 3.2.21 to 3.2.22 | dependabot[bot] | 2022-09-19 | 1 | -12/+59 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 3.2.21 to 3.2.22. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/v3.2.22/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.2.21...v3.2.22) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | | Return 403 instead of 500 for upload errs | Jonas Diemer | 2022-09-19 | 3 | -4/+8 |
| | | |||||
* | | Fixed clippy issue (single-char string to char) | Jonas Diemer | 2022-09-19 | 1 | -1/+1 |
| | | |||||
* | | Changed handling of allowed path to fix Windows | Jonas Diemer | 2022-09-19 | 2 | -3/+9 |
| | | |||||
* | | 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 |
| | | |||||
* | | fix lint errors | Jonas Diemer | 2022-09-18 | 1 | -2/+2 |
| | | |||||
* | | Improved output of -h | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | | |||||
* | | Test dir with starting - | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | | |||||
* | | cargo fmt | Jonas Diemer | 2022-09-18 | 4 | -12/+27 |
| | | |||||
* | | sanitize allowed upload paths for cases like ./dir | Jonas Diemer | 2022-09-18 | 3 | -2/+4 |
| | | |||||
* | | Use argument -u instead of --allowed-upload-dir | Jonas Diemer | 2022-09-18 | 3 | -18/+12 |
| | | |||||
* | | 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 |
| | | |||||
* | | Clarity of comment | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | ||||
* | | clarity of comment | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | ||||
* | | renaming of option for clarity in test | Jonas Diemer | 2022-09-18 | 1 | -5/+5 |
| | | |||||
* | | Update src/file_upload.rs | Jonas Diemer | 2022-09-18 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | ||||
* | | Renamed option for more clarity | Jonas Diemer | 2022-09-18 | 5 | -13/+14 |
| | | |||||
* | | 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 |
| | | |||||
* | | cleaned up code using any() | Jonas Diemer | 2022-09-18 | 2 | -25/+7 |
| | | |||||
* | | Switched to use of PathBuf, fixed for subdirs | Jonas Diemer | 2022-09-18 | 4 | -15/+26 |
| | | |||||
* | | Added dependency to -u for --restrict-upload-dir | Jonas Diemer | 2022-09-18 | 1 | -1/+2 |
| | | |||||
* | | 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 |
| | | |||||
* | | fixed rendering of upload if non-restricted | Jonas Diemer | 2022-09-18 | 1 | -1/+2 |
| | | |||||
* | | Added option restrict-upload-dir | Jonas Diemer | 2022-09-18 | 4 | -1/+29 |
|/ | |||||
* | Add CHANGELOG entry for QR code rewrite | Sven-Hendrik Haase | 2022-09-18 | 1 | -0/+1 |
| | |||||
* | Merge pull request #848 from cyqsimon/qrcode | Sven-Hendrik Haase | 2022-09-18 | 8 | -136/+183 |
|\ | | | | | Switch to `fast_qr` lib | ||||
| * | Merge branch 'master' into qrcode | cyqsimon | 2022-09-15 | 19 | -402/+539 |
| |\ | |||||
| * | | Add tooltip on QR code | cyqsimon | 2022-09-15 | 2 | -2/+9 |
| | | | |||||
| * | | Fix test name | cyqsimon | 2022-09-15 | 1 | -1/+1 |
| | | | |||||
| * | | Restores webpage QR tests | cyqsimon | 2022-09-15 | 1 | -1/+21 |
| | | | |||||
| * | | Move QR margin size into `consts` | cyqsimon | 2022-09-01 | 2 | -1/+4 |
| | | | |||||
| * | | Switch to `fast_qr` crate | cyqsimon | 2022-09-01 | 6 | -130/+29 |
| | | | |||||
| * | | Remove leftover `dbg!` | cyqsimon | 2022-09-01 | 1 | -1/+0 |
| | | | |||||
| * | | Remove outdated test | cyqsimon | 2022-09-01 | 1 | -21/+1 |
| | | | |||||
| * | | Fix drop-down QR code | cyqsimon | 2022-09-01 | 5 | -77/+73 |
| | | | |||||
| * | | Fix rustfmt complaints | cyqsimon | 2022-08-22 | 1 | -6/+13 |
| | | | |||||
| * | | Fix QR code test | cyqsimon | 2022-08-22 | 1 | -3/+3 |
| | | | |||||
| * | | Use SASS nesting | cyqsimon | 2022-08-22 | 1 | -12/+13 |
| | | | |||||
| * | | Remove separators in CSS | cyqsimon | 2022-08-22 | 1 | -5/+0 |
| | | | |||||
| * | | Fix QR test screwing up terminal | cyqsimon | 2022-08-22 | 1 | -1/+3 |
| | | |