c37d0298b0
Make some adjustments to blocking behavior regarding the forums: * Pre-existing bug: on a forum's home page (threads list), if a thread was created by a blocked user, the thread still appeared with the user's name and picture visible. Now: their picture and name will be "[unavailable]" but the thread title/message and link to the thread will remain. Note: in the thread view itself, posts by the blocked user will be missing as normal. * Make some tweaks to allow forum moderators (and owners of user-owned forums) able to see messages from blocked users on their forum: * In threads: a blocked user's picture and name are "[unavailable]" but the content of their message is still shown, and can be deleted by moderators. Misc fixes: * Private photos: when viewing your granted/grantee lists, hide users whose accounts are inactive or who are blocked. * CertifiedSince: in case a user was manually certified but their cert photo status is not correct, return their user CreatedAt time instead. |
||
---|---|---|
.. | ||
backfill | ||
deletion | ||
exporting | ||
admin_scopes.go | ||
blocklist.go | ||
certification.go | ||
change_log.go | ||
comment_photo.go | ||
comment.go | ||
data_backfills.go | ||
feedback.go | ||
forum_membership.go | ||
forum_quota.go | ||
forum_recent.go | ||
forum_search_test.go | ||
forum_search.go | ||
forum_stats.go | ||
forum.go | ||
friend.go | ||
ip_addresses.go | ||
like.go | ||
message.go | ||
models.go | ||
notification_filters.go | ||
notification_push.go | ||
notification.go | ||
pagination.go | ||
photo.go | ||
poll_votes.go | ||
poll.go | ||
private_photo.go | ||
profile.go | ||
shy_accounts.go | ||
subscription.go | ||
thread.go | ||
two_factor.go | ||
user_location.go | ||
user_note.go | ||
user_relationship.go | ||
user.go | ||
world_cities.go |