aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (cargo-release) version 0.17.0v0.17.0Sven-Hendrik Haase2021-09-044-4/+7
|
* Add CHANGELOG entry for upload fixSven-Hendrik Haase2021-09-041-0/+2
|
* Merge pull request #590 from aliemjay/sanitze-pathSven-Hendrik Haase2021-09-042-13/+171
|\ | | | | file_upload.rs: sanitize path input
| * Better name and docs for symlink testAli MJ Al-Nasrawy2021-09-041-1/+7
| |
| * Adress review commentsAli MJ Al-Nasrawy2021-09-042-6/+47
| |
| * file_upload.rs: sanitize path inputAli MJ Al-Nasrawy2021-09-012-11/+122
| | | | | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* | Add CHANGELOG entry for fixed mobile info pillsSven-Hendrik Haase2021-09-041-0/+1
| |
* | Fix mobile view pills taking whole width (fixes #591)Sven-Hendrik Haase2021-09-041-0/+2
| |
* | Merge pull request #537 from aliemjay/src-refactor-miscSven-Hendrik Haase2021-09-045-32/+9
|\ \ | | | | | | [Refactor] Miscellaneous small refactors
| * | Update Cargo.lockAli MJ Al-Nasrawy2021-08-311-3/+2
| | |
| * | Simplify custom headersAli MJ Al-Nasrawy2021-08-313-16/+6
| | | | | | | | | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
| * | extract_query_parameters(): avoid clone and simplifyAli MJ Al-Nasrawy2021-08-311-15/+3
| | | | | | | | | | | | Signe-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* | | Bump depsSven-Hendrik Haase2021-09-041-18/+18
| |/ |/|
* | Add CHANGELOG entry for printing QR codes on terminalSven-Hendrik Haase2021-08-311-0/+1
| |
* | Merge pull request #524 from aliemjay/qrcode-terminalSven-Hendrik Haase2021-08-311-2/+52
|\ \ | | | | | | Print QR code to terminal
| * | Print inverted QR codes side-by-sideAli MJ Al-Nasrawy2021-08-311-5/+15
| | |
| * | Address review commentsAli MJ Al-Nasrawy2021-08-311-1/+1
| | |
| * | Print QR code to terminalAli MJ Al-Nasrawy2021-08-311-2/+42
| |/
* / Fix conditional release conditionSven-Hendrik Haase2021-08-311-3/+3
|/
* (cargo-release) start next development iteration 0.16.1-alpha.0Sven-Hendrik Haase2021-08-312-2/+2
|
* (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
| |