dowwie
73ae801a13
Merge branch 'master' of https://github.com/Dowwie/actix-web
2019-06-13 09:00:45 -04:00
dowwie
ca4ed0932e
made Session::get_session public
2019-06-13 08:59:59 -04:00
Nikolay Kim
bf48798bce
Content-Length is 0 for NamedFile HEAD request #914
2019-06-13 15:27:21 +06:00
Nikolay Kim
9fc7c8b1af
Merge branch 'master' into master
2019-06-12 23:53:36 +06:00
Nikolay Kim
c8118e8411
fix path doc tests
2019-06-12 20:12:15 +06:00
dowwie
65732197b8
modified so as to consider unanticipated state changes
2019-06-12 10:11:38 -04:00
dowwie
959eef05ae
updated actix-session to support login and logout functionality (renew and purge)
2019-06-12 08:03:27 -04:00
Nikolay Kim
e7ba67e1a8
rename PathPayloadError and test for path config
2019-06-12 17:02:45 +06:00
Lucas Berezy
13e618b128
Added initial support for PathConfig, allows setting custom error handler. ( #903 )
2019-06-12 16:49:56 +06:00
Aliaksandr Rahalevich
36e6f0cb4b
add "put" and "sput" methods for test server ( #909 )
2019-06-12 16:47:00 +06:00
Nikolay Kim
7450ae37a7
Re-apply patch from #637 #894
2019-06-12 16:45:05 +06:00
Nikolay Kim
2ffda29f9b
Allow to test an app that uses async actors #897
2019-06-12 16:15:06 +06:00
Nikolay Kim
ff724e239d
move identity service separate crate
2019-06-12 15:52:48 +06:00
Bob
ee769832cf
get_identity from HttpMessage ( #908 )
...
* get_identity from HttpMessage
* more doc for RequestIdentity
2019-06-12 09:26:46 +06:00
simlay
c4b7980b4f
Upgraded actix-web dependency and set default-features to false ( #895 )
2019-06-07 09:34:56 +06:00
simlay
bfbac4f875
Upgraded actix-web dependency and set default-features to false ( #900 )
2019-06-07 09:34:30 +06:00
Stefano Probst
53e2f8090f
Mark default enabled package features in the docs ( #890 )
2019-06-06 11:14:56 +06:00
Nikolay Kim
e399e01a22
update readme
2019-06-05 09:02:44 +06:00
Nikolay Kim
d9a62c4bbf
add App::register_data()
2019-06-05 08:43:39 +06:00
Nikolay Kim
a548b69679
fmt
2019-06-05 08:43:13 +06:00
Nikolay Kim
ae64475d98
test-server release
2019-06-05 08:27:25 +06:00
Nikolay Kim
a342b1289d
prep awc release
2019-06-05 08:14:00 +06:00
Nikolay Kim
38f04b75a7
update deps
2019-06-04 22:36:10 +06:00
Nikolay Kim
a771540b16
prepare actix-web-codegen release
2019-06-04 22:33:43 +06:00
Glade Miller
cf217d35a8
Added HEAD, CONNECT, OPTIONS and TRACE to the codegen ( #886 )
...
* Added HEAD, CONNECT, OPTIONS and TRACE to the codegen
* Add new macros to use statement
* Add patch to supported codegen http methods
* Update CHANGES.md
Added head, options, trace, connect and patch codegen changes to CHANGES.md
2019-06-04 22:30:43 +06:00
Nikolay Kim
0e138e111f
add external resource support on scope level
2019-06-03 23:41:32 +06:00
Denys Vitali
1fce4876f3
Scope configuration ( #880 )
...
* WIP: Scope configuarion
* Extensions: Fix into_iter()
* Scope: Fix tests
* Add ScopeConfig to web
Committing from mobile, if this doesn't look good it's because I haven't tested it...
* Scope Config: Use ServiceConfig instead
* Scope: Switch to ServiceConfig in doc
* ScopeConfig: Remove unnecessary changes, handle the case when data is empty
* ScopeConfig: Remove changes from actix-http
2019-06-03 23:12:37 +06:00
Nikolay Kim
4a179d1ae1
prepare actix-session release
2019-06-03 10:52:43 +06:00
Igor Gnatenko
a780ea10e9
Guard cookie mod by cookie-session feature ( #883 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-06-03 10:30:30 +06:00
Nikolay Kim
6d2e190c8e
prepare actix-files release
2019-06-02 13:09:21 +06:00
Nikolay Kim
b1cfbdcf7a
prepare actix-http release
2019-06-02 13:05:22 +06:00
Nikolay Kim
24180f9014
Fix boundary parsing #876
2019-06-02 12:58:37 +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
666756bfbe
body helpers
2019-06-01 17:57:25 +06:00
Nikolay Kim
a1b40f4314
add license files
2019-06-01 17:25:29 +06:00
Nikolay Kim
29a0fe76d5
prepare actix-web-codegen release
2019-06-01 17:21:22 +06:00
Igor Gnatenko
7753b9da6d
web-codegen: Add extra-traits to syn features ( #879 )
...
```rust
error[E0277]: `syn::attr::NestedMeta` doesn't implement `std::fmt::Debug`
--> src/route.rs:149:57
|
149 | attr => panic!("Unknown attribute{:?}", attr),
| ^^^^ `syn::attr::NestedMeta` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `syn::attr::NestedMeta`
= note: required because of the requirements on the impl of `std::fmt::Debug` for `&syn::attr::NestedMeta`
= note: required by `std::fmt::Debug::fmt`
```
2019-06-01 14:13:45 +06:00
Mohab Usama
f1764bba43
Fix Logger time format (use rfc3339) ( #867 )
...
* Fix Logger time format (use rfc3339)
* Update change log
2019-05-31 12:09:21 +04:00
Nikolay Kim
c2d7db7e06
prepare actix-web-actors release
2019-05-29 16:22:57 -07:00
Nikolay Kim
21418c7414
prep actix-http release
2019-05-29 16:15:12 -07:00
octave99
fe781345d5
Add Migration steps for Custom Error ( #869 )
...
Adds migration steps for custom error in 1.0
2019-05-29 20:47:04 +04:00
Nicolas Gotchac
a614be7cb5
Don't DISCONNECT from stream when reader is empty ( #870 )
...
* Don't DISCONNECT from stream when reader is empty
* Fix chunked transfer: poll_request before closing stream + Test
2019-05-29 20:37:42 +04:00
Nikolay Kim
1eb89b8375
remove debug prints
2019-05-25 03:16:53 -07:00
Nikolay Kim
aa626a1e72
handle disconnects
2019-05-25 03:16:46 -07:00
Nikolay Kim
7f12b754e9
Handle socket read disconnect
2019-05-25 03:07:40 -07:00
Nikolay Kim
3f196f469d
update version
2019-05-25 02:13:04 -07:00
Nikolay Kim
35eb378585
prepare actix-files release
2019-05-25 02:02:28 -07:00
Miles Granger
6db625f55b
Update actix-web dep to 1.0.0-rc ( #864 )
2019-05-25 01:52:23 -07:00
Vlad Frolov
801cc2ed5d
Cleaned unnecessary Option<_> around ServerBuilder in server.rs/HttpServer ( #863 )
2019-05-23 05:21:02 -07:00
Nikolay Kim
ded1e86e7e
Add ServiceRequest::set_payload() method
2019-05-22 21:25:51 -07:00