1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
Commit Graph

119 Commits

Author SHA1 Message Date
Rob Ede
26ccf8b200
chore: fix feature gate 2024-09-12 14:55:04 -04:00
Rob Ede
dd1421f1a0
chore(actix-session): prepare release 0.10.1 2024-09-12 14:50:48 -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
João Fernandes
504e89403b
feature(session): add deadpool-redis compatibility (#381)
* Add compatibility of `deadpool-redis` for the storage `redis_rs`.

* Keep up-to-date the `actix-redis` version.

* Format the project issued by command `cargo +nightly fmt`.

* Add `deadpool-redis` into the documentation and tests.

* Update CHANGES.md.

* Update the documentation of `Deadpool Redis` section on `redis_rs`.

* Replace `no_run` with `ignore` attribute on "Deadpool Redis" example to skip the doc tests failure.

* Rollback the renaming `redis::cmd` to `cmd` for better reading and avoid shadowing, fix the wrong return type on builder function comment.

* Format the project issued by command `cargo +nightly fmt`.

* Format.

* Fix feature naming from the last merge.

* Fix feature missing from the last merge.

* Format the project issued by command `cargo +nightly fmt`.

* Re-import `cookie-session` feature. (Maybe was removed accidentally from the last merge?)

* tmp

* chore: bump deadpool-redis to 0.16

* chore: fixup rest of redis code for pool

* fix: add missing cfg guard

* docs: fix pool docs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-06 13:47:49 +00:00
dependabot[bot]
2de4b1886c
build(deps): update redis requirement from 0.25 to 0.26 (#451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-07-30 12:05:02 +01:00
Rob Ede
caa5dbc5b3
chore: fix re-exports 2024-07-29 22:00:31 +01:00
edgerunnergit
d8a86751f0
Make generate_session_key() public (#449)
* make generate_session_key() public and change impl to use DistString

* add changelong and use nightly fmt

* Add better support for receiving larger payloads (#430)

* Add better support for receiving larger payloads

This change enables the maximum frame size to be configured when receiving websocket frames. It also
adds a new stream time that aggregates continuation frames together into their proper collected
representation. It provides no mechanism yet for sending continuations.

* actix-ws: Add continuation & size config to changelog

* actix-ws: Add Debug, Eq to AggregatedMessage

* actix-ws: Add a configurable maximum size to aggregated continuations

* refactor: move aggregate types to own module

* test: fix chat example

* docs: update changelog

---------

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

* docs(ws): update readme

* chore(actix-ws): prepare release 0.3.0

* chore(ws): remove unused dev dep

* chore: expose generate_session_key

* chore: fix import

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: asonix <asonix@asonix.dog>
2024-07-29 20:53:18 +00:00
Rob Ede
032aeb6fdb
chore: fix nightly warning 2024-06-20 02:28:58 +01:00
Rob Ede
023158cfa8
chore: move lints to manifest 2024-06-20 02:14:35 +01:00
Rob Ede
b9e47d61c3
docs(httpauth): add HttpAuthentication::with_fn examples 2024-06-11 03:55:41 +01:00
Rob Ede
4adc9f8884
docs(session): use standard docs 2024-06-09 23:38:33 +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
zbigniewzolnierowicz
931c4eea4d
feat(session): add rustls (actix#342) (#402)
* feat(session): add rustls feature (actix#342)

* docs(session): fix weird grammar

* docs: update crate docs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-09 19:19:29 +00:00
Rob Ede
3ae4ef2706
docs: remove unnecessary code block annotations 2024-06-09 05:18:43 +01:00
Rob Ede
f250348e57
chore: remove actix-redis crate (#408) 2024-03-12 23:30:06 +00:00
Rob Ede
563d6e0b20
docs(session): add session_ttl aliases 2024-02-19 16:34:28 +00:00
Rob Ede
a5f5e31a82
chore: remove redundant imports 2024-02-19 16:18:17 +00:00
Rob Ede
8b4e8ea34e
chore(actix-session): prepare release 0.9.0 2024-01-11 04:27:56 +00:00
Rob Ede
e2bf504055
feat(session): use real async traits (#365) 2024-01-04 04:10:46 +00:00
Rob Ede
77b8dcdf59
chore: clippy 2024-01-04 04:05:56 +00:00
Rob Ede
aaedb9c625
MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
Rob Ede
f37c93a2a8
migrate to doc_auto_cfg 2023-04-09 19:41:57 +01:00
Rob Ede
111d95eaea
rename private-network-access feature (#320)
* update CI with concurrency options

* cors: rename private-network => local-network

* modernize CI

* clippy

* run api diff job on all features
2023-04-09 19:35:30 +01:00
Rob Ede
779860b664
clippy 2023-01-07 01:04:16 +00:00
Even O. Rogstadkjærnet
8fd166435f
Add secure field to removal cookie (#300)
Closes https://github.com/actix/actix-extras/issues/299
2022-11-08 09:29:23 +00:00
Yuki Okushi
fb8a814acb
session: Fix a typo in a link to actix-redis (#293) 2022-10-15 12:36:59 +01:00
Rob Ede
da0a806e8d
clippy 2022-09-25 21:08:36 +01:00
Moritz Hedtke
82a100d96c
Add note for accessing session state in stream. (#285) 2022-09-21 12:51:45 +00:00
Rob Ede
1561bda822
apply imports_granularity fmt rule 2022-09-11 21:55:40 +01:00
Rob Ede
eb3660a772
set same-site attribute when clearing session cookie (#284)
fixes #282
2022-09-11 21:11:33 +01:00
Rob Ede
a325f5dd02
add some doc examples to -session 2022-08-09 01:03:28 +01:00
Mohamed Emad
810a88a156
fix: bad interaction between session state changes and renewal (#265) 2022-07-24 14:27:25 +00:00
Rob Ede
4d2f4d58b4
clippy 2022-07-21 00:07:49 +01:00
Rob Ede
9bc014b96f
forbid unsafe in all crates 2022-07-09 20:05:47 +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
Luca Palmieri
c2f068db66
Add a new configuration parameter to refresh the TTL of the session even if unchanged (#233)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-03 21:18:14 +01:00
David Schmitt
d11a272384
Add missing backtic in SessionMiddleware docs (#245) 2022-05-18 10:55:57 +01:00
Luca Palmieri
8fd1772d5e
Consistent import formatting (#237) 2022-03-29 11:46:13 +01:00
Luca Palmieri
04f4934001
[actix-session/redis-rs] Catch server-driven disconnections and prevent a user-visible issue via a retry (#235)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-25 19:08:09 +00:00
tglman
4d77e26e1e
add support for session access from guards (#234) 2022-03-25 18:25:38 +00:00
Luca Palmieri
8db1088345
[actix-session] Opaque 500s (#236) 2022-03-25 18:10:38 +00:00
Rob Ede
bf41b4cd9c
prepare actix-session release 0.6.1 2022-03-21 00:48:24 +00:00
Luca Palmieri
449abd6081
[actix-session] Documentation - Typo(s) / Improvements (#228) 2022-03-20 21:57:26 +00:00
Rob Ede
010a905dca
prepare actix-session release 0.6.0 2022-03-15 16:29:37 +00:00
Rob Ede
2d63973654
final session doc tweaks 2022-03-15 16:27:04 +00:00
Luca Palmieri
7e6335a09f
Rework actix session (#212)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Luca P <rust@lpalmieri.com>
Co-authored-by: Sebastian Rollén <38324289+SebRollen@users.noreply.github.com>
2022-03-05 23:22:14 +00:00
Rob Ede
ab3615b8d5
relax body bounds (#223) 2022-02-07 02:30:26 +00:00
Rob Ede
25d3d34927
fix doctest 2022-02-03 22:41:41 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00