1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-04 20:11:55 +01:00
Commit Graph

52 Commits

Author SHA1 Message Date
Moritz Hedtke
82a100d96c
Add note for accessing session state in stream. (#285) 2022-09-21 12:51:45 +00:00
Rob Ede
1561bda822
apply imports_granularity fmt rule 2022-09-11 21:55:40 +01:00
Rob Ede
4d2f4d58b4
clippy 2022-07-21 00:07:49 +01:00
Rob Ede
9bc014b96f
forbid unsafe in all crates 2022-07-09 20:05:47 +01:00
Luca Palmieri
b1cea64795
Rebuild actix-identity on top of actix-session (#246)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-09 19:00:15 +01:00
Luca Palmieri
c2f068db66
Add a new configuration parameter to refresh the TTL of the session even if unchanged (#233)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-03 21:18:14 +01:00
tglman
4d77e26e1e
add support for session access from guards (#234) 2022-03-25 18:25:38 +00:00
Rob Ede
bf41b4cd9c
prepare actix-session release 0.6.1 2022-03-21 00:48:24 +00:00
Luca Palmieri
449abd6081
[actix-session] Documentation - Typo(s) / Improvements (#228) 2022-03-20 21:57:26 +00:00
Rob Ede
010a905dca
prepare actix-session release 0.6.0 2022-03-15 16:29:37 +00:00
Rob Ede
2d63973654
final session doc tweaks 2022-03-15 16:27:04 +00:00
Luca Palmieri
7e6335a09f
Rework actix session (#212)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Luca P <rust@lpalmieri.com>
Co-authored-by: Sebastian Rollén <38324289+SebRollen@users.noreply.github.com>
2022-03-05 23:22:14 +00:00
Rob Ede
25d3d34927
fix doctest 2022-02-03 22:41:41 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
56051786a6
standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
Rob Ede
ec66754c0d
standardize crate level lints 2021-12-08 06:11:13 +00:00
Chiu-Hsiang Hsu
545873b5b2
update actix-web dependencies to v4 beta.10 (#203)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-21 14:10:00 +01:00
Rob Ede
e10937103e
fmt with new width 2021-08-30 23:27:44 +01:00
Rob Ede
c6f579790f
bump msrv to 1.51 2021-08-30 23:10:36 +01:00
Rob Ede
fc6563a019
various session api improvements (#170) 2021-03-23 22:35:27 +00:00
Rob Ede
5a72dd33d5
session, redis, and httpauth pre-v4 releases (#162) 2021-03-21 09:38:29 +00:00
FallenWarrior2k
bb8120a8c0
Update Session::set_session to take IntoIterator (#105) 2020-09-22 00:04:21 +01:00
Rob Ede
bad5f32a68
update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
Yuki Okushi
bd963fb7d1
Fix clippy warnings 2020-07-07 03:54:18 +09:00
Pieter Frenssen
ede715374b
Clarify how to use Session::set_session() (#41)
* Clarify in examples how to use Session::set_session().

* Add a doc example for Session::set_session().
2020-04-08 01:49:58 +09:00
Yuki Okushi
510be85629
Fix style 2020-03-15 06:59:41 +09:00
Yuki Okushi
bc36cc1159
Minimize futures dependency 2020-03-15 06:58:47 +09:00
Björn Steinbrink
d849157411 Update Session doc to refer to UserSession instead of RequestSession 2020-02-11 16:25:53 +01:00
Nikolay Kim
6a0cd2dced Rename HttpServer::start() to HttpServer::run() 2019-12-22 17:12:22 +04:00
tglman
fbbb4a86e9 feat: add access to the session also from immutable references (#1225) 2019-12-20 13:59:07 +06:00
Nikolay Kim
4a8a9ef405 update tests and clippy warnings 2019-12-08 12:31:16 +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
b45c6cd66b replace hashbrown with std hashmap 2019-12-04 18:33:43 +06:00
Nikolay Kim
60ada97b3d migrate actix-session 2019-11-21 16:02:17 +06:00
Nikolay Kim
2a2d7f5768 nightly clippy warnings 2019-07-17 15:53:51 +06:00
Nikolay Kim
f410f3330f prepare actix-session release 2019-07-08 23:25:51 +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
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
ffd2c04cd3 Add helper trait UserSession which allows to get session for ServiceRequest and HttpRequest 2019-04-28 09:08:51 -07:00
Nikolay Kim
ee33f52736 make extractor config type explicit 2019-04-13 16:35:25 -07:00
Nikolay Kim
4f30fa9d46 Remove generic type for request payload, always use default 2019-04-13 14:50:54 -07:00
Nikolay Kim
75b213a6f0 refactor FromRequest trait 2019-04-07 14:43:07 -07:00
Nikolay Kim
4227cddd30 fix dev dependencies 2019-04-02 15:00:10 -07:00
Nikolay Kim
86a21c956c rename .middleware to .wrap 2019-03-25 13:02:10 -07:00
Nikolay Kim
1970c99522 add session test 2019-03-24 20:21:20 -07:00
Nikolay Kim
0f0d6b65ca update service request/response location 2019-03-10 17:16:28 -07:00
Nikolay Kim
79875ea039 update deps 2019-03-10 14:22:53 -07:00