1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-25 19:11:10 +00:00
Commit graph

287 commits

Author SHA1 Message Date
Rob Ede
1bd2076b35
prevent drive traversal in windows 2022-01-25 16:44:05 +00:00
Rob Ede
d7c5c966d2
remove impl Future for HttpResponse (#2601) 2022-01-24 11:56:01 +00:00
Rob Ede
c25dd23820
move path impls to derives 2022-01-22 04:02:34 +00:00
Rob Ede
232a14dc8b
prepare actix-files release 0.6.0-beta.15 2022-01-21 20:27:29 +00:00
Rob Ede
c5d6df0078
prepare actix-web release 4.0.0-beta.21 2022-01-21 20:23:29 +00:00
Rob Ede
8865540f3b
prepare actix-http release 3.0.0-beta.19 2022-01-21 20:21:49 +00:00
Rob Ede
bc89f0bfc2
s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
1cc3e7b24c
deprecate Path::path (#2590) 2022-01-19 20:26:33 +00:00
Rob Ede
455d5c460d
prepare actix-files release 0.6.0-beta.14 2022-01-14 20:01:11 +00:00
Rob Ede
8faca783fa
prepare actix-web release 4.0.0-beta.20 2022-01-14 20:00:26 +00:00
Rob Ede
6c97d448b7
update tokio-uring to 0.2 (#2583) 2022-01-12 17:53:36 +00:00
Rob Ede
8bbf2b5052
prepare actix-test release 0.1.0-beta.11 2022-01-04 15:37:48 +00:00
Rob Ede
bcc8d5c441
prepare actix-multipart release 0.4.0-beta.12 2022-01-04 15:36:56 +00:00
Rob Ede
8621ae12f8
prepare actix-web release 4.0.0-beta.19 2022-01-04 15:35:08 +00:00
Rob Ede
b338eb8473
prepare actix-http release 3.0.0-beta.18 2022-01-04 15:34:52 +00:00
Rob Ede
85c9b1a263
move quoter 2022-01-04 12:58:40 +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
93754f307f
try path config from Data as well 2022-01-04 04:08:46 +00:00
Rob Ede
c7639bc3be
document quoter 2022-01-04 03:48:12 +00:00
Rob Ede
0bc4ae9158
remove BodyEncoding trait (#2565) 2022-01-03 18:46:04 +00:00
Rob Ede
e890307091
Fix AcceptEncoding header (#2501) 2022-01-03 13:17:57 +00:00
Rob Ede
a80e93d6db
prepare actix-web release 4.0.0-beta.18 2021-12-29 10:17:11 +00:00
Rob Ede
a87e01f0d1
bump msrv to 1.54 2021-12-29 08:59:15 +00:00
Rob Ede
9779010a5a
prepare actix-files release 0.6.0-beta.12 2021-12-29 07:08:10 +00:00
Rob Ede
11d50d792b
prepare actix-web release 4.0.0-beta.17 2021-12-29 07:07:51 +00:00
Rob Ede
4616ca8ee6
rework Guard trait (#2552) 2021-12-28 02:37:13 +00:00
Rob Ede
76684a786e
update server dep to rc2 (#2550) 2021-12-27 18:45:31 +00:00
Rob Ede
de20d21703
use dash hyphenation in markdown 2021-12-22 08:21:30 +00:00
Rob Ede
212c6926f9
Revert "use dash hyphenation in changelogs"
This reverts commit 1ea619f2a1.
2021-12-22 08:18:44 +00:00
Rob Ede
1ea619f2a1
use dash hyphenation in changelogs 2021-12-22 08:17:35 +00:00
Rob Ede
73bbe56971
prepare actix-test release 0.1.0-beta.9 2021-12-17 21:00:15 +00:00
Rob Ede
6c2c7b68e2
prepare actix-web release 4.0.0-beta.15 2021-12-17 20:59:01 +00:00
Rob Ede
7bf47967cc
prepare actix-http release 3.0.0-beta.16 2021-12-17 20:57:51 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede
6481a5fb73
prepare actix-test release 0.1.0-beta.8 2021-12-11 00:32:26 +00:00
Rob Ede
ed2f5b40b9
prepare actix-files release 0.6.0-beta.10 2021-12-11 00:31:41 +00:00
Rob Ede
cc37be9700
prepare actix-web release 4.0.0-beta.14 2021-12-11 00:30:12 +00:00
Rob Ede
d0f4c809ca
prepare actix-http release 3.0.0-beta.15 2021-12-11 00:22:09 +00:00
Rob Ede
07f2fe385b
standardize crate level lints 2021-12-08 06:09:56 +00:00
Rob Ede
406f694095
standardize rustfmt max_width 2021-12-08 06:01:11 +00:00
Rob Ede
2d053b7036
remove actix_http::http module (#2488) 2021-12-05 14:37:20 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 (#2468) 2021-12-04 19:40:47 +00:00
Rob Ede
e045418038
prepare for actix-tls rc.1 (#2474) 2021-11-30 14:12:04 +00:00
Rob Ede
a978b417f3
use actix ready future in remaining return types 2021-11-30 13:11:41 +00:00
Rob Ede
18b8ef0765
prepare actix-test release 0.1.0-beta.7 2021-11-22 18:47:43 +00:00
Rob Ede
0062d99b6f
prepare actix-files release 0.6.0-beta.9 2021-11-22 18:46:19 +00:00
Rob Ede
88e074879d
prepare actix-http release 3.0.0-beta.13 2021-11-22 18:19:09 +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
Rob Ede
194a691537
files: 304 Not Modified responses omit Content-Length header (#2453) 2021-11-19 14:04:12 +00:00
Rob Ede
56ee97f722
add files path traversal tests 2021-11-18 18:14:34 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 (#2442) 2021-11-15 04:03:33 +00:00
Rob Ede
c79b9a0df3
prepare actix-files release 0.6.0-beta.8 2021-10-20 23:32:46 +01:00
Rob Ede
9abe166d52
actix-web beta 10 releases (#2417) 2021-10-20 22:32:05 +01:00
Rob Ede
591abc37c3
add test runtime macro (#2409) 2021-10-19 17:30:32 +01:00
Rob Ede
ad22cc4e7f
bump msrv to 1.52.1 2021-10-19 01:59:28 +01:00
Arniu Tseng
8ae278cb68
Remove FromRequest::Config (#2233)
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 01:11:16 +01:00
Rob Ede
ba88d3b4bf
prepare actix-web beta.9 releases (#2381)
* prepare actix-router release 0.5.0-beta.2

* prepare actix-web-codegen release 0.5.0-beta.4

* prepare actix-http release 3.0.0-beta.10

* prepare awc release 3.0.0-beta.8

* prepare actix-web release 4.0.0-beta.9

* prepare actix-http-test release 3.0.0-beta.6

* prepare actix-test release 0.1.0-beta.4

* prepare actix-files release 0.6.0-beta.7

* prepare actix-multipart release 0.4.0-beta.6

* prepare actix-web-actors release 4.0.0-beta.7

* fix http test version

* re-add patch

* update router repo url

* fix http test readme version
2021-09-09 01:35:41 +01:00
Rob Ede
5128b1bdfc
bump msrv to 1.51 2021-08-30 23:19:03 +01: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
Rob Ede
5f412c67db
clippy 2021-08-13 18:49:58 +01:00
Rob Ede
604be5495f
prepare beta.8 releases (#2292) 2021-06-26 16:33:36 +01:00
Igor Aleksanov
262c6bc828
Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +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
Rob Ede
7faeffc5ab
prepare actix-test release 0.1.0-beta.3 2021-06-20 19:47:42 +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
Rob Ede
532f7b9923
refined error model (#2253) 2021-06-17 17:57:58 +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
812269d656
clarify docs for BodyEncoding::encoding() (#2258) 2021-06-10 15:38:35 +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
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
900c9e270e
remove responsebody indirection from response (#2201) 2021-05-09 20:12: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
Rob Ede
8ffb1f2011
update files changelog 2021-04-19 02:11:07 +01:00
Ibraheem Ahmed
26e9c80626
Named file service (#2135) 2021-04-18 23:34:51 +01:00
Rob Ede
f462aaa7b6
prepare actix-test release 0.1.0-beta.2 2021-04-17 15:53:54 +01:00
Rob Ede
b2d6b6a70c
prepare web release 4.0.0-beta.6 2021-04-17 15:28:13 +01:00
Rob Ede
5747f84736
bump utils to stable v3 2021-04-17 02:07:33 +01:00
Rob Ede
d8f56eee3e
bump service to stable v2 2021-04-16 20:28:21 +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
44c55dd036
remove cookie support from -http (#2065) 2021-04-09 18:07:10 +01:00
Rob Ede
e0b2246c68
prepare test release 0.1.0-beta.1 2021-04-02 10:03:01 +01:00
Rob Ede
8561263545
prepare files release 0.6.0-beta.4 2021-04-02 09:43:51 +01:00
Rob Ede
546e7c5da4
prepare web release 4.0.0-beta.5 2021-04-02 09:37:51 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate (#2112) 2021-04-02 08:26:59 +01:00
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
fakeshadow
222acfd070
Fix build for next actix-tls-beta release (#2122) 2021-03-29 13:45:48 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks 2021-03-25 08:45:52 +00:00
fakeshadow
351286486c
fix clippy warning on nightly (#2088)
* fix clippy warning on nightly
2021-03-19 19:25:35 +08:00
Rob Ede
3451d6874f
prepare actix-files release 0.6.0-beta.3 2021-03-09 23:39:40 +00:00
Rob Ede
4b46351d36
prepare actix-web release 4.0.0-beta.4 2021-03-09 23:31:44 +00:00
Florian Dreschner
fb019f15b4
test(files): Fix test and remove outdated case (#2037)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-02-28 23:01:59 +00:00
Daniel T. Rodrigues
abc7fd374b
update example links (#2036)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-02-28 21:41:07 +00:00
fakeshadow
badae2f8fd
add local_address bind for client builder (#2024) 2021-02-27 22:31:14 +00:00
Luka Zakrajšek
2cc6b47fcf
Use http-range library for HttpRange (#2003) 2021-02-16 18:48:16 +00:00
Rob Ede
31d9ed81c5
change rustfmt line width to 96 2021-02-11 23:03:17 +00:00