aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (cargo-release) version 0.16.0v0.16.0Sven-Hendrik Haase2021-08-314-4/+7
|
* Add CHANGELOG entry for arguments reworkSven-Hendrik Haase2021-08-311-0/+1
|
* Merge pull request #529 from aliemjay/src-refactorSven-Hendrik Haase2021-08-316-467/+235
|\ | | | | [Refactor] Fix clippy::too_many_arguments and rework error page rendering
| * Use selected theme in error pageAli MJ Al-Nasrawy2021-08-301-0/+10
| |
| * Exclude embedded routes from authenticationAli MJ Al-Nasrawy2021-08-301-48/+30
| |
| * Fix clippy::too_many_arguments and rework error ..Ali MJ Al-Nasrawy2021-08-306-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 depsSven-Hendrik Haase2021-08-301-22/+22
|
* Add CHANGELOG entry for symlink destination featureSven-Hendrik Haase2021-08-301-0/+1
|
* Merge pull request #542 from deantvv/symlink-destSven-Hendrik Haase2021-08-307-27/+69
|\ | | | | Implement show symlink destination
| * Implement show symlink destinationDean Li2021-08-307-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 revampSven-Hendrik Haase2021-08-301-0/+1
|
* Merge pull request #500 from aliemjay/interfacesSven-Hendrik Haase2021-08-304-118/+249
|\ | | | | Interfaces
| * address review commentAli MJ Al-Nasrawy2021-08-301-8/+14
| |
| * Update Cargo.lockAli MJ Al-Nasrawy2021-08-301-21/+63
| |
| * order interface verticallyAli MJ Al-Nasrawy2021-08-302-12/+9
| |
| * add comment to create_tcp_listenerAli MJ Al-Nasrawy2021-08-301-0/+4
| |
| * tests for binding behaviorAli MJ Al-Nasrawy2021-08-301-0/+91
| |
| * Use exit codes for failureAli MJ Al-Nasrawy2021-08-301-4/+5
| |
| * Show IP addresses of all local interfacesAli MJ Al-Nasrawy2021-08-302-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 behaviourAli MJ Al-Nasrawy2021-08-302-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.0Ali MJ Al-Nasrawy2021-08-301-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 bindAli MJ Al-Nasrawy2021-08-301-18/+13
|/
* Merge pull request #587 from svenstaro/switch-structopt-to-clapSven-Hendrik Haase2021-08-308-114/+198
|\ | | | | Switch from structopt to clap v3
| * Add clap v3 switch to CHANGELOGSven-Hendrik Haase2021-08-301-0/+3
| |
| * Switch from structopt to clap v3Sven-Hendrik Haase2021-08-307-114/+195
|/
* Merge pull request #586 from svenstaro/fix-warningsSven-Hendrik Haase2021-08-292-6/+9
|\ | | | | Fix some warnings when building without TLS
| * Fix stderr output in test index_fallback_to_listingSven-Hendrik Haase2021-08-291-3/+4
| |
| * Fix some warnings when building without TLSSven-Hendrik Haase2021-08-291-3/+5
|/
* Merge pull request #585 from svenstaro/upload-artifactSven-Hendrik Haase2021-08-292-0/+8
|\ | | | | Upload artifacts when building release binaries
| * Limit CI jobs runtime to 30 minutesSven-Hendrik Haase2021-08-292-0/+2
| |
| * Give artifacts unique nameSven-Hendrik Haase2021-08-291-0/+1
| |
| * Upload artifacts when building release binariesSven-Hendrik Haase2021-08-291-0/+5
|/ | | | We always do this unconditionally so that we can even check out artifacts from PRs.
* Run CI on pull_request as wellSven-Hendrik Haase2021-08-291-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 Haase2021-08-291-1/+1
| | | | This reverts commit 194b11ac055be7e2bad214646bd6e65cb8cf11b1.
* Merge pull request #584 from svenstaro/always-build-all-binariesSven-Hendrik Haase2021-08-292-8/+14
|\ | | | | Always build all binaries for all targets
| * Use custom freebsd image until cross is fixedSven-Hendrik Haase2021-08-291-1/+3
| |
| * Always build all binaries for all targetsSven-Hendrik Haase2021-08-291-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 onlySven-Hendrik Haase2021-08-291-1/+1
| | | | Having it run on pull_request too was just duplicated work.
* Fix CHANGELOG spacingSven-Hendrik Haase2021-08-291-2/+2
|
* Merge pull request #583 from aliemjay/index-fallbackSven-Hendrik Haase2021-08-292-18/+29
|\ | | | | list directory if index not found
| * list directory if index not foundAli MJ Al-Nasrawy2021-08-292-18/+29
| |
* | Add CHANGELOG entry for visited colorsSven-Hendrik Haase2021-08-291-0/+2
| |
* | Merge pull request #521 from raffomania/fix-visited-link-colorsSven-Hendrik Haase2021-08-291-5/+18
|\ \ | | | | | | add special colors for visited links
| * | add special colors for visited linksRafael Epplée2021-05-061-5/+18
| | |
* | | Merge pull request #513 from aliemjay/async-awaitSven-Hendrik Haase2021-08-292-135/+102
|\ \ \ | |_|/ |/| | [Refactor] file_upload.rs: Use async/await instead of explicit futures
| * | file_upload.rs: use async/awaitAli MJ Al-Nasrawy2021-08-282-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 upgradeSven-Hendrik Haase2021-08-281-0/+1
| |
* | Bump lockfileSven-Hendrik Haase2021-08-281-763/+272
| |
* | Merge pull request #582 from aliemjay/web-v4Sven-Hendrik Haase2021-08-286-67/+81
|\ \ | | | | | | migrate to actix-web v4.0-beta
| * | migrate to actix-web v4.0-betaAli MJ Al-Nasrawy2021-08-286-67/+81
|/ /