Make it possible for registry admins to hide comments
Bug #220535 reported by
Björn Tillenius
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
j.c.sackett |
Bug Description
The admins can hide bug comments using the API already. They should be able to do this through the UI as well, so that they don't have to run a script to do it.
Related branches
lp:~jcsackett/launchpad/spam-messages-visibility
- Gavin Panella (community): Approve
- Stuart Bishop (community): Approve (db)
- Robert Collins: Pending (db) requested
-
Diff: 809 lines (+274/-201)20 files modifieddatabase/sampledata/current-dev.sql (+101/-84)
database/sampledata/current.sql (+101/-84)
database/schema/comments.sql (+1/-1)
database/schema/patch-2208-51-0.sql (+18/-0)
lib/canonical/launchpad/database/message.py (+2/-0)
lib/canonical/launchpad/interfaces/message.py (+2/-0)
lib/canonical/launchpad/pagetests/webservice/xx-hide-comments.txt (+2/-2)
lib/canonical/launchpad/security.py (+10/-0)
lib/canonical/launchpad/zcml/message.zcml (+4/-3)
lib/lp/bugs/browser/bugcomment.py (+1/-1)
lib/lp/bugs/configure.zcml (+1/-1)
lib/lp/bugs/doc/bugmessage-visibility.txt (+9/-8)
lib/lp/bugs/interfaces/bug.py (+1/-1)
lib/lp/bugs/interfaces/bugmessage.py (+0/-2)
lib/lp/bugs/model/bug.py (+1/-1)
lib/lp/bugs/model/bugmessage.py (+0/-1)
lib/lp/bugs/security.py (+2/-7)
lib/lp/bugs/stories/bugs/xx-bug-hidden-comments.txt (+1/-1)
lib/lp/bugs/tests/test_bug_messages_webservice.py (+1/-1)
lib/lp/scripts/utilities/sanitizedb.py (+16/-3)
lp:~jcsackett/launchpad/spam-button-ui
- Gavin Panella (community): Approve
-
Diff: 498 lines (+337/-24)8 files modifiedlib/lp/answers/browser/question.py (+4/-0)
lib/lp/answers/browser/tests/test_questionmessages.py (+49/-20)
lib/lp/answers/javascript/question_spam.js (+73/-0)
lib/lp/answers/javascript/tests/test_question_spam.html (+80/-0)
lib/lp/answers/javascript/tests/test_question_spam.js (+93/-0)
lib/lp/answers/templates/question-index.pt (+11/-3)
lib/lp/answers/templates/questionmessage-display.pt (+17/-1)
lib/lp/testing/factory.py (+10/-0)
lp:~jcsackett/launchpad/spam-button-ui-bugs
- Curtis Hovey (community): Approve (code)
-
Diff: 703 lines (+414/-93)11 files modifiedlib/lp/answers/javascript/question_spam.js (+3/-3)
lib/lp/bugs/browser/bugcomment.py (+28/-8)
lib/lp/bugs/browser/bugtask.py (+10/-5)
lib/lp/bugs/browser/tests/test_bugcomment.py (+97/-2)
lib/lp/bugs/browser/tests/test_bugcomment_visibility.py (+0/-73)
lib/lp/bugs/javascript/bug_spam.js (+72/-0)
lib/lp/bugs/javascript/tests/test_bug_spam.html (+94/-0)
lib/lp/bugs/javascript/tests/test_bug_spam.js (+93/-0)
lib/lp/bugs/stories/bugs/xx-bug-activity.txt (+1/-0)
lib/lp/bugs/templates/bugcomment-box.pt (+10/-0)
lib/lp/bugs/templates/bugtask-index.pt (+6/-2)
description: | updated |
Changed in malone: | |
assignee: | nobody → Deryck Hodge (deryck) |
summary: |
- Make it possible for admins to hide bug comments + Add UI for admins to hide bug comments |
description: | updated |
summary: |
- Add UI for admins to hide bug comments + Make it possible for admins to hide bug comments |
Changed in malone: | |
assignee: | Deryck Hodge (deryck) → nobody |
importance: | High → Medium |
milestone: | 2.2.4 → none |
status: | In Progress → Triaged |
Changed in launchpad: | |
milestone: | 11.04 → 11.05 |
summary: |
- Make it possible for admins to hide bug comments + Make it possible for registry admins to hide bug comments |
Changed in launchpad: | |
assignee: | nobody → j.c.sackett (jcsackett) |
importance: | Medium → Critical |
summary: |
- Make it possible for registry admins to hide bug comments + Make it possible for registry admins to hide comments |
Changed in launchpad: | |
milestone: | 11.05 → 11.06 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See also bug 45419.