aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix lintsSven-Hendrik Haase2022-12-191-4/+4
|
* Fix clap 4 behavior when allowing duplicate argsSven-Hendrik Haase2022-11-111-12/+3
|
* Golf a use lineSven-Hendrik Haase2022-10-141-2/+1
|
* Fix clap deprecationsSven-Hendrik Haase2022-10-141-36/+35
| | | | Also update README
* Upgrade clap to v4Sven-Hendrik Haase2022-10-121-33/+24
|
* Tidy up some importsSven-Hendrik Haase2022-09-201-2/+3
|
* Improved output of -hJonas Diemer2022-09-181-1/+1
|
* cargo fmtJonas Diemer2022-09-181-1/+6
|
* Use argument -u instead of --allowed-upload-dirJonas Diemer2022-09-181-11/+5
|
* Renamed option for more clarityJonas Diemer2022-09-181-3/+5
|
* Switched to use of PathBuf, fixed for subdirsJonas Diemer2022-09-181-3/+2
|
* Added dependency to -u for --restrict-upload-dirJonas Diemer2022-09-181-1/+2
|
* Added option restrict-upload-dirJonas Diemer2022-09-181-0/+4
|
* Fix typosKian-Meng Ang2022-09-141-1/+1
| | | | Found via `codespell -L crate`.
* Correct SpellingGaurav2022-08-141-1/+1
|
* Add `--readme` info and reformatGaurav2022-08-141-2/+2
|
* Add `--readme` flag to cliGaurav2022-08-141-0/+4
|
* Create directory (#781)Sheepy2022-06-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability to make directory Frontend for making directories Fix potential security vulnerability (CWE-23) Add tests Update README.md Disallow using parent directories altogether Fix formatting Fix clippy warnings Address review comments Update README.md Change `making` to `creation` Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> Have make directory flag require file upload flag Address review comments * Disallow uploading files and making directories through symlinks when disabled * Add test * Clippy formatting changes * Add test doc comment
* Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase2022-05-231-4/+4
| | | | This is so it doesn't break current configurations. Let's not surprise the users.
* Add configuration `change-theme` (#805)FLAMINGO2022-05-231-0/+4
| | | Add configuration `change-theme`Add configuration `change-theme`
* Fix security issue with --no-symlinksSven-Hendrik Haase2022-05-181-2/+2
| | | | | 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.
* Allow to set the accept input attribute to arbitrary valuesJohannes May2022-03-121-0/+20
|
* Add man page support using --print-manpage (fixes #730)Sven-Hendrik Haase2022-02-201-0/+4
|
* Merge 'jikstra/feat_route_prefix' #682Ali MJ Al-Nasrawy2022-02-061-1/+5
|\
| * Implement --route-prefix to set specific route prefixjikstra2021-12-291-1/+5
| |
* | Upgrade clapSven-Hendrik Haase2022-01-031-1/+1
|/
* Bump depsSven-Hendrik Haase2021-12-091-2/+2
|
* Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase2021-10-251-6/+6
|
* Fix lintSven-Hendrik Haase2021-10-251-5/+1
|
* Merge pull request #515 from sinking-point/sinkingpoint/add-spa-index-option-474Sven-Hendrik Haase2021-10-251-0/+8
|\ | | | | Add --spa-index option
| * Add --spa-index optionBilly Bradley2021-10-081-0/+8
| |
* | Update clapSven-Hendrik Haase2021-10-181-12/+6
|/
* Implement --show-wget-footer argumentjikstra2021-09-101-0/+4
|
* Simplify custom headersAli MJ Al-Nasrawy2021-08-311-4/+2
| | | | Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Implement show symlink destinationDean Li2021-08-301-0/+4
| | | | | | | | | | | | | 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
* Switch from structopt to clap v3Sven-Hendrik Haase2021-08-301-33/+42
|
* Switch TLS conditional compilation to featureSven-Hendrik Haase2021-08-281-12/+2
|
* Conditionally enable TLS only on supported platformsSven-Hendrik Haase2021-08-271-0/+12
|
* Fix accidental formattingSven-Hendrik Haase2021-08-271-74/+74
|
* Add TLS support via rustls (fixes #18)Sven-Hendrik Haase2021-08-271-74/+82
|
* Change naming of uncompressed/compressed tarballsDean Li2021-04-181-4/+4
| | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
* Separate tar archive and tar flagsDean Li2021-04-111-1/+5
| | | | | | | 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
* Print supported shells for completions in help commandSven-Hendrik Haase2021-03-281-1/+1
|
* Refactor and separate out arg handling and config handlingSven-Hendrik Haase2021-03-281-86/+21
|
* Generate completions with `miniserve --print-completions <shell>`Andy Freeland2021-03-281-4/+6
| | | | | | | | 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.
* Add option to show hidden filesSven-Hendrik Haase2021-03-071-0/+5
|
* Start without countdown in case an explicit index is chosenSven-Hendrik Haase2021-03-071-1/+1
|
* Add program version footerTamas Levai2021-02-281-0/+5
|
* Re-do the way setting multiple headers worksSven-Hendrik Haase2021-02-281-7/+5
|
* Multiple headers support for custom headersDean Li2021-02-271-28/+19
|