Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (cargo-release) version 0.17.0v0.17.0 | Sven-Hendrik Haase | 2021-09-04 | 4 | -4/+7 |
| | |||||
* | Add CHANGELOG entry for upload fix | Sven-Hendrik Haase | 2021-09-04 | 1 | -0/+2 |
| | |||||
* | Merge pull request #590 from aliemjay/sanitze-path | Sven-Hendrik Haase | 2021-09-04 | 2 | -13/+171 |
|\ | | | | | file_upload.rs: sanitize path input | ||||
| * | 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 | 2 | -6/+47 |
| | | |||||
| * | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 2021-09-01 | 2 | -11/+122 |
| | | | | | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | | Add CHANGELOG entry for fixed mobile info pills | Sven-Hendrik Haase | 2021-09-04 | 1 | -0/+1 |
| | | |||||
* | | Fix mobile view pills taking whole width (fixes #591) | Sven-Hendrik Haase | 2021-09-04 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #537 from aliemjay/src-refactor-misc | Sven-Hendrik Haase | 2021-09-04 | 5 | -32/+9 |
|\ \ | | | | | | | [Refactor] Miscellaneous small refactors | ||||
| * | | Update Cargo.lock | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -3/+2 |
| | | | |||||
| * | | Simplify custom headers | Ali MJ Al-Nasrawy | 2021-08-31 | 3 | -16/+6 |
| | | | | | | | | | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
| * | | extract_query_parameters(): avoid clone and simplify | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -15/+3 |
| | | | | | | | | | | | | Signe-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | | | Bump deps | Sven-Hendrik Haase | 2021-09-04 | 1 | -18/+18 |
| |/ |/| | |||||
* | | Add CHANGELOG entry for printing QR codes on terminal | Sven-Hendrik Haase | 2021-08-31 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #524 from aliemjay/qrcode-terminal | Sven-Hendrik Haase | 2021-08-31 | 1 | -2/+52 |
|\ \ | | | | | | | Print QR code to terminal | ||||
| * | | Print inverted QR codes side-by-side | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -5/+15 |
| | | | |||||
| * | | Address review comments | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | Print QR code to terminal | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -2/+42 |
| |/ | |||||
* / | Fix conditional release condition | Sven-Hendrik Haase | 2021-08-31 | 1 | -3/+3 |
|/ | |||||
* | (cargo-release) start next development iteration 0.16.1-alpha.0 | Sven-Hendrik Haase | 2021-08-31 | 2 | -2/+2 |
| | |||||
* | (cargo-release) version 0.16.0v0.16.0 | Sven-Hendrik Haase | 2021-08-31 | 4 | -4/+7 |
| | |||||
* | Add CHANGELOG entry for arguments rework | Sven-Hendrik Haase | 2021-08-31 | 1 | -0/+1 |
| | |||||
* | Merge pull request #529 from aliemjay/src-refactor | Sven-Hendrik Haase | 2021-08-31 | 6 | -467/+235 |
|\ | | | | | [Refactor] Fix clippy::too_many_arguments and rework error page rendering | ||||
| * | Use selected theme in error page | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -0/+10 |
| | | |||||
| * | Exclude embedded routes from authentication | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -48/+30 |
| | | |||||
| * | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 2021-08-30 | 6 | -423/+199 |
|/ | | | | | | | | | | | | | | | | | | | | | ... page rendering Too many arguments are moved around and many of them are already stored in MiniserveConfig. Many of these are used to render error pages. To fix this issue, it was necessary to rework error page rendering: 1. Implement `ResponseError` for `ContextualError` so that it can be returned from service handlers as is and will then be automatically logged to the console and converted into an error response. 2. At service handler level, all error responses are now rendered as plain text. 3. 'error_page_middleware' is now responsible for the rendering of the final error page from plain text reponses. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | Bump deps | Sven-Hendrik Haase | 2021-08-30 | 1 | -22/+22 |
| | |||||
* | Add CHANGELOG entry for symlink destination feature | Sven-Hendrik Haase | 2021-08-30 | 1 | -0/+1 |
| | |||||
* | Merge pull request #542 from deantvv/symlink-dest | Sven-Hendrik Haase | 2021-08-30 | 7 | -27/+69 |
|\ | | | | | Implement show symlink destination | ||||
| * | Implement show symlink destination | Dean Li | 2021-08-30 | 7 | -27/+69 |
|/ | | | | | | | | | | | | | Add option `show_symlink_info` to represent show symlink info or not. (Default to no) Show symlink destination after symlink symbol in directory listing Resemble `ls -l` and also the short argument select for this feature is also `-l`. Basic testing is included. Related to #499 | ||||
* | Add CHANGELOG entry for binding behavior revamp | Sven-Hendrik Haase | 2021-08-30 | 1 | -0/+1 |
| | |||||
* | Merge pull request #500 from aliemjay/interfaces | Sven-Hendrik Haase | 2021-08-30 | 4 | -118/+249 |
|\ | | | | | Interfaces | ||||
| * | address review comment | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -8/+14 |
| | | |||||
| * | Update Cargo.lock | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -21/+63 |
| | | |||||
| * | order interface vertically | Ali MJ Al-Nasrawy | 2021-08-30 | 2 | -12/+9 |
| | | |||||
| * | add comment to create_tcp_listener | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -0/+4 |
| | | |||||
| * | tests for binding behavior | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -0/+91 |
| | | |||||
| * | Use exit codes for failure | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -4/+5 |
| | | |||||
| * | Show IP addresses of all local interfaces | Ali MJ Al-Nasrawy | 2021-08-30 | 2 | -48/+44 |
| | | | | | | | | | | | | | | .. when binding to wildcard addresses (:: or 0.0.0.0) * Remove local variable `interfaces` because it is no longer used multiple times. | ||||
| * | Fix default binding behaviour | Ali MJ Al-Nasrawy | 2021-08-30 | 2 | -5/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | On some platforms, binding to to both "::" and "0.0.0.0" at the same time is not allowed because "::" may already accepts ipv4 connections. For other platforms, binding to both is necessary to support ipv4 and ipv6. This platform-specific behaviour is due to the variation in the default value for the socket option "IPV6_ONLY". Fix this by always setting the "IPv6_ONLY" sockopt to true! | ||||
| * | Fix -i 0.0.0.0 | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -23/+4 |
| | | | | | | | | | | Don't use `interfaces`, use `miniserve_config.interfaces` instead! Otherwise, "0.0.0.0" is converted to "localhost"! | ||||
| * | Fail if any address fails to bind | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -18/+13 |
|/ | |||||
* | Merge pull request #587 from svenstaro/switch-structopt-to-clap | Sven-Hendrik Haase | 2021-08-30 | 8 | -114/+198 |
|\ | | | | | Switch from structopt to clap v3 | ||||
| * | Add clap v3 switch to CHANGELOG | Sven-Hendrik Haase | 2021-08-30 | 1 | -0/+3 |
| | | |||||
| * | Switch from structopt to clap v3 | Sven-Hendrik Haase | 2021-08-30 | 7 | -114/+195 |
|/ | |||||
* | Merge pull request #586 from svenstaro/fix-warnings | Sven-Hendrik Haase | 2021-08-29 | 2 | -6/+9 |
|\ | | | | | Fix some warnings when building without TLS | ||||
| * | Fix stderr output in test index_fallback_to_listing | Sven-Hendrik Haase | 2021-08-29 | 1 | -3/+4 |
| | | |||||
| * | Fix some warnings when building without TLS | Sven-Hendrik Haase | 2021-08-29 | 1 | -3/+5 |
|/ | |||||
* | Merge pull request #585 from svenstaro/upload-artifact | Sven-Hendrik Haase | 2021-08-29 | 2 | -0/+8 |
|\ | | | | | Upload artifacts when building release binaries | ||||
| * | Limit CI jobs runtime to 30 minutes | Sven-Hendrik Haase | 2021-08-29 | 2 | -0/+2 |
| | |