#11625 closed (fixed)
Comment moderation through admin actions
Reported by: | Waylan Limberg | Owned by: | Waylan Limberg |
---|---|---|---|
Component: | contrib.comments | Version: | dev |
Severity: | Keywords: | comments admin actions | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
While the (currently undocumented) moderation views of the contrib.comments app are nice, it would be even nicer if the same features were available as admin actions. At least the two actions: Remove selects comments and Approve selected comments should be available. As apposed to the 'delete' action (which actually deletes comments form the db), the 'remove' action would set 'comment.is_removed = True
' just as the remove view currently does.
Attachments (5)
Change History (12)
Changed 14 years ago by
Attachment: | comment_mod_actions.diff added |
---|
comment:1 Changed 14 years ago by
There seems to be a file missing from this, don't forget to SVN add (or whatever VCS) the new tests file.
comment:2 Changed 14 years ago by
Thanks Alex. I noticed the missing filed right after I submitted. Anyway, I've uploaded an updated patch.
I should note that the tests don't actually pass because the TestClient returns a NotFound response. Not sure if I have the urls wrong, or if there is some trick I'm missing to turn on the admin app with the existing comment tests.
comment:3 Changed 14 years ago by
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 Changed 14 years ago by
milestone: | → 1.2 |
---|---|
Owner: | changed from nobody to anonymous |
Status: | new → assigned |
Version: | 1.1-beta-1 → SVN |
comment:5 Changed 14 years ago by
Owner: | changed from anonymous to Waylan Limberg |
---|---|
Status: | assigned → new |
Whoops that was me.
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
initial patch with tests