Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch from deprecated get_if_addrs to if-addrs | Sven-Hendrik Haase | 2023-04-20 | 1 | -1/+1 |
| | | | | Fixes #1079. | ||||
* | Run cargo fmt | Sven-Hendrik Haase | 2022-12-30 | 1 | -3/+2 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2022-12-19 | 1 | -6/+6 |
| | |||||
* | Upgrade clap to v4 | Sven-Hendrik Haase | 2022-10-12 | 1 | -1/+1 |
| | |||||
* | Tidy up some imports | Sven-Hendrik Haase | 2022-09-20 | 1 | -5/+4 |
| | |||||
* | Merge branch 'master' into qrcode | cyqsimon | 2022-09-15 | 1 | -3/+2 |
|\ | |||||
| * | Merge pull request #902 from kianmeng/fix-typos | Sven-Hendrik Haase | 2022-09-15 | 1 | -1/+1 |
| |\ | | | | | | | Fix typos | ||||
| | * | Fix typos | Kian-Meng Ang | 2022-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | Found via `codespell -L crate`. | ||||
| * | | Fully qualify clap_complete::generate | Sven-Hendrik Haase | 2022-09-14 | 1 | -2/+1 |
| |/ | |||||
* | | Switch to `fast_qr` crate | cyqsimon | 2022-09-01 | 1 | -29/+4 |
| | | |||||
* | | Switch to `qrcode` lib | cyqsimon | 2022-08-22 | 1 | -27/+25 |
|/ | |||||
* | Remove trailing space to appease `cargo fmt` | cyqsimon | 2022-07-22 | 1 | -1/+1 |
| | |||||
* | Apply suggestions from code review | cyqsimon | 2022-07-22 | 1 | -1/+4 |
| | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | ||||
* | Minor refactor on `run` | cyqsimon | 2022-07-20 | 1 | -36/+16 |
| | |||||
* | refactor `configure_app` | cyqsimon | 2022-07-20 | 1 | -44/+24 |
| | |||||
* | Fix security issue with --no-symlinks | Sven-Hendrik Haase | 2022-05-18 | 1 | -0/+19 |
| | | | | | Even with --no-symlinks specified, if a direct path to a symlink had been entered, it would be resolved. This fixes that behavior and improves tests to ensure this behavior. | ||||
* | Add man page support using --print-manpage (fixes #730) | Sven-Hendrik Haase | 2022-02-20 | 1 | -0/+7 |
| | |||||
* | Bump deps | Sven-Hendrik Haase | 2022-02-16 | 1 | -1/+1 |
| | |||||
* | Fix route_prefix for css and favicon | Ali MJ Al-Nasrawy | 2022-02-06 | 1 | -5/+2 |
| | |||||
* | Merge 'jikstra/feat_route_prefix' #682 | Ali MJ Al-Nasrawy | 2022-02-06 | 1 | -5/+2 |
|\ | |||||
| * | Apply requested changes | jikstra | 2022-01-03 | 1 | -7/+1 |
| | | |||||
| * | Implement --route-prefix to set specific route prefix | jikstra | 2021-12-29 | 1 | -4/+7 |
| | | |||||
* | | update to actix-web v4.0-rc.2 | Ali MJ Al-Nasrawy | 2022-02-05 | 1 | -4/+4 |
| | | |||||
* | | merge from jikstra | Ali MJ Al-Nasrawy | 2022-02-05 | 1 | -1/+1 |
|\ \ | |||||
| * | | Upgrade clap | Sven-Hendrik Haase | 2022-01-03 | 1 | -1/+1 |
| |/ | |||||
* | | Bump actix-web to v4.0-beta.15 | jikstra | 2021-12-28 | 1 | -4/+10 |
| | | | | | | | | 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 |
|/ | |||||
* | Fixes type in main.rs | Sam Schlinkert | 2021-12-10 | 1 | -1/+1 |
| | | | "Availabe" -> "Available" | ||||
* | Refactor SPA-mode to make it more ergonomic | Sven-Hendrik Haase | 2021-10-25 | 1 | -14/+22 |
| | |||||
* | Merge pull request #515 from sinking-point/sinkingpoint/add-spa-index-option-474 | Sven-Hendrik Haase | 2021-10-25 | 1 | -10/+26 |
|\ | | | | | Add --spa-index option | ||||
| * | Use Path instead of PathBuf for parameter | Billy Bradley | 2021-10-18 | 1 | -3/+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 | 1 | -10/+37 |
| | | |||||
* | | Update clap | Sven-Hendrik Haase | 2021-10-18 | 1 | -16/+5 |
| | | |||||
* | | revert unnecessary changes | Ali MJ Al-Nasrawy | 2021-10-13 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #537 from aliemjay/src-refactor-misc | Sven-Hendrik Haase | 2021-09-04 | 1 | -11/+4 |
|\ | | | | | [Refactor] Miscellaneous small refactors | ||||
| * | Simplify custom headers | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -11/+4 |
| | | | | | | | | Signed-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 |
|/ | |||||
* | 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 | 1 | -95/+8 |
| | | | | | | | | | | | | | | | | | | | | | ... 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 | 1 | -0/+2 |
| | | | | | | | | | | | | | 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! |