aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-16Add EC key support (closes #1080)Sven-Hendrik Haase1-1/+3
2022-12-30Run cargo fmtSven-Hendrik Haase1-30/+29
2022-12-19Fix lintsSven-Hendrik Haase1-2/+2
2022-10-12Upgrade clap to v4Sven-Hendrik Haase1-2/+3
2022-09-19Fixed clippy issue (single-char string to char)Jonas Diemer1-1/+1
2022-09-19Changed handling of allowed path to fix WindowsJonas Diemer1-2/+8
2022-09-18fix lint errorsJonas Diemer1-2/+2
2022-09-18cargo fmtJonas Diemer1-2/+7
2022-09-18sanitize allowed upload paths for cases like ./dirJonas Diemer1-1/+2
2022-09-18Use argument -u instead of --allowed-upload-dirJonas Diemer1-2/+2
2022-09-18Clarity of commentJonas Diemer1-1/+1
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
2022-09-18Renamed option for more clarityJonas Diemer1-2/+2
2022-09-18Switched to use of PathBuf, fixed for subdirsJonas Diemer1-1/+1
2022-09-18Added option restrict-upload-dirJonas Diemer1-0/+4
2022-08-14Satisfy cargo fmtGaurav1-1/+1
2022-08-14Add `--readme` flag to cliGaurav1-0/+4
2022-07-28Apply suggestions from code reviewzhoupeiheng1-0/+3
2022-07-28test: check_static_file_route_patternzhoupeiheng1-2/+8
2022-07-28fix: static file support route_prefixzhoupeiheng1-2/+5
2022-06-26Create directory (#781)Sheepy1-0/+4
* 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-05-23Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase1-4/+4
This is so it doesn't break current configurations. Let's not surprise the users.
2022-05-23Add configuration `change-theme` (#805)FLAMINGO1-0/+4
Add configuration `change-theme`Add configuration `change-theme`
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 May1-1/+22
2022-03-07Fix lintsSven-Hendrik Haase1-3/+2
2022-02-06Fix route_prefix for css and faviconAli MJ Al-Nasrawy1-3/+3
2022-02-05update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy1-23/+14
2022-01-04Apply alimjays suggestionJikstra1-1/+0
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2022-01-03Update src/config.rsJikstra1-1/+1
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-12-29Implement --route-prefix to set specific route prefixjikstra1-7/+8
2021-12-28Bump actix-web to v4.0-beta.15jikstra1-4/+25
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2021-10-25Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase1-13/+7
2021-10-15Only clone spa_index when necessaryBilly Bradley1-1/+4
2021-10-08Add --spa-index optionBilly Bradley1-1/+12
2021-09-10Implement --show-wget-footer argumentjikstra1-0/+4
2021-08-30Implement show symlink destinationDean Li1-0/+4
Add option `show_symlink_info` to represent show symlink info or not. (Default to no) Show symlink destination after symlink symbol in directory listing Resemble `ls -l` and also the short argument select for this feature is also `-l`. Basic testing is included. Related to #499
2021-08-29Fix some warnings when building without TLSSven-Hendrik Haase1-3/+5
2021-08-28Switch TLS conditional compilation to featureSven-Hendrik Haase1-30/+5
2021-08-27Conditionally enable TLS only on supported platformsSven-Hendrik Haase1-0/+36
2021-08-27Add TLS support via rustls (fixes #18)Sven-Hendrik Haase1-0/+181
2019-02-13Removed config.rs and put back actix config in main.rsboasting-squirrel1-57/+0
2019-02-12Fixed Clippy warningsboasting-squirrel1-2/+2
2019-02-12Reorganized some imports + removed unused importsboasting-squirrel1-7/+2
2019-02-12Split project into multiple filesboasting-squirrel1-0/+62