aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clarity of commentJonas Diemer2022-09-181-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
* clarity of commentJonas Diemer2022-09-181-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
* Update src/file_upload.rsJonas Diemer2022-09-181-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
* Renamed option for more clarityJonas Diemer2022-09-184-9/+10
|
* cleaned up code using any()Jonas Diemer2022-09-182-25/+7
|
* Switched to use of PathBuf, fixed for subdirsJonas Diemer2022-09-184-15/+26
|
* Added dependency to -u for --restrict-upload-dirJonas Diemer2022-09-181-1/+2
|
* fixed rendering of upload if non-restrictedJonas Diemer2022-09-181-1/+2
|
* Added option restrict-upload-dirJonas Diemer2022-09-184-1/+29
|
* Merge branch 'master' into qrcodecyqsimon2022-09-155-10/+11
|\
| * Merge pull request #902 from kianmeng/fix-typosSven-Hendrik Haase2022-09-154-5/+5
| |\ | | | | | | Fix typos
| | * Fix typosKian-Meng Ang2022-09-144-5/+5
| | | | | | | | | | | | Found via `codespell -L crate`.
| * | Merge pull request #880 from Atreyagaurav/masterSven-Hendrik Haase2022-09-151-3/+5
| |\ \ | | | | | | | | Add tests for `--readme`
| | * | Add tests for `--readme`Gaurav2022-08-261-3/+5
| | |/
| * / 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`