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
Rob Ede
c260fb1c48
beta.7 releases ( #2266 )
2021-06-19 11:51:20 +01:00
Ali MJ Al-Nasrawy
8d124713fc
files: inline disposition for common web app file types ( #2257 )
2021-06-16 20:33:22 +01:00
Ali MJ Al-Nasrawy
e5b713b04a
files: Fix redirect_to_slash_directory()
when used with show_files_listing()
( #2225 )
2021-05-26 10:42:29 +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
Rob Ede
8ffb1f2011
update files changelog
2021-04-19 02:11:07 +01:00
Ali MJ Al-Nasrawy
ce50cc9523
files: Don't use canonical path when serving file ( #2156 )
2021-04-13 05:28:30 +01:00
Rob Ede
8561263545
prepare files release 0.6.0-beta.4
2021-04-02 09:43:51 +01:00
Rob Ede
3451d6874f
prepare actix-files release 0.6.0-beta.3
2021-03-09 23:39:40 +00:00
Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
Jens Reidel
50309aa295
Use askama-escape for html escaping ( #1953 )
2021-02-07 04:50:23 +00:00
Robin Schoonover
a919d2de56
actix-files: Fix If-(Un)Modified to not consider sub-seconds ( #1887 )
2021-01-11 18:18:23 +00:00
Rob Ede
c09186a2c0
prepare v4 beta releases ( #1881 )
2021-01-07 20:02:08 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Rob Ede
a1b00b2cd0
change unreleased year
2021-01-02 00:12:18 +00:00
Rob Ede
8c9ea43e23
address clippy warnings
2020-12-27 20:54:04 +00:00
Rob Ede
b373e1370d
prepare files 0.5.0 release
2020-12-26 04:05:45 +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
34b23f31c9
prepare files release 0.4.0
2020-10-06 22:08:33 +01:00
Rob Ede
26c1a901d9
add files preference for utf8 text responses ( #1714 )
2020-10-06 21:56:28 +01:00
Rob Ede
2fd96c03e5
prepare beta.1 release for multipart/files/actors ( #1605 )
2020-07-16 11:38:57 +01:00
Yuki Okushi
f2d641b772
Update v_htmlescape
to 0.10
2020-07-02 17:52:42 +09:00
Yuki Okushi
75a34dc8bc
files: Bump up to 0.3.0-alpha.1
2020-05-23 18:47:08 +09:00
Omid Rad
b0866a8a0f
Actix-files will always send SizedStream ( #1496 )
...
* Fixes #1384
* There is no need to set no_chunking
* Test content-length for static files
* Update the tests
* Add Changelog
* Try to simply fix Windows test issues!
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-05-18 06:54:42 +09:00
Rob Ede
996f1d7eae
bump msrv in ci and readme
2020-05-13 01:57:37 +01:00
Yuki Okushi
f45db1f909
Enable GitHub Actions and fix file URL behavior ( #1232 )
...
* Use GitHub Actions
* Fix unused imports on Windows
* Fix test for Windows
* Stop to run CI for i686-pc-windows-msvc for now
* Use `/` instead of `\` on Windows
* Add entry to changelog
* Prepare actix-files release
2019-12-22 16:43:41 +09:00
Nikolay Kim
48476362a3
update changes
2019-12-20 17:59:34 +06:00
Nikolay Kim
01613f334b
Move BodyEncoding to dev module #1220
2019-12-16 17:22:26 +06:00
Nikolay Kim
1729a52f8b
prepare alpha.3 release
2019-12-07 13:00:03 +06:00
Nikolay Kim
c7ed6d3428
update version
2019-12-03 16:35:31 +06:00
Nikolay Kim
885ff7396e
prepare actox-http release
2019-11-06 10:35:13 -08:00
Nikolay Kim
062e51e8ce
prep actix-file release
2019-10-14 21:26:26 +06:00
Roberto Huertas
a48e616def
feat(files): add possibility to redirect to slash-ended path ( #1134 )
...
When accessing to a folder without a final slash, the index file will be loaded ok, but if it has
references (like a css or an image in an html file) these resources won't be loaded correctly if
they are using relative paths. In order to solve this, this PR adds the possibility to detect
folders without a final slash and make a 302 redirect to mitigate this issue. The behavior is off by
default. We're adding a new method called `redirect_to_slash_directory` which can be used to enable
this behavior.
2019-10-14 21:23:15 +06:00
Nikolay Kim
a464ffc23d
prepare actix-files release
2019-10-08 10:13:16 +06:00
Naim A
4de2e8a898
[actix-files] Allow user defined guards for NamedFile (actix#1113) ( #1115 )
...
* [actix-files] remove request method checks from NamedFile
* [actix-files] added custom guard checks to FilesService
* [actix-files] modify method check tests (NamedFile -> Files)
* [actix-files] add test for custom guards in Files
* [actix-files] update changelog
2019-10-08 10:09:40 +06:00
Nikolay Kim
55179d6ab2
update dependencies
2019-08-13 10:48:11 -07:00
Yuki Okushi
dbe4c9ffb5
Replace deprecated methods in actix_files ( #1027 )
...
* Bump up mime_guess to 2.0.1
* Replace deprecated methods
* Update CHANGE.md
2019-08-12 05:43:29 +09:00
Nikolay Kim
7bca1f7d8d
Allow to disable Content-Disposition header #686
2019-07-20 11:43:49 +06:00
Nikolay Kim
a3a78ac6fb
Do not set Content-Length header, let actix-http set it #930
2019-06-28 11:42:20 +06:00
Nikolay Kim
bf48798bce
Content-Length is 0 for NamedFile HEAD request #914
2019-06-13 15:27:21 +06:00
simlay
bfbac4f875
Upgraded actix-web dependency and set default-features to false ( #900 )
2019-06-07 09:34:30 +06:00
Nikolay Kim
15cdc680f6
Static files are incorrectly served as both chunked and with length #812
2019-06-01 17:57:40 +06:00
Nikolay Kim
35eb378585
prepare actix-files release
2019-05-25 02:02:28 -07:00
Nikolay Kim
babf48c550
fix NamedFile last-modified check #820
2019-05-22 21:21:12 -07:00
Nikolay Kim
36d017dcc6
update deps
2019-05-12 11:41:43 -07:00
Nikolay Kim
7e480ab2f7
beta.1 release
2019-04-20 21:16:51 -07:00
Nikolay Kim
d7040dc303
alpha.6 release
2019-04-14 08:09:32 -07:00
Nikolay Kim
53da55aa3c
alpha4 release
2019-04-07 23:42:05 -07:00