aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix lintsSven-Hendrik Haase2024-09-121-2/+1
|
* Merge pull request #1442 from Atreyagaurav/masterSven-Hendrik Haase2024-09-121-1/+1
|\ | | | | Don't show mkdir option when the directory is not upload allowed
| * Don't show mkdir option when the directory is not upload allowedGaurav Atreya2024-07-141-1/+1
| | | | | | | | Fixes #1249
* | Bump depsSven-Hendrik Haase2024-07-201-7/+11
|/
* Fix typos in CLIZakhary Kaplan2024-06-261-1/+1
|
* Bump rustls to v0.23Sven-Hendrik Haase2024-06-092-16/+7
|
* Remove explicit dependency on httpSven-Hendrik Haase2024-06-094-6/+7
| | | | We now use the one supplied by actix-web.
* Improve documentation for the --header parameter (#1389)orwithout2024-04-261-1/+6
| | | | | | | | * Improve documentation for the --header parameter * Add Support for HSTS to Enhance HTTPS Security --------- Co-authored-by: orwithout <googoldecibel@gmail.com>
* Bump depsSven-Hendrik Haase2024-04-261-1/+2
|
* fix missing drag-form when dragging file in to browserchaibiq2024-04-161-1/+1
|
* Bump depsSven-Hendrik Haase2024-03-281-1/+0
|
* Merge pull request #1329 from dyc3/disable-indexingSven-Hendrik Haase2024-02-014-1/+20
|\ | | | | add `--disable-indexing` cli flag to completely disable directory indexing
| * tweak doc commentCarson McManus2024-02-011-2/+2
| |
| * move check for disable_indexingCarson McManus2024-01-301-9/+8
| |
| * Revert "completely disable the listing renderer when indexing is disabled"Carson McManus2024-01-301-15/+3
| | | | | | | | This reverts commit 7b5b1a0e7fec2c0577eb0dc2a93e9fde48228a67.
| * completely disable the listing renderer when indexing is disabledCarson McManus2024-01-301-3/+15
| |
| * add short version of `--disable-indexing` cli argCarson McManus2024-01-301-1/+2
| |
| * add `--disable-indexing` cli flag to completely disable directory indexingCarson McManus2024-01-294-1/+20
| |
* | Rename `StartError` -> `StartupError`cyqsimon2024-01-302-11/+12
| |
* | Refactor errorscyqsimon2024-01-297-134/+142
|/ | | | | - Split `ContexualError` into `StartError` & `RuntimeError` - Made sure every `RuntimeError` variant has an accurate status code
* Fix inaccurate uses of `sanitize_path`cyqsimon2024-01-262-5/+6
|
* Reformat args helpSven-Hendrik Haase2024-01-161-3/+5
|
* Add option for compress responsezuisong2024-01-163-1/+20
|
* Compress response using `actix_web::middleware::compress`Dean Li2024-01-141-0/+1
|
* Tighter code formattingSven-Hendrik Haase2024-01-131-3/+0
|
* Clean up default order functionSven-Hendrik Haase2024-01-133-41/+19
| | | | I removed the stringly typing as we already have enums for this that we can make use of.
* Merge pull request #1308 from ↵Sven-Hendrik Haase2024-01-134-4/+59
|\ | | | | | | | | ElliottLandsborough/set_sorting_order_with_arguments Set default sorting order and method with arguments
| * Set default sorting order and method with argumentselandsborough2024-01-134-4/+59
| |
* | Use tokio::fs instead of std::fs to enable async file operations (fixes #445)Sven-Hendrik Haase2024-01-131-8/+9
| |
* | Fix formattingSven-Hendrik Haase2024-01-131-8/+14
| |
* | Ignore readonly metadata and handle errors insteadVictor2024-01-111-11/+15
|/
* Merge pull request #1285 from cyqsimon/listing-crash-fixSven-Hendrik Haase2024-01-031-6/+11
|\ | | | | Prevent illegal request path from crashing program
| * Prevent illegal request path from crashing programcyqsimon2023-12-061-6/+11
| |
* | Merge pull request #1290 from 5long/remove-content-encodingSven-Hendrik Haase2024-01-032-10/+0
|\ \ | | | | | | Remove header Content-Encoding when archiving
| * | Remove header Content-Encoding when archivingWhyme Lyu2023-12-112-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.1Sven-Hendrik Haase2024-01-032-3/+3
|/
* Better help for -uSven-Hendrik Haase2023-11-091-0/+5
|
* Fix incorrect conditional compilationSven-Hendrik Haase2023-10-101-3/+1
|
* Merge pull request #1228 from cyqsimon/upload-refactorSven-Hendrik Haase2023-09-246-132/+156
|\ | | | | Minor refactor on upload code
| * Fix clippy complaintscyqsimon2023-09-051-1/+1
| |
| * Fix incorrect usage of app data extractorcyqsimon2023-09-051-1/+1
| | | | | | | | - `Data` extractor can only be used when app data is wrapped with `Data`
| * Minor code style refactorscyqsimon2023-09-052-21/+27
| |
| * Use distinct query type for file op APIscyqsimon2023-09-053-18/+20
| |
| * rename `file_upload` to `file_op`cyqsimon2023-09-052-2/+4
| | | | | | | | - This is in preparation for adding deletion code
| * Rewrite `contains_symlink`cyqsimon2023-09-052-29/+41
| |
| * Make file util functions genericcyqsimon2023-07-101-4/+4
| |
| * Create shared file utiity modulecyqsimon2023-07-104-86/+88
| |
* | Fix MIPS compileSven-Hendrik Haase2023-08-211-3/+2
| |
* | Fix arg help formattingSven-Hendrik Haase2023-08-211-4/+9
| |
* | Merge pull request #1179 from proudmuslim-dev/masterSven-Hendrik Haase2023-08-212-3/+23
|\ \ | | | | | | Add ability to read auth from file