Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-02-01 | tweak doc comment | Carson McManus | 1 | -2/+2 | |
2024-01-30 | move check for disable_indexing | Carson McManus | 1 | -9/+8 | |
2024-01-30 | Revert "completely disable the listing renderer when indexing is disabled" | Carson McManus | 1 | -15/+3 | |
This reverts commit 7b5b1a0e7fec2c0577eb0dc2a93e9fde48228a67. | |||||
2024-01-30 | completely disable the listing renderer when indexing is disabled | Carson McManus | 1 | -3/+15 | |
2024-01-30 | Rename `StartError` -> `StartupError` | cyqsimon | 2 | -11/+12 | |
2024-01-30 | add short version of `--disable-indexing` cli arg | Carson McManus | 1 | -1/+2 | |
2024-01-29 | Refactor errors | cyqsimon | 7 | -134/+142 | |
- 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 | 4 | -1/+20 | |
2024-01-26 | Fix inaccurate uses of `sanitize_path` | cyqsimon | 2 | -5/+6 | |
2024-01-16 | Reformat args help | Sven-Hendrik Haase | 1 | -3/+5 | |
2024-01-16 | Add option for compress response | zuisong | 3 | -1/+20 | |
2024-01-14 | Compress response using `actix_web::middleware::compress` | Dean Li | 1 | -0/+1 | |
2024-01-13 | Tighter code formatting | Sven-Hendrik Haase | 1 | -3/+0 | |
2024-01-13 | Clean up default order function | Sven-Hendrik Haase | 3 | -41/+19 | |
I removed the stringly typing as we already have enums for this that we can make use of. | |||||
2024-01-13 | Use tokio::fs instead of std::fs to enable async file operations (fixes #445) | Sven-Hendrik Haase | 1 | -8/+9 | |
2024-01-13 | Set default sorting order and method with arguments | elandsborough | 4 | -4/+59 | |
2024-01-13 | Fix formatting | Sven-Hendrik Haase | 1 | -8/+14 | |
2024-01-11 | Ignore readonly metadata and handle errors instead | Victor | 1 | -11/+15 | |
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. |