Commit Graph

3013 Commits

Author SHA1 Message Date
Nikolay Kim e1ff3bf8fa fix resource match with params 2019-05-15 10:31:40 -07:00
Glade Miller 80f4ef9aac When using codegen with paths that have parameters then only the first endpoint resolves () 2019-05-15 09:21:07 -07:00
Davide Di Carlo bba90d7f22 Query config ()
* add QueryConfig

* expose QueryConfig in web module

* fmt

* use associated type for QueryConfig

* update CHANGES.md
2019-05-14 13:54:30 -07:00
Nikolay Kim f8af3b86e5 export set_date 2019-05-14 08:48:11 -07:00
Davide Di Carlo 6c3d8b8738 Make JsonConfig send ()
* replace Rc with Arc

* add Send trait requirement for Fn in JsonConfig error handler

* add Sync trait requirement for Fn in JsonConfig error handler

* use associated type inside JsonConfig

* fix lint: members in the impl has the same order in the trait

* Update CHANGES.md
2019-05-12 20:04:08 -07:00
Nikolay Kim 5a90e33bcc update deps 2019-05-12 12:01:24 -07:00
Nikolay Kim 86b569e320 version 2019-05-12 11:56:01 -07:00
Nikolay Kim 2350a2dc68 Handle cancellation of uploads 2019-05-12 11:43:05 -07:00
Nikolay Kim 36d017dcc6 update deps 2019-05-12 11:41:43 -07:00
Nikolay Kim 3bb081852c prep actix-session release 2019-05-12 10:53:21 -07:00
Nikolay Kim 1ca58e876b prepare beta4 release 2019-05-12 10:49:21 -07:00
Nikolay Kim e9cbcbaf03 update dependencies 2019-05-12 10:18:02 -07:00
Nikolay Kim 07c9eec803 prepare awc release 2019-05-12 10:04:38 -07:00
Nikolay Kim beae9ca0f7 update changes 2019-05-12 09:57:16 -07:00
Nikolay Kim 07b9707ca1 prepare actix-http release 2019-05-12 09:56:55 -07:00
Nikolay Kim 45c05978b0 Allow to set/override app data on scope level 2019-05-12 09:42:05 -07:00
Nikolay Kim df08baf67f update actix-net dependencies 2019-05-12 08:34:51 -07:00
Nikolay Kim 4066375737
Update CHANGES.md 2019-05-10 14:45:30 -07:00
Nikolai Vazquez a77b0b054a Make `App::configure` take an `FnOnce` () 2019-05-10 14:44:49 -07:00
Nikolay Kim a17ff492a1 fix formatting 2019-05-04 22:18:59 -07:00
Nikolay Kim 33b4c05557 add payload stream migration entry 2019-05-04 22:18:02 -07:00
Nikolay Kim 005c055a7f prepare actix-web release 2019-05-04 20:05:20 -07:00
Nikolay Kim 3d1af19080 prepare actix-http release 2019-05-04 19:51:13 -07:00
Nikolay Kim fa78da8156 unify route and app data, it allows to provide global extractor config 2019-05-04 19:43:49 -07:00
Nikolay Kim 01cfcf3b75 update changes 2019-05-04 08:42:27 -07:00
James 7ef4f5ac0b Make request headers optional in CORS preflight () 2019-05-04 08:41:37 -07:00
Nikolay Kim fc19ce41c4 Clean up response extensions in response pool 2019-05-03 15:26:34 -07:00
Otavio Salvador 6e00eef63a awc: Fix typo on ResponseError documentation ()
* awc: Fix typo on ResponseError documentation

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

* http: Fix typo on ResponseError documentation

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

* http: Expand type names for openssl related errors documentation

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-05-03 14:30:00 -07:00
Nikolay Kim 337c2febe3 add more tests 2019-05-02 09:49:10 -07:00
Nikolay Kim f27beab016 fix case for transfer-encoding header name 2019-05-02 09:30:00 -07:00
Max Bo 4f1c6d1bb7 Update MIGRATION.md () 2019-05-02 09:26:51 -07:00
Nikolay Kim 6b34909537 Fix NormalizePath middleware impl 2019-05-01 12:40:56 -07:00
Douman 87284f0951 Add doctest to verify NormalizePath middleware () 2019-05-01 11:47:51 -07:00
Nikolay Kim 24bd5b1344 update readmes 2019-04-29 20:47:21 -07:00
Nikolay Kim 94a0d1a6bc remove old api doc refs 2019-04-29 18:42:21 -07:00
Nikolay Kim f4e1205cbb fix reactor drop panic 2019-04-29 10:14:08 -07:00
Nikolay Kim d2c1791067 add async handler test with blocking call 2019-04-29 09:45:37 -07:00
Nikolay Kim f4b4875cb1 Add helper function for executing futures test::block_fn() 2019-04-29 09:34:14 -07:00
Nikolay Kim 29a841529f Allow to construct Data instances to avoid double Arc for Send + Sync types. 2019-04-29 09:26:12 -07:00
Darin b51b5b763c added clarification to docs regarding middleware processing sequence, added delete method to TestRequest ()
* added clarification to docs regarding middleware processing sequnce

* added delete method to TestRequest, doc, and test
2019-04-29 09:14:36 -07:00
Nikolay Kim 8db6b48a76 update version 2019-04-28 09:09:18 -07:00
Nikolay Kim ffd2c04cd3 Add helper trait UserSession which allows to get session for ServiceRequest and HttpRequest 2019-04-28 09:08:51 -07:00
Nikolay Kim 70a4c36496 use Error explicitly 2019-04-25 11:14:32 -07:00
Nikolay Kim cba78e06ae update changes 2019-04-24 15:42:34 -07:00
Nikolay Kim 3b3dbb4f40 add raw services support 2019-04-24 15:29:15 -07:00
Darin 7300002226 grammar fixes () 2019-04-24 13:21:42 -07:00
Nikolay Kim 5426413cb6 update dependencies 2019-04-24 13:00:30 -07:00
Nikolay Kim 2bc937f6c3 prepare release 2019-04-24 12:50:44 -07:00
Maciej Piechotka 60fa0d5427 Store visit and login timestamp in the identity cookie ()
This allows to verify time of login or last visit and therfore limiting
the danger of leaked cookies.
2019-04-24 12:49:56 -07:00
Nikolay Kim f429d3319f Read until eof for http/1.0 responses 2019-04-24 11:57:40 -07:00