Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-03-09 | Fix dir size calculation for percent-encoded paths with spaces | Sven-Hendrik Haase | 1 | -1/+1 | |
2025-03-07 | Add asynchronous directory size counting | Sven-Hendrik Haase | 1 | -6/+10 | |
This is enabled by default and without an option to toggle it off as it's asynchronous and shouldn't block the server thread. | |||||
2025-03-07 | Reformat everything with Rust 2024 edition | Sven-Hendrik Haase | 1 | -2/+2 | |
2025-02-06 | Make clippy happy | Sven-Hendrik Haase | 1 | -5/+2 | |
2025-01-03 | Use Self where possible | adamnemecek | 1 | -2/+2 | |
2024-09-21 | Add missing `|` to `USERINFO` set | cyqsimon | 1 | -1/+2 | |
2024-09-21 | Remove non-compliant `BASE` set | cyqsimon | 1 | -2/+1 | |
2024-09-15 | Make URL encoding fully WHATWG-compliant | cyqsimon | 1 | -4/+14 | |
2024-06-09 | Remove explicit dependency on http | Sven-Hendrik Haase | 1 | -2/+4 | |
We now use the one supplied by actix-web. | |||||
2024-03-28 | Bump deps | Sven-Hendrik Haase | 1 | -1/+0 | |
2024-01-30 | move check for disable_indexing | Carson McManus | 1 | -9/+8 | |
2024-01-29 | Refactor errors | cyqsimon | 1 | -2/+2 | |
- Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code | |||||
2024-01-29 | add `--disable-indexing` cli flag to completely disable directory indexing | Carson McManus | 1 | -0/+9 | |
2024-01-13 | Tighter code formatting | Sven-Hendrik Haase | 1 | -3/+0 | |
2024-01-13 | Clean up default order function | Sven-Hendrik Haase | 1 | -15/+10 | |
I removed the stringly typing as we already have enums for this that we can make use of. | |||||
2024-01-13 | Set default sorting order and method with arguments | elandsborough | 1 | -2/+10 | |
2023-12-11 | Remove header Content-Encoding when archiving | Whyme Lyu | 1 | -1/+0 | |
Content-Encoding is a representation header which kinda means "same content, presented differently to different clients" or "encoded & decoded on-the-fly, guided by content negotiation". In the case of downloading an archive, MDN docs explicitly says that (quoted from https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding): > If the original media is encoded in some way (e.g. a zip file) then this > information would not be included in the Content-Encoding header. Thus this patch. Also fixes !1187. | |||||
2023-12-06 | Prevent illegal request path from crashing program | cyqsimon | 1 | -6/+11 | |
2023-09-05 | Use distinct query type for file op APIs | cyqsimon | 1 | -7/+6 | |
2023-02-22 | Switched from using AsRef<str> to using &Uri | Silux | 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. | |||||
2022-12-31 | Fix more lints | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-12-19 | Fix lints | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-10-12 | Upgrade clap to v4 | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-09-20 | Tidy up some imports | Sven-Hendrik Haase | 1 | -3/+1 | |
2022-09-19 | Add support for README.txt and README files | Gaurav-Lab-PC | 1 | -5/+12 | |
2022-09-14 | Fix typos | Kian-Meng Ang | 1 | -2/+2 | |
Found via `codespell -L crate`. | |||||
2022-09-01 | Remove leftover `dbg!` | cyqsimon | 1 | -1/+0 | |
2022-09-01 | Fix drop-down QR code | cyqsimon | 1 | -17/+9 | |
2022-08-22 | Fix rustfmt complaints | cyqsimon | 1 | -6/+13 | |
2022-08-22 | Move QR code page style to `style.scss` | cyqsimon | 1 | -15/+8 | |
2022-08-22 | Use `mime` for content type | cyqsimon | 1 | -1/+1 | |
2022-08-22 | Switch to `qrcode` lib | cyqsimon | 1 | -36/+5 | |
2022-08-14 | Simplify README code a bit | Sven-Hendrik Haase | 1 | -35/+8 | |
2022-08-14 | Edit Readme struct to remove render bool | Gaurav | 1 | -19/+8 | |
2022-08-14 | Make Readme struct | Gaurav | 1 | -14/+47 | |
2022-08-14 | Add `--readme` info and reformat | Gaurav | 1 | -1/+0 | |
2022-08-14 | Satisfy cargo fmt | Gaurav | 1 | -9/+17 | |
2022-08-14 | Replace `markdown` by `comrak`; Render support for nested dirs | Gaurav | 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. | |||||
2022-08-14 | Add `--readme` flag to cli | Gaurav | 1 | -2/+2 | |
2022-08-14 | Add support for readme rendering | Gaurav | 1 | -1/+7 | |
2022-07-21 | Use `mime` for all content type declarations | cyqsimon | 1 | -15/+13 | |
2022-06-26 | Create directory (#781) | Sheepy | 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 | |||||
2022-05-23 | Fix new clippy lints | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-05-06 | Allow clippy::format_push_string | Sven-Hendrik Haase | 1 | -3/+5 | |
I think if we followed the lint the code would be less readable for no real benefit. | |||||
2022-02-05 | update to actix-web v4.0-rc.2 | Ali MJ Al-Nasrawy | 1 | -4/+3 | |
2021-12-29 | Implement --route-prefix to set specific route prefix | jikstra | 1 | -5/+3 | |
2021-12-28 | Bump actix-web to v4.0-beta.15 | jikstra | 1 | -3/+3 | |
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | |||||
2021-09-02 | cargo fmt & cargo clippy | jikstra | 1 | -1/+1 | |
2021-09-02 | Fix rebase | jikstra | 1 | -0/+1 | |
2021-09-01 | Implement a raw rendering mode for recursive folder download | jikstra | 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 |