Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bulk moderation actions #4654

Merged
merged 31 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
13d56ec
Fix a bug where reports for deindexed media would be hidden
dhruvkb Jul 22, 2024
17df1a9
Add support for bulk ES operations to subreport models
dhruvkb Jul 23, 2024
d80331a
Expand properties of `DecisionAction`
dhruvkb Jul 23, 2024
e6f3e9b
Create util to handle forward and reverse moderation
dhruvkb Jul 23, 2024
14c103f
Show pending reports as bullet points
dhruvkb Jul 24, 2024
fd6d160
Show media objects for decisions even if they are deleted
dhruvkb Jul 24, 2024
0ffd990
Add new filter view for media items with all reports resolved
dhruvkb Jul 24, 2024
4233432
Add a property `verb` to use the action in sentences
dhruvkb Jul 24, 2024
82fec56
Create a template for the bulk moderation confirmation page
dhruvkb Jul 24, 2024
fef4a67
Create a bulk moderation mixin and use in the media admin
dhruvkb Jul 24, 2024
edae8ad
Subclass `MediaSubreportAdmin` for sensitive and deleted media models
dhruvkb Jul 24, 2024
feb2ccd
Fix typo in permissions
dhruvkb Jul 24, 2024
2bba32f
Show timestamp and use it to order sensitive and deleted media
dhruvkb Jul 24, 2024
ad6618f
Show identifiers even for deleted media in decision through models
dhruvkb Jul 24, 2024
a9ec1af
Add support for notes during confirmation
dhruvkb Jul 24, 2024
54e7312
Only allow moderators with decision-making powers to perform bulk mod…
dhruvkb Jul 24, 2024
e10d661
Fix incorrect type of value for `search_fields`
dhruvkb Jul 24, 2024
fc32909
Fix broken logic in reverse mark sensitive
dhruvkb Jul 24, 2024
05bc7be
Handle a `QuerySet` lazy evaluation bug
dhruvkb Jul 24, 2024
fbfbb1d
Add a message explaining the effect of the `REVERSED_DEINDEX` operation
dhruvkb Jul 24, 2024
a34a7c5
Merge branch 'main' of https://github.com/WordPress/openverse into bu…
dhruvkb Jul 24, 2024
f8ba3e4
Sprinkle logging
dhruvkb Jul 24, 2024
45c294e
Make it possible to see sensitive media that has also been deindexed
dhruvkb Jul 24, 2024
f8c0023
Replace "count" with something more descriptive
dhruvkb Jul 26, 2024
ede4e38
Add tests for bulk ES actions
dhruvkb Jul 26, 2024
21396ad
Add factory for deleted-media models
dhruvkb Jul 27, 2024
83715d9
Update `UserFactory` to create moderators
dhruvkb Jul 27, 2024
1945a08
Add tests for the bulk moderation util
dhruvkb Jul 27, 2024
517cfe4
Fix incorrect patch
dhruvkb Jul 27, 2024
e592033
Mock ES to prevent deletions
dhruvkb Jul 27, 2024
45a4cbd
Implement review changes
dhruvkb Jul 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading