aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Added HTML and Javascript progress bar when uploading filesAlec Di Vito2024-06-061-0/+4
|
* add `--disable-indexing` cli flag to completely disable directory indexingCarson McManus2024-01-291-0/+4
|
* Fix inaccurate uses of `sanitize_path`cyqsimon2024-01-261-2/+2
|
* Add option for compress responsezuisong2024-01-161-0/+4
|
* Clean up default order functionSven-Hendrik Haase2024-01-131-22/+4
| | | | I removed the stringly typing as we already have enums for this that we can make use of.
* Set default sorting order and method with argumentselandsborough2024-01-131-0/+27
|
* Fix incorrect conditional compilationSven-Hendrik Haase2023-10-101-3/+1
|
* Merge pull request #1228 from cyqsimon/upload-refactorSven-Hendrik Haase2023-09-241-13/+17
|\ | | | | Minor refactor on upload code
| * Fix clippy complaintscyqsimon2023-09-051-1/+1
| |
| * Minor code style refactorscyqsimon2023-09-051-12/+16
| |
| * Create shared file utiity modulecyqsimon2023-07-101-1/+1
| |
* | Fix MIPS compileSven-Hendrik Haase2023-08-211-3/+2
| |
* | Merge pull request #1179 from proudmuslim-dev/masterSven-Hendrik Haase2023-08-211-2/+14
|\ \ | | | | | | Add ability to read auth from file
| * | Add ability to read auth from fileProudmuslim2023-07-211-2/+14
| |/
* / Add pretty urlsNorberto Lopes2023-08-061-0/+8
|/ | | | | | | | | | This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`.
* 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
|