1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00
Commit Graph

3322 Commits

Author SHA1 Message Date
bd963fb7d1 Fix clippy warnings 2020-07-07 03:54:18 +09:00
6b839f0a30 Merge pull request #72 from lucab/ups/cors-docs 2020-07-07 03:53:32 +09:00
f4d75260a4 Merge pull request #76 from JohnTitor/fix-tarpaulin
Use tarpaulin 0.13 to avoid failure
2020-07-07 03:52:54 +09:00
6e132d9337 Use tarpaulin 0.13 to avoid failure 2020-07-07 03:30:45 +09:00
95041b8e80 actix-cors: cosmetic and minor fixes
This rewords part of the docstrings for better readability,
and introduces additional lints. That includes ensuring that
all public types implement the Debug trait.
2020-07-06 15:55:53 +00:00
027f045340 exclude default -web features where not needed (#70) 2020-06-18 11:22:14 +01:00
70df190e0b httpauth: Refactor out Mutex (#69) 2020-06-11 16:10:18 +01:00
1d32248844 Merge pull request #66 from actix/cache-v2
Update `actions/cache` to v2
2020-05-28 04:58:51 +09:00
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
a0166495ea Merge pull request #64 from JohnTitor/issue-template
Setup issue template
2020-05-23 13:45:37 +09:00
baafcbe625 Setup issue template 2020-05-23 12:22:25 +09:00
2209359c78 Merge pull request #61 from JohnTitor/futures
Minimize `futures` dependency
2020-05-21 17:55:21 +09:00
10fe10c9c1 httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09:00
b699506526 redis: Minimize futures dependency 2020-05-21 17:17:56 +09:00
2e3a094ef7 protobuf: Minimize futures dependency 2020-05-21 17:13:53 +09:00
c152c1ae8c Merge pull request #59 from JohnTitor/badge
httpauth: Remove badge metadata
2020-05-20 15:24:27 +09:00
4eb987f8c8 httpauth: Remove badge metadata 2020-05-20 11:02:56 +09:00
61d5586052 Merge pull request #58 from adamchalmers/patch-1
Bugfix: AuthenticationError should set status_code
2020-05-20 11:01:31 +09:00
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
5c6c04caf3 Merge pull request #52 from maitsarv/master
Documentation update: RedisSessionBackend is renamed to RedisSession
2020-05-17 21:20:47 +09:00
f3778c4856 Merge pull request #55 from JohnTitor/new-redis
redis: Bump up to 0.9.0-alpha.2
redis-v0.9.0-alpha.2
2020-05-17 20:51:42 +09:00
f3eaf5640c Documentation update: RedisSessionBackend is renamed to RedisSession 2020-05-17 14:46:41 +03:00
d51012075f redis: Bump up to 0.9.0-alpha.2 2020-05-17 20:19:13 +09:00
8bf33648ce Merge pull request #53 from JohnTitor/framed-write
Follow upstream change wrt. `FramedWrite`
2020-05-17 12:27:24 +09:00
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
ecc774450f Follow upstream change wrt. FramedWrite 2020-05-17 11:12:12 +09:00
fee78223a9 Merge pull request #51 from JohnTitor/now-utc
Replace deprecated methods with `now_utc()`
2020-05-09 08:26:30 +09:00
446b920d96 Replace deprecated methods with now_utc() 2020-05-09 08:07:31 +09:00
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
beb6e1ccde Compile the actix-protobuf example. 2020-04-13 16:14:19 +03:00
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
a72d4aa0c8 Merge pull request #40 from actix/fix/noisy-check
fix noisy check warning
2020-04-05 13:20:43 +09:00
fd2cc47447 fix noisy check warning 2020-04-05 00:27:08 +01:00
4d64ac13dd Merge pull request #38 from JohnTitor/base64
Update the `base64` dependency to 0.12
2020-04-03 20:47:17 +09:00
92c4230550 Update the base64 dependency to 0.12 2020-04-03 17:01:36 +09:00
f6686c9292 Change ttl to u32 (#35)
* Change TTL to u32

* Update CHANGES.md
2020-04-03 16:19:21 +09:00
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
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
21024be9d6 Bump up to 0.9.0-alpha.1 2020-03-27 20:50:31 +09:00
2bfc9be5ad Run rustfmt 2020-03-27 20:50:31 +09:00
585709929b Merge pull request #29 from pfrenssen/patch-1
Fix cargo package link title in README
2020-03-22 13:51:37 +00:00
066fb3a1b5 Fix cargo package link title in README 2020-03-22 10:35:56 +02:00
4be50ff7dd Merge pull request #27 from JohnTitor/clean-up
Clean-up things
2020-03-19 02:42:05 +09:00
5e59fb157c Add codecov.yml 2020-03-18 06:34:32 +09:00
00f520cd2d Fix clippy warnings 2020-03-18 06:34:32 +09:00
d13798748f Merge pull request #26 from JohnTitor/remove-udeps
Remove unused `actix` dependency
2020-03-18 05:31:32 +09:00
83d2b9c95b Remove unused actix dependency 2020-03-18 04:33:21 +09:00
de374afbca Revert "Disable coverage for PRs" (#25)
* Revert "Disable coverage for PRs"

* Remove `token` arg
2020-03-18 04:19:15 +09:00
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