aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-26Create directory (#781)Sheepy6-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
2022-06-07Fix lintSven-Hendrik Haase1-2/+2
2022-05-23Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase3-11/+11
This is so it doesn't break current configurations. Let's not surprise the users.
2022-05-23Add configuration `change-theme` (#805)FLAMINGO3-10/+20
Add configuration `change-theme`Add configuration `change-theme`
2022-05-23Fix new clippy lintsSven-Hendrik Haase2-3/+3
2022-05-18Fix security issue with --no-symlinksSven-Hendrik Haase2-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.
2022-05-06Allow clippy::format_push_stringSven-Hendrik Haase1-3/+5
I think if we followed the lint the code would be less readable for no real benefit.
2022-03-30Do not use the route for the favicon and stylesheetStefan Huber1-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.
2022-03-12Allow to set the accept input attribute to arbitrary valuesJohannes May3-2/+46
2022-03-07Fix lintsSven-Hendrik Haase1-3/+2
2022-02-20Add man page support using --print-manpage (fixes #730)Sven-Hendrik Haase2-0/+11
2022-02-16Bump depsSven-Hendrik Haase1-1/+1
2022-02-06Make more use of flex in mobile formatting (fixes #142)Sven-Hendrik Haase1-5/+9
2022-02-06Fix route_prefix for css and faviconAli MJ Al-Nasrawy3-10/+7
2022-02-05update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy4-35/+26
2022-01-04Apply alimjays suggestionJikstra1-1/+0
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2022-01-03Apply requested changesjikstra1-7/+1
2022-01-03Update src/config.rsJikstra1-1/+1
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2022-01-03Upgrade clapSven-Hendrik Haase2-2/+2
2021-12-29Implement --route-prefix to set specific route prefixjikstra5-22/+25
2021-12-28Bump actix-web to v4.0-beta.15jikstra6-32/+56
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-12-28Bump actix-web to v4.0-beta.9Ali MJ Al-Nasrawy1-4/+0
2021-12-20Fix lintsSven-Hendrik Haase1-1/+1
2021-12-10Fixes type in main.rsSam Schlinkert1-1/+1
"Availabe" -> "Available"
2021-12-09Bump depsSven-Hendrik Haase2-3/+3
2021-10-26Upgrade to Rust 2021 editionSven-Hendrik Haase1-4/+4
2021-10-25Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase3-33/+35
2021-10-25Fix lintSven-Hendrik Haase1-5/+1
2021-10-18Update clapSven-Hendrik Haase2-28/+11
2021-10-18Use Path instead of PathBuf for parameterBilly Bradley1-3/+4
2021-10-15Only clone spa_index when necessaryBilly Bradley1-1/+4
2021-10-14Fix formattingBilly Bradley1-1/+1
2021-10-13revert unnecessary changesAli MJ Al-Nasrawy3-61/+26
2021-10-10Use NamedFile as default handler to simplify --spa-index option implementationBilly Bradley1-17/+5
2021-10-08Add --spa-index optionBilly Bradley3-11/+57
2021-09-23Rename Archlinux -> Arch LinuxSven-Hendrik Haase1-1/+1
2021-09-10Implement --show-wget-footer argumentjikstra3-2/+12
2021-09-10Apply requested changesjikstra1-2/+2
2021-09-04Adress review commentsAli MJ Al-Nasrawy1-2/+39
2021-09-02cargo fmt & cargo clippyjikstra3-15/+8
2021-09-02Fix rebasejikstra3-23/+19
2021-09-01Implement a raw rendering mode for recursive folder downloadjikstra3-20/+125
- Raw mode only displays file/folders and is more focused on computer processing - Display a banner in footer to recursively download the current folder with wget
2021-09-01file_upload.rs: sanitize path inputAli MJ Al-Nasrawy1-10/+42
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-08-31Print inverted QR codes side-by-sideAli MJ Al-Nasrawy1-5/+15
2021-08-31Address review commentsAli MJ Al-Nasrawy1-1/+1
2021-08-31Print QR code to terminalAli MJ Al-Nasrawy1-2/+42
2021-08-31Simplify custom headersAli MJ Al-Nasrawy2-15/+6
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-08-31extract_query_parameters(): avoid clone and simplifyAli MJ Al-Nasrawy1-15/+3
Signe-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-08-30Use selected theme in error pageAli MJ Al-Nasrawy1-0/+10
2021-08-30Exclude embedded routes from authenticationAli MJ Al-Nasrawy1-48/+30