Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-01-30 | completely disable the listing renderer when indexing is disabled | Carson McManus | 1 | -3/+15 | |
2024-01-16 | Add option for compress response | zuisong | 1 | -1/+4 | |
2024-01-14 | Compress response using `actix_web::middleware::compress` | Dean Li | 1 | -0/+1 | |
2023-09-05 | rename `file_upload` to `file_op` | cyqsimon | 1 | -2/+2 | |
- This is in preparation for adding deletion code | |||||
2023-08-07 | Adjust from feedback | Norberto Lopes | 1 | -1/+6 | |
- remove info logging - add comment to clarify logic | |||||
2023-08-06 | Add pretty urls | Norberto Lopes | 1 | -1/+23 | |
This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`. | |||||
2023-07-21 | use grass include macro; remove build.rs | Bao Trinh | 1 | -1/+1 | |
2023-07-12 | Separate color schemes into separate files | Bao Trinh | 1 | -3/+14 | |
2023-07-10 | Create shared file utiity module | cyqsimon | 1 | -0/+1 | |
2023-07-05 | Fix ANSI color codes are printed when not a tty | Sven-Hendrik Haase | 1 | -12/+14 | |
Fixes #1095. | |||||
2023-07-02 | Remove atty dep | Sven-Hendrik Haase | 1 | -4/+4 | |
We can now use the stabilized IsTerminal trait. | |||||
2023-04-20 | Switch from deprecated get_if_addrs to if-addrs | Sven-Hendrik Haase | 1 | -1/+1 | |
Fixes #1079. | |||||
2022-12-30 | Run cargo fmt | Sven-Hendrik Haase | 1 | -3/+2 | |
2022-12-19 | Fix lints | Sven-Hendrik Haase | 1 | -6/+6 | |
2022-10-12 | Upgrade clap to v4 | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-09-20 | Tidy up some imports | Sven-Hendrik Haase | 1 | -5/+4 | |
2022-09-14 | Fully qualify clap_complete::generate | Sven-Hendrik Haase | 1 | -2/+1 | |
2022-09-14 | Fix typos | Kian-Meng Ang | 1 | -1/+1 | |
Found via `codespell -L crate`. | |||||
2022-09-01 | Switch to `fast_qr` crate | cyqsimon | 1 | -29/+4 | |
2022-08-22 | Switch to `qrcode` lib | cyqsimon | 1 | -27/+25 | |
2022-07-22 | Remove trailing space to appease `cargo fmt` | cyqsimon | 1 | -1/+1 | |
2022-07-22 | Apply suggestions from code review | cyqsimon | 1 | -1/+4 | |
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | |||||
2022-07-20 | Minor refactor on `run` | cyqsimon | 1 | -36/+16 | |
2022-07-20 | refactor `configure_app` | cyqsimon | 1 | -44/+24 | |
2022-05-18 | Fix security issue with --no-symlinks | Sven-Hendrik Haase | 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. | |||||
2022-02-20 | Add man page support using --print-manpage (fixes #730) | Sven-Hendrik Haase | 1 | -0/+7 | |
2022-02-16 | Bump deps | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-02-06 | Fix route_prefix for css and favicon | Ali MJ Al-Nasrawy | 1 | -5/+2 | |
2022-02-05 | update to actix-web v4.0-rc.2 | Ali MJ Al-Nasrawy | 1 | -4/+4 | |
2022-01-03 | Apply requested changes | jikstra | 1 | -7/+1 | |
2022-01-03 | Upgrade clap | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-12-29 | Implement --route-prefix to set specific route prefix | jikstra | 1 | -4/+7 | |
2021-12-28 | Bump actix-web to v4.0-beta.15 | jikstra | 1 | -4/+10 | |
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-12-28 | Bump actix-web to v4.0-beta.9 | Ali MJ Al-Nasrawy | 1 | -4/+0 | |
2021-12-10 | Fixes type in main.rs | Sam Schlinkert | 1 | -1/+1 | |
"Availabe" -> "Available" | |||||
2021-10-25 | Refactor SPA-mode to make it more ergonomic | Sven-Hendrik Haase | 1 | -14/+22 | |
2021-10-18 | Update clap | Sven-Hendrik Haase | 1 | -16/+5 | |
2021-10-18 | Use Path instead of PathBuf for parameter | Billy Bradley | 1 | -3/+4 | |
2021-10-14 | Fix formatting | Billy Bradley | 1 | -1/+1 | |
2021-10-13 | revert unnecessary changes | Ali MJ Al-Nasrawy | 1 | -5/+5 | |
2021-10-10 | Use NamedFile as default handler to simplify --spa-index option implementation | Billy Bradley | 1 | -17/+5 | |
2021-10-08 | Add --spa-index option | Billy Bradley | 1 | -10/+37 | |
2021-08-31 | Print inverted QR codes side-by-side | Ali MJ Al-Nasrawy | 1 | -5/+15 | |
2021-08-31 | Address review comments | Ali MJ Al-Nasrawy | 1 | -1/+1 | |
2021-08-31 | Print QR code to terminal | Ali MJ Al-Nasrawy | 1 | -2/+42 | |
2021-08-31 | Simplify custom headers | Ali MJ Al-Nasrawy | 1 | -11/+4 | |
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-08-30 | Exclude embedded routes from authentication | Ali MJ Al-Nasrawy | 1 | -48/+30 | |
2021-08-30 | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 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> | |||||
2021-08-30 | Implement show symlink destination | Dean Li | 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 | |||||
2021-08-30 | address review comment | Ali MJ Al-Nasrawy | 1 | -8/+14 | |