Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix dir size calculation for percent-encoded paths with spaces | Sven-Hendrik Haase | 2025-03-09 | 1 | -1/+1 |
| | |||||
* | Add asynchronous directory size counting | Sven-Hendrik Haase | 2025-03-07 | 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. | ||||
* | Reformat everything with Rust 2024 edition | Sven-Hendrik Haase | 2025-03-07 | 1 | -2/+2 |
| | |||||
* | Make clippy happy | Sven-Hendrik Haase | 2025-02-06 | 1 | -5/+2 |
| | |||||
* | Use Self where possible | adamnemecek | 2025-01-03 | 1 | -2/+2 |
| | |||||
* | Add missing `|` to `USERINFO` set | cyqsimon | 2024-09-21 | 1 | -1/+2 |
| | |||||
* | Remove non-compliant `BASE` set | cyqsimon | 2024-09-21 | 1 | -2/+1 |
| | |||||
* | Make URL encoding fully WHATWG-compliant | cyqsimon | 2024-09-15 | 1 | -4/+14 |
| | |||||
* | Remove explicit dependency on http | Sven-Hendrik Haase | 2024-06-09 | 1 | -2/+4 |
| | | | | We now use the one supplied by actix-web. | ||||
* | Bump deps | Sven-Hendrik Haase | 2024-03-28 | 1 | -1/+0 |
| | |||||
* | Merge pull request #1329 from dyc3/disable-indexing | Sven-Hendrik Haase | 2024-02-01 | 1 | -0/+8 |
|\ | | | | | add `--disable-indexing` cli flag to completely disable directory indexing | ||||
| * | move check for disable_indexing | Carson McManus | 2024-01-30 | 1 | -9/+8 |
| | | |||||
| * | add `--disable-indexing` cli flag to completely disable directory indexing | Carson McManus | 2024-01-29 | 1 | -0/+9 |
| | | |||||
* | | Refactor errors | cyqsimon | 2024-01-29 | 1 | -2/+2 |
|/ | | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code | ||||
* | Tighter code formatting | Sven-Hendrik Haase | 2024-01-13 | 1 | -3/+0 |
| | |||||
* | Clean up default order function | Sven-Hendrik Haase | 2024-01-13 | 1 | -15/+10 |
| | | | | I removed the stringly typing as we already have enums for this that we can make use of. | ||||
* | Set default sorting order and method with arguments | elandsborough | 2024-01-13 | 1 | -2/+10 |
| | |||||
* | Merge pull request #1285 from cyqsimon/listing-crash-fix | Sven-Hendrik Haase | 2024-01-03 | 1 | -6/+11 |
|\ | | | | | Prevent illegal request path from crashing program | ||||
| * | Prevent illegal request path from crashing program | cyqsimon | 2023-12-06 | 1 | -6/+11 |
| | | |||||
* | | Remove header Content-Encoding when archiving | Whyme Lyu | 2023-12-11 | 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. | ||||
* | 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 |
| | |