Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-08-30 | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 1 | -142/+25 | |
... 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> | |||||
2021-08-28 | file_upload.rs: use async/await | Ali MJ Al-Nasrawy | 1 | -133/+100 | |
... and rewrite {save_file, handle_multipart} ... and fix clippy warning about create_error_response() being always Ok() | |||||
2021-08-28 | migrate to actix-web v4.0-beta | Ali MJ Al-Nasrawy | 1 | -1/+1 | |
2021-06-28 | Fix lints | Sven-Hendrik Haase | 1 | -2/+2 | |
2021-03-28 | Refuse to start without explicit path if not attached to interactive terminal | Sven-Hendrik Haase | 1 | -3/+1 | |
2021-03-01 | Fix clippy warning | Tamas Levai | 1 | -0/+1 | |
2021-02-28 | Add program version footer | Tamas Levai | 1 | -0/+7 | |
2021-02-19 | Fix lints | Sven-Hendrik Haase | 1 | -5/+5 | |
2020-10-01 | restore default theme cli option and add default theme dark option | Lukas Stabe | 1 | -0/+17 | |
2020-09-26 | move css out of html into its own route | Lukas Stabe | 1 | -0/+7 | |
2020-09-25 | [wip] client-side color-scheme handling | Lukas Stabe | 1 | -15/+0 | |
2020-09-24 | Add embedded favicon (fixes #364) | Sven-Hendrik Haase | 1 | -0/+7 | |
2020-07-21 | Update to actix 2 and futures 0.3 | equal-l2 | 1 | -74/+65 | |
2020-06-26 | Make clippy and cargo fmt happy | Sven-Hendrik Haase | 1 | -1/+1 | |
2020-03-11 | Format everything | Sven-Hendrik Haase | 1 | -6/+6 | |
2019-12-20 | Fixed clippy warnings | Damian | 1 | -1/+1 | |
2019-08-16 | Fix Clippy warning | boastful-squirrel | 1 | -0/+1 | |
2019-08-16 | Do not 'back to listing' link when random route is set | boastful-squirrel | 1 | -1/+7 | |
2019-06-09 | Add dyns | Sven-Hendrik Haase | 1 | -2/+2 | |
2019-05-03 | Return QueryParameters struct instead of tuple | boastful-squirrel | 1 | -11/+11 | |
2019-05-02 | Read query params to handle error back link | boastful-squirrel | 1 | -41/+18 | |
2019-05-02 | Cargo fmt | boastful-squirrel | 1 | -2/+3 | |
2019-05-01 | Use HTTP StatusCode for error title | boastful-squirrel | 1 | -1/+8 | |
2019-04-27 | Improved some errors | boastful-squirrel | 1 | -1/+1 | |
2019-04-27 | Themed errors | boastful-squirrel | 1 | -22/+86 | |
2019-04-27 | Combine ContextualError and ContextualErrorKind into one | khai96_ | 1 | -16/+16 | |
2019-04-26 | Merged query parameter structs + improved file upload errors | boastful-squirrel | 1 | -21/+33 | |
2019-04-24 | Add a couple more integration tests | Sven-Hendrik Haase | 1 | -4/+5 | |
2019-04-21 | Properly log error + added render_error method | boastful-squirrel | 1 | -6/+6 | |
2019-04-21 | Print upload/archive errors also in terminal | boastful-squirrel | 1 | -0/+1 | |
2019-04-21 | Rework error system + avoid panics in main() | boastful-squirrel | 1 | -18/+39 | |
2019-04-09 | Replace format with to_string() | Vojtěch Pejša | 1 | -4/+1 | |
2019-04-09 | Change HTTP response code and cleanup previus commit. | Vojtěch Pejša | 1 | -5/+6 | |
2019-04-08 | Refactor file upload. | Vojtěch Pejša | 1 | -28/+38 | |
2019-04-07 | Fix timeout error when uploading takes longer. | Vojtěch Pejša | 1 | -2/+4 | |
2019-04-04 | Fix typos and indentation. | Vojtěch Pejša | 1 | -8/+8 | |
2019-04-04 | Fix syntax error and clippy warnings. | Vojtěch Pejša | 1 | -12/+17 | |
2019-04-04 | Check if we have permissions to create files. | Vojtěch Pejša | 1 | -1/+13 | |
2019-04-04 | Better error handling for file upload. | Vojtěch Pejša | 1 | -22/+33 | |
2019-04-04 | Fix file upload when used with random route. | Vojtěch Pejša | 1 | -2/+4 | |
2019-04-04 | Add CLI arguments for file uploading. | Vojtěch Pejša | 1 | -4/+9 | |
2019-04-04 | Use proper typed query param. | Vojtěch Pejša | 1 | -16/+25 | |
2019-04-04 | Document file upload. | Vojtěch Pejša | 1 | -2/+9 | |
2019-04-04 | Refactoring | Vojtěch Pejša | 1 | -48/+36 | |
2019-04-04 | Check if file path is under app root dir. | Vojtěch Pejša | 1 | -7/+20 | |
2019-04-04 | Implement file upload. | Vojtěch Pejša | 1 | -0/+100 | |