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

3334 Commits

Author SHA1 Message Date
e5fe8d42fa Use matches macro to fix clippy warnings (#86) 2020-07-21 02:20:23 +09:00
693c2f5041 Tweak actions (#85)
- Tweak trigger events
- Remove unnecessary workaround (hopefully)
- Stop using `ghq_import`
2020-07-20 06:18:00 +09:00
d25ae41525 Create PULL_REQUEST_TEMPLATE.md (#84) 2020-07-20 03:02:34 +09:00
a960eb0ef6 Update backoff in actix-redis to 0.2.1 (#83) 2020-07-19 02:30:46 +01:00
43ababef8f Clean up deps and macro_use (#81) 2020-07-14 11:20:42 +01:00
2ae3c80548 Use OR instead of deprecated / in license field (#80) 2020-07-14 11:16:32 +01:00
2a20ce4568 Replace deprecated from_master with derive_from (#82) 2020-07-14 11:15:30 +01:00
39fe80df40 Merge pull request #77 from JohnTitor/new-httpauth httpauth-v0.4.2 2020-07-08 08:28:32 +09:00
61da910a81 httpauth: Bump up to 0.4.2 2020-07-08 07:55:40 +09:00
6d3e4c9aa1 Merge pull request #74 from JohnTitor/protobuf-alpha
protobuf: Update to 0.6.0-alpha.1
protobuf-v0.6.0-alpha.1
2020-07-07 04:28:37 +09:00
9b573131f8 Merge pull request #73 from JohnTitor/clippy-fixes 2020-07-07 04:19:54 +09:00
f920479fdb protobuf: Update to 0.6.0-alpha.1 2020-07-07 03:54:36 +09:00
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