Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump actix-web to v4.0-beta.15 | jikstra | 2021-12-28 | 6 | -32/+56 |
| | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | Bump actix-web to v4.0-beta.9 | Ali MJ Al-Nasrawy | 2021-12-28 | 1 | -4/+0 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2021-12-20 | 1 | -1/+1 |
| | |||||
* | Fixes type in main.rs | Sam Schlinkert | 2021-12-10 | 1 | -1/+1 |
| | | | "Availabe" -> "Available" | ||||
* | Bump deps | Sven-Hendrik Haase | 2021-12-09 | 2 | -3/+3 |
| | |||||
* | Upgrade to Rust 2021 edition | Sven-Hendrik Haase | 2021-10-26 | 1 | -4/+4 |
| | |||||
* | Refactor SPA-mode to make it more ergonomic | Sven-Hendrik Haase | 2021-10-25 | 3 | -33/+35 |
| | |||||
* | Fix lint | Sven-Hendrik Haase | 2021-10-25 | 1 | -5/+1 |
| | |||||
* | Merge pull request #515 from sinking-point/sinkingpoint/add-spa-index-option-474 | Sven-Hendrik Haase | 2021-10-25 | 3 | -11/+49 |
|\ | | | | | Add --spa-index option | ||||
| * | Use Path instead of PathBuf for parameter | Billy Bradley | 2021-10-18 | 1 | -3/+4 |
| | | |||||
| * | Only clone spa_index when necessary | Billy Bradley | 2021-10-15 | 1 | -1/+4 |
| | | |||||
| * | Fix formatting | Billy Bradley | 2021-10-14 | 1 | -1/+1 |
| | | |||||
| * | Use NamedFile as default handler to simplify --spa-index option implementation | Billy Bradley | 2021-10-10 | 1 | -17/+5 |
| | | |||||
| * | Add --spa-index option | Billy Bradley | 2021-10-08 | 3 | -11/+57 |
| | | |||||
* | | Update clap | Sven-Hendrik Haase | 2021-10-18 | 2 | -28/+11 |
| | | |||||
* | | revert unnecessary changes | Ali MJ Al-Nasrawy | 2021-10-13 | 3 | -61/+26 |
|/ | |||||
* | Merge pull request #508 from Jikstra/feat_raw_mode | Sven-Hendrik Haase | 2021-09-23 | 5 | -23/+125 |
|\ | | | | | Implement a raw rendering mode for recursive folder download | ||||
| * | Implement --show-wget-footer argument | jikstra | 2021-09-10 | 3 | -2/+12 |
| | | |||||
| * | Merge branch 'master' into feat_raw_mode | Jikstra | 2021-09-10 | 4 | -44/+90 |
| |\ | |||||
| * | | Apply requested changes | jikstra | 2021-09-10 | 1 | -2/+2 |
| | | | |||||
| * | | cargo fmt & cargo clippy | jikstra | 2021-09-02 | 3 | -15/+8 |
| | | | |||||
| * | | Fix rebase | jikstra | 2021-09-02 | 3 | -23/+19 |
| | | | |||||
| * | | Implement a raw rendering mode for recursive folder download | jikstra | 2021-09-01 | 3 | -20/+125 |
| | | | | | | | | | | | | | | | | | | | | | - Raw mode only displays file/folders and is more focused on computer processing - Display a banner in footer to recursively download the current folder with wget | ||||
* | | | Rename Archlinux -> Arch Linux | Sven-Hendrik Haase | 2021-09-23 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Merge pull request #590 from aliemjay/sanitze-path | Sven-Hendrik Haase | 2021-09-04 | 1 | -12/+81 |
|\ \ | | | | | | | file_upload.rs: sanitize path input | ||||
| * | | Adress review comments | Ali MJ Al-Nasrawy | 2021-09-04 | 1 | -2/+39 |
| | | | |||||
| * | | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 2021-09-01 | 1 | -10/+42 |
| |/ | | | | | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | | Merge pull request #537 from aliemjay/src-refactor-misc | Sven-Hendrik Haase | 2021-09-04 | 3 | -30/+9 |
|\ \ | |/ |/| | [Refactor] Miscellaneous small refactors | ||||
| * | Simplify custom headers | Ali MJ Al-Nasrawy | 2021-08-31 | 2 | -15/+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> | ||||
* | | 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 |
|/ | |||||
* | 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> | ||||
* | Implement show symlink destination | Dean Li | 2021-08-30 | 5 | -18/+43 |
| | | | | | | | | | | | | | 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 | ||||
* | address review comment | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -8/+14 |
| | |||||
* | order interface vertically | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -3/+3 |
| | |||||
* | add comment to create_tcp_listener | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -0/+4 |
| | |||||
* | 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 | 1 | -48/+43 |
| | | | | | | | .. 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 | 1 | -5/+22 |
| | | | | | | | | | | | | 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 |
| | |||||
* | Switch from structopt to clap v3 | Sven-Hendrik Haase | 2021-08-30 | 3 | -39/+61 |
| | |||||
* | Fix some warnings when building without TLS | Sven-Hendrik Haase | 2021-08-29 | 1 | -3/+5 |
| | |||||
* | Merge pull request #583 from aliemjay/index-fallback | Sven-Hendrik Haase | 2021-08-29 | 1 | -18/+18 |
|\ | | | | | list directory if index not found | ||||
| * | list directory if index not found | Ali MJ Al-Nasrawy | 2021-08-29 | 1 | -18/+18 |
| | | |||||
* | | 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() |