Felix Ableitner
a087c489a0
Make IP check public
2026-04-14 14:26:32 +02:00
Felix Ableitner
5e8e918003
Version 0.7.0-beta.9
2026-03-16 11:39:46 +01:00
Nutomic
4ae8532b17
Add some more IP checks ( #162 )
2026-03-16 11:11:01 +01:00
Nutomic
f47fe58285
Better IP check ( #161 )
2026-02-05 07:04:08 -05:00
Nutomic
f60afae428
Add to_canonical() for ip check ( #160 )
2026-02-04 12:05:59 +01:00
Nutomic
11f95ff384
Improve error message, allow local IP federation via env var ( #158 )
...
* Improve error message, allow local IP federation via env var (fixes #152 )
* fix
2026-01-28 08:44:39 -05:00
Nutomic
9d7bd965a4
Upgrade reqwest ( #159 )
2026-01-28 14:40:03 +01:00
Nutomic
b5dd86ab07
Update deps ( #157 )
2026-01-12 08:44:16 -05:00
Nutomic
a7da04c2d8
Revert parse order for webfinger results so community comes first ( #156 )
2025-12-05 08:42:53 -05:00
Brad Dunbar
2acf037d79
Fix example path params ( #153 )
...
Resolves the following error:
thread 'main' (6023907) panicked at examples/live_federation/main.rs:58:10:
Path segments must not start with `:`. For capture groups, use `{capture}`. If you meant to literally match a segment starting with a colon, call `without_v07_checks` on the router.
2025-11-21 10:03:20 +01:00
Brad Dunbar
99505b9567
Webfinger: impl PartialEq ( #155 )
...
It'd be nice to be able to compare these in tests.
2025-11-21 09:53:13 +01:00
Brad Dunbar
06df2bc1d1
Fix future incompatibility warning ( #154 )
...
These warnings are fixed in the [0.8.x branch][commits] of
`num-bigint-dig`.
warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[commits]: https://github.com/dignifiedquire/num-bigint/commits/0-8
2025-11-21 09:52:53 +01:00
Nutomic
8b2b746707
Handle null values with deserialize_last ( #151 )
2025-10-17 21:09:32 +08:00
Felix Ableitner
545afcc719
Version 0.7.0-beta.8
2025-10-15 12:40:30 +02:00
Nutomic
105d13003a
Increase reqwest max body size ( #150 )
2025-10-15 18:39:56 +08:00
Felix Ableitner
ec098cfaed
0.7.0-beta.7
2025-10-02 11:35:55 +02:00
Nutomic
1df24ab781
Return deleted object on resolve ( #149 )
2025-10-02 17:30:12 +08:00
Felix Ableitner
6c97312f25
Version 0.7.0-beta.6
2025-07-28 11:23:03 +02:00
Nutomic
cd0f009f5f
Add helper deserialize_last() ( #148 )
2025-07-28 11:22:36 +02:00
Felix Ableitner
0d0f498ddd
0.7.0-beta.5
2025-07-10 10:29:02 +02:00
Nutomic
fa27a0c0b4
Various additions and changes ( #147 )
...
* Add methods Object.id(), Object.deleted()
* Rename ActivityHandler to Activity
* comments
* fix
* comment
2025-07-10 10:26:45 +02:00
Felix Ableitner
e18b13e253
Version 0.7.0-beta.4
2025-06-18 11:39:14 +02:00
Nutomic
659a6a3cff
Add hook for incoming activities ( #146 )
...
* Add hook for incoming activities
* sync version working
* async working
* remove generic
* separate methods
* testing
* use trait to allow references
2025-06-18 11:38:34 +02:00
Felix Ableitner
7e876dd5ce
0.7.0-beta.3
2025-06-16 11:33:47 +02:00
dullbananas
6efa33f006
Implement Clone for Data struct ( #145 )
...
* add clone impl
* fmt
* wrap field instead of implementing clone for whole data struct
2025-06-16 11:33:10 +02:00
Felix Ableitner
9d8e67bfbe
Version 0.7.0-beta.2
2025-06-05 15:41:49 +02:00
Felix Ableitner
0c583ed6ee
Feature flag for axum-original-uri
2025-06-05 15:40:49 +02:00
Felix Ableitner
ae7910e5f5
0.7.0-beta.1
2025-06-02 10:58:24 +02:00
Kevin Kuriakose
7994df3706
Use OriginalUri for Axum ActivityData ( #141 )
...
* Use OriginalUri for axum ActivityData
When the inbox path is under a nested `Router`, the received request has a URI
with the common prefix stripped. This causes incoming signatures to be considered
invalid since the path is different (see https://github.com/LemmyNet/activitypub-federation-rust/issues/107#issuecomment-2767428107 )
This commit uses `OriginalUri` for URI extraction instead, which will retrieve
the full URI regardless of router nesting
* Use router nesting for local_federation
With 8c787f5 , router nesting is supported correctly in axum
* Fix docs typo (#143 )
---------
Co-authored-by: Zami <szgie@proton.me>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2025-06-02 04:56:25 -04:00
Nutomic
80dce32279
Upgrade deps ( #135 )
...
* Upgrade deps (#133 )
* Upgrade deps
* fmt
* fix
* remove once_cell
* upgrade rust
* fix warnings
* Upgrading deps. (#137 )
* Upgrading deps.
* Axum upgrade.
* Remove some uses of async_trait
* Remove diesel feature
* Rust 1.85
* fix once lock for domain regex
* Revert "Remove some uses of async_trait"
This reverts commit 51bf4b332e .
* update deps
* Make it work with Lemmy
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2025-06-02 04:39:58 -04:00
Zami
b13c1cc092
Fix docs typo ( #143 )
2025-04-28 11:41:32 -04:00
Felix Ableitner
4c1c0f7928
0.6.5
2025-03-28 11:23:56 +01:00
Nutomic
b3dac33990
Fixes for either impl ( #140 )
...
* Fixes for either impl
* link
2025-03-27 15:58:45 +01:00
Felix Ableitner
ae075b4f95
Version 0.6.4
2025-03-20 12:16:25 +01:00
Nutomic
697eb01185
Implement Object trait for Either ( #139 )
...
* Implement Object, Actor traits for Either
* Upgrade Rust version
* 1.82
2025-03-20 12:16:03 +01:00
Felix Ableitner
f75231ab48
Add note about faster rsa key generation
2025-03-10 17:44:52 +01:00
Felix Ableitner
716dee24ea
Version 0.6.3
2025-03-10 15:39:21 +01:00
Felix Ableitner
100b08bd00
Speedup RSA key generation
2025-03-10 15:31:24 +01:00
naught101
64b990b5fc
Update README.md for widespread use ( #138 )
...
Remove "while not in widespread use" - There are a number of semi-popular use-cases now. Certainly enough to justify the broader use.
2025-01-29 10:10:53 +01:00
Felix Ableitner
f8f0d9c47e
Version 0.6.2
2025-01-23 11:13:50 +01:00
Nutomic
4ad668cc10
Add more url validation ( #134 )
...
* Add more url validation
* fix
* more fix
* Verify url after redirect
* Dont allow redirect for webfinger
* clippy
* more domain validation
* clippy
* fix lemmy test
* Remove trailing . from domain
* clippy
* fix
* manual redirect handling
* clippy
* prevent infinite recursion
* add timeout, comment
2025-01-23 05:11:49 -05:00
Felix Ableitner
ce83767180
No cargo shear
2025-01-21 13:13:20 +01:00
Felix Ableitner
9e21083e68
Fix shear check
2025-01-21 13:06:57 +01:00
Nutomic
2d90dad9f7
Add verify_is_remote_object ( #136 )
...
* Add verify_is_remote_object
* doctest
2025-01-21 12:59:35 +01:00
Felix Ableitner
2ad0eff31c
Clippy fixes, add cargo shear
2025-01-21 12:58:13 +01:00
Felix Ableitner
43b51d79ce
Revert "Upgrade deps ( #133 )"
...
This reverts commit 8910550663 .
2025-01-09 11:44:59 +01:00
Nutomic
8910550663
Upgrade deps ( #133 )
...
* Upgrade deps
* fmt
* fix
2025-01-03 13:41:20 -05:00
Felix Ableitner
426edca837
Version 0.6.1
2024-11-19 14:32:14 +01:00
Nutomic
b9a89ffc8e
Add method to sign arbitrary http request ( #131 )
2024-11-19 14:22:05 +01:00
Felix Ableitner
169137be02
Version 0.6.0
2024-11-12 14:11:03 +01:00