francesco-gaglione
6e6c2491c6
Add support for permanent redirects in `Files` service ( #3767 )
...
* Add support for permanent redirects in `Files` service
* Rename `with_permanent_redirect_directory` to `with_permanent_redirect` in `Files` service
* Tweak doc comment
---------
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2025-09-15 08:33:33 +00:00
Rob Ede
4966a54e05
refactor(files): rename read_mode_threshold fn
2025-08-29 22:30:47 +01:00
Andrew Scott
00b0f8f700
feat(actix-files): opt-in filesize threshold for faster synchronous reads ( #3706 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-08-29 21:52:34 +01:00
Rob Ede
32ddf972c6
docs: add guarded-listings example
2023-10-30 00:03:22 +00:00
Rob Ede
79a38e0628
apply standard formatting
2023-07-17 02:38:12 +01:00
Raminder Singh
4eeb01415c
Fix failing test on Windows ( #3037 )
2023-07-02 00:36:06 +00:00
Rob Ede
b933ed4456
add tests for files_listing_renderer
2023-02-03 21:04:07 -05:00
Rob Ede
c25dd23820
move path impls to derives
2022-01-22 04:02:34 +00:00
Ali MJ Al-Nasrawy
374dc9bfc9
files: percent-decode url path ( #2398 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-04 12:54:11 +00:00
Rob Ede
406f694095
standardize rustfmt max_width
2021-12-08 06:01:11 +00:00
fakeshadow
dd347e0bd0
implement io-uring for actix-files ( #2408 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-11-22 01:19:09 +00:00
Ali MJ Al-Nasrawy
f9da6e48e0
ResourceDef: define behavior for prefix with trailing slash ( #2355 )
...
* ResourceDef: define behavior
* fix tests
* add scope test
* revert firestorm bump
* update changelog
* fmt
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 20:05:49 +01:00
Ali MJ Al-Nasrawy
09afd033fc
files: file path filtering closure ( #2274 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-25 14:21:57 +01:00
Ali MJ Al-Nasrawy
6893773280
files: allow `show_files_listing()` with `index_file()` ( #2228 )
2021-06-19 21:00:31 +01:00
Keita Nonaka
b1de196509
Fix clippy warnings ( #2217 )
2021-05-15 01:13:33 +01:00
Rob Ede
f55e8d7a11
remove error field from response
2021-05-09 20:15:48 +01:00
Rob Ede
947caa3599
examples use info log level by default
2021-05-06 20:24:18 +01:00
Rob Ede
6a29a50f25
files doc wording
2021-04-22 18:37:45 +01:00
Rob Ede
75867bd073
clean up files service docs and rename method
...
follow on from #2046
2021-04-22 18:31:21 +01:00
tglman
f44a0bc159
add support of filtering guards in Files of actix-files ( #2046 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-22 18:13:13 +01:00
Ibraheem Ahmed
26e9c80626
Named file service ( #2135 )
2021-04-18 23:34:51 +01:00
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 ( #2127 )
2021-04-01 15:26:13 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks
2021-03-25 08:45:52 +00:00
Rob Ede
31d9ed81c5
change rustfmt line width to 96
2021-02-11 23:03:17 +00:00
fakeshadow
46a8f28b74
fix actix-files doc about thread pool ( #1898 )
2021-01-11 17:27:33 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Edoardo Morandi
404b5a7709
Add optional support for hidden files/directories ( #1811 )
2020-12-26 03:36:15 +00:00
Rob Ede
f1a9b45437
improve docs for Files::new
2020-11-24 20:23:09 +00:00
Rob Ede
26c1a901d9
add files preference for utf8 text responses ( #1714 )
2020-10-06 21:56:28 +01:00
Rob Ede
f7bcad9567
split up files lib ( #1685 )
2020-09-20 23:18:25 +01:00