]> Untitled Git - lemmy.git/commitdiff
Merge branch 'main' into move_views_to_diesel
authorDessalines <tyhou13@gmx.com>
Tue, 8 Dec 2020 18:17:55 +0000 (13:17 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 8 Dec 2020 18:17:55 +0000 (13:17 -0500)
15 files changed:
1  2 
docs/src/about/goals.md
lemmy_api/src/community.rs
lemmy_apub/src/activities/receive/community.rs
lemmy_apub/src/activities/receive/private_message.rs
lemmy_apub/src/fetcher.rs
lemmy_apub/src/http/community.rs
lemmy_apub/src/inbox/community_inbox.rs
lemmy_apub/src/inbox/mod.rs
lemmy_apub/src/inbox/shared_inbox.rs
lemmy_apub/src/inbox/user_inbox.rs
lemmy_apub/src/objects/community.rs
lemmy_db/src/comment.rs
lemmy_db/src/community.rs
lemmy_db/src/lib.rs
lemmy_db/src/user.rs

index ea86db0756496b8d57577c2590cbe7591b80ce7e,e7d8e8dc6b2a72f51a8c737481c9dfe9a3305e91..0ce019fcfd69938032207012a06eba766cca0b74
  - [Rust docker build](https://shaneutt.com/blog/rust-fast-small-docker-image-builds/)
  - [Zurb mentions](https://github.com/zurb/tribute)
  - [TippyJS](https://github.com/atomiks/tippyjs)
- ## Activitypub guides
- - https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
- - https://raw.githubusercontent.com/w3c/activitypub/gh-pages/activitypub-tutorial.txt
- - https://github.com/tOkeshu/activitypub-example
- - https://blog.joinmastodon.org/2018/07/how-to-make-friends-and-verify-requests/
- - Use the [activitypub crate.](https://docs.rs/activitypub/0.1.4/activitypub/)
- - https://docs.rs/activitypub/0.1.4/activitypub/
- - [Activitypub vocab.](https://www.w3.org/TR/activitystreams-vocabulary/)
- - [Activitypub main](https://www.w3.org/TR/activitypub/)
- - [Federation.md](https://github.com/dariusk/gathio/blob/7fc93dbe9d4d99457a0e85c6c532112f415b7af2/FEDERATION.md)
- - [Activitypub implementers guide](https://socialhub.activitypub.rocks/t/draft-guide-for-new-activitypub-implementers/479)
- - [Data storage questions](https://socialhub.activitypub.rocks/t/data-storage-questions/579/3)
- - [Activitypub as it has been understood](https://flak.tedunangst.com/post/ActivityPub-as-it-has-been-understood)
- - [Asonix http signatures in rust](https://git.asonix.dog/Aardwolf/http-signature-normalization)
 +- [SQL function indexes](https://sorentwo.com/2013/12/30/let-postgres-do-the-work.html)
index dcd9be0585d9f46835477e953e71fce249648b11,d7de0e6bd717a3bab6ad626599c846c08e5dfe26..fe7748f945f9fcdafe750d51cc517dd9bb21daa9
@@@ -18,12 -19,8 +18,13 @@@ use lemmy_db::
    naive_now,
    post::Post,
    site::*,
 -  user_view::*,
 +  views::{
 +    community_follower_view::CommunityFollowerView,
 +    community_moderator_view::CommunityModeratorView,
 +    community_view::{CommunityQueryBuilder, CommunityView},
 +    user_view::UserViewSafe,
 +  },
+   ApubObject,
    Bannable,
    Crud,
    Followable,
index 80c911b142eeacb26d6b419d1d7795b5b3572c25,b1866283b64a538558f51ab83deb08479378740f..16b0c4e3cfb0fecdb525bbe645d9d2444d08eba4
@@@ -4,7 -4,7 +4,7 @@@ use activitystreams::
    base::{AnyBase, ExtendsExt},
  };
  use anyhow::Context;
- use lemmy_db::{community::Community, views::community_view::CommunityView};
 -use lemmy_db::{community::Community, community_view::CommunityView, ApubObject};
++use lemmy_db::{community::Community, views::community_view::CommunityView, ApubObject};
  use lemmy_structs::{blocking, community::CommunityResponse};
  use lemmy_utils::{location_info, LemmyError};
  use lemmy_websocket::{messages::SendCommunityRoomMessage, LemmyContext, UserOperation};
index 0eb33cb753daab8630fb033905619e21bb164866,ad977f5b1b3a371ed9fb1d6aa6bffcf3eead9360..7556580e60d09b5a19522f619802d900e8e71ec2
@@@ -13,15 -13,16 +13,15 @@@ use anyhow::{anyhow, Context}
  use chrono::NaiveDateTime;
  use diesel::result::Error::NotFound;
  use lemmy_db::{
-   comment::{Comment, CommentForm},
+   comment::Comment,
    comment_view::CommentView,
-   community::{Community, CommunityForm, CommunityModerator, CommunityModeratorForm},
+   community::{Community, CommunityModerator, CommunityModeratorForm},
 -  community_view::CommunityView,
    naive_now,
-   post::{Post, PostForm},
+   post::Post,
    post_view::PostView,
-   user::{UserForm, User_},
+   user::User_,
 -  user_view::UserView,
 +  views::{community_view::CommunityView, user_view::UserViewSafe},
-   Crud,
+   ApubObject,
    Joinable,
    SearchType,
  };
Simple merge
index 37ae444e912658851011e20fb19e8cd1c110fa66,4bdad2fadcc433dd273459be7b63e69cfc404e7f..1c7b32e908e6c7aa2026afbf4d887b9816287e01
@@@ -28,8 -28,9 +28,9 @@@ use actix_web::{web, HttpRequest, HttpR
  use anyhow::{anyhow, Context};
  use lemmy_db::{
    community::{Community, CommunityFollower, CommunityFollowerForm},
 -  community_view::CommunityUserBanView,
    user::User_,
 +  views::community_user_ban_view::CommunityUserBanView,
+   ApubObject,
    DbPool,
    Followable,
  };
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge