Commit Graph

3044 Commits

Author SHA1 Message Date
Andreas Nedbal 9bc41e31ec Remove human-readable "Answered by" answerbox text 2024-03-02 22:43:39 +01:00
Andreas Nedbal fb6e6458c4 Remove conditional profile layout in answerboxes 2024-03-02 22:43:39 +01:00
Andreas Nedbal 8b3690fcf2 Remove full-width class from reaction icons 2024-03-02 22:43:39 +01:00
Andreas Nedbal 92c9ed011f Fix rubocop nits 2024-03-01 23:58:35 +01:00
Andreas Nedbal 3a801baf1a Add highlight to moderation panel link if there are new reports 2024-03-01 23:58:35 +01:00
Andreas Nedbal 34421b34f3 Set `has_new_reports` global in ApplicationController 2024-03-01 23:58:35 +01:00
Andreas Nedbal f3cba7b620 Set `last_reports_visit` when visiting the reports listing 2024-03-01 23:58:35 +01:00
Andreas Nedbal 507c27da06 Add Bluesky to answerbox sharing options 2024-03-01 21:14:59 +01:00
Andreas Nedbal 4ed9cf5a32 Add Bluesky to inbox entry sharing dialog 2024-03-01 21:14:59 +01:00
Andreas Nedbal e90b4b8580 Add Bluesky link to sharing options 2024-03-01 21:14:59 +01:00
Andreas Nedbal 50097d629e Add `SocialHelper::BlueskyMethods` 2024-03-01 21:14:59 +01:00
Andreas Nedbal 04d3e050ab Show actions to moderators on banned profiles 2024-02-29 00:06:19 +01:00
Andreas Nedbal 1914c56b05 Adjust what content gets hidden on banned user profiles 2024-02-29 00:06:19 +01:00
Andreas Nedbal 22886934db Use `dropdown` instead of `btn-group` for dropdowns 2024-02-28 22:23:06 +01:00
Andreas Nedbal 5077039035 Give answerbox actions proper margins and paddings 2024-02-28 22:23:06 +01:00
Andreas Nedbal fbb6fcdf7b Fix text color of answerbox actions 2024-02-28 22:23:06 +01:00
Andreas Nedbal af666c7733 Fix lint nits 2024-02-28 00:57:26 +01:00
Andreas Nedbal 2db1d998b7 Fix not being able to unset administrator privileges in UI 2024-02-28 00:57:26 +01:00
Andreas Nedbal d87a4adf96 Add links to user actions to filter reports by/from users 2024-02-27 23:58:05 +01:00
Andreas Nedbal aa66ac4500 Fix haml-lint nits 2024-02-27 22:55:54 +01:00
Andreas Nedbal 50126cc4c4 Implement report filtering interface 2024-02-27 22:55:54 +01:00
Andreas Nedbal 6211747ec4 Remove report filtering navigation entries 2024-02-27 22:55:54 +01:00
Andreas Nedbal 020b7db712 Remove ordered_inbox method and related paginator 2024-01-27 20:28:45 +01:00
Andreas Nedbal d12e3b020e Use `InboxFilter` in `Moderation::InboxController` 2024-01-27 20:28:45 +01:00
Andreas Nedbal 62ba205d3e Fix rubocop nits 2024-01-27 19:21:07 +01:00
Andreas Nedbal 658cb0442b Rename all occurences of associative inbox entry access 2024-01-27 19:21:07 +01:00
Andreas Nedbal ba7ba359b4 Rename user/question associations to `:inbox_entries` 2024-01-27 19:21:07 +01:00
Andreas Nedbal 06b2421f2c Rename all occurences of `Inbox` class to `InboxEntry` 2024-01-27 19:21:07 +01:00
Andreas Nedbal af9cbcdb11 Rename `Inbox` model to `InboxEntry` 2024-01-27 19:21:07 +01:00
Andreas Nedbal b96651fa70 Disallow `author` and `anonymous` inbox filter combination 2024-01-25 22:08:37 +01:00
Andreas Nedbal 134c575e40 Add missing expire times to cache keys 2024-01-25 21:23:02 +01:00
Andreas Nedbal baa1f3f319 Fix rubocop nits 2024-01-25 20:52:19 +01:00
Andreas Nedbal fa81ef2ba6 Remove legacy report pagination methods 2024-01-25 20:52:19 +01:00
Andreas Nedbal 311fc0812b Add report filtering capabilities 2024-01-25 20:52:19 +01:00
Andreas Nedbal 5a17466999 Fix rubocop nits 2024-01-24 21:08:44 +01:00
Andreas Nedbal 05634ae69d Move target user resolving code into `report` method 2024-01-24 21:08:44 +01:00
Andreas Nedbal 27a57e304d Set target user in report action 2024-01-24 21:08:44 +01:00
Andreas Nedbal ab442db40b Add target user to reports 2024-01-24 21:08:44 +01:00
Andreas Nedbal a9e4265a1a Add scheduled job to clean up orphaned inbox entries 2024-01-22 19:51:39 +01:00
Andreas Nedbal 63922efb1b Fix rubocop nits 2024-01-22 19:51:06 +01:00
Andreas Nedbal 1ac767902b Add more generic implementation of inbox filtering 2024-01-22 19:51:06 +01:00
Andreas Nedbal 9ddcf65928 Disallow anonymously blocking yourself 2024-01-21 11:19:57 +01:00
Andreas Nedbal d303b5b18e Use `attr_accessor` for `Answer` object properties 2024-01-19 22:06:27 +01:00
Andreas Nedbal ae41cd03fc Fix missing anonymous hint translation 2024-01-14 16:06:14 +01:00
Andreas Nedbal 9f823b3dd4 Fix rubocop nits 2024-01-14 16:03:38 +01:00
Andreas Nedbal 8b55b2fe81 Fix anonymous block model associations 2024-01-14 16:03:38 +01:00
Andreas Nedbal de9c84085d Fix stylelint nits 2024-01-14 16:03:25 +01:00
Andreas Nedbal c7542e005c Fix button rounding in mute settings 2024-01-14 16:03:25 +01:00
Andreas Nedbal cc3ba3971b Fix "Content missing" when clicking users in answer smile list 2023-12-22 21:32:20 +01:00
Andreas Nedbal d1ac420303 use `question_markdown` helper for questions in notifications 2023-12-21 00:06:54 +01:00