aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into upload-progress-barSven-Hendrik Haase2025-02-071-3/+13
|\
| * add read-only webdav supportLukas Stabe2025-02-051-0/+6
| |
| * Fix formattingSven-Hendrik Haase2024-10-111-1/+5
| |
| * Prefix OVERWRITE_FILES env varSven-Hendrik Haase2024-10-111-1/+1
| | | | | | | | Fixes #1457.
| * Fix typos in CLIZakhary Kaplan2024-06-261-1/+1
| |
| * Remove explicit dependency on httpSven-Hendrik Haase2024-06-091-1/+1
| | | | | | | | We now use the one supplied by actix-web.
* | chore: clean upAlec Di Vito2024-06-061-1/+1
| |
* | feat: Added HTML and Javascript progress bar when uploading filesAlec Di Vito2024-06-061-0/+8
|/
* Improve documentation for the --header parameter (#1389)orwithout2024-04-261-1/+6
| | | | | | | | * Improve documentation for the --header parameter * Add Support for HSTS to Enhance HTTPS Security --------- Co-authored-by: orwithout <googoldecibel@gmail.com>
* Merge pull request #1329 from dyc3/disable-indexingSven-Hendrik Haase2024-02-011-0/+7
|\ | | | | add `--disable-indexing` cli flag to completely disable directory indexing
| * tweak doc commentCarson McManus2024-02-011-2/+2
| |
| * add short version of `--disable-indexing` cli argCarson McManus2024-01-301-1/+2
| |
| * add `--disable-indexing` cli flag to completely disable directory indexingCarson McManus2024-01-291-0/+6
| |
* | Refactor errorscyqsimon2024-01-291-6/+26
|/ | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code
* Reformat args helpSven-Hendrik Haase2024-01-161-3/+5
|
* Add option for compress responsezuisong2024-01-161-0/+12
|
* Clean up default order functionSven-Hendrik Haase2024-01-131-4/+5
| | | | I removed the stringly typing as we already have enums for this that we can make use of.
* Set default sorting order and method with argumentselandsborough2024-01-131-0/+20
|
* Better help for -uSven-Hendrik Haase2023-11-091-0/+5
|
* Fix arg help formattingSven-Hendrik Haase2023-08-211-4/+9
|
* Merge pull request #1179 from proudmuslim-dev/masterSven-Hendrik Haase2023-08-211-1/+9
|\ | | | | Add ability to read auth from file
| * Add file content example to `--auth-file` argumentproudmuslim-dev2023-08-031-1/+5
| |
| * Update src/args.rsproudmuslim-dev2023-08-031-1/+1
| | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
| * Add ability to read auth from fileProudmuslim2023-07-211-1/+5
| |
* | Add pretty urlsNorberto Lopes2023-08-061-0/+8
|/ | | | | | | | | | This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`.
* Allow parameters to be provided via env varsSven-Hendrik Haase2023-07-051-32/+78
| | | | Fixes #829.
* 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
|\