timeline

package
v0.0.0-...-d9c4052 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2014 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PropagatePostOnCommentDeleted

func PropagatePostOnCommentDeleted(c middleware.Context, postID, commentID bson.ObjectId)

PropagatePostOnNewComment deletes a reference to the new comment on all user timelines

func PropagatePostOnCreation

func PropagatePostOnCreation(c middleware.Context, post *models.Post)

PropagatePostOnCreation propagates the post to all timelines when a new post is created.

func PropagatePostOnLike

func PropagatePostOnLike(c middleware.Context, postID bson.ObjectId, liked bool)

PropagatePostOnLike sets the new like value for the user's timeline

func PropagatePostOnNewComment

func PropagatePostOnNewComment(c middleware.Context, postID, commentID bson.ObjectId)

PropagatePostOnNewComment adds a reference to the new comment on all user timelines

func PropagatePostOnPrivacyChange

func PropagatePostOnPrivacyChange(c middleware.Context, post *models.Post)

PropagatePostOnPrivacyChange propagates the privacy changes across all timelines, removing and adding the post according to the new privacy settings.

func PropagatePostOnUserDeleted

func PropagatePostOnUserDeleted(c middleware.Context, userID bson.ObjectId)

PropagatePostOnUserDeleted erases all posts owned by the deleted user from all timelines

func PropagatePostsOnDeletion

func PropagatePostsOnDeletion(c middleware.Context, postID bson.ObjectId)

PropagatePostsOnDeletion erases a deleted post from all timelines

func PropagatePostsOnUserFollow

func PropagatePostsOnUserFollow(c middleware.Context, userID bson.ObjectId)

PropagatePostsOnUserFollow propagates the posts to the timeline when a new user is followed

func PropagatePostsOnUserUnfollow

func PropagatePostsOnUserUnfollow(c middleware.Context, userID bson.ObjectId)

PropagatePostsOnUserFollow propagates the posts to the timeline when a new user is followed

func PropagateSinglePostOnCommentDeleted

func PropagateSinglePostOnCommentDeleted(conn *services.Connection, ts *services.TaskService, c, tID, task, op bson.ObjectId) error

PropagateSinglePostOnCommentDeleted removes a reference of the comment on a timeline

func PropagateSinglePostOnCreation

func PropagateSinglePostOnCreation(conn *services.Connection, ts *services.TaskService, p *models.Post, u, task, op bson.ObjectId) error

PropagateSinglePostOnCreation propagates a post to a certain timeline because it failed before

func PropagateSinglePostOnNewComment

func PropagateSinglePostOnNewComment(conn *services.Connection, ts *services.TaskService, c, tID, task, op bson.ObjectId) error

PropagateSinglePostOnNewComment adds a reference to the new comment on a timeline

func PropagateSinglePostOnUserFollow

func PropagateSinglePostOnUserFollow(conn *services.Connection, ts *services.TaskService, user, post, task, op bson.ObjectId) error

PropagateSinglePostOnUserFollow propagates a single post to the timeline when a new user is followed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL