Closed Bug 972533 Opened 11 years ago Closed 11 years ago

Add admin page listing all deleted pages offering undelete options

Categories

(developer.mozilla.org Graveyard :: General, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Unassigned)

References

Details

(Whiteboard: [specification][type:feature][LOE:?])

What problems would this solve? =============================== Currently, to undelete a page, you have to know its URL and visit the page to get a "restore" option. We need to be able to undelete pages even if we don't remember the exact location. Who would use this? =================== Admins. What would users see? ===================== Admins would have an option in the django admin panel that would present a list of all deleted pages, offering the ability to view them, plus checkboxes to select which ones to undelete, plus a restore button that will restore all the selected pages. What would users do? What would happen as a result? =================================================== See above. Is there anything else we should know? ======================================
Blocks: 972547
Blocks: 796935
Severity: normal → enhancement
Whiteboard: [specification][type:feature] → [specification][type:feature][LOE:?]
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/0f5131631787265c344c5fcf63f6ca3d14f2191c Fix bug 972533: Enhancements to admin handling of deleted pages. This adds a new manager to Document, which does not perform any filtering based on deleted status, and uses that manager for the admin; this ensures the admin always shows all Documents currently in the database. Building on that, the admin filters now include one to show only deleted Documents. The admin actions for Document are also updated: * A new "purge" action is added, to bulk-purge deleted Documents. * A new "undelete" action is added, to bulk-undelete deleted Documents. * The built-in Django "delete" action is removed, since we want people using the standard deletion UI (and because the admin delete action bypasses the model delete() method, which is not what we want for deleting Documents). https://github.com/mozilla/kuma/commit/a6a7968a1202366f8ee26075d8c55cbb2cac80ce Merge pull request #2347 from ubernostrum/deleted-pages-972533 Fix bug 972533: Enhancements to admin handling of deleted pages.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.