1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00
Commit Graph

3352 Commits

Author SHA1 Message Date
Rob Ede
16db1b6808
bump cors version 2020-10-07 11:34:49 +01:00
Rob Ede
d02e508731
prepare cors release 0.4.1 2020-10-07 11:32:27 +01:00
Roman Lakhtadyr
b33012999c
feat(cors): allow using closures in allow_origin_fn (#110) 2020-10-07 11:29:20 +01:00
Francois Stephany
0f7a147323
Unify homepage/repository urls in Cargo manifests (#111) 2020-10-03 01:32:01 +01:00
Rob Ede
e3da3094f0
update changelog 2020-09-28 02:44:16 +01:00
Rob Ede
33dfea8997
update httpauth readme 2020-09-28 02:04:18 +01:00
Rob Ede
d14e188246
prepare CORS release 0.4.0 (#107) 2020-09-27 14:29:33 +01:00
FallenWarrior2k
f185a9c7e6
CORS: Take TryInto instead of TryFrom (#106) 2020-09-26 20:02:45 +01:00
Roman Lakhtadyr
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
FallenWarrior2k
bb8120a8c0
Update Session::set_session to take IntoIterator (#105) 2020-09-22 00:04:21 +01:00
Rob Ede
03ccf09e2e
prepare identity 0.3.1 release (#104) 2020-09-21 23:05:40 +01:00
Rob Ede
6ae147d190
add CookieIdentityPolicy::http_only method (#102) 2020-09-17 18:10:27 +01:00
Rob Ede
400d889116
prepare redis release 0.9.1 (#99) 2020-09-13 04:28:08 +01:00
Rob Ede
f3d5dfde40
enforce required minimum redis-async patch version (#98) 2020-09-12 17:30:09 +01:00
Rob Ede
7a26d99c1a
lint and readme cleanup (#97) 2020-09-12 00:52:55 +01:00
Rob Ede
4a546718aa
prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
Rob Ede
bad5f32a68
update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
Yuki Okushi
7e6bdf2eb2
Check code with rustfmt not to introduce format commits (#88) 2020-07-21 03:51:51 +09:00
Yuki Okushi
e5fe8d42fa
Use matches macro to fix clippy warnings (#86) 2020-07-21 02:20:23 +09:00
Yuki Okushi
693c2f5041
Tweak actions (#85)
- Tweak trigger events
- Remove unnecessary workaround (hopefully)
- Stop using `ghq_import`
2020-07-20 06:18:00 +09:00
Rob Ede
d25ae41525
Create PULL_REQUEST_TEMPLATE.md (#84) 2020-07-20 03:02:34 +09:00
Oskar Persson
a960eb0ef6
Update backoff in actix-redis to 0.2.1 (#83) 2020-07-19 02:30:46 +01:00
Yuki Okushi
43ababef8f
Clean up deps and macro_use (#81) 2020-07-14 11:20:42 +01:00
Yuki Okushi
2ae3c80548
Use OR instead of deprecated / in license field (#80) 2020-07-14 11:16:32 +01:00
Yuki Okushi
2a20ce4568
Replace deprecated from_master with derive_from (#82) 2020-07-14 11:15:30 +01:00
Yuki Okushi
39fe80df40
Merge pull request #77 from JohnTitor/new-httpauth 2020-07-08 08:28:32 +09:00
Yuki Okushi
61da910a81
httpauth: Bump up to 0.4.2 2020-07-08 07:55:40 +09:00
Yuki Okushi
6d3e4c9aa1
Merge pull request #74 from JohnTitor/protobuf-alpha
protobuf: Update to 0.6.0-alpha.1
2020-07-07 04:28:37 +09:00
Yuki Okushi
9b573131f8
Merge pull request #73 from JohnTitor/clippy-fixes 2020-07-07 04:19:54 +09:00
Yuki Okushi
f920479fdb
protobuf: Update to 0.6.0-alpha.1 2020-07-07 03:54:36 +09:00
Yuki Okushi
bd963fb7d1
Fix clippy warnings 2020-07-07 03:54:18 +09:00
Yuki Okushi
6b839f0a30
Merge pull request #72 from lucab/ups/cors-docs 2020-07-07 03:53:32 +09:00
Yuki Okushi
f4d75260a4
Merge pull request #76 from JohnTitor/fix-tarpaulin
Use tarpaulin 0.13 to avoid failure
2020-07-07 03:52:54 +09:00
Yuki Okushi
6e132d9337
Use tarpaulin 0.13 to avoid failure 2020-07-07 03:30:45 +09:00
Luca BRUNO
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
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