1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-04 20:11:55 +01:00
Commit Graph

78 Commits

Author SHA1 Message Date
Rob Ede
a3211b73d3
chore(actix-identity): prepare release 0.8.0 2024-09-12 15:07:36 -04:00
John Vandenberg
48646d1bd3
build(deps): update derive_more to v1.0 (#458)
* build(deps): update derive_more to v1.0

* chore: remove overspecified deps

* chore: use from the derive module

* chore: restore unrelated version reqs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-18 14:21:56 +00:00
Rob Ede
f2339971cd
chore(actix-session): prepare release 0.10.0 2024-08-07 00:57:54 +01:00
dependabot[bot]
517e72f248
build(deps): update reqwest requirement from 0.11 to 0.12 (#454)
* build(deps): update reqwest requirement from 0.11 to 0.12

Updates the requirements on [reqwest](https://github.com/seanmonstar/reqwest) to permit the latest version.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.0...v0.12.5)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: use reqwest::StatusCode

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-06 14:19:02 +00:00
Rob Ede
52e58610e4
chore: share repo and website 2024-06-20 02:18:37 +01:00
Rob Ede
023158cfa8
chore: move lints to manifest 2024-06-20 02:14:35 +01:00
dependabot[bot]
abf75eeb06
build(deps): update redis requirement from 0.24 to 0.25 (#412)
* build(deps): update redis requirement from 0.24 to 0.25

Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.24.0...redis-0.25.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor(session): rename TLS features

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-09 22:29:13 +00:00
Rob Ede
db2193b8c5
chore: bump futures-* deps 2024-03-02 21:29:40 +00:00
Rob Ede
74c8545363
chore(actix-identity): prepare release 0.7.1 2024-03-02 18:32:58 +00:00
dependabot[bot]
254d4084a9
build(deps): update env_logger requirement from 0.10 to 0.11 (#388)
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 15:56:30 +00:00
Rob Ede
89bf63e1ef
chore(actix-identity): prepare release 0.7.0 2024-01-11 04:44:02 +00:00
Rob Ede
8b4e8ea34e
chore(actix-session): prepare release 0.9.0 2024-01-11 04:27:56 +00:00
Rob Ede
9a7113028e
chore(actix-identity): prepare release 0.6.0 2023-09-16 03:29:31 +01:00
Rob Ede
9e31f5b306
chore(actix-session): prepare release 0.8.0 2023-09-16 03:28:31 +01:00
Rob Ede
aaedb9c625
MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
Rob Ede
75386f4a1d
ensure docs.rs builds all crates with all features 2023-04-11 12:22:28 +01:00
Rob Ede
77ee27b4ae
inline workspace package properties
msrv needs to be 1.64
2023-03-23 11:40:54 +00:00
Rob Ede
ad1f15eb18
centralize msrv and edition specs 2023-03-22 21:17:30 +00:00
Rob Ede
218f18e69d
fix default features attributes 2023-03-22 20:51:14 +00:00
Rob Ede
441d604c00
derive identity error impls 2023-01-07 02:22:13 +00:00
Joseph McCormick
1ed893a08c
Feature: Add IdentityError to actix-identity crate. (#296)
* Add IdentityError to actix-identity crate.

In order to let crates in the actix web ecosystem interact correctly
with `actix_web::Error`, this commit introduces its own error type,
replacing the previous usage of `anyhow::Error`.

* Mend some clippy warnings on IdentityError.

* Split identity error into more granular versions.

- `MissingIdentityError` occurs whenever we attempt to gather
  information about an identity from a session, and fail.
- `LoginError` occurs whenever we attempt to login via an identity, and
  fail.

* Feedback for identity error implementation.

- `IdentityError` -> `GetIdentityError`
- Move error messages into Display impl where appropriate
- Split `id` and `get_identity` errors into two types
- Implement `source` on custom errors

* Expand identity error types with struct markers.

In order to get a little more future compatibility and reduce
abstraction leaking, this commit introduces some contextual structs to
our identity errors package.

* Improve doc message for SessionExpiryError.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Improve identity error docs and messaging.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Expand LostIdentityError with placeholder.

Adds a placeholder unit struct to the LostIdentityError variant of
GetIdentityError, which should let us expand on that variant with extra
context later if we like.

* Add From coercion for LostIdentityError.

Improve the ergonomics of using the LostIdentityError unit struct.

* Update Cargo.toml

* Update CHANGES.md

* expose identity error module

* fix error impl

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-07 02:05:12 +00:00
Rob Ede
f8a1165d10
fix manifest 2023-01-07 01:17:45 +00:00
Rob Ede
e9428ba261
update env_logger dev dep 2023-01-07 01:08:01 +00:00
Rob Ede
07c5176bd0
align descriptions 2022-07-21 03:07:06 +01:00
Rob Ede
553c2bfb92
prepare actix-identity release 0.5.2 2022-07-19 01:33:53 +01:00
Rob Ede
1cc37c371e
prepare actix-identity release 0.5.1 2022-07-11 18:07:50 +01:00
Rob Ede
d853c115b6
trim unnecessary identity deps (#259)
* trim unnecessary identity deps

* update changelog
2022-07-11 18:07:26 +01:00
Rob Ede
603215095a
prepare actix-identity release 0.5.0 2022-07-11 13:39:14 +01:00
Rob Ede
c52ea7a5d2
prepare actix-session release 0.7.0 2022-07-09 19:03:28 +01:00
Luca Palmieri
b1cea64795
Rebuild actix-identity on top of actix-session (#246)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-09 19:00:15 +01:00
Rob Ede
2e86fb9822
prepare actix-identity release 0.4.0 2022-03-01 04:13:56 +00:00
Rob Ede
73a5ae98b6
update actix-web dependency to 4.0 2022-02-25 23:05:11 +00:00
Rob Ede
f9beeecaf6
prepare actix-identity release 0.4.0-beta.9 2022-02-07 02:52:24 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
Rob Ede
bb900a41fc
prepare actix-identity release 0.4.0-beta.8 2022-01-21 20:43:39 +00:00
Rob Ede
4e72e3d8ec
update actix-identity to aw4b21 2022-01-21 20:42:58 +00:00
Rob Ede
88859af6a5
prepare actix-identity release 0.4.0-beta.7 2021-12-29 10:25:17 +00:00
Rob Ede
0d12201073
update to actix web v4 beta 18 (#218) 2021-12-29 10:22:56 +00:00
Luca Palmieri
14a622092d
Update to actix-web beta.17 (#217) 2021-12-29 09:25:52 +00:00
Rob Ede
6676a50944
actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
Rob Ede
e83c488544
prepare actix-identity release 0.4.0-beta.5 2021-12-12 19:13:16 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
56051786a6
standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
Rob Ede
37532fd1eb
prepare actix-identity release 0.4.0-beta.4 2021-11-22 23:20:33 +00:00
Rob Ede
0999159877
prepare actix-identity release 0.4.0-beta.3 2021-10-21 18:30:03 +01:00
Chiu-Hsiang Hsu
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
Rob Ede
44c7b07ce2
prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
Rob Ede
20ef05c36e
fix doctest ci (#188) 2021-06-27 07:02:38 +01:00
Rob Ede
bb1cc7443f
prepare identity release 0.4.0-beta.1 2021-04-02 11:44:03 +01:00
Rob Ede
23912afd49
refactor identity (#168) 2021-03-23 05:05:03 +00:00