aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Move the parsing header logic to args.rsDean Li2021-02-241-2/+35
|
* Allow set custom headers from CLIDean Li2021-02-241-0/+5
|
* Fix lintsSven-Hendrik Haase2021-02-191-2/+2
|
* Fix indentationTamas Levai2021-01-041-1/+1
| | | | Convert tabs to spaces.
* Add option to list directories firstTamas Levai2021-01-041-0/+5
|
* restore default theme cli option and add default theme dark optionLukas Stabe2020-10-011-0/+26
|
* remove default color scheme cli argumentLukas Stabe2020-09-261-14/+0
|
* move css out of html into its own routeLukas Stabe2020-09-261-2/+4
|
* add title option (#335) and breadcrumb links in headingLukas Stabe2020-09-241-0/+5
|
* Add embedded favicon (fixes #364)Sven-Hendrik Haase2020-09-241-0/+5
|
* cargo fmtSven-Hendrik Haase2020-07-201-1/+1
|
* Add generate QR code (#330)wyhaya2020-07-051-0/+5
| | | | * Add generate QR code * Add --qrcode option
* Bind to random port when port 0 specifiedIsaac Parker2020-06-281-1/+7
|
* Update nanoid to 0.3Sven-Hendrik Haase2020-06-261-1/+1
|
* Fix arg formattingSven-Hendrik Haase2020-05-141-1/+2
|
* rename variables correctlymarawan ragab2020-05-101-6/+6
|