aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fully qualify clap_complete::generateSven-Hendrik Haase2022-09-141-2/+1
| |/
* | Add tooltip on QR codecyqsimon2022-09-151-1/+1
| |
* | Move QR margin size into `consts`cyqsimon2022-09-012-1/+4
| |
* | Switch to `fast_qr` cratecyqsimon2022-09-013-57/+16
| |
* | Remove leftover `dbg!`cyqsimon2022-09-011-1/+0
| |
* | Fix drop-down QR codecyqsimon2022-09-012-55/+66
| |
* | Fix rustfmt complaintscyqsimon2022-08-221-6/+13
| |
* | Use low EC level for QR codecyqsimon2022-08-221-1/+1
| |
* | Move QR code page style to `style.scss`cyqsimon2022-08-222-45/+25
| |
* | Use `mime` for content typecyqsimon2022-08-221-1/+1
| |
* | Fix testscyqsimon2022-08-221-1/+1
| |
* | Switch to `qrcode` libcyqsimon2022-08-224-63/+74
|/
* Simplify README code a bitSven-Hendrik Haase2022-08-142-43/+16
|
* Correct SpellingGaurav2022-08-141-1/+1
|
* Edit Readme struct to remove render boolGaurav2022-08-142-23/+12
|
* Make Readme structGaurav2022-08-142-26/+52
|
* Add `--readme` info and reformatGaurav2022-08-143-12/+12
|
* Satisfy cargo fmtGaurav2022-08-143-22/+30
|
* Replace `markdown` by `comrak`; Render support for nested dirsGaurav2022-08-142-6/+15
| | | | | | | * README.md will be rendered at currently visiting directory instead of just in the root. * Rendering is now done by comrak, which seems heavy but has a lot more features.
* Add `--readme` flag to cliGaurav2022-08-143-2/+10
|
* Add support for readme renderingGaurav2022-08-142-1/+16
|
* Apply suggestions from code reviewzhoupeiheng2022-07-281-0/+3
|
* test: check_static_file_route_patternzhoupeiheng2022-07-281-2/+8
|
* fix: static file support route_prefixzhoupeiheng2022-07-281-2/+5
|
* Merge pull request #849 from cyqsimon/refactorSven-Hendrik Haase2022-07-243-98/+59
|\ | | | | Minor refactoring
| * Remove trailing space to appease `cargo fmt`cyqsimon2022-07-221-1/+1
| |
| * Apply suggestions from code reviewcyqsimon2022-07-221-1/+4
| | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
| * 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
| |
* | Update actix-web-httpauth to v0.8Sven-Hendrik Haase2022-07-221-1/+1
|/
* 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