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
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
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
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
Nutomic
b9a89ffc8e
Add method to sign arbitrary http request ( #131 )
2024-11-19 14:22:05 +01:00
藍+85CD
8f47daa2e2
refactor!: use rsa instead of openssl ( #116 )
...
* refactor!: use `rsa` instead of `openssl`
* fix: format code
* fix: format code
* fix: lint code
* fix: format code
2024-07-15 10:20:35 +02:00
Nutomic
ddc455510b
Dont crash when calling is_local_url() without domain ( #108 )
2024-05-02 10:58:33 +02:00
Nutomic
54e8a1145f
Add function ObjectId.is_local ( #106 )
...
* Add function ObjectId.is_local
* add test
* add test
2024-04-10 11:31:55 +02:00
Nutomic
636b47c8b2
Add back activity send queue as optional feature ( #94 )
...
* Add back activity send queue as optional feature
* fix port collision in tests
* improve docs
* serialize fn
* deduplicate
* more dedup
* more dedup
* dedupupup
* test cleanup
* remove fn
2024-03-04 08:53:33 -05:00
cetra3
098a4299f0
Remove anyhow from trait definitions ( #82 )
2023-11-20 11:42:47 +01:00
phiresky
51443aa57c
Remove activity queue and add raw sending ( #75 )
...
* make prepare_raw, sign_raw, send_raw functions public
* remove in-memory activity queue
* rename module
* comment
* don"t clone
* fix doc comment
* remove send_activity function
---------
Co-authored-by: Nutomic <me@nutomic.com>
2023-09-01 11:19:22 +02:00
Nutomic
426871f5af
Use anyhow::Error for UrlVerifier return type ( fixes #61 ) ( #65 )
...
* Use anyhow::Error for UrlVerifier return type (fixes #61 )
* fmt
* uncomment
2023-07-26 10:26:22 -04:00
phiresky
af92e0d532
add shutdown method ( #53 )
...
* add shutdown method
* simplify shutdown interface
* make work on rust < 1.70
* upgrade ci to rust 1.70
* make clippy and linux torvalds happy
2023-07-04 16:08:39 +02:00
phiresky
68f9210d4c
add a separate allow_http flag ( #54 )
...
Co-authored-by: Nutomic <me@nutomic.com>
2023-07-03 16:24:11 +02:00
cetra3
5de4a34550
Add a no limit option to the config ( #45 )
...
* Add a no limit option to the config
* Set defaults to `0`
2023-06-22 09:40:59 +02:00
cetra3
c356265cf4
Remove actix-rt and replace with tokio tasks ( #42 )
...
* Remove `actix-rt` and replace with tokio tasks
* Include activity queue test
* Use older `Arc` method
* Refactor to not re-process PEM data on each request
* Add retry queue and spawn tokio tasks directly
* Fix doc error
* Remove semaphore and use join set for backpressure
* Fix debug issue with multiple mailboxes
2023-06-20 11:54:14 +02:00
Alex Auvolat
7b0b830597
Secure mode federation support (WIP) ( #39 )
...
* First iteration of secure mode federation support
* signing_actor: take request by reference
* Implement secure mode fetch as a global config parameter
* Implement secure mode federation example in actix-web example
* fix clippy lints
2023-06-12 13:32:54 +02:00
Grafcube
5181f15499
Change domain to host_str ( #37 )
2023-05-22 10:53:40 +02:00
Felix Ableitner
072353fc41
Dont use apub in type names
2023-03-16 21:41:43 +01:00
Nutomic
6a65fa7c98
Changes to make Lemmy work with 0.4 ( #29 )
...
* Make it work with Lemmy
* working but needs cleanup
* almost everything working
* debug
* stack overflow fix
2023-03-16 02:11:48 +01:00
Felix Ableitner
d94a2ed0fc
live federation example
2023-03-08 22:16:43 +01:00
Felix Ableitner
32394696a5
move files
2023-03-06 16:19:43 +01:00
Felix Ableitner
d5ecab1b61
finish rustdoc
2023-03-04 23:20:06 +01:00
Felix Ableitner
19c459fc02
Further improvements
2023-03-02 00:19:10 +01:00
Felix Ableitner
69e77dfa74
Various improvements for usability, examples and docs
2023-02-19 21:26:01 +09:00