Commit graph

24 commits

Author SHA1 Message Date
Mouse Reeve 8de3668065 Expands tests and fixes logic error in report recipients 2024-01-02 19:48:43 -08:00
Mouse Reeve 052823e0c9 Allow the user to decide if they want to send along a report 2024-01-02 18:49:04 -08:00
Mouse Reeve 5c0ade5346 Changes field names in report model so the reporter is "user"
This is such an annoying change but it is objectively better. Just gotta
be real sure they didn't get mixed up anywhere along the way.
2024-01-02 14:43:28 -08:00
Mouse Reeve 5b229fa362 Makes reports an activitypub model 2024-01-02 13:57:52 -08:00
Mouse Reeve 4f6a235d77 Reverses order of report action list 2023-06-21 15:05:02 -07:00
Mouse Reeve b3a519c082 Converts report "comments" into broader "actions" table
This table will now track all actions taken on a report, like resolving
it, re-opening it, suspending the reported user, et cetera, in addition
to comments. When there are multiple admins, this change will make it
easier to understand what actions have been taken by whom on a report.
2023-05-16 11:00:33 -07:00
Mouse Reeve ab146f652a Adds action types to report comments table 2023-05-16 09:02:43 -07:00
Mouse Reeve 330be16516 Adds permissions checking for admin models 2022-09-19 10:12:47 -07:00
Mouse Reeve aa67f23b03 Override raise_not_editable for report model
This model uses "reporter" as the field that represents the onwer of the
object, and "user" and the subject. In retrospect, maybe not the ideal
way to do it.
2022-09-19 09:20:44 -07:00
Mouse Reeve 4f386e8c4e Allow reports with no associated user 2022-07-05 17:19:03 -07:00
Mouse Reeve ad41f19dc5 Updates report model 2022-02-24 13:00:41 -08:00
Mouse Reeve 8a07f5c396 Fixes report remote id 2022-01-30 08:50:53 -08:00
Mouse Reeve c0b5e6ad78 Fixes linting errors 2022-01-10 15:00:37 -08:00
Mouse Reeve 78dd5caf9f Allow users to report spam links 2022-01-10 14:55:10 -08:00
Mouse Reeve a4ac25bfae Move notifications to signals 2021-09-22 09:24:39 -07:00
Mouse Reeve 3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve 550eba1f68 Black formatting 2021-03-16 12:59:25 -07:00
Mouse Reeve e5750de3dd Notify admins when a report is filed 2021-03-16 12:57:23 -07:00
Mouse Reeve 848edd2972 Adds missing migration for reports model 2021-03-12 16:32:11 -08:00
Mouse Reeve 9245b9d9ca Comments on reports 2021-03-12 15:56:54 -08:00
Mouse Reeve 33b8537a3d Let user supply a note for report 2021-03-11 17:38:21 -08:00
Mouse Reeve 0d2c641d01 Reformats report model 2021-03-09 12:57:38 -08:00
Mouse Reeve 21f199c548 Make reports 2021-03-08 18:36:50 -08:00
Mouse Reeve e59c127686 Adds models for reporting 2021-03-08 17:16:59 -08:00