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

107 Commits

Author SHA1 Message Date
0805f2b1c6 stop cloning request across service call (#213) 2021-12-13 02:49:27 +00:00
a0c93c62b3 prepare actix-web-httpauth release 0.6.0-beta.5 2021-12-12 19:13:40 +00:00
8fa073586e prepare actix-cors release 0.6.0-beta.5 2021-12-12 19:11:36 +00:00
74ec115161 migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
56051786a6 standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
ec66754c0d standardize crate level lints 2021-12-08 06:11:13 +00:00
551cbfb113 prepare actix-web-httpauth release 0.6.0-beta.4 2021-11-22 23:21:25 +00:00
ddb74e6de0 prepare actix-cors release 0.6.0-beta.4 2021-11-22 23:19:10 +00:00
13f8dcb717 update to aw beta 9 2021-11-22 23:11:58 +00:00
07deaadd7b add optional auth extractor implement. (#205) 2021-10-26 21:10:22 +01:00
5d82b4e1e2 prepare actix-web-httpauth release 0.6.0-beta.3 2021-10-21 16:10:09 +01:00
45643d4035 fix cors expose_any_header behavior (#204) 2021-10-21 15:47:56 +01:00
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
627fe96be0 bump msrv to 1.52.1 2021-10-19 01:49:39 +01:00
e10937103e fmt with new width 2021-08-30 23:27:44 +01:00
c6f579790f bump msrv to 1.51 2021-08-30 23:10:36 +01:00
44c7b07ce2 prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
20ef05c36e fix doctest ci (#188) 2021-06-27 07:02:38 +01:00
727353213f fix cors example version 2021-04-02 11:48:19 +01:00
d0f0fb474b fixup other cargo manifests 2021-04-02 11:44:18 +01:00
0ba14f786e prepare session release 0.5.0-beta.1 2021-04-02 11:31:30 +01:00
554a852dea prepare httpauth release 0.6.0-beta.1 2021-04-02 11:25:57 +01:00
23912afd49 refactor identity (#168) 2021-03-23 05:05:03 +00:00
c7df62d0b6 simplify ci like actix-web (#165) 2021-03-22 11:46:02 +00:00
c8f1d9671c add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
2254a429d4 use forward_ready for service definitions 2021-03-22 05:18:59 +00:00
ca85f6b245 Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
86ff1302ad Fix API Documentation URL (#163) 2021-03-21 15:34:27 +00:00
5a72dd33d5 session, redis, and httpauth pre-v4 releases (#162) 2021-03-21 09:38:29 +00:00
8d635f71fb allow session-only cookies (#161)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-03-07 04:26:06 +09:00
f970d90894 Use re-exported bytes items from instead of using them directly (#139) 2020-12-01 10:21:56 +09:00
cbfd5d94ee fix httpauth extraction error handling in middleware (#128) 2020-11-18 15:08:03 +00:00
0f7a147323 Unify homepage/repository urls in Cargo manifests (#111) 2020-10-03 01:32:01 +01:00
33dfea8997 update httpauth readme 2020-09-28 02:04:18 +01:00
7a26d99c1a lint and readme cleanup (#97) 2020-09-12 00:52:55 +01:00
4a546718aa prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
bad5f32a68 update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
7e6bdf2eb2 Check code with rustfmt not to introduce format commits (#88) 2020-07-21 03:51:51 +09:00
2ae3c80548 Use OR instead of deprecated / in license field (#80) 2020-07-14 11:16:32 +01:00
61da910a81 httpauth: Bump up to 0.4.2 2020-07-08 07:55:40 +09:00
70df190e0b httpauth: Refactor out Mutex (#69) 2020-06-11 16:10:18 +01:00
10fe10c9c1 httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09:00
4eb987f8c8 httpauth: Remove badge metadata 2020-05-20 11:02:56 +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
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
92c4230550 Update the base64 dependency to 0.12 2020-04-03 17:01:36 +09:00
e245b1cffe Prepare for new release 2020-02-19 09:31:51 +09:00
3e17ad9a4e Remove unneeded single path import
Imports with a single path component are useless.
2020-02-11 16:25:53 +01:00
650470901b Clean up READMEs 2020-01-30 18:39:35 +09:00
d8f3f94ece Clean up metadata 2020-01-30 18:08:20 +09:00