Plume/src/routes
fdb-hiroshima fdfeeed6d9 Comment visibility (#364)
Add some support for comment visibility, fix #217 

This add a new column to comment, denoting if they are public or not, and a new table linking private comments to those allowed to read them. There is currently no way to write a private comment from Plume.
Git is having a hard time what happened in Comment::from_activity, but most of it is just re-indentation because a new block was needed to please the borrow checker. I've marked with comments where things actually changed.
At this point only mentioned users can see private comments, even when posted as "follower only" or equivalent.

What should we do when someone isn't allowed to see a comment? Hide the whole thread, or just the comment? If hiding just the comment, should we mark there is a comment one can't see, but answers they can, or put other comments like if they answered to the same comment the hidden one do?
2018-12-24 11:23:04 +01:00
..
blogs.rs Count items in database as much as possible (#344) 2018-12-14 23:16:18 +01:00
comments.rs Comment visibility (#364) 2018-12-24 11:23:04 +01:00
errors.rs Use Ructe (#327) 2018-12-06 18:54:16 +01:00
instance.rs Make Plume compile on release (#365) 2018-12-22 18:27:21 +01:00
likes.rs Give reshare and like ap_url before inserting (#369) 2018-12-23 11:13:02 +01:00
medias.rs Use Ructe (#327) 2018-12-06 18:54:16 +01:00
mod.rs Remove useless pagination routes (#351) 2018-12-13 22:20:19 +01:00
notifications.rs Count items in database as much as possible (#344) 2018-12-14 23:16:18 +01:00
posts.rs Comment visibility (#364) 2018-12-24 11:23:04 +01:00
reshares.rs Give reshare and like ap_url before inserting (#369) 2018-12-23 11:13:02 +01:00
search.rs Remove useless pagination routes (#351) 2018-12-13 22:20:19 +01:00
session.rs Remove useless pagination routes (#351) 2018-12-13 22:20:19 +01:00
tags.rs Remove useless pagination routes (#351) 2018-12-13 22:20:19 +01:00
user.rs Fix some federation issues (#357) 2018-12-23 11:12:15 +01:00
well_known.rs Use Ructe (#327) 2018-12-06 18:54:16 +01:00