Commit Graph

3716 Commits

Author SHA1 Message Date
Igor Aleksanov 0c88a3dc0c
Merge branch 'master' into various-refactorings 2021-06-25 08:09:27 +04:00
Rob Ede e559a197cc
remove comment 2021-06-24 15:30:11 +01:00
Rob Ede 93aa86e30b
clippy 2021-06-24 15:11:01 +01:00
Rob Ede 2d8d2f5ab0
app data doc improvements 2021-06-24 15:10:51 +01:00
Ibraheem Ahmed 083ee05d50
`Route::service` (#2262)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-23 21:30:06 +01:00
Rob Ede ed0516d724
try to fix doc test failures (#2284) 2021-06-23 20:47:17 +01:00
Jonas Malaco 7535a1ade8
Note that Form cannot require data ordering (#2283) 2021-06-23 16:54:25 +01:00
Igor Aleksanov 390ab79000 Update changelog for actix-http as well 2021-06-23 06:57:33 +03:00
Igor Aleksanov 2f6f67eceb Update changelog 2021-06-23 06:54:36 +03:00
Ibraheem Ahmed 8846808804
ServiceRequest::parts_mut (#2177) 2021-06-23 00:42:00 +01:00
Luca Palmieri 3b6333e65f
Propagate error cause to middlewares (#2280) 2021-06-22 22:22:33 +01:00
Igor Aleksanov 8492ecdcee Merge branch 'master' into various-refactorings 2021-06-22 19:55:50 +03:00
Igor Aleksanov 54fa4e4e27 Fix benches 2021-06-22 19:54:12 +03:00
Igor Aleksanov 7d61da0302 Various fixes in awc crate 2021-06-22 19:54:02 +03:00
Igor Aleksanov 815972dd28 Various fixes in actix-files crate 2021-06-22 19:53:52 +03:00
Igor Aleksanov 4cc8eafd3e Various fixes in actix-http crate 2021-06-22 19:49:39 +03:00
Ibraheem Ahmed b1148fd735
Implement `FromRequest` for request parts (#2263)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-22 17:32:03 +01:00
Igor Aleksanov 282a66f327 Various fixes in actix-web-codegen crate 2021-06-22 19:12:53 +03:00
Igor Aleksanov ee2fb80deb Various fixes in actix-web crate 2021-06-22 19:11:26 +03:00
Igor Aleksanov 225cacb599 Add .vscode to gitignore 2021-06-22 19:11:06 +03:00
Rob Ede 12f7720309
deprecate `App::data` and `App::data_factory` (#2271) 2021-06-22 15:50:58 +01:00
Grzegorz Baranski 2d8530feb3
chore: bump actix to 0.12.0 in actix-web-actors (#2277)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-22 14:00:28 +01:00
Rob Ede 7faeffc5ab
prepare actix-test release 0.1.0-beta.3 2021-06-20 19:47:42 +01:00
Rob Ede f81d4bdae7
remove unused private hidden methods 2021-06-19 23:40:30 +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 73a655544e
tweak compress feature docs 2021-06-19 20:23:06 +01:00
Arthur Le Moigne baa5a663c4
Select compression algorithm using features flags (#2250)
Add compress-* feature flags in actix-http / actix-web / awc.
This allow enable / disable not wanted compression algorithm.
2021-06-19 20:21:13 +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
Rob Ede bb0331ae28
fix cargo cache on msrv 2021-06-17 16:49:31 +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
peter-formlogic fb2b362b60
Adjust JSON limit to 2MB and report on sizes (#2162)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-16 15:52:49 +01:00
Victor Pirat 75f65fea4f
Extends Rustls ALPN protocols instead of replacing them when creating Rustls based services (#2226) 2021-06-10 16:25:21 +01:00
Ali MJ Al-Nasrawy 812269d656
clarify docs for BodyEncoding::encoding() (#2258) 2021-06-10 15:38:35 +01:00
Ibraheem Ahmed e46cda5228
Deduplicate rt::main macro logic (#2255) 2021-06-08 22:44:56 +01:00
Ibraheem Ahmed 2e1d761854
add Seal argument to sealed AsHeaderName methods (#2252) 2021-06-08 12:57:19 +01:00
Thales b1e841f168
Don't normalize URIs with no valid path (#2246) 2021-06-05 17:19:45 +01:00
Yerkebulan Tulibergenov 0bb035cfa7
Add information about Actix discord server (#2247) 2021-06-04 02:54:40 +01:00
Arthur Le Moigne 3479293416
Add zstd ContentEncoding support (#2244)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-03 21:32:52 +01:00
James Wright 136dac1352
Additional test coverage and tidyup (middleware::normalize) (#2243) 2021-06-03 03:28:09 +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
fakeshadow 3847429d00
Response::from_error take impl Into<Error> (#2214) 2021-05-26 13:41:48 +09:00
fakeshadow bb7d33c9d4
refactor h2 dispatcher to async/await.reduce duplicate code (#2211) 2021-05-25 03:21:20 +01:00
Yuki Okushi 4598a7c0cc
Only run UI tests on MSRV (#2232) 2021-05-25 00:09:38 +09:00
Keita Nonaka b1de196509
Fix clippy warnings (#2217) 2021-05-15 01:13:33 +01:00
Rob Ede 2a8c650f2c
move internalerror to actix web (#2215) 2021-05-14 16:40:00 +01:00
fakeshadow f277b128b6
cleanup ws test (#2213) 2021-05-13 12:24:32 +01:00
Rob Ede 4903950b22
update changelog 2021-05-09 20:15:49 +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