Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-01-03 | Update actix-multipart to 0.6.1 | Sven-Hendrik Haase | 2 | -3/+3 | |
2023-12-11 | Remove header Content-Encoding when archiving | Whyme Lyu | 2 | -10/+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-11-09 | Better help for -u | Sven-Hendrik Haase | 1 | -0/+5 | |
2023-10-10 | Fix incorrect conditional compilation | Sven-Hendrik Haase | 1 | -3/+1 | |
2023-09-05 | Fix clippy complaints | cyqsimon | 1 | -1/+1 | |
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 | 2 | -21/+27 | |
2023-09-05 | Use distinct query type for file op APIs | cyqsimon | 3 | -18/+20 | |
2023-09-05 | rename `file_upload` to `file_op` | cyqsimon | 2 | -2/+4 | |
- This is in preparation for adding deletion code | |||||
2023-09-05 | Rewrite `contains_symlink` | cyqsimon | 2 | -29/+41 | |
2023-08-21 | Fix MIPS compile | Sven-Hendrik Haase | 1 | -3/+2 | |
2023-08-21 | Fix arg help formatting | Sven-Hendrik Haase | 1 | -4/+9 | |
2023-08-07 | Adjust from feedback | Norberto Lopes | 1 | -1/+6 | |
- remove info logging - add comment to clarify logic | |||||
2023-08-06 | Add pretty urls | Norberto Lopes | 3 | -1/+39 | |
This adds a new flag namely `--pretty-urls` that when enabled will serve the equivalent `.html` if it exists. Very much the same approach that [`netlify` uses](https://docs.netlify.com/site-deploys/post-processing/). It can be quite useful when having hrefs like `/about` serve `/about.html`. | |||||
2023-08-03 | Add file content example to `--auth-file` argument | proudmuslim-dev | 1 | -1/+5 | |
2023-08-03 | Update src/args.rs | proudmuslim-dev | 1 | -1/+1 | |
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | |||||
2023-08-02 | use a char instead of string literal | Dashon Wells | 1 | -1/+1 | |
2023-08-02 | Run cargo fmt to fix formatting | Dashon Wells | 1 | -2/+3 | |
2023-08-02 | Encode single quote in directory path name | Dashon Wells | 1 | -1/+2 | |
2023-07-26 | Fix error page wrapping | Bao Trinh | 1 | -2/+10 | |
Error page was incorrectly comparing the full content-type header of error responses against `text/plain`, so no error pages were being wrapped by `map_error_page`. | |||||
2023-07-26 | Consolidate javascript and add comments | Bao Trinh | 1 | -35/+29 | |
2023-07-21 | Add ability to read auth from file | Proudmuslim | 2 | -3/+19 | |
2023-07-21 | use grass include macro; remove build.rs | Bao Trinh | 2 | -5/+5 | |
2023-07-20 | remove commented code | Bao Trinh | 1 | -2/+0 | |
2023-07-12 | Separate color schemes into separate files | Bao Trinh | 2 | -3/+29 | |
2023-07-11 | simplify theme selection using data attributes | Bao Trinh | 1 | -13/+12 | |
2023-07-10 | Make file util functions generic | cyqsimon | 1 | -4/+4 | |
2023-07-10 | Create shared file utiity module | cyqsimon | 4 | -86/+88 | |
2023-07-05 | Fix ANSI color codes are printed when not a tty | Sven-Hendrik Haase | 1 | -12/+14 | |
Fixes #1095. | |||||
2023-07-05 | Allow parameters to be provided via env vars | Sven-Hendrik Haase | 1 | -32/+78 | |
Fixes #829. | |||||
2023-07-02 | Remove atty dep | Sven-Hendrik Haase | 1 | -4/+4 | |
We can now use the stabilized IsTerminal trait. | |||||
2023-04-20 | Switch from deprecated get_if_addrs to if-addrs | Sven-Hendrik Haase | 1 | -1/+1 | |
Fixes #1079. | |||||
2023-04-16 | Add EC key support (closes #1080) | Sven-Hendrik Haase | 1 | -1/+3 | |
2023-03-01 | Split up wget tests | Sven-Hendrik Haase | 1 | -23/+35 | |
2023-02-25 | Added tests and small fixes | Silux | 1 | -5/+68 | |
...discovered when writing the tests. Ran rustfmt, clippy::all, cargo test, everything passed and I hope the tests I wrote are good. Now with 100% less forgotten debug logs! | |||||
2023-02-22 | Switched from using AsRef<str> to using &Uri | Silux | 2 | -16/+17 | |
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. | |||||
2023-02-22 | Make the wget footer click to copy | Silux | 1 | -1/+5 | |
2023-02-22 | Cleaned up thewget_footer function and generated command | Silux | 1 | -18/+14 | |
The command now has slightly more concise flags, the cut_dir flag gets omitted when it would be zero, if downloading root put files in a folder named the title of the page, use match claues instead of ifs, bit more concise I think | |||||
2023-02-21 | Fix the wget footer | Silux | 1 | -7/+11 | |
...by having it use the absolute url instead of the breadcrumbs | |||||
2023-01-22 | Bump more deps | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-12-31 | Fix more lints | Sven-Hendrik Haase | 1 | -1/+1 | |
2022-12-30 | Run cargo fmt | Sven-Hendrik Haase | 2 | -33/+31 | |
2022-12-19 | Fix lints | Sven-Hendrik Haase | 6 | -27/+27 | |
2022-12-06 | [fix] Sorting breaks subdir downloading | Vamist | 1 | -1/+1 | |
- Small check in render.rs make_link_with_trailing_slash to return nothing if link is empty, instead of adding a / | |||||
2022-11-11 | Bump deps | Sven-Hendrik Haase | 1 | -1/+5 | |
2022-11-11 | Fix clap 4 behavior when allowing duplicate args | Sven-Hendrik Haase | 1 | -12/+3 | |
2022-11-10 | Refactoring | IvkinStanislav | 1 | -4/+2 | |
2022-11-10 | Update datetime format | IvkinStanislav | 1 | -1/+1 | |
Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | |||||
2022-10-23 | Change DateTime format | s.ivkin | 1 | -11/+6 | |