1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-29 18:13:05 +01:00
Commit Graph

3814 Commits

Author SHA1 Message Date
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
svartalf
aad60744ed
Update FUNDING.yml 2019-05-24 14:51:13 +03:00
svartalf
dc3223104a
Create FUNDING.yml 2019-05-23 16:32:55 +03: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
Nikolay Kim
babf48c550 fix NamedFile last-modified check #820 2019-05-22 21:21:12 -07:00
Nikolay Kim
d3e807f6e9 move Payload to inner http request 2019-05-22 11:49:27 -07:00
Nikolay Kim
7746e785c1 re-export Service and Transform traits 2019-05-22 11:20:37 -07:00
Nikolay Kim
4e141d7f5d Merge branch 'master' of github.com:actix/actix-web 2019-05-22 11:18:42 -07:00
Nikolay Kim
12842871fe Clear http requests pool on app service drop #860 2019-05-22 11:18:33 -07:00
Nikolay Kim
0ea3ad0797
Merge pull request #4 from hstefan/rustfmt
Normalizing code formatting based on actix-web style
2019-05-21 14:09:05 -07:00
Stefan Puhlmann
bf34d11a49 Normalizing code formatting based on actix-web style 2019-05-21 21:39:48 +02:00
Aliaksandr Rahalevich
fc85ae4014 small documentation fix (#856) 2019-05-21 10:43:18 -07:00
Nikolay Kim
5b138af1b9
Merge pull request #3 from hstefan/actix-web-1.0
Making library compatible with actix-web 1.0
2019-05-19 08:36:37 -07:00
Harry Stern
5826f39dbe Add set_json method to TestRequest (#851)
- Takes a type which implements serde::Serialize, serializes it to JSON,
and sets it as the payload. The content-type is also set to JSON.
2019-05-18 19:36:28 -07:00
Stefan Puhlmann
f438f80d12 bumping to actix-web 1.0.0-rc 2019-05-19 00:05:33 +02:00
Stefan Puhlmann
34f48cd24a bumping version to 0.4.0 2019-05-18 22:30:52 +02:00
Nikolay Kim
c7266e3ddd prepare release 2019-05-18 11:24:26 -07:00
Nikolay Kim
8ff56d7cd5 prepare actix-session release 2019-05-18 11:20:09 -07:00
Nikolay Kim
0843bce7ba prepare actix-multipart 2019-05-18 11:15:58 -07:00
Nikolay Kim
dea0e0a721 update actix-server dep 2019-05-18 11:00:33 -07:00
Herbert Jones
e857ab1f81 HttpServer::shutdown_timeout u16 to u64 (#849)
Increase maximum graceful shutdown time from 18 hours.

For issue #848.
2019-05-18 10:50:35 -07:00
Nikolay Kim
0dda4b06ea prepare release 2019-05-18 10:49:59 -07:00
Nikolay Kim
cbe0226177 update changes 2019-05-18 10:47:08 -07:00
Stefan Puhlmann
99e70db94b updating actix-web version and removing travil config 2019-05-18 19:29:09 +02:00
Nikolay Kim
e8c8626878 update deps 2019-05-18 09:54:23 -07:00
Stefan Puhlmann
90648058b4 updating example 2019-05-18 14:37:17 +02:00
Stefan Puhlmann
5ab0474781 Making library compatible with actix-web 1.0 2019-05-18 14:37:06 +02:00
Miles Granger
4b215e0839 Support Query<T>::from_query() (#846) 2019-05-17 13:10:46 -07:00