Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (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 |
| | | |||||
| * | Give artifacts unique name | Sven-Hendrik Haase | 2021-08-29 | 1 | -0/+1 |
| | | |||||
| * | Upload artifacts when building release binaries | Sven-Hendrik Haase | 2021-08-29 | 1 | -0/+5 |
|/ | | | | We always do this unconditionally so that we can even check out artifacts from PRs. | ||||
* | Run CI on pull_request as well | Sven-Hendrik Haase | 2021-08-29 | 1 | -1/+1 |
| | | | | Turns out we need this as otherwise we'd get no CI at all for pull requests. Who woulda thunk. | ||||
* | Revert "Run CI on push only" | Sven-Hendrik Haase | 2021-08-29 | 1 | -1/+1 |
| | | | | This reverts commit 194b11ac055be7e2bad214646bd6e65cb8cf11b1. | ||||
* | Merge pull request #584 from svenstaro/always-build-all-binaries | Sven-Hendrik Haase | 2021-08-29 | 2 | -8/+14 |
|\ | | | | | Always build all binaries for all targets | ||||
| * | Use custom freebsd image until cross is fixed | Sven-Hendrik Haase | 2021-08-29 | 1 | -1/+3 |
| | | |||||
| * | Always build all binaries for all targets | Sven-Hendrik Haase | 2021-08-29 | 1 | -7/+11 |
|/ | | | | | This uses the original workflow we used for publishing the binaries but now we use it as CI as well with an optional publish in case we are in a tag push. | ||||
* | Run CI on push only | Sven-Hendrik Haase | 2021-08-29 | 1 | -1/+1 |
| | | | | Having it run on pull_request too was just duplicated work. | ||||
* | Fix CHANGELOG spacing | Sven-Hendrik Haase | 2021-08-29 | 1 | -2/+2 |
| | |||||
* | Merge pull request #583 from aliemjay/index-fallback | Sven-Hendrik Haase | 2021-08-29 | 2 | -18/+29 |
|\ | | | | | list directory if index not found | ||||
| * | list directory if index not found | Ali MJ Al-Nasrawy | 2021-08-29 | 2 | -18/+29 |
| | | |||||
* | | Add CHANGELOG entry for visited colors | Sven-Hendrik Haase | 2021-08-29 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #521 from raffomania/fix-visited-link-colors | Sven-Hendrik Haase | 2021-08-29 | 1 | -5/+18 |
|\ \ | | | | | | | add special colors for visited links | ||||
| * | | add special colors for visited links | Rafael Epplée | 2021-05-06 | 1 | -5/+18 |
| | | | |||||
* | | | Merge pull request #513 from aliemjay/async-await | Sven-Hendrik Haase | 2021-08-29 | 2 | -135/+102 |
|\ \ \ | |_|/ |/| | | [Refactor] file_upload.rs: Use async/await instead of explicit futures | ||||
| * | | file_upload.rs: use async/await | Ali MJ Al-Nasrawy | 2021-08-28 | 2 | -135/+102 |
|/ / | | | | | | | | | ... and rewrite {save_file, handle_multipart} ... and fix clippy warning about create_error_response() being always Ok() | ||||
* | | Add CHANGELOG entry for actix-web 4 upgrade | Sven-Hendrik Haase | 2021-08-28 | 1 | -0/+1 |
| | | |||||
* | | Bump lockfile | Sven-Hendrik Haase | 2021-08-28 | 1 | -763/+272 |
| | | |||||
* | | Merge pull request #582 from aliemjay/web-v4 | Sven-Hendrik Haase | 2021-08-28 | 6 | -67/+81 |
|\ \ | | | | | | | migrate to actix-web v4.0-beta | ||||
| * | | migrate to actix-web v4.0-beta | Ali MJ Al-Nasrawy | 2021-08-28 | 6 | -67/+81 |
|/ / |