1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00
Commit Graph

3317 Commits

Author SHA1 Message Date
Rob Ede
027f045340
exclude default -web features where not needed (#70) 2020-06-18 11:22:14 +01:00
Boyd Johnson
70df190e0b
httpauth: Refactor out Mutex (#69) 2020-06-11 16:10:18 +01:00
Yuki Okushi
1d32248844
Merge pull request #66 from actix/cache-v2
Update `actions/cache` to v2
2020-05-28 04:58:51 +09:00
Yuki Okushi
5157927219
Update actions/cache to v2 2020-05-28 03:03:30 +09:00
LJ
e03544cb0d
Allow for session cookies to be lazily created (#39) 2020-05-25 01:27:49 +01:00
Yuki Okushi
a0166495ea
Merge pull request #64 from JohnTitor/issue-template
Setup issue template
2020-05-23 13:45:37 +09:00
Yuki Okushi
baafcbe625
Setup issue template 2020-05-23 12:22:25 +09:00
Yuki Okushi
2209359c78
Merge pull request #61 from JohnTitor/futures
Minimize `futures` dependency
2020-05-21 17:55:21 +09:00
Yuki Okushi
10fe10c9c1
httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09:00
Yuki Okushi
b699506526
redis: Minimize futures dependency 2020-05-21 17:17:56 +09:00
Yuki Okushi
2e3a094ef7
protobuf: Minimize futures dependency 2020-05-21 17:13:53 +09:00
Yuki Okushi
c152c1ae8c
Merge pull request #59 from JohnTitor/badge
httpauth: Remove badge metadata
2020-05-20 15:24:27 +09:00
Yuki Okushi
4eb987f8c8
httpauth: Remove badge metadata 2020-05-20 11:02:56 +09:00
Yuki Okushi
61d5586052
Merge pull request #58 from adamchalmers/patch-1
Bugfix: AuthenticationError should set status_code
2020-05-20 11:01:31 +09:00
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