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

155 Commits

Author SHA1 Message Date
f20b724830 cors origin validator function receives origin as first parameter (#120) 2020-10-19 19:30:46 +01:00
6084c47810 CORS builder rework (#119) 2020-10-19 05:51:31 +01:00
c8e641d4b6 cors: hide service struct from docs (#118)
This hides `CorsMiddleware` from rustdocs, following the pattern of
the rest of `actix_web::middleware` implementations.
2020-10-17 07:01:30 +09:00
06f17ec223 Panic on wildcard in Cors builder's allowed_origin() (#114)
* Assert allowed origin in Cors builder

* Add panic test for wildcard

* Add changelog entry

* rustfmt

* Apply suggestions from code review

Co-authored-by: Rob Ede <robjtede@icloud.com>

Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-10 14:25:33 +01:00
134e43ab5e split up cors lib and fix doc links (#113)
* split up cors lib and fix doc links

* clippy
2020-10-08 11:50:56 +01:00
16db1b6808 bump cors version 2020-10-07 11:34:49 +01:00
d02e508731 prepare cors release 0.4.1 2020-10-07 11:32:27 +01:00
b33012999c feat(cors): allow using closures in allow_origin_fn (#110) 2020-10-07 11:29:20 +01:00
33dfea8997 update httpauth readme 2020-09-28 02:04:18 +01:00
d14e188246 prepare CORS release 0.4.0 (#107) 2020-09-27 14:29:33 +01:00
f185a9c7e6 CORS: Take TryInto instead of TryFrom (#106) 2020-09-26 20:02:45 +01:00
99fe08f332 actix-cors: Create allowed_origin_fn builder method (#93)
Co-authored-by: ArmorDarks <git@lavrins.com>
2020-09-25 00:36:53 +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
2ae3c80548 Use OR instead of deprecated / in license field (#80) 2020-07-14 11:16:32 +01: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
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
8176d5e121 Run rustfmt 2020-03-12 05:48:57 +09:00
7f1680ebcf Bump up to 0.3.0-alpha.1 2020-03-12 05:48:04 +09:00
405e61a603 Update actix-web dependency to 3.0.0-alpha.1 2020-03-12 05:46:58 +09:00
9a8275b455 Minimize futures-* dependencies 2020-03-12 05:43:48 +09:00
650470901b Clean up READMEs 2020-01-30 18:39:35 +09:00
21994c13eb Fix/suppress clippy warnings 2020-01-30 18:21:02 +09:00
d8f3f94ece Clean up metadata 2020-01-30 18:08:20 +09:00
a0337d7851 Run CI with MSRV 2020-01-30 18:03:02 +09:00
8ab2229032 add new crates to workspace 2020-01-30 02:06:00 +00:00
90e00f7344 fix badge links 2020-01-30 01:50:18 +00:00
cfb436a363 unify {cors,identity,session} readmes 2020-01-30 01:42:01 +00:00
f86ce0390e allow to specify multi pattern for resources 2019-12-25 20:14:44 +04:00
c7f3915779 update actix-service dep 2019-12-22 16:39:25 +04:00
48476362a3 update changes 2019-12-20 17:59:34 +06:00
8b8a9a995d bump ver 2019-12-20 17:36:48 +06:00
fac6dec3c9 update deps 2019-12-13 12:36:15 +06:00
131c897099 upgrade to actix-net release 2019-12-11 19:20:20 +06:00
1f3ffe38e8 update actix-service dep 2019-12-08 19:25:24 +06:00
1729a52f8b prepare alpha.3 release 2019-12-07 13:00:03 +06:00
205a964d8f upgrade to tokio 0.2 2019-12-05 23:35:43 +06:00
14075ebf7f use released versions of actix-net 2019-12-02 23:33:39 +06:00
f73f97353b refactor ResponseError trait 2019-11-26 16:07:39 +06:00
4dc31aac93 use actix_rt::test for test setup 2019-11-26 11:25:50 +06:00
c1c44a7dd6 upgrade derive_more 2019-11-25 17:59:14 +06:00
57981ca04a update tests to async handlers 2019-11-22 11:49:35 +06:00
6ac4ac66b9 migrate actix-cors 2019-11-21 16:02:17 +06:00
ff62facc0d disable unmigrated crates 2019-11-21 16:02:17 +06:00
3127dd4db6 migrate actix-web to std::future 2019-11-21 16:02:17 +06:00
87b7162473 chore(readme): fix copy paste error (#1040)
Fix actix-cors README
2019-08-16 09:21:30 +09:00
2a2d7f5768 nightly clippy warnings 2019-07-17 15:53:51 +06:00
4092c7f326 clippy warnings 2019-07-17 15:08:30 +06:00