Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
2021-07-17 12:08:46 -04:00
|
|
|
[package]
|
|
|
|
name = "lemmy_apub_lib"
|
2022-01-12 09:45:29 -05:00
|
|
|
version = "0.15.1"
|
2022-02-14 10:34:54 -05:00
|
|
|
edition = "2021"
|
2021-07-24 05:55:56 -04:00
|
|
|
description = "A link aggregator for the fediverse"
|
|
|
|
license = "AGPL-3.0"
|
2021-10-19 13:03:43 -04:00
|
|
|
homepage = "https://join-lemmy.org/"
|
|
|
|
documentation = "https://join-lemmy.org/docs/en/index.html"
|
Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
2021-07-17 12:08:46 -04:00
|
|
|
|
|
|
|
[dependencies]
|
2022-01-12 09:45:29 -05:00
|
|
|
lemmy_utils = { version = "=0.15.1", path = "../utils" }
|
|
|
|
lemmy_apub_lib_derive = { version = "=0.15.1", path = "../apub_lib_derive" }
|
2022-01-12 19:17:00 -05:00
|
|
|
chrono = "0.4.19"
|
2021-12-14 08:30:37 -05:00
|
|
|
serde = { version = "1.0.131", features = ["derive"] }
|
|
|
|
async-trait = "0.1.52"
|
2021-08-17 16:31:16 -04:00
|
|
|
url = { version = "2.2.2", features = ["serde"] }
|
2021-12-14 08:30:37 -05:00
|
|
|
serde_json = { version = "1.0.72", features = ["preserve_order"] }
|
|
|
|
anyhow = "1.0.51"
|
|
|
|
reqwest = { version = "0.11.7", features = ["json"] }
|
|
|
|
reqwest-middleware = "0.1.3"
|
2021-11-23 07:16:47 -05:00
|
|
|
tracing = "0.1.29"
|
2021-10-06 16:20:05 -04:00
|
|
|
base64 = "0.13.0"
|
2021-12-14 08:30:37 -05:00
|
|
|
openssl = "0.10.38"
|
2021-11-22 13:58:31 -05:00
|
|
|
once_cell = "1.8.0"
|
2021-10-06 16:20:05 -04:00
|
|
|
http = "0.2.5"
|
2021-12-14 08:30:37 -05:00
|
|
|
sha2 = "0.10.0"
|
2021-12-30 13:37:59 -05:00
|
|
|
actix-web = { version = "4.0.0-beta.18", default-features = false }
|
2021-12-14 08:30:37 -05:00
|
|
|
http-signature-normalization-actix = { version = "0.5.0-beta.14", default-features = false, features = ["server", "sha-2"] }
|
|
|
|
http-signature-normalization-reqwest = { version = "0.4.0", default-features = false, features = ["sha-2", "middleware"] }
|
2021-11-23 07:20:01 -05:00
|
|
|
background-jobs = "0.11.0"
|
2021-11-04 20:24:10 -04:00
|
|
|
diesel = "1.4.8"
|