]> Untitled Git - lemmy.git/commit
Mark accounts as bot nutomic (#1565)
authorNutomic <me@nutomic.com>
Wed, 21 Apr 2021 21:41:14 +0000 (21:41 +0000)
committerGitHub <noreply@github.com>
Wed, 21 Apr 2021 21:41:14 +0000 (17:41 -0400)
commitefee2062dde40e002f0d45d21dfe9ea0063f1c67
tree5d59f751e0d5206c73401997e611a78cc6980f1c
parent9dc5605663fb89d29ef81df6540b4a1c7fa3b540
Mark accounts as bot nutomic (#1565)

* Mark account as bot. Fixes #1357

* Fix clippy

* Federate bot status using actor `type` field

* fix clippy

Co-authored-by: Dessalines <tyhou13@gmx.com>
20 files changed:
crates/api/src/local_user.rs
crates/api/src/site.rs
crates/api_common/src/lib.rs
crates/api_common/src/person.rs
crates/api_crud/src/comment/read.rs
crates/api_crud/src/post/read.rs
crates/api_crud/src/user/create.rs
crates/api_crud/src/user/read.rs
crates/apub/src/lib.rs
crates/apub/src/objects/person.rs
crates/db_queries/src/source/local_user.rs
crates/db_queries/src/source/person.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/local_user.rs
crates/db_schema/src/source/person.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_view.rs
crates/routes/src/feeds.rs
migrations/2021-03-31-105915_add_bot_account/down.sql [new file with mode: 0644]
migrations/2021-03-31-105915_add_bot_account/up.sql [new file with mode: 0644]