aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add EC key support (closes #1080)Sven-Hendrik Haase2023-04-161-1/+3
|
* Run cargo fmtSven-Hendrik Haase2022-12-301-30/+29
|
* Fix lintsSven-Hendrik Haase2022-12-191-2/+2
|
* Upgrade clap to v4Sven-Hendrik Haase2022-10-121-2/+3
|
* Fixed clippy issue (single-char string to char)Jonas Diemer2022-09-191-1/+1
|
* Changed handling of allowed path to fix WindowsJonas Diemer2022-09-191-2/+8
|
* fix lint errorsJonas Diemer2022-09-181-2/+2
|
* cargo fmtJonas Diemer2022-09-181-2/+7
|
* sanitize allowed upload paths for cases like ./dirJonas Diemer2022-09-181-1/+2
|
* Use argument -u instead of --allowed-upload-dirJonas Diemer2022-09-181-2/+2
|
* Clarity of commentJonas Diemer2022-09-181-1/+1
| | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com>
* Renamed option for more clarityJonas Diemer2022-09-181-2/+2
|
* Switched to use of PathBuf, fixed for subdirsJonas Diemer2022-09-181-1/+1
|
* Added option restrict-upload-dirJonas Diemer2022-09-181-0/+4
|
* Satisfy cargo fmtGaurav2022-08-141-1/+1
|
* Add `--readme` flag to cliGaurav2022-08-141-0/+4
|
* 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
|
* Create directory (#781)Sheepy2022-06-261-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
* Flip usage of theme selector showing functionality added in last commitSven-Hendrik Haase2022-05-231-4/+4
| | | | This is so it doesn't break current configurations. Let's not surprise the users.
* Add configuration `change-theme` (#805)FLAMINGO2022-05-231-0/+4
| | | Add configuration `change-theme`Add configuration `change-theme`
* 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-151-1/+22
|\ | | | | Allow to set the accept input attribute to arbitrary values
| * Allow to set the accept input attribute to arbitrary valuesJohannes May2022-03-121-1/+22
| |
* | Fix lintsSven-Hendrik Haase2022-03-071-3/+2
|/
* Fix route_prefix for css and faviconAli MJ Al-Nasrawy2022-02-061-3/+3
|
* Merge 'jikstra/feat_route_prefix' #682Ali MJ Al-Nasrawy2022-02-061-7/+7
|\
| * Apply alimjays suggestionJikstra2022-01-041-1/+0
| | | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
| * Update src/config.rsJikstra2022-01-031-1/+1
| | | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
| * Implement --route-prefix to set specific route prefixjikstra2021-12-291-7/+8
| |
* | update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy2022-02-051-23/+14
| |
* | Bump actix-web to v4.0-beta.15jikstra2021-12-281-4/+25
|/ | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Refactor SPA-mode to make it more ergonomicSven-Hendrik Haase2021-10-251-13/+7
|
* Only clone spa_index when necessaryBilly Bradley2021-10-151-1/+4
|
* Add --spa-index optionBilly Bradley2021-10-081-1/+12
|
* Implement --show-wget-footer argumentjikstra2021-09-101-0/+4
|
* Implement show symlink destinationDean Li2021-08-301-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
* Fix some warnings when building without TLSSven-Hendrik Haase2021-08-291-3/+5
|
* Switch TLS conditional compilation to featureSven-Hendrik Haase2021-08-281-30/+5
|
* Conditionally enable TLS only on supported platformsSven-Hendrik Haase2021-08-271-0/+36
|
* Add TLS support via rustls (fixes #18)Sven-Hendrik Haase2021-08-271-0/+181