Pluralize diary entries controller
Rename diary_entry#list to #index
Rename diary_entry#view to diary_entry#show
Merge branch 'master' into next
Remove if_user and similar methods Rather than hiding features based on CSS, just avoid including them in the output. Fixes #1862
Use named paths for messages
Use lazy translations where possible
Merge remote-tracking branch 'upstream/pull/1816'
Fix handling of title when replying to diary entries
Refactor @this_user to @user Historically we used @user for the currently logged in user, but this was changed to `current_user` in 2017.
Merge branch 'master' into moderation
Create a report_link helper, and use text instead of a flag icon
Use user_path links. Fixes #1785
Refactor creating a new report to use a ReportsController It's really a report that the user is creating, the issue is created indirectly. Similar refactoring will be required for issue comments.
Use current_user instead of @user.
Set the reported_user in a callback This avoids passing around the reported_user via forms. There was no validation anywhere that the reported_user corresponded to the object being reported. This approach removes those worries too.
Whitespace fixes.
UI changes + Redirection after creating report fixed (cherry picked from commit 987fcf0ba5e7e914dc479e9dc7613400e72148a0)
Changed report button + Added disclaimer on report page + Added search filter
Added report icon + changes to admin UI + changes to report form + few other minor changes