aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add asynchronous directory size countingSven-Hendrik Haase2025-03-071-1/+1
| | | | | This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread.
* Reformat everything with Rust 2024 editionSven-Hendrik Haase2025-03-071-1/+3
|
* change cli argsLzzzt2025-03-061-2/+18
| | | | Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
* make the option effect raw modeLzzzt2025-03-031-2/+2
| | | | Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
* Show File Size in BytesLzzzt2025-03-031-0/+4
| | | | Add a cli option that show file size in bytes rather than KB or MB, etc.
* feat: validate temp dir exists through `value_parser` and fixed clippy issuesAlec Di Vito2025-03-021-0/+15
|
* feat: address comments; add in new argument (`temp-directory`); add comments ↵Alec Di Vito2025-02-221-0/+22
| | | | to upload code; add tests
* feat: implement temporary file uploads and tweak mobile designAlec Di Vito2025-02-171-3/+7
|
* 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
|