Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into rfc-resolve-symlinks | Ali MJ Al-Nasrawy | 2021-04-18 | 7 | -162/+221 |
|\ | |||||
| * | Merge pull request #492 from deantvv/tar-and-tar-archive | Sven-Hendrik Haase | 2021-04-18 | 5 | -7/+20 |
| |\ | | | | | | | Separate tar archive and tar flags | ||||
| | * | Change naming of uncompressed/compressed tarballs | Dean Li | 2021-04-18 | 5 | -23/+18 |
| | | | | | | | | | | | | | | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives` | ||||
| | * | Separate tar archive and tar flags | Dean Li | 2021-04-11 | 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 | ||||
| * | | Merge pull request #485 from aliemjay/percent-encode | Sven-Hendrik Haase | 2021-04-18 | 1 | -9/+17 |
| |\ \ | | | | | | | | | Fix URL percent encoding for special characters | ||||
| | * | | Avoid double-encoding file URL | Ali MJ Al-Nasrawy | 2021-04-08 | 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' | ||||
| | * | | Fix percent encoding for URL | Ali MJ Al-Nasrawy | 2021-04-06 | 1 | -5/+14 |
| | |/ | | | | | | | | | | Use proper percent-encoding charset for each context. | ||||
| * | | Fix breadcrumbs mess on mobile | Ali MJ Al-Nasrawy | 2021-04-09 | 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. | ||||
| * | | Fix breadcrumbs for RTL languages | Ali MJ Al-Nasrawy | 2021-04-09 | 1 | -3/+3 |
| |/ | |||||
| * | Bump deps | Sven-Hendrik Haase | 2021-03-28 | 1 | -0/+1 |
| | | |||||
| * | Refuse to start without explicit path if not attached to interactive terminal | Sven-Hendrik Haase | 2021-03-28 | 4 | -38/+61 |
| | | |||||
| * | Change start message without arguments to be a bit more clear | Sven-Hendrik Haase | 2021-03-28 | 1 | -4/+4 |
| | | |||||
| * | Change default log level to Warn | Sven-Hendrik Haase | 2021-03-28 | 1 | -1/+1 |
| | | |||||
| * | Better message for when provided index file doesn't exist | Sven-Hendrik Haase | 2021-03-28 | 1 | -3/+4 |
| | | |||||
| * | Print supported shells for completions in help command | Sven-Hendrik Haase | 2021-03-28 | 1 | -1/+1 |
| | | |||||
| * | Refactor and separate out arg handling and config handling | Sven-Hendrik Haase | 2021-03-28 | 2 | -91/+94 |
| | | |||||
| * | Merge pull request #482 from rouge8/shell-completions | Sven-Hendrik Haase | 2021-03-28 | 2 | -8/+18 |
| |\ | | | | | | | Generate completions with `miniserve --print-completions <shell>` | ||||
| | * | Generate completions with `miniserve --print-completions <shell>` | Andy Freeland | 2021-03-28 | 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. | ||||
* | | | Avoid unneccessary syscalls for entry metadata | Ali MJ Al-Nasrawy | 2021-04-05 | 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()` | ||||
* | | | Honor --no-symlinks option when listing | Ali MJ Al-Nasrawy | 2021-04-05 | 1 | -1/+1 |
| | | | |||||
* | | | Move symlink symbol from html to css | Ali MJ Al-Nasrawy | 2021-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | This should facilitate testing because this symbol will no longer a part of the entry text shown in html. | ||||
* | | | Bring back the symlink symbol | Ali MJ Al-Nasrawy | 2021-03-27 | 2 | -0/+17 |
| | | | |||||
* | | | Resolve symlinks when listing | Ali MJ Al-Nasrawy | 2021-03-27 | 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. | ||||
* / | Fix QR code display when using --random-route | Andy Freeland | 2021-03-26 | 1 | -1/+1 |
|/ | | | | | Previously the QR code would not display because `/` is a 404 when using `--random-route`. | ||||
* | Switch from failure to thiserror | Sven-Hendrik Haase | 2021-03-20 | 1 | -28/+17 |
| | |||||
* | Add option to show hidden files | Sven-Hendrik Haase | 2021-03-07 | 3 | -25/+43 |
| | |||||
* | Start without countdown in case an explicit index is chosen | Sven-Hendrik Haase | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | Fix DoS issue when deliberately sending unconforming URL paths | Sven-Hendrik Haase | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | Use CSS to configure version footer look | Tamas Levai | 2021-03-01 | 1 | -1/+1 |
| | |||||
* | renderer: Follow alphabetical order in package uses | Tamas Levai | 2021-03-01 | 1 | -1/+2 |
| | |||||
* | Use structopt macros to ge crate info | Tamas Levai | 2021-03-01 | 1 | -13/+2 |
| | |||||
* | Fix clippy warning | Tamas Levai | 2021-03-01 | 1 | -0/+1 |
| | |||||
* | Fix indentation | Tamas Levai | 2021-02-28 | 1 | -6/+6 |
| | |||||
* | Add program version footer | Tamas Levai | 2021-02-28 | 6 | -0/+52 |
| | |||||
* | Re-do the way setting multiple headers works | Sven-Hendrik Haase | 2021-02-28 | 2 | -17/+12 |
| | |||||
* | Multiple headers support for custom headers | Dean Li | 2021-02-27 | 2 | -35/+32 |
| | |||||
* | Move the parsing header logic to args.rs | Dean Li | 2021-02-24 | 2 | -21/+42 |
| | |||||
* | Allow set custom headers from CLI | Dean Li | 2021-02-24 | 2 | -0/+33 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2021-02-19 | 6 | -28/+28 |
| | |||||
* | Fix lint | Sven-Hendrik Haase | 2021-01-20 | 1 | -2/+1 |
| | |||||
* | enable multiple file upload | Michael Hueschen | 2021-01-15 | 1 | -1/+1 |
| | | | | | | | tested with miniserve running on linux, with browsers: - Safari on iPhone - Firefox on Linux (NixOS) | ||||
* | Fix indentation | Tamas Levai | 2021-01-04 | 2 | -3/+3 |
| | | | | Convert tabs to spaces. | ||||
* | Add option to list directories first | Tamas Levai | 2021-01-04 | 3 | -0/+16 |
| | |||||
* | Fix lint | Sven-Hendrik Haase | 2021-01-04 | 1 | -2/+2 |
| | |||||
* | Fix lint | Sven-Hendrik Haase | 2020-12-28 | 1 | -4/+2 |
| | |||||
* | Now compiles on stable | Sven-Hendrik Haase | 2020-11-08 | 1 | -2/+0 |
| | |||||
* | Merge pull request #380 from ahti/master | Sven-Hendrik Haase | 2020-10-02 | 7 | -871/+174 |
|\ | | | | | client-side color-scheme handling | ||||
| * | more feedback | Lukas Stabe | 2020-10-02 | 1 | -2/+3 |
| | | |||||
| * | address feedback | Lukas Stabe | 2020-10-02 | 1 | -2/+11 |
| | | |||||
| * | restore default theme cli option and add default theme dark option | Lukas Stabe | 2020-10-01 | 6 | -4/+79 |
| | |