aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix -i 0.0.0.0Ali MJ Al-Nasrawy2021-08-301-23/+4
| | | | | Don't use `interfaces`, use `miniserve_config.interfaces` instead! Otherwise, "0.0.0.0" is converted to "localhost"!
* Fail if any address fails to bindAli MJ Al-Nasrawy2021-08-301-18/+13
|
* Switch from structopt to clap v3Sven-Hendrik Haase2021-08-301-5/+18
|
* Merge pull request #583 from aliemjay/index-fallbackSven-Hendrik Haase2021-08-291-18/+18
|\ | | | | list directory if index not found
| * list directory if index not foundAli MJ Al-Nasrawy2021-08-291-18/+18
| |
* | file_upload.rs: use async/awaitAli MJ Al-Nasrawy2021-08-281-2/+2
|/ | | | | ... and rewrite {save_file, handle_multipart} ... and fix clippy warning about create_error_response() being always Ok()
* migrate to actix-web v4.0-betaAli MJ Al-Nasrawy2021-08-281-9/+10
|
* Switch TLS conditional compilation to featureSven-Hendrik Haase2021-08-281-12/+2
|
* Conditionally enable TLS only on supported platformsSven-Hendrik Haase2021-08-271-0/+18
|
* Add TLS support via rustls (fixes #18)Sven-Hendrik Haase2021-08-271-158/+29
|
* Prefer UTF8 for text reponses (fixes #263)Sven-Hendrik Haase2021-04-181-0/+1
| | | | | This should fix most encoding problems in most cases where text files are accessed on various locales.
* Change naming of uncompressed/compressed tarballsDean Li2021-04-181-6/+6
| | | | | | Use following terminology: uncompressed tarballs => `uncompressed tar archives` compressed ones => `gz-compressed tar archives`
* Separate tar archive and tar flagsDean Li2021-04-111-1/+7
| | | | | | | 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
* Bump depsSven-Hendrik Haase2021-03-281-0/+1
|
* Refuse to start without explicit path if not attached to interactive terminalSven-Hendrik Haase2021-03-281-3/+13
|
* Change start message without arguments to be a bit more clearSven-Hendrik Haase2021-03-281-4/+4
|
* Change default log level to WarnSven-Hendrik Haase2021-03-281-1/+1
|
* Better message for when provided index file doesn't existSven-Hendrik Haase2021-03-281-3/+4
|
* Refactor and separate out arg handling and config handlingSven-Hendrik Haase2021-03-281-5/+73
|
* Generate completions with `miniserve --print-completions <shell>`Andy Freeland2021-03-281-4/+12
| | | | | | | | 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-24/+36
|
* Add program version footerTamas Levai2021-02-281-0/+8
|
* Re-do the way setting multiple headers worksSven-Hendrik Haase2021-02-281-10/+7
|
* Multiple headers support for custom headersDean Li2021-02-271-7/+13
|
* Move the parsing header logic to args.rsDean Li2021-02-241-19/+7
|
* Allow set custom headers from CLIDean Li2021-02-241-0/+28
|
* Fix lintsSven-Hendrik Haase2021-02-191-6/+6
|
* Fix indentationTamas Levai2021-01-041-2/+2
| | | | Convert tabs to spaces.
* Add option to list directories firstTamas Levai2021-01-041-0/+5
|
* Now compiles on stableSven-Hendrik Haase2020-11-081-2/+0
|
* Merge pull request #380 from ahti/masterSven-Hendrik Haase2020-10-021-10/+33
|\ | | | | client-side color-scheme handling
| * restore default theme cli option and add default theme dark optionLukas Stabe2020-10-011-0/+18
| |
| * compile scss at build timeLukas Stabe2020-09-261-5/+2
| |
| * appease cargo fmtLukas Stabe2020-09-261-5/+8
| |
| * remove default color scheme cli argumentLukas Stabe2020-09-261-4/+0
| |
| * move css out of html into its own routeLukas Stabe2020-09-261-1/+23
| |
| * [wip] client-side color-scheme handlingLukas Stabe2020-09-251-14/+1
| |
* | Remove actix-rtequal-l22020-09-301-1/+1
|/
* add title option (#335) and breadcrumb links in headingLukas Stabe2020-09-241-0/+5
|
* Sorry cargo fmtSven-Hendrik Haase2020-09-241-2/+11
|
* Add embedded favicon (fixes #364)Sven-Hendrik Haase2020-09-241-2/+21
|
* Slightly better variable nameSven-Hendrik Haase2020-09-241-4/+4
| | | | At least it's better than before. :)
* Use actix-web-httpauth for authentication middlewareequal-l22020-07-211-1/+5
|
* Update to actix 2 and futures 0.3equal-l22020-07-211-53/+50
|
* Add generate QR code (#330)wyhaya2020-07-051-0/+5
| | | | * Add generate QR code * Add --qrcode option
* make sure archiving is opt-inmarawan ragab2020-05-101-4/+9
|
* Format everythingSven-Hendrik Haase2020-03-111-7/+10
|
* Added option to disable archivesDamian2020-03-021-0/+5
|
* Merge pull request #189 from efx/fix-156Sven-Hendrik Haase2020-03-011-0/+20
|\ | | | | add a default index serving option (#156)
| * add Lucretiel's documentation suggestionEli Flanagan2020-02-031-1/+4
| |