Adam Chalmers
a50f1db473
Bugfix: AuthenticationError should set status_code
...
I noticed that my `AuthenticationError`'s `status_code` field was 401, but when I ran `.as_response_error()` the `ResponseError`'s code was 500 (the default value). It's because impl ResponseError for AuthenticationError doesn't define the `status_code()` trait method. Merely setting the status code in `error_response` isn't enough, it seems. I added a unit test for this case too.
2020-05-19 07:34:53 -05:00
Yuki Okushi
5c6c04caf3
Merge pull request #52 from maitsarv/master
...
Documentation update: RedisSessionBackend is renamed to RedisSession
2020-05-17 21:20:47 +09:00
Yuki Okushi
f3778c4856
Merge pull request #55 from JohnTitor/new-redis
...
redis: Bump up to 0.9.0-alpha.2
2020-05-17 20:51:42 +09:00
mait
f3eaf5640c
Documentation update: RedisSessionBackend is renamed to RedisSession
2020-05-17 14:46:41 +03:00
Yuki Okushi
d51012075f
redis: Bump up to 0.9.0-alpha.2
2020-05-17 20:19:13 +09:00
Yuki Okushi
8bf33648ce
Merge pull request #53 from JohnTitor/framed-write
...
Follow upstream change wrt. `FramedWrite`
2020-05-17 12:27:24 +09:00
Yuki Okushi
923cb7bcd2
Bump up MSRV to 1.40.0
2020-05-17 11:34:00 +09:00
Yuki Okushi
ecc774450f
Follow upstream change wrt. FramedWrite
2020-05-17 11:12:12 +09:00
Yuki Okushi
fee78223a9
Merge pull request #51 from JohnTitor/now-utc
...
Replace deprecated methods with `now_utc()`
2020-05-09 08:26:30 +09:00
Yuki Okushi
446b920d96
Replace deprecated methods with now_utc()
2020-05-09 08:07:31 +09:00
Yuki Okushi
6b5215d439
Merge pull request #45 from pfrenssen/check-prost-example
...
Compile the actix-protobuf example during CI test runs
2020-04-13 23:40:12 +09:00
Pieter Frenssen
beb6e1ccde
Compile the actix-protobuf example.
2020-04-13 16:14:19 +03: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
a72d4aa0c8
Merge pull request #40 from actix/fix/noisy-check
...
fix noisy check warning
2020-04-05 13:20:43 +09:00
Rob Ede
fd2cc47447
fix noisy check warning
2020-04-05 00:27:08 +01:00
Yuki Okushi
4d64ac13dd
Merge pull request #38 from JohnTitor/base64
...
Update the `base64` dependency to 0.12
2020-04-03 20:47:17 +09:00
Yuki Okushi
92c4230550
Update the base64
dependency to 0.12
2020-04-03 17:01:36 +09:00
Omikuji
f6686c9292
Change ttl to u32 ( #35 )
...
* Change TTL to u32
* Update CHANGES.md
2020-04-03 16:19:21 +09:00
Bart Willems
f4bcebdecd
allow user to set the cookie HttpOnly policy for the redis session ( #36 )
...
* allow user to set the cookie HttpOnly policy for the redis session
Signed-off-by: Bart Willems <bwillems@protonmail.com>
2020-03-29 21:36:01 +09:00
Yuki Okushi
f878889627
Merge pull request #34 from JohnTitor/redis
...
actix-redis: Bump up to 0.9.0-alpha.1
2020-03-28 10:10:26 +09:00
Yuki Okushi
21024be9d6
Bump up to 0.9.0-alpha.1
2020-03-27 20:50:31 +09:00
Yuki Okushi
2bfc9be5ad
Run rustfmt
2020-03-27 20:50:31 +09:00
Rob Ede
585709929b
Merge pull request #29 from pfrenssen/patch-1
...
Fix cargo package link title in README
2020-03-22 13:51:37 +00:00
Pieter Frenssen
066fb3a1b5
Fix cargo package link title in README
2020-03-22 10:35:56 +02:00
Yuki Okushi
4be50ff7dd
Merge pull request #27 from JohnTitor/clean-up
...
Clean-up things
2020-03-19 02:42:05 +09:00
Yuki Okushi
5e59fb157c
Add codecov.yml
2020-03-18 06:34:32 +09:00
Yuki Okushi
00f520cd2d
Fix clippy warnings
2020-03-18 06:34:32 +09:00
Yuki Okushi
d13798748f
Merge pull request #26 from JohnTitor/remove-udeps
...
Remove unused `actix` dependency
2020-03-18 05:31:32 +09:00
Yuki Okushi
83d2b9c95b
Remove unused actix
dependency
2020-03-18 04:33:21 +09:00
Yuki Okushi
de374afbca
Revert "Disable coverage for PRs" ( #25 )
...
* Revert "Disable coverage for PRs"
* Remove `token` arg
2020-03-18 04:19:15 +09:00
kevinpoitra
79dc7fcaff
Update actix-redis' dependencies ( #24 )
...
* Update actix-redis's dependencies
* Change `chrono::Duration` to `time::Duration` in the docs
* Remove unneeded comment
* Update CHANGES.md
2020-03-15 16:54:35 +09:00
Yuki Okushi
d913550570
Merge pull request #23 from JohnTitor/new-session
...
Release actix-session v0.4.0-alpha.1
2020-03-15 07:14:13 +09:00
Yuki Okushi
483f641165
Bump up to 0.4.0-alpha.1
2020-03-15 07:01:21 +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
Yuki Okushi
ab1bcf15d4
Merge pull request #22 from JohnTitor/new-identity
...
Release actix-identity 0.3.0-alpha.1
2020-03-15 06:50:44 +09:00
Yuki Okushi
dd7ee27388
Bump up to 0.3.0-alpha.1
2020-03-15 06:15:22 +09:00
Yuki Okushi
a3ebc8ca66
Minimize futures
dependency
2020-03-15 05:44:29 +09:00
Yuki Okushi
02ada2bd88
Merge pull request #21 from JohnTitor/identity-session
...
Check-in actix-identity and actix-session
2020-03-13 07:06:44 +09:00
Yuki Okushi
30ee6e0b4c
session: Update actix-web
dependency to 3.0.0-alpha.1
2020-03-13 06:04:07 +09:00
Yuki Okushi
570209c1b1
identity: Update actix-web
dependency to 3.0.0-alpha.1
2020-03-13 06:01:39 +09:00
Yuki Okushi
62cf9baa51
Merge pull request #20 from JohnTitor/cors
...
Release `actix-cors` v0.3.0-alpha.1
2020-03-12 06:46:02 +09:00
Yuki Okushi
8176d5e121
Run rustfmt
2020-03-12 05:48:57 +09:00
Yuki Okushi
7f1680ebcf
Bump up to 0.3.0-alpha.1
2020-03-12 05:48:04 +09:00
Yuki Okushi
405e61a603
Update actix-web
dependency to 3.0.0-alpha.1
2020-03-12 05:46:58 +09:00
Yuki Okushi
9a8275b455
Minimize futures-*
dependencies
2020-03-12 05:43:48 +09:00
Yuki Okushi
51f5c326ee
Merge pull request #9 from JohnTitor/migrate-httpauth
...
actix-web-httpauth: Prepare for new release
2020-02-19 10:59:03 +09:00
Yuki Okushi
e245b1cffe
Prepare for new release
2020-02-19 09:31:51 +09:00
Yuki Okushi
880206ee2e
Merge pull request #8 from JohnTitor/migrate-redis
...
actix-redis: Prepare for new release
2020-02-18 10:56:32 +09:00
Yuki Okushi
8bc0227ec8
Fix clippy warning
2020-02-18 08:22:33 +09:00