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

310 commits

Author SHA1 Message Date
Rob Ede
a03a2a0076
deprecate NamedFile::set_status_code 2022-03-10 02:54:06 +00:00
Rob Ede
745e738955
fix negative impl assertion on 1.60+
see https://github.com/rust-lang/rust/issues/94791
2022-03-10 02:36:57 +00:00
Rob Ede
1fd90f0b10
Implement getters for named file fields (#2689)
Co-authored-by: Janis Goldschmidt <github@aberrat.io>
2022-03-10 01:29:26 +00:00
Rob Ede
a35804b89f
update files tokio-uring to 0.3 2022-03-10 01:05:03 +00:00
Clément Nerma
955c3ac0c4
Add support for audio files streaming (#2645) 2022-03-03 00:29:59 +00:00
Rob Ede
cb379c0e0c
prepare actix-files release 0.6.0 2022-02-25 20:36:16 +00:00
Rob Ede
d0c08dbb7d
prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00
Rob Ede
10ef9b0751
remove useless doctest main fns 2022-02-22 12:32:06 +00:00
Rob Ede
ad38973767
move blocking error to web (#2660) 2022-02-22 08:45:28 +00:00
Rob Ede
151a15da74
prepare actix-http release 3.0.0-rc.4 2022-02-22 00:21:49 +00:00
Rob Ede
b291e29882
fix links 2022-02-18 03:41:10 +00:00
Rob Ede
51e573b888
prepare actix-test release 0.1.0-beta.13 2022-02-16 03:13:41 +00:00
Rob Ede
594e3a6ef1
prepare actix-http release 3.0.0-rc.3 2022-02-16 03:07:12 +00:00
Rob Ede
593fbde46a
prepare actix-web release 4.0.0-rc.3 2022-02-08 09:31:48 +00:00
Rob Ede
161861997c
prepare actix-http release 3.0.0-rc.2 2022-02-08 09:31:20 +00:00
Rob Ede
3d621677a5
clippy 2022-02-08 08:00:47 +00:00
Rob Ede
7fe800c3ff
prepare actix-web release 4.0.0-rc.2 2022-02-02 03:54:26 +00:00
Rob Ede
20609e93fd
prepare actix-test release 0.1.0-beta.12 2022-01-31 22:34:59 +00:00
Rob Ede
66243717b3
prepare actix-files release 0.6.0-beta.16 2022-01-31 22:32:52 +00:00
Rob Ede
c3c7eb8df9
prepare actix-web release 4.0.0-rc.1 2022-01-31 22:23:33 +00:00
Rob Ede
21f57caf4a
prepare actix-http release 3.0.0-rc.1 2022-01-31 22:22:40 +00:00
Rob Ede
21a08ca796
tweak set_content_encoding docs 2022-01-28 20:27:16 +00:00
Luca Palmieri
a9f497d05f
Guard against broken intra-doc links in CI (#2616) 2022-01-28 17:28:16 +00:00
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