Commit Graph

81 Commits

Author SHA1 Message Date
Jacob Pratt 55ef6b97b3
Upgrade to time v0.2.4
v0.2.3 has been yanked, as it was backwards imcompatible. This version
reverts the breaking change, while still supporting rustc back to
1.34.0.
2020-01-21 03:05:12 -05:00
Jacob Pratt 5192d296f9
Upgrade to time 0.2.3
Mainly minor  changes. Type inference can be used alongside the new
`time::parse` method, such that the type doesn't need to be specified.
This will be useful if a refactoring takes place that changes the type.
There are also new macros, which are used where possible.

One change that is not immediately obvious, in `HttpDate`, there was an
unnecessary conditional. As the time crate allows for negative durations
(and can perform arithmetic with such), the if/else can be removed
entirely.

Time v0.2.3 also has some bug fixes, which is why I am not using a more
general v0.2 in Cargo.toml.
2020-01-17 00:09:52 -05:00
kevinpoitra a1366e2097 Use the more readable version of `Duration::seconds(0)`, `Duration::zero()` 2020-01-08 01:11:25 -06:00
kevinpoitra edd2cb827e Use `time` without any of its deprecated functions 2020-01-08 01:04:22 -06:00
kevinpoitra 92381b10fa Update CHANGES.md 2020-01-07 22:12:26 -06:00
kevinpoitra 555dead1c4 Upgrade `time` to 0.2.2 2020-01-07 22:01:24 -06:00
kevinpoitra bd4807f4d3 Update CHANGES.md 2020-01-06 05:09:58 -06:00
kevinpoitra 729004aa6b Use `OffsetDateTime` instead of `PrimitiveDateTime` 2020-01-05 21:25:49 -06:00
kevinpoitra ebe92a0f6c Upgrade `time` to 0.2.1 2020-01-04 13:21:01 -06:00
Nikolay Kim f86ce0390e allow to specify multi pattern for resources 2019-12-25 20:14:44 +04:00
Nikolay Kim 6a0cd2dced Rename HttpServer::start() to HttpServer::run() 2019-12-22 17:12:22 +04:00
Nikolay Kim c7f3915779 update actix-service dep 2019-12-22 16:39:25 +04:00
Nikolay Kim 48476362a3 update changes 2019-12-20 17:59:34 +06:00
Nikolay Kim 8b8a9a995d bump ver 2019-12-20 17:36:48 +06:00
tglman fbbb4a86e9 feat: add access to the session also from immutable references (#1225) 2019-12-20 13:59:07 +06:00
Nikolay Kim fac6dec3c9 update deps 2019-12-13 12:36:15 +06:00
Nikolay Kim 131c897099 upgrade to actix-net release 2019-12-11 19:20:20 +06:00
Nikolay Kim 4a8a9ef405 update tests and clippy warnings 2019-12-08 12:31:16 +06:00
Nikolay Kim 7dd676439c update changes for actix-session 2019-12-06 11:24:25 +06:00
tglman fbead137f0 feat: add access to UserSession from RequestHead (#1164)
* feat: add access to UserSession from RequestHead

* add test case for session from RequestHead and changes entry for the new feature
2019-12-06 11:21:43 +06:00
Nikolay Kim 205a964d8f upgrade to tokio 0.2 2019-12-05 23:35:43 +06:00
Nikolay Kim b45c6cd66b replace hashbrown with std hashmap 2019-12-04 18:33:43 +06:00
Nikolay Kim 14075ebf7f use released versions of actix-net 2019-12-02 23:33:39 +06:00
Nikolay Kim 4dc31aac93 use actix_rt::test for test setup 2019-11-26 11:25:50 +06:00
Nikolay Kim c1c44a7dd6 upgrade derive_more 2019-11-25 17:59:14 +06:00
Nikolay Kim 57981ca04a update tests to async handlers 2019-11-22 11:49:35 +06:00
Nikolay Kim 60ada97b3d migrate actix-session 2019-11-21 16:02:17 +06:00
Nikolay Kim ff62facc0d disable unmigrated crates 2019-11-21 16:02:17 +06:00
Nikolay Kim 3127dd4db6 migrate actix-web to std::future 2019-11-21 16:02:17 +06:00
Nikolay Kim 2a2d7f5768 nightly clippy warnings 2019-07-17 15:53:51 +06:00
Nikolay Kim 4092c7f326 clippy warnings 2019-07-17 15:08:30 +06:00
Nikolay Kim 7b1dcaffda cleanup deprecation warning for Box<dyn> 2019-07-17 11:44:39 +06:00
Nikolay Kim f410f3330f prepare actix-session release 2019-07-08 23:25:51 +06:00
dowwie 1fdd77bffa reworded session info in CHANGES 2019-07-03 07:56:50 -04:00
dowwie 2d424957fb updated version in Cargo to 0.2 2019-07-03 07:50:45 -04:00
dowwie dabc4fe00b updated actix-session/CHANGES with info 2019-07-03 07:50:11 -04:00
dowwie 099a8ff7d8 updated session cookie to support login, logout, changes 2019-07-01 15:26:19 -04:00
dowwie 0e05b37082 updated cookie session to update on change 2019-06-29 14:24:02 -04:00
Darin 93855b889a
Merge branch 'master' into master 2019-06-24 18:41:48 -04:00
dowwie fa7e0fe6df updated cookie.rs req to get_changes 2019-06-24 18:40:14 -04:00
Nikolay Kim 686e5f1595 update deps 2019-06-16 22:10:22 +06:00
dowwie 32a66a99bf reverting change to get_session due to side effects 2019-06-13 09:19:03 -04:00
dowwie ca4ed0932e made Session::get_session public 2019-06-13 08:59:59 -04: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 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 a1b40f4314 add license files 2019-06-01 17:25:29 +06:00
Nikolay Kim 8ff56d7cd5 prepare actix-session release 2019-05-18 11:20:09 -07:00
Nikolay Kim 5a90e33bcc update deps 2019-05-12 12:01:24 -07:00