Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix error page wrapping | Bao Trinh | 2023-07-26 | 1 | -2/+10 |
| | | | | | | Error page was incorrectly comparing the full content-type header of error responses against `text/plain`, so no error pages were being wrapped by `map_error_page`. | ||||
* | Tidy up some imports | Sven-Hendrik Haase | 2022-09-20 | 1 | -1/+2 |
| | |||||
* | Return 403 instead of 500 for upload errs | Jonas Diemer | 2022-09-19 | 1 | -0/+6 |
| | |||||
* | Use `mime` for all content type declarations | cyqsimon | 2022-07-21 | 1 | -3/+3 |
| | |||||
* | Create directory (#781) | Sheepy | 2022-06-26 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | update to actix-web v4.0-rc.2 | Ali MJ Al-Nasrawy | 2022-02-05 | 1 | -4/+5 |
| | |||||
* | Bump actix-web to v4.0-beta.15 | jikstra | 2021-12-28 | 1 | -11/+11 |
| | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | revert unnecessary changes | Ali MJ Al-Nasrawy | 2021-10-13 | 1 | -10/+3 |
| | |||||
* | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -3/+94 |
| | | | | | | | | | | | | | | | | | | | | | ... page rendering Too many arguments are moved around and many of them are already stored in MiniserveConfig. Many of these are used to render error pages. To fix this issue, it was necessary to rework error page rendering: 1. Implement `ResponseError` for `ContextualError` so that it can be returned from service handlers as is and will then be automatically logged to the console and converted into an error response. 2. At service handler level, all error responses are now rendered as plain text. 3. 'error_page_middleware' is now responsible for the rendering of the final error page from plain text reponses. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | Refuse to start without explicit path if not attached to interactive terminal | Sven-Hendrik Haase | 2021-03-28 | 1 | -23/+29 |
| | |||||
* | Switch from failure to thiserror | Sven-Hendrik Haase | 2021-03-20 | 1 | -28/+17 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2021-02-19 | 1 | -4/+4 |
| | |||||
* | Use actix-web-httpauth for authentication middleware | equal-l2 | 2020-07-21 | 1 | -7/+0 |
| | |||||
* | Update to actix 2 and futures 0.3 | equal-l2 | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | cargo fmt | boastful-squirrel | 2019-05-10 | 1 | -1/+4 |
| | |||||
* | Undo changes on InvalidHashMethod error | boastful-squirrel | 2019-05-06 | 1 | -1/+1 |
| | |||||
* | Display 404 error | boastful-squirrel | 2019-05-01 | 1 | -0/+4 |
| | |||||
* | Display HTTP authentication errors | boastful-squirrel | 2019-05-01 | 1 | -0/+4 |
| | |||||
* | Merge branch 'master' into themed-errors | boastful-squirrel | 2019-04-27 | 1 | -58/+5 |
|\ | |||||
| * | Combine ContextualError and ContextualErrorKind into one | khai96_ | 2019-04-27 | 1 | -54/+4 |
| | | |||||
* | | Improved some errors | boastful-squirrel | 2019-04-27 | 1 | -1/+1 |
| | | |||||
* | | Merged query parameter structs + improved file upload errors | boastful-squirrel | 2019-04-26 | 1 | -0/+4 |
| | | |||||
* | | Cargo fmt | boastful-squirrel | 2019-04-26 | 1 | -1/+4 |
|/ | |||||
* | Merge remote-tracking branch 'mainrepo/master' into pullrequest.hashed-password | khai96_ | 2019-04-26 | 1 | -70/+84 |
|\ | |||||
| * | Improved errors | boastful-squirrel | 2019-04-22 | 1 | -0/+7 |
| | | |||||
| * | Properly log error + added render_error method | boastful-squirrel | 2019-04-21 | 1 | -0/+6 |
| | | |||||
| * | Rework error system + avoid panics in main() | boastful-squirrel | 2019-04-21 | 1 | -72/+63 |
|/ | |||||
* | Fix typos | Vojtěch Pejša | 2019-04-04 | 1 | -5/+5 |
| | |||||
* | Check if we have permissions to create files. | Vojtěch Pejša | 2019-04-04 | 1 | -0/+3 |
| | |||||
* | Better error handling for file upload. | Vojtěch Pejša | 2019-04-04 | 1 | -0/+17 |
| | |||||
* | Added documentation for errors and removed useless errors | boasting-squirrel | 2019-03-19 | 1 | -4/+10 |
| | |||||
* | Switched to standard Rust logging system | boasting-squirrel | 2019-03-13 | 1 | -12/+3 |
| | |||||
* | Build tar in buffer instead of in tempfile | boasting-squirrel | 2019-03-13 | 1 | -6/+0 |
| | |||||
* | Added some docs comments to errors.rs | boasting-squirrel | 2019-03-12 | 1 | -1/+6 |
| | |||||
* | Improved error message | boasting-squirrel | 2019-03-12 | 1 | -2/+2 |
| | |||||
* | Better error messages for invalid path | boasting-squirrel | 2019-03-12 | 1 | -10/+4 |
| | |||||
* | Added some error messages + reworked the print_error_chain method | boasting-squirrel | 2019-03-12 | 1 | -6/+22 |
| | |||||
* | Started to add helpful messages for errors which could occur during archiving | boasting-squirrel | 2019-03-11 | 1 | -0/+90 |