Closed
Bug 770397
Opened 13 years ago
Closed 13 years ago
Show file attachments
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: openjck, Assigned: davidwalsh)
References
Details
(Whiteboard: u=user c=wiki p= t=2012-07-09)
We have several bugs related to file attachments (see bug 766741 and its dependencies), but nothing that explicitly mentions showing existing file attachments.
Is this already done? I would test myself but -new is veeeery slow right now.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → dwalsh
Updated•13 years ago
|
Whiteboard: u=user c=wiki s=2012-07-18 p=
Reporter | ||
Updated•13 years ago
|
Whiteboard: u=user c=wiki s=2012-07-18 p= → u=user c=wiki p=
Assignee | ||
Comment 2•13 years ago
|
||
More recent PR here: https://github.com/mozilla/kuma/pull/353
Comment 3•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/7ab4ef2ef44d317a76e5406aa0af99e04f2a6273
Adjust the 'attachments' property of Documents to find all files.
This uses pretty simple logic to scan a Document's HTML for both
MindTouch and kuma file URL patterns, and then uses Q objects to build
a correct query to return the corresponding Attachment objects. If no
file URLs are found in the Document, it'll return an empty Attachment
queryset.
fix bug 770397 - Displaying attachments table under document and tags
fix bug 770563 - Show tags and file attachments regardless of TOC
Bugfix: actually wrap the file queries in Q objects.
Changing file URL method
Removing unnecessary filesize() method from AttachmentRevisions model
Fixing merge conflict
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•13 years ago
|
Whiteboard: u=user c=wiki p= → u=user c=wiki p= t=2012-07-09
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Website → Landing pages
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•