mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-29 23:11:02 +00:00
fdfeeed6d9
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? |
||
---|---|---|
.. | ||
00000000000000_diesel_initial_setup | ||
2018-04-22-093322_create_instances | ||
2018-04-22-151330_create_user | ||
2018-04-23-101717_create_blogs | ||
2018-04-23-111655_create_blog_authors | ||
2018-04-23-132822_create_posts | ||
2018-04-23-142746_create_post_authors | ||
2018-04-30-170445_timestamps | ||
2018-05-01-124607_create_follow | ||
2018-05-01-165325_add_ap_url | ||
2018-05-02-113930_drop_instance_local_domain | ||
2018-05-03-163427_user_add_keys | ||
2018-05-03-182555_blogs_add_keys | ||
2018-05-09-192013_create_comments | ||
2018-05-10-101553_posts_add_ap_url | ||
2018-05-10-154336_create_likes | ||
2018-05-12-213456_likes_add_ap_url | ||
2018-05-13-122311_create_notifications | ||
2018-05-13-175144_users_add_shared_inbox | ||
2018-05-19-091428_create_reshares | ||
2018-05-24-100613_add_notifications_creation_date | ||
2018-06-17-200302_notification_add_data | ||
2018-06-20-175532_create_mentions | ||
2018-06-20-194538_add_mentions_ap_url | ||
2018-07-25-165754_refactor_notifications | ||
2018-07-27-102221_user_add_followers_endpoint | ||
2018-07-27-125558_instance_customization | ||
2018-07-27-194816_instance_description_html | ||
2018-09-02-111458_create_medias | ||
2018-09-02-123623_medias_owner_id | ||
2018-09-03-102510_users_add_avatar | ||
2018-09-03-170848_user_add_last_fetched_date | ||
2018-09-04-103017_follows_add_ap_url | ||
2018-09-04-104828_posts_add_subtitle | ||
2018-09-05-174106_create_tags | ||
2018-09-06-182637_posts_add_source | ||
2018-09-07-212003_fix_avatar_deletion | ||
2018-10-06-161151_change_default_license | ||
2018-10-19-165407_create_apps | ||
2018-10-20-164036_fix_hastag_typo | ||
2018-10-21-163227_create_api_token | ||
2018-10-30-151529_add_post_cover | ||
2018-12-08-175515_constraints | ||
2018-12-17-180104_mention_no_ap_url | ||
2018-12-17-221135_comment_visibility |