Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix formatting | Sven-Hendrik Haase | 2024-01-13 | 1 | -8/+14 |
| | |||||
* | Ignore readonly metadata and handle errors instead | Victor | 2024-01-11 | 1 | -11/+15 |
| | |||||
* | 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 |
| | | |||||
* | | Merge pull request #1290 from 5long/remove-content-encoding | Sven-Hendrik Haase | 2024-01-03 | 2 | -10/+0 |
|\ \ | | | | | | | Remove header Content-Encoding when archiving | ||||
| * | | Remove header Content-Encoding when archiving | Whyme Lyu | 2023-12-11 | 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. | ||||
* / | Update actix-multipart to 0.6.1 | Sven-Hendrik Haase | 2024-01-03 | 2 | -3/+3 |
|/ | |||||
* | Better help for -u | Sven-Hendrik Haase | 2023-11-09 | 1 | -0/+5 |
| | |||||
* | Fix incorrect conditional compilation | Sven-Hendrik Haase | 2023-10-10 | 1 | -3/+1 |
| | |||||
* | Merge pull request #1228 from cyqsimon/upload-refactor | Sven-Hendrik Haase | 2023-09-24 | 6 | -132/+156 |
|\ | | | | | Minor refactor on upload code | ||||
| * | Fix clippy complaints | cyqsimon | 2023-09-05 | 1 | -1/+1 |
| | | |||||
| * | Fix incorrect usage of app data extractor | cyqsimon | 2023-09-05 | 1 | -1/+1 |
| | | | | | | | | - `Data` extractor can only be used when app data is wrapped with `Data` | ||||
| * | Minor code style refactors | cyqsimon | 2023-09-05 | 2 | -21/+27 |
| | | |||||
| * | Use distinct query type for file op APIs | cyqsimon | 2023-09-05 | 3 | -18/+20 |
| | | |||||
| * | rename `file_upload` to `file_op` | cyqsimon | 2023-09-05 | 2 | -2/+4 |
| | | | | | | | | - This is in preparation for adding deletion code | ||||
| * | Rewrite `contains_symlink` | cyqsimon | 2023-09-05 | 2 | -29/+41 |
| | | |||||
| * | Make file util functions generic | cyqsimon | 2023-07-10 | 1 | -4/+4 |
| | | |||||
| * | Create shared file utiity module | cyqsimon | 2023-07-10 | 4 | -86/+88 |
| | | |||||
* | | Fix MIPS compile | Sven-Hendrik Haase | 2023-08-21 | 1 | -3/+2 |
| | | |||||
* | | Fix arg help formatting | Sven-Hendrik Haase | 2023-08-21 | 1 | -4/+9 |
| | | |||||
* | | Merge pull request #1179 from proudmuslim-dev/master | Sven-Hendrik Haase | 2023-08-21 | 2 | -3/+23 |
|\ \ | | | | | | | Add ability to read auth from file | ||||
| * | | Add file content example to `--auth-file` argument | proudmuslim-dev | 2023-08-03 | 1 | -1/+5 |
| | | | |||||
| * | | Update src/args.rs | proudmuslim-dev | 2023-08-03 | 1 | -1/+1 |
| | | | | | | | | | Co-authored-by: Sven-Hendrik Haase <svenstaro@gmail.com> | ||||
| * | | Add ability to read auth from file | Proudmuslim | 2023-07-21 | 2 | -3/+19 |
| |/ | |||||
* | | Adjust from feedback | Norberto Lopes | 2023-08-07 | 1 | -1/+6 |
| | | | | | | | | | | - remove info logging - add comment to clarify logic | ||||
* | | Add pretty urls | Norberto Lopes | 2023-08-06 | 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`. | ||||
* | | use a char instead of string literal | Dashon Wells | 2023-08-02 | 1 | -1/+1 |
| | | |||||
* | | Run cargo fmt to fix formatting | Dashon Wells | 2023-08-02 | 1 | -2/+3 |
| | | |||||
* | | Encode single quote in directory path name | Dashon Wells | 2023-08-02 | 1 | -1/+2 |
| | | |||||
* | | Fix error page wrapping | Bao Trinh | 2023-07-26 | 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`. | ||||
* | | Consolidate javascript and add comments | Bao Trinh | 2023-07-26 | 1 | -35/+29 |
| | | |||||
* | | use grass include macro; remove build.rs | Bao Trinh | 2023-07-21 | 2 | -5/+5 |
| | | |||||
* | | remove commented code | Bao Trinh | 2023-07-20 | 1 | -2/+0 |
| | | |||||
* | | Separate color schemes into separate files | Bao Trinh | 2023-07-12 | 2 | -3/+29 |
| | | |||||
* | | simplify theme selection using data attributes | Bao Trinh | 2023-07-11 | 1 | -13/+12 |
|/ | |||||
* | Fix ANSI color codes are printed when not a tty | Sven-Hendrik Haase | 2023-07-05 | 1 | -12/+14 |
| | | | | Fixes #1095. | ||||
* | Allow parameters to be provided via env vars | Sven-Hendrik Haase | 2023-07-05 | 1 | -32/+78 |
| | | | | Fixes #829. | ||||
* | Remove atty dep | Sven-Hendrik Haase | 2023-07-02 | 1 | -4/+4 |
| | | | | We can now use the stabilized IsTerminal trait. | ||||
* | Switch from deprecated get_if_addrs to if-addrs | Sven-Hendrik Haase | 2023-04-20 | 1 | -1/+1 |
| | | | | Fixes #1079. | ||||
* | Add EC key support (closes #1080) | Sven-Hendrik Haase | 2023-04-16 | 1 | -1/+3 |
| | |||||
* | Split up wget tests | Sven-Hendrik Haase | 2023-03-01 | 1 | -23/+35 |
| | |||||
* | Merge pull request #1043 from Yusuto/wget-fix | Sven-Hendrik Haase | 2023-03-01 | 2 | -27/+95 |
|\ | | | | | Fix the wget footer | ||||
| * | Added tests and small fixes | Silux | 2023-02-25 | 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! | ||||
| * | Switched from using AsRef<str> to using &Uri | Silux | 2023-02-22 | 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. | ||||
| * | Make the wget footer click to copy | Silux | 2023-02-22 | 1 | -1/+5 |
| | | |||||
| * | Cleaned up thewget_footer function and generated command | Silux | 2023-02-22 | 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 | ||||
| * | Fix the wget footer | Silux | 2023-02-21 | 1 | -7/+11 |
| | | | | | | | | ...by having it use the absolute url instead of the breadcrumbs | ||||
* | | Merge pull request #991 from Vam-Jam/sort_down_fix | Sven-Hendrik Haase | 2023-02-21 | 1 | -1/+1 |
|\ \ | |/ |/| | [fix] Sorting breaks subdir downloading | ||||
| * | [fix] Sorting breaks subdir downloading | Vamist | 2022-12-06 | 1 | -1/+1 |
| | | | | | | - Small check in render.rs make_link_with_trailing_slash to return nothing if link is empty, instead of adding a / | ||||
* | | Bump more deps | Sven-Hendrik Haase | 2023-01-22 | 1 | -1/+1 |
| | |