Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent illegal request path from crashing program | cyqsimon | 2023-12-06 | 1 | -6/+11 |
| | |||||
* | Use distinct query type for file op APIs | cyqsimon | 2023-09-05 | 1 | -7/+6 |
| | |||||
* | Switched from using AsRef<str> to using &Uri | Silux | 2023-02-22 | 1 | -7/+7 |
| | | | | | | | | I honestly just switched the definition and then frantically changed small things based on rusts error messages, but it passes fmt, clippy and tests so I think it's fine. This allow a bit finer control over the URI, but is honetly a bit insignificant. | ||||
* | Fix more lints | Sven-Hendrik Haase | 2022-12-31 | 1 | -1/+1 |
| | |||||
* | Fix lints | Sven-Hendrik Haase | 2022-12-19 | 1 | -1/+1 |
| | |||||
* | Upgrade clap to v4 | Sven-Hendrik Haase | 2022-10-12 | 1 | -1/+1 |
| | |||||
* | Tidy up some imports | Sven-Hendrik Haase | 2022-09-20 | 1 | -3/+1 |
| | |||||
* | Add support for README.txt and README files | Gaurav-Lab-PC | 2022-09-19 | 1 | -5/+12 |
| | |||||
* | Merge branch 'master' into qrcode | cyqsimon | 2022-09-15 | 1 | -2/+2 |
|\ | |||||
| * | Fix typos | Kian-Meng Ang | 2022-09-14 | 1 | -2/+2 |
| | | | | | | | | Found via `codespell -L crate`. | ||||
* | | Remove leftover `dbg!` | cyqsimon | 2022-09-01 | 1 | -1/+0 |
| | | |||||
* | | Fix drop-down QR code | cyqsimon | 2022-09-01 | 1 | -17/+9 |
| | | |||||
* | | Fix rustfmt complaints | cyqsimon | 2022-08-22 | 1 | -6/+13 |
| | | |||||
* | | Move QR code page style to `style.scss` | cyqsimon | 2022-08-22 | 1 | -15/+8 |
| | | |||||
* | | Use `mime` for content type | cyqsimon | 2022-08-22 | 1 | -1/+1 |
| | | |||||
* | | Switch to `qrcode` lib | cyqsimon | 2022-08-22 | 1 | -36/+5 |
|/ | |||||
* | Simplify README code a bit | Sven-Hendrik Haase | 2022-08-14 | 1 | -35/+8 |
| | |||||
* | Edit Readme struct to remove render bool | Gaurav | 2022-08-14 | 1 | -19/+8 |
| | |||||
* | Make Readme struct | Gaurav | 2022-08-14 | 1 | -14/+47 |
| | |||||
* | Add `--readme` info and reformat | Gaurav | 2022-08-14 | 1 | -1/+0 |
| | |||||
* | Satisfy cargo fmt | Gaurav | 2022-08-14 | 1 | -9/+17 |
| | |||||
* | Replace `markdown` by `comrak`; Render support for nested dirs | Gaurav | 2022-08-14 | 1 | -2/+6 |
| | | | | | | | * README.md will be rendered at currently visiting directory instead of just in the root. * Rendering is now done by comrak, which seems heavy but has a lot more features. | ||||
* | Add `--readme` flag to cli | Gaurav | 2022-08-14 | 1 | -2/+2 |
| | |||||
* | Add support for readme rendering | Gaurav | 2022-08-14 | 1 | -1/+7 |
| | |||||
* | Use `mime` for all content type declarations | cyqsimon | 2022-07-21 | 1 | -15/+13 |
| | |||||
* | Create directory (#781) | Sheepy | 2022-06-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix new clippy lints | Sven-Hendrik Haase | 2022-05-23 | 1 | -1/+1 |
| | |||||
* | Allow clippy::format_push_string | Sven-Hendrik Haase | 2022-05-06 | 1 | -3/+5 |
| | | | | I think if we followed the lint the code would be less readable for no real benefit. | ||||
* | Merge 'jikstra/feat_route_prefix' #682 | Ali MJ Al-Nasrawy | 2022-02-06 | 1 | -5/+3 |
|\ | |||||
| * | Implement --route-prefix to set specific route prefix | jikstra | 2021-12-29 | 1 | -5/+3 |
| | | |||||
* | | update to actix-web v4.0-rc.2 | Ali MJ Al-Nasrawy | 2022-02-05 | 1 | -4/+3 |
| | | |||||
* | | Bump actix-web to v4.0-beta.15 | jikstra | 2021-12-28 | 1 | -3/+3 |
|/ | | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | Merge branch 'master' into feat_raw_mode | Jikstra | 2021-09-10 | 1 | -17/+3 |
|\ | |||||
| * | extract_query_parameters(): avoid clone and simplify | Ali MJ Al-Nasrawy | 2021-08-31 | 1 | -15/+3 |
| | | | | | | | | Signe-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | ||||
* | | cargo fmt & cargo clippy | jikstra | 2021-09-02 | 1 | -1/+1 |
| | | |||||
* | | Fix rebase | jikstra | 2021-09-02 | 1 | -0/+1 |
| | | |||||
* | | Implement a raw rendering mode for recursive folder download | jikstra | 2021-09-01 | 1 | -0/+7 |
|/ | | | | | | | - Raw mode only displays file/folders and is more focused on computer processing - Display a banner in footer to recursively download the current folder with wget | ||||
* | Fix clippy::too_many_arguments and rework error .. | Ali MJ Al-Nasrawy | 2021-08-30 | 1 | -66/+26 |
| | | | | | | | | | | | | | | | | | | | | | ... 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> | ||||
* | Implement show symlink destination | Dean Li | 2021-08-30 | 1 | -7/+13 |
| | | | | | | | | | | | | | 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 | ||||
* | migrate to actix-web v4.0-beta | Ali MJ Al-Nasrawy | 2021-08-28 | 1 | -23/+8 |
| | |||||
* | Add backslash to percent_encode_sets.PATH_SEGMENT. Fixes #545 | jikstra | 2021-08-27 | 1 | -1/+1 |
| | |||||
* | Upgrade qrcodegen (fixes #568) | Sven-Hendrik Haase | 2021-08-25 | 1 | -2/+33 |
| | |||||
* | Merge pull request #479 from aliemjay/rfc-resolve-symlinks | Sven-Hendrik Haase | 2021-04-18 | 1 | -20/+18 |
|\ | | | | | Resolve symlinks on directory listing | ||||
| * | Merge branch 'master' into rfc-resolve-symlinks | Ali MJ Al-Nasrawy | 2021-04-18 | 1 | -10/+20 |
| |\ | |||||
| * | | Avoid unneccessary syscalls for entry metadata | Ali MJ Al-Nasrawy | 2021-04-05 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | For non-symlink files and directories, there is no need to call `std::fs::metadata()` as the metadata are already obtained via `entry.metadata()` | ||||
| * | | Honor --no-symlinks option when listing | Ali MJ Al-Nasrawy | 2021-04-05 | 1 | -1/+1 |
| | | | |||||
| * | | Bring back the symlink symbol | Ali MJ Al-Nasrawy | 2021-03-27 | 1 | -0/+11 |
| | | | |||||
| * | | Resolve symlinks when listing | Ali MJ Al-Nasrawy | 2021-03-27 | 1 | -19/+3 |
| | | | | | | | | | | | | | | | | | | This has the benefit of showing the size and modification date of the pointed-to file. Symlink to directories now respects '--dirs-first' option and broken symlinks don't show in directory listing. | ||||
* | | | Rename compression code references to 'archive' | Sven-Hendrik Haase | 2021-04-18 | 1 | -9/+9 |
| |/ |/| | | | | | | | This name more closely resembles its purpose. For instance, we also now support plain tar archives which are uncompressed but archives nonetheless. | ||||
* | | Merge pull request #492 from deantvv/tar-and-tar-archive | Sven-Hendrik Haase | 2021-04-18 | 1 | -1/+3 |
|\ \ | | | | | | | Separate tar archive and tar flags |