Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-03-07 | Upgrade to Rust 2024 edition | Sven-Hendrik Haase | 1 | -4/+6 | |
2025-03-02 | feat: validate temp dir exists through `value_parser` and fixed clippy issues | Alec Di Vito | 1 | -18/+32 | |
2025-02-22 | feat: address comments; add in new argument (`temp-directory`); add comments ↵ | Alec Di Vito | 1 | -43/+103 | |
to upload code; add tests | |||||
2025-02-17 | feat: implement temporary file uploads and tweak mobile design | Alec Di Vito | 1 | -27/+113 | |
2024-07-20 | Bump deps | Sven-Hendrik Haase | 1 | -7/+11 | |
2024-06-06 | feat: Added HTML and Javascript progress bar when uploading files | Alec Di Vito | 1 | -5/+13 | |
2024-01-29 | Refactor errors | cyqsimon | 1 | -36/+30 | |
- Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code | |||||
2024-01-26 | Fix inaccurate uses of `sanitize_path` | cyqsimon | 1 | -3/+4 | |
2024-01-13 | Use tokio::fs instead of std::fs to enable async file operations (fixes #445) | Sven-Hendrik Haase | 1 | -8/+9 | |
2024-01-13 | Fix formatting | Sven-Hendrik Haase | 1 | -8/+14 | |
2024-01-11 | Ignore readonly metadata and handle errors instead | Victor | 1 | -11/+15 | |
2024-01-03 | Update actix-multipart to 0.6.1 | Sven-Hendrik Haase | 1 | -2/+2 | |
2023-09-05 | Fix incorrect usage of app data extractor | cyqsimon | 1 | -1/+1 | |
- `Data` extractor can only be used when app data is wrapped with `Data` | |||||
2023-09-05 | Minor code style refactors | cyqsimon | 1 | -9/+11 | |
2023-09-05 | Use distinct query type for file op APIs | cyqsimon | 1 | -9/+12 | |
2023-09-05 | rename `file_upload` to `file_op` | cyqsimon | 1 | -0/+2 | |
- This is in preparation for adding deletion code | |||||
2023-09-05 | Rewrite `contains_symlink` | cyqsimon | 1 | -8/+20 | |
2023-07-10 | Create shared file utiity module | cyqsimon | 1 | -85/+2 | |
2022-09-20 | Tidy up some imports | Sven-Hendrik Haase | 1 | -3/+4 | |
2022-09-19 | Return 403 instead of 500 for upload errs | Jonas Diemer | 1 | -3/+1 | |
2022-09-18 | cargo fmt | Jonas Diemer | 1 | -6/+8 | |
2022-09-18 | sanitize allowed upload paths for cases like ./dir | Jonas Diemer | 1 | -1/+1 | |
2022-09-18 | clarity of comment | Jonas Diemer | 1 | -1/+1 | |
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | |||||
2022-09-18 | Update src/file_upload.rs | Jonas Diemer | 1 | -1/+1 | |
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | |||||
2022-09-18 | Renamed option for more clarity | Jonas Diemer | 1 | -3/+2 | |
2022-09-18 | cleaned up code using any() | Jonas Diemer | 1 | -11/+5 | |
2022-09-18 | Switched to use of PathBuf, fixed for subdirs | Jonas Diemer | 1 | -3/+8 | |
2022-09-18 | Added option restrict-upload-dir | Jonas Diemer | 1 | -0/+13 | |
2022-06-26 | Create directory (#781) | Sheepy | 1 | -16/+122 | |
* 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 | |||||
2021-12-28 | Bump actix-web to v4.0-beta.15 | jikstra | 1 | -9/+6 | |
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-09-04 | Adress review comments | Ali MJ Al-Nasrawy | 1 | -2/+39 | |
2021-09-01 | file_upload.rs: sanitize path input | Ali MJ Al-Nasrawy | 1 | -10/+42 | |
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
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 | |