Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-10-26 | Upgrade to Rust 2021 edition | Sven-Hendrik Haase | 1 | -4/+4 | |
2021-10-25 | Refactor SPA-mode to make it more ergonomic | Sven-Hendrik Haase | 3 | -33/+35 | |
2021-10-25 | Fix lint | Sven-Hendrik Haase | 1 | -5/+1 | |
2021-10-18 | Update clap | Sven-Hendrik Haase | 2 | -28/+11 | |
2021-10-18 | Use Path instead of PathBuf for parameter | Billy Bradley | 1 | -3/+4 | |
2021-10-15 | Only clone spa_index when necessary | Billy Bradley | 1 | -1/+4 | |
2021-10-14 | Fix formatting | Billy Bradley | 1 | -1/+1 | |
2021-10-13 | revert unnecessary changes | Ali MJ Al-Nasrawy | 3 | -61/+26 | |
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 | 3 | -11/+57 | |
2021-09-23 | Rename Archlinux -> Arch Linux | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-09-10 | Implement --show-wget-footer argument | jikstra | 3 | -2/+12 | |
2021-09-10 | Apply requested changes | jikstra | 1 | -2/+2 | |
2021-09-04 | Adress review comments | Ali MJ Al-Nasrawy | 1 | -2/+39 | |
2021-09-02 | cargo fmt & cargo clippy | jikstra | 3 | -15/+8 | |
2021-09-02 | Fix rebase | jikstra | 3 | -23/+19 | |
2021-09-01 | Implement a raw rendering mode for recursive folder download | jikstra | 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 | |||||
2021-09-01 | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 1 | -10/+42 | |
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
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 | 2 | -15/+6 | |
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-08-31 | extract_query_parameters(): avoid clone and simplify | Ali MJ Al-Nasrawy | 1 | -15/+3 | |
Signe-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-08-30 | Use selected theme in error page | Ali MJ Al-Nasrawy | 1 | -0/+10 | |
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 | 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> | |||||
2021-08-30 | Implement show symlink destination | Dean Li | 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 | |||||
2021-08-30 | address review comment | Ali MJ Al-Nasrawy | 1 | -8/+14 | |
2021-08-30 | order interface vertically | Ali MJ Al-Nasrawy | 1 | -3/+3 | |
2021-08-30 | add comment to create_tcp_listener | Ali MJ Al-Nasrawy | 1 | -0/+4 | |
2021-08-30 | Use exit codes for failure | Ali MJ Al-Nasrawy | 1 | -4/+5 | |
2021-08-30 | Show IP addresses of all local interfaces | Ali MJ Al-Nasrawy | 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. | |||||
2021-08-30 | Fix default binding behaviour | Ali MJ Al-Nasrawy | 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! | |||||
2021-08-30 | Fix -i 0.0.0.0 | Ali MJ Al-Nasrawy | 1 | -23/+4 | |
Don't use `interfaces`, use `miniserve_config.interfaces` instead! Otherwise, "0.0.0.0" is converted to "localhost"! | |||||
2021-08-30 | Fail if any address fails to bind | Ali MJ Al-Nasrawy | 1 | -18/+13 | |
2021-08-30 | Switch from structopt to clap v3 | Sven-Hendrik Haase | 3 | -39/+61 | |
2021-08-29 | Fix some warnings when building without TLS | Sven-Hendrik Haase | 1 | -3/+5 | |
2021-08-29 | list directory if index not found | Ali MJ Al-Nasrawy | 1 | -18/+18 | |
2021-08-28 | file_upload.rs: use async/await | Ali MJ Al-Nasrawy | 2 | -135/+102 | |
... and rewrite {save_file, handle_multipart} ... and fix clippy warning about create_error_response() being always Ok() | |||||
2021-08-28 | migrate to actix-web v4.0-beta | Ali MJ Al-Nasrawy | 5 | -61/+75 | |
2021-08-28 | Switch TLS conditional compilation to feature | Sven-Hendrik Haase | 3 | -54/+9 | |
2021-08-27 | Conditionally enable TLS only on supported platforms | Sven-Hendrik Haase | 3 | -0/+66 | |
2021-08-27 | Add backslash to percent_encode_sets.PATH_SEGMENT. Fixes #545 | jikstra | 1 | -1/+1 | |
2021-08-27 | Fix accidental formatting | Sven-Hendrik Haase | 1 | -74/+74 | |
2021-08-27 | Add TLS support via rustls (fixes #18) | Sven-Hendrik Haase | 3 | -232/+292 | |
2021-08-25 | Upgrade qrcodegen (fixes #568) | Sven-Hendrik Haase | 1 | -2/+33 | |
2021-06-28 | Fix lints | Sven-Hendrik Haase | 2 | -4/+4 | |
2021-04-18 | Prefer UTF8 for text reponses (fixes #263) | Sven-Hendrik Haase | 1 | -0/+1 | |
This should fix most encoding problems in most cases where text files are accessed on various locales. | |||||
2021-04-18 | Rename compression code references to 'archive' | Sven-Hendrik Haase | 3 | -35/+35 | |
This name more closely resembles its purpose. For instance, we also now support plain tar archives which are uncompressed but archives nonetheless. | |||||
2021-04-18 | Change naming of uncompressed/compressed tarballs | Dean Li | 5 | -23/+18 | |
Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives` |