2
0
Commit Graph

112 Commits

Author SHA1 Message Date
Emelia Smith
2138f3e40f Move 'add more' inside table toolbar on reports (#35963) 2025-09-02 07:54:58 +00:00
Matt Jankowski
3f1d78f3c6 Use target account from group_by result in admin/reports/index (#35920) 2025-08-27 12:50:16 +00:00
Emelia Smith
4f494781c1 Refactor to reuse the one status partial across moderation tools (#35644) 2025-08-21 14:51:11 +00:00
Matt Jankowski
5d69157e62 Prefer delegated nil-wrapping methods to safe navigation (#35541) 2025-07-28 08:03:23 +00:00
Eugen Rochko
24d943fee0 Change media attachments in moderated posts to not be accessible (#34872) 2025-06-12 08:53:02 +00:00
Eugen Rochko
11786f1114 Change design of edit media modal in web UI (#33516) 2025-01-21 11:34:22 +00:00
Emelia Smith
15669fcf75 Include time portion in formatted datetimes when provided (#33191) 2025-01-08 14:26:08 +00:00
Eugen Rochko
425311e1d9 Change referrer policy to be controlled by header in web UI (#33214) 2024-12-09 22:42:45 +00:00
Claire
30e9c7137b Fix error when viewing statuses to deleted replies in moderation view (#32986) 2024-11-19 20:21:12 +00:00
Matt Jankowski
a1ac2a73ff Remove remnants of embed views (#32419) 2024-11-16 20:48:10 +00:00
Emelia Smith
ddfb3d123b Improve display of statuses in admin panel (#30813) 2024-11-15 09:38:01 +00:00
Claire
4c0e44ebbe Fix recently-broken admin interface buttons (#32240) 2024-10-03 16:12:15 +00:00
Matt Jankowski
cf859d151b More link/button conversion across views (#32199) 2024-10-02 13:08:40 +00:00
Claire
ed8b0e4b1e Fix links for reblogs in moderation interface (#31979) 2024-09-20 13:33:26 +00:00
Claire
ba81e4e019 Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 2024-09-13 09:11:10 +00:00
Matt Jankowski
cee71b9892 Remove fa_ prefix from status visibility icon method (#31846) 2024-09-11 07:47:16 +00:00
Emelia Smith
fd7fc7bdc3 Disable actions on reports that have already been taken (#31773) 2024-09-06 12:50:30 +00:00
Matt Jankowski
71405eabfc Use material symbols in table link helper (#31359) 2024-08-20 11:48:15 +00:00
Matt Jankowski
84c3cc4e5b Replace more font-awesome icons in views/admin area (#30961) 2024-08-07 23:08:36 +00:00
Emelia Smith
aa88aca0ad Add optional OAuth application to reports (#30539) 2024-07-16 13:23:08 +00:00
Matt Jankowski
b5d1d48266 Convert form_for -> form_with in views (#30700) 2024-06-14 09:54:22 +00:00
Matt Jankowski
8d5ed19c6d Migrate form_tag to form_with in admin and auth views (#30692) 2024-06-14 09:49:10 +00:00
Emelia Smith
5fd56512de Improve Report Notes and Account Moderation Notes (#30288) 2024-05-15 13:38:36 +00:00
Matt Jankowski
32ead51e5a Add material design icons to admin/settings views (#27780)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-23 16:43:49 +00:00
Matt Jankowski
0a33be39c1 Reduce LineLength for react_admin_component helpers (#29650) 2024-03-20 13:45:34 +00:00
Claire
cf08a438e7 Add badge on account card in report moderation interface when account is already suspended (#29592) 2024-03-19 08:20:53 +00:00
Matt Jankowski
f445d33fd6 Fix haml-lint LineLength cops in app/views/admin (#28680) 2024-03-15 11:19:00 +00:00
Matt Jankowski
69e61fff38 Move direct serializer usage out of admin view partial (#29028) 2024-02-06 13:18:37 +00:00
Matt Jankowski
b68f185573 Reduce LineLength for react_component helper in views/admin (#28694) 2024-01-11 13:14:24 +00:00
Claire
a2bcfeb887 Fix Style/HashEachMethods cop in HAML files (#28178) 2023-12-04 09:09:43 +00:00
Claire
bd575a1dd6 Add banner for forwarded reports made by remote users about remote content (#27549) 2023-11-15 14:18:43 +00:00
Matt Jankowski
33b073f77d Extract partials from admin/reports/show view (#27427) 2023-10-16 18:07:17 +02:00
Matt Jankowski
66becf9a1e Fix haml-lint InstanceVariables rule for admin/reports/actions (#27339) 2023-10-11 15:58:33 +02:00
Matt Jankowski
e715da6d25 Fix haml-lint Rubocop Rails/* cops (#26042) 2023-10-03 15:00:40 +02:00
Claire
ea7de25de0 Fix video player not being displayed in reports interface (#26801) 2023-09-05 20:05:58 +02:00
Matt Jankowski
9974163776 Consolidate inclusion of admin js pack link (#26628) 2023-08-24 09:56:23 +02:00
Matt Jankowski
a5842df123 Fix haml-lint Rubocop Lint/UnusedBlockArguments cop (#26039) 2023-07-20 17:03:39 +02:00
Matt Jankowski
b3f48089e6 Fix haml-lint rubocop style negation cops (#26057) 2023-07-18 17:02:02 +02:00
Christian Schmidt
5241f7b2fd Fix UI crash in moderation interface when opening the media modal (#24816) 2023-05-11 12:41:55 +02:00
Claire
cf50667e26 Fix incorrect post links in strikes when the account is remote (#23611) 2023-03-15 04:14:47 +01:00
Claire
343e1fe8e9 Add confirmation screen when handling reports (#22375)
* Add confirmation screen on moderation actions

* Add flash notice when a report has been processed

* Refactor tests

* Add tests
2023-01-18 16:40:09 +01:00
Claire
f79c200f7e Change wording of admin report handling actions (#18388)
* Change admin report handling UI to display appropriate text for remote reports

Change from “Decide which action to take to resolve this report. If you take a
punitive action against the reported account, an e-mail notification will be
sent to them, except when the Spam category is selected.” to “Decide which
action to take to resolve this report. This will only affect how your server
communicates with this remote account and handle its content.”

* Reword admin actions descriptions to make clear which admin actions close reports
2023-01-13 11:03:14 +01:00
Claire
21a1a8ee88 Fix crash when marking statuses as sensitive while some statuses are deleted (#22134)
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments

* Fix crash when marking statuses as sensitive while some statuses are deleted

Fixes #21910

* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”

* Add tests
2023-01-13 10:46:52 +01:00
Claire
b8ad446f77 Fix incorrectly formatted datetime in account moderation note timestamp (#22555)
* Fix incorrectly formatted datetime in account moderation note timestamp

Fix oversight from #21878

* Fix use of non-existent translation string
2023-01-05 13:35:28 +01:00
Francis Murillo
c50e9d078a Render current day formats in the client timezone (#21878)
* Fix remaining plain %time to %time.formatted

* Add %time.relative-formatted to client format dates on the current day

* Add missing comma dangle to formats

* Use client side message format instead of the server

* Add fallback message to relatve_format.today

* Remove unused translation key and fix js lint issue

Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15 16:35:25 +01:00
Eugen Rochko
f8ca3bb2a1 Add ability to view previous edits of a status in admin UI (#19462)
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
2022-10-26 13:42:29 +02:00
Claire
2c45859ca9 Refactor account and status formatting (#17877)
* Refactor status formatting

* Add account formatting helpers

* Remove StatusFormatter

* Fixup

* Fix copied typo
2022-03-28 01:17:17 +02:00
Eugen Rochko
cefa526c6d Refactor formatter (#17828)
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
2022-03-26 02:53:34 +01:00
Claire
9b139d4ef9 Fix “edited at” in public pages not being properly localized (#17806)
Fixes #17804
2022-03-15 19:07:25 +01:00
Eugen Rochko
d17fb70131 Change how changes to media attachments are stored for edits (#17696)
* Change how changes to media attachments are stored for edits

Fix not being able to re-order media attachments

* Fix not broadcasting updates when polls/media is changed through ActivityPub

* Various fixes and improvements

* Update app/models/report.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Add tracking of media attachment description changes

* Change poll in status edit to have a structure closer to the real one

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-03-09 09:06:17 +01:00