- [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)
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,
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};
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,
};
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,
};