aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use `mime` for all content type declarationscyqsimon2022-07-212-18/+16
|
* Minor refactor on `run`cyqsimon2022-07-201-36/+16
|
* refactor `configure_app`cyqsimon2022-07-201-44/+24
|
* Bump depsSven-Hendrik Haase2022-07-191-4/+6
|
* Create directory (#781)Sheepy2022-06-266-32/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix lintSven-Hendrik Haase2022-06-071-2/+2
|
* Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase2022-05-233-11/+11
| | | | This is so it doesn't break current configurations. Let's not surprise the users.
* Add configuration `change-theme` (#805)FLAMINGO2022-05-233-10/+20
| | | Add configuration `change-theme`Add configuration `change-theme`
* Fix new clippy lintsSven-Hendrik Haase2022-05-232-3/+3
|
* Fix security issue with --no-symlinksSven-Hendrik Haase2022-05-182-2/+21
| | | | | 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 clippy::format_push_stringSven-Hendrik Haase2022-05-061-3/+5
| | | | I think if we followed the lint the code would be less readable for no real benefit.
* Do not use the route for the favicon and stylesheetStefan Huber2022-03-301-2/+2
| | | | | In order to no leak the random generated route, we must not use it as prefix in the 404 error page. Indeed we can just use a top-level path for these files.
* Merge pull request #755 from mayjs/upload-mediatypesSven-Hendrik Haase2022-03-153-2/+46
|\ | | | | Allow to set the accept input attribute to arbitrary values
| * Allow to set the accept input attribute to arbitrary valuesJohannes May2022-03-123-2/+46
| |
* | Fix lintsSven-Hendrik Haase2022-03-071-3/+2
|/
* Add man page support using --print-manpage (fixes #730)Sven-Hendrik Haase2022-02-202-0/+11
|
* Bump depsSven-Hendrik Haase2022-02-161-1/+1
|
* Make more use of flex in mobile formatting (fixes #142)Sven-Hendrik Haase2022-02-061-5/+9
|
* Fix route_prefix for css and faviconAli MJ Al-Nasrawy2022-02-063-10/+7
|
* Merge 'jikstra/feat_route_prefix' #682Ali MJ Al-Nasrawy2022-02-065-23/+19
|\
| * Apply alimjays suggestionJikstra2022-01-041-1/+0
| | | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
| * Merge branch 'feat_route_prefix' of github.com:Jikstra/miniserve into ↵jikstra2022-01-031-1/+1
| |\ | | | | | | | | | feat_route_prefix
| | * Update src/config.rsJikstra2022-01-031-1/+1
| | | | | | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
| * | Apply requested changesjikstra2022-01-031-7/+1
| |/
| * Implement --route-prefix to set specific route prefixjikstra2021-12-295-22/+25
| |
* | update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy2022-02-054-35/+26
| |
* | merge from jikstraAli MJ Al-Nasrawy2022-02-052-2/+2
|\ \
| * | Upgrade clapSven-Hendrik Haase2022-01-032-2/+2
| |/
* | Bump actix-web to v4.0-beta.15jikstra2021-12-286-32/+56
| | | | | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* | Bump actix-web to v4.0-beta.9Ali MJ Al-Nasrawy2021-12-281-4/+0
|/
* Fix lintsSven-Hendrik Haase2021-12-201-1/+1
|
* Fixes type in main.rsSam Schlinkert2021-12-101-1/+1
| | | "Availabe" -> "Available"
* Bump depsSven-Hendrik Haase2021-12-092-3/+3
|
* Upgrade to Rust 2021 editionSven-Hendrik Haase2021-10-261-4/+4
|
* Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase2021-10-253-33/+35
|
* Fix lintSven-Hendrik Haase2021-10-251-5/+1
|
* Merge pull request #515 from sinking-point/sinkingpoint/add-spa-index-option-474Sven-Hendrik Haase2021-10-253-11/+49
|\ | | | | Add --spa-index option
| * Use Path instead of PathBuf for parameterBilly Bradley2021-10-181-3/+4
| |
| * Only clone spa_index when necessaryBilly Bradley2021-10-151-1/+4
| |
| * Fix formattingBilly Bradley2021-10-141-1/+1
| |
| * Use NamedFile as default handler to simplify --spa-index option implementationBilly Bradley2021-10-101-17/+5
| |
| * Add --spa-index optionBilly Bradley2021-10-083-11/+57
| |
* | Update clapSven-Hendrik Haase2021-10-182-28/+11
| |
* | revert unnecessary changesAli MJ Al-Nasrawy2021-10-133-61/+26
|/
* Merge pull request #508 from Jikstra/feat_raw_modeSven-Hendrik Haase2021-09-235-23/+125
|\ | | | | Implement a raw rendering mode for recursive folder download
| * Implement --show-wget-footer argumentjikstra2021-09-103-2/+12
| |
| * Merge branch 'master' into feat_raw_modeJikstra2021-09-104-44/+90
| |\
| * | Apply requested changesjikstra2021-09-101-2/+2
| | |
| * | cargo fmt & cargo clippyjikstra2021-09-023-15/+8
| | |
| * | Fix rebasejikstra2021-09-023-23/+19
| | |