Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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` | |||||
2021-04-11 | Separate tar archive and tar flags | Dean Li | 5 | -7/+25 | |
It used to have one flag (-r) to enable both tar archive and tar. Now it has two flags [ -r: for tar, -g: for tar archive]. Related to #451 | |||||
2021-04-09 | Fix breadcrumbs mess on mobile | Ali MJ Al-Nasrawy | 1 | -1/+1 | |
On mobile devices, 'display: block' is set for '.directory' class. While this neccessary to make the whole row for directories entry clickable, it distorts the links in breadcrumbs. | |||||
2021-04-09 | Fix breadcrumbs for RTL languages | Ali MJ Al-Nasrawy | 1 | -3/+3 | |
2021-04-08 | Avoid double-encoding file URL | Ali MJ Al-Nasrawy | 1 | -6/+5 | |
Now that the '%' char itself is accepted in the file name and is encoded into '%25', this exposed a previously silent bug: `base` is already percent-encoded but it is encoded again when setting `file_url`. This produces erroneous URLs such as: '/%2523/x.y' instead of '/%23/x.y' for the path '/#/x.y' | |||||
2021-04-06 | Fix percent encoding for URL | Ali MJ Al-Nasrawy | 1 | -5/+14 | |
Use proper percent-encoding charset for each context. | |||||
2021-04-05 | Avoid unneccessary syscalls for entry metadata | Ali MJ Al-Nasrawy | 1 | -4/+7 | |
For non-symlink files and directories, there is no need to call `std::fs::metadata()` as the metadata are already obtained via `entry.metadata()` | |||||
2021-04-05 | Honor --no-symlinks option when listing | Ali MJ Al-Nasrawy | 1 | -1/+1 | |
2021-03-29 | Move symlink symbol from html to css | Ali MJ Al-Nasrawy | 1 | -2/+2 | |
This should facilitate testing because this symbol will no longer a part of the entry text shown in html. | |||||
2021-03-28 | Bump deps | Sven-Hendrik Haase | 1 | -0/+1 | |
2021-03-28 | Refuse to start without explicit path if not attached to interactive terminal | Sven-Hendrik Haase | 4 | -38/+61 | |
2021-03-28 | Change start message without arguments to be a bit more clear | Sven-Hendrik Haase | 1 | -4/+4 | |
2021-03-28 | Change default log level to Warn | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-03-28 | Better message for when provided index file doesn't exist | Sven-Hendrik Haase | 1 | -3/+4 | |
2021-03-28 | Print supported shells for completions in help command | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-03-28 | Refactor and separate out arg handling and config handling | Sven-Hendrik Haase | 2 | -91/+94 | |
2021-03-28 | Generate completions with `miniserve --print-completions <shell>` | Andy Freeland | 2 | -8/+18 | |
This patch adds a `--print-completions` option to generate shell completion files at runtime. This ensures the completions are always up to date. Fixes #377. | |||||
2021-03-27 | Bring back the symlink symbol | Ali MJ Al-Nasrawy | 2 | -0/+17 | |
2021-03-27 | Resolve symlinks when listing | Ali MJ Al-Nasrawy | 2 | -23/+3 | |
This has the benefit of showing the size and modification date of the pointed-to file. Symlink to directories now respects '--dirs-first' option and broken symlinks don't show in directory listing. | |||||
2021-03-26 | Fix QR code display when using --random-route | Andy Freeland | 1 | -1/+1 | |
Previously the QR code would not display because `/` is a 404 when using `--random-route`. | |||||
2021-03-20 | Switch from failure to thiserror | Sven-Hendrik Haase | 1 | -28/+17 | |
2021-03-07 | Add option to show hidden files | Sven-Hendrik Haase | 3 | -25/+43 | |
2021-03-07 | Start without countdown in case an explicit index is chosen | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-03-07 | Fix DoS issue when deliberately sending unconforming URL paths | Sven-Hendrik Haase | 1 | -1/+1 | |
2021-03-01 | Use CSS to configure version footer look | Tamas Levai | 1 | -1/+1 | |
2021-03-01 | renderer: Follow alphabetical order in package uses | Tamas Levai | 1 | -1/+2 | |
2021-03-01 | Use structopt macros to ge crate info | Tamas Levai | 1 | -13/+2 | |
2021-03-01 | Fix clippy warning | Tamas Levai | 1 | -0/+1 | |