]> Untitled Git - lemmy.git/commit
Deletion on fetch (#1345)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 12 Jan 2021 16:12:41 +0000 (11:12 -0500)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 16:12:41 +0000 (11:12 -0500)
commitc6357f3c86252c64ff0268bf40505cecc84a37c4
tree3b27d89fb8dd3cf31d4f9184ae72c98fbc06f12d
parent7a97fc370bee9e81e9d7b39db491d5c8c27f36ba
Deletion on fetch (#1345)

* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256)

* Removing submodules

* Trying to re-init submodule

* Trying to re-init submodule 2

* Trying to re-init submodule 3

* Logging line.

* Removing submodules

* Adding again.

* Adding again 2.

* Adding again 3.

* Adding again 4.

* Adding again 5.

* Adding again 6.

* Adding again 7.

* Adding again 8.

* Adding again 9.

* Add more clippy lints, remove dbg!() statement

* Adding again 10.

* Adding again 11.

* Adding again 12.

Co-authored-by: Felix Ableitner <me@nutomic.com>
25 files changed:
.drone.yml
.gitmodules
docker/federation/start-local-instances.bash
lemmy_api/src/site.rs
lemmy_apub/src/activities/receive/mod.rs
lemmy_apub/src/activities/receive/private_message.rs
lemmy_apub/src/activities/send/comment.rs
lemmy_apub/src/activities/send/community.rs
lemmy_apub/src/fetcher.rs [deleted file]
lemmy_apub/src/fetcher/community.rs [new file with mode: 0644]
lemmy_apub/src/fetcher/fetch.rs [new file with mode: 0644]
lemmy_apub/src/fetcher/mod.rs [new file with mode: 0644]
lemmy_apub/src/fetcher/objects.rs [new file with mode: 0644]
lemmy_apub/src/fetcher/search.rs [new file with mode: 0644]
lemmy_apub/src/fetcher/user.rs [new file with mode: 0644]
lemmy_apub/src/http/user.rs
lemmy_apub/src/inbox/receive_for_community.rs
lemmy_apub/src/inbox/user_inbox.rs
lemmy_apub/src/lib.rs
lemmy_apub/src/objects/comment.rs
lemmy_apub/src/objects/community.rs
lemmy_apub/src/objects/mod.rs
lemmy_apub/src/objects/post.rs
lemmy_apub/src/objects/private_message.rs
lemmy_utils/src/request.rs