Ability to update attachments
Review Request #5824 — Created May 24, 2014 and discarded
This review allows users to update attachments with new version. See https://reviewboard.hackpad.com/Reviewing-attachments-tbfh4oiwTHB for description or https://www.youtube.com/watch?v=anX_rQKWSp0 for a quick demo.
Review includes: * Change to a schema to track sequences of file attachments * Modified attachment creation code to correctly assign the new parameters * Modified display logic to only show the latest element of each attachment sequence * Modified attachment review pages to include the slider
This review is aimed at project branch (see testing section for the problems description)
Performed various scenarios of adding/updating/reviewing attachments.
Current problems: * There is no beautiful UI * We are reloading the page each time slider is changed - API should be extended to load the necessary data dynamically.
Description | From | Last Updated |
---|---|---|
As per last week's meeting, we need to stick to existing terminolgoy as best as possible, instead of inventing new … |
chipx86 | |
'Max' imported but unused |
reviewbot | |
Col: 72 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 61 E211 whitespace before '[' |
reviewbot | |
list comprehension redefines 'file_attachment' from line 574 |
reviewbot | |
Col: 17 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 61 E211 whitespace before '[' |
reviewbot | |
list comprehension redefines 'file_attachment' from line 574 |
reviewbot | |
Col: 17 E122 continuation line missing indentation or outdented |
reviewbot | |
Col: 61 E211 whitespace before '[' |
reviewbot | |
'FileAttachmentHistory' imported but unused |
reviewbot | |
list comprehension redefines 'file_attachment' from line 576 |
reviewbot | |
Instead of using FileAttachment.objects.filter(attachment_history=attachment_history), you can follow the reverse field (note that this particular code needs the related_name change I … |
david | |
Why not just use the FileAttachmentHistory's id field as the display position? It's already a unique integer which is auto-incremented … |
david | |
Col: 17 E122 continuation line missing indentation or outdented |
reviewbot | |
We use trailing commas for lists and dicts in python. |
david | |
Care to add related_name='file_attachments' here? |
david | |
If you set default=0, you don't have to set it when creating attachments that don't use an existing FileAttachmentHistory |
david | |
This can follow the backwards relationship too: return self.file_attachments.count() - 1 Why don't you consider the first uploaded file to … |
david | |
I think it's worth creating a method on FileAttachmentHistory to return the latest revision. |
david | |
Col: 61 E211 whitespace before '[' |
reviewbot | |
Can you add a docstring? |
david | |
These can be combined and made more efficient using sorted: return sorted(self.get_latest_file_attachments(), key=get_display_position) |
david | |
'FileAttachmentHistory' imported but unused |
reviewbot | |
Care to just put this in the dict definition for context_data? It's not worth defining a variable unless we use … |
david | |
list comprehension redefines 'file_attachment' from line 576 |
reviewbot | |
Same here. |
david | |
This can use the backwards relationship. |
david | |
Should have a trailing comma. |
david | |
I think it might be nice to pull out the upload file view into a separate change. You already have … |
david | |
It looks like 'e' isn't used in here, which will make jshint unhappy. Can you just remove it from the … |
david | |
These can be simplified: this.$el.html('<div id="revision_selector" />'); |
david | |
Can you make this use /* */, since it's a multi-line comment? |
david | |
Alignment is funky here. |
david | |
This also needs to take into account the local site name and SITE_ROOT. |
david | |
Leftover debug output? |
david | |
If you put the review request into a variable in the containing method, you could just use it here without … |
david | |
We generally put the space at the end of the first line instead of the beginning of the second. |
david | |
This can use the reverse relation. |
david | |
Col: 56 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 58 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 63 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 59 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 60 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 56 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 58 E251 unexpected spaces around keyword / parameter equals |
reviewbot | |
Col: 63 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 18 E261 at least two spaces before inline comment |
reviewbot | |
Col: 59 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 13 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 60 E502 the backslash is redundant between brackets |
reviewbot | |
Col: 17 E131 continuation line unaligned for hanging indent |
reviewbot | |
Can this fit on one line? |
PE PeterTran | |
Col: 36 E131 continuation line unaligned for hanging indent |
reviewbot | |
Col: 40 E131 continuation line unaligned for hanging indent |
reviewbot | |
Is this a tab instead of white space? |
PE PeterTran | |
Can this be hyphen-separated for consistency with your classes? |
PE PeterTran | |
Col: 80 E501 line too long (86 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (133 > 79 characters) |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 13 E128 continuation line under-indented for visual indent |
reviewbot |
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/attachments/models.py reviewboard/attachments/forms.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html
- Change Summary:
-
Passing and handling of sequence data; uses the WIP version of the file upload backbone view
- Depends On:
-
- Diff:
Revision 2 (+59 -3)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/templates/reviews/review_request_dlgs.html
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/templates/reviews/review_request_dlgs.html
-
-
As per last week's meeting, we need to stick to existing terminolgoy as best as possible, instead of inventing new terminology.
I strongly believe the right model is:
- A
attachment_revision
field for the revision of the file attachment. - Some way of grouping related attachments (a SHA1 or some other unique identifier, rather than an integer, would be needed, or some other table, but a SHA1 is probably fine -- you'll need to make sure this is indexed in the
Meta
class forFileAttachment
.) - A custom "through" table for the M2M field between ReviewRequest and FileAttachment that specifies the visible position the file attachment is shown at in the list of thumbnails (since right now, it's based on timestamp or ID or something, and we don't want things to shift around).
- A
- Change Summary:
-
Addressed feedback partially.
- Diff:
-
Revision 3 (+71 -9)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/templates/reviews/review_request_dlgs.html
-
-
-
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/templates/reviews/review_request_dlgs.html
-
- Change Summary:
-
Now we only display the latest versions of the file; they are ordered vy FileAttachmentHistory id. Using updated view from https://reviews.reviewboard.org/r/5911/
- Diff:
-
Revision 4 (+116 -16)
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/reviews/models/base_review_request_details.py reviewboard/attachments/models.py reviewboard/attachments/forms.py reviewboard/webapi/resources/base_file_attachment.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/templates/reviews/review_request_box.html
-
-
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/reviews/views.py reviewboard/reviews/models/base_review_request_details.py reviewboard/attachments/models.py reviewboard/attachments/forms.py reviewboard/webapi/resources/base_file_attachment.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/templates/reviews/review_request_box.html
-
- Diff:
-
Revision 5 (+134 -18)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/templates/reviews/review_request_box.html Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/templates/reviews/review_request_box.html
-
-
-
- Change Summary:
-
Now this diff includes a slider that allows you to select revision of the file attachment.
- Testing Done:
-
~ -
~ Performed various scenarios of adding/updating attachments.
+ + Current problems:
+ * Comments are not displayed for a revision chosen with a slider - Diff:
-
Revision 6 (+451 -20)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/urls.py reviewboard/attachments/forms.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/diffviewer/views/attachmentRevisionSelectorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/static/rb/js/pages/views/diffViewerPageView.js Tool: Pyflakes Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/urls.py reviewboard/attachments/forms.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/diffviewer/views/attachmentRevisionSelectorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/static/rb/js/pages/views/reviewablePageView.js reviewboard/static/rb/js/pages/views/diffViewerPageView.js
-
-
-
-
- Diff:
-
Revision 7 (+511 -131)
-
Tool: Pyflakes Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/urls.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/diffviewer/views/commonRevisionSelectorView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/diffviewer/views/diffRevisionSelectorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/diffviewer/views/attachmentRevisionSelectorView.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/static/rb/js/pages/views/reviewablePageView.js Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/urls.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/diffviewer/views/commonRevisionSelectorView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/diffviewer/views/diffRevisionSelectorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/diffviewer/views/attachmentRevisionSelectorView.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_dlgs.html reviewboard/static/rb/js/pages/views/reviewablePageView.js
-
-
-
-
-
-
Instead of using
FileAttachment.objects.filter(attachment_history=attachment_history)
, you can follow the reverse field (note that this particular code needs therelated_name
change I asked for elsewhere):attachment_revision = ( attachment_history.file_attachments .aggregate(Max('attachment_revision')) .get('attachment_revision__max') + 1)
-
Why not just use the FileAttachmentHistory's id field as the display position? It's already a unique integer which is auto-incremented any time a FileAttachmentHistory is created.
-
-
-
If you set default=0, you don't have to set it when creating attachments that don't use an existing
FileAttachmentHistory
-
This can follow the backwards relationship too:
return self.file_attachments.count() - 1
Why don't you consider the first uploaded file to be a revision? That doesn't make sense to me. It's not like with diffs where the 'orig' version is upstream.
-
-
-
These can be combined and made more efficient using
sorted
:return sorted(self.get_latest_file_attachments(), key=get_display_position)
-
Care to just put this in the dict definition for
context_data
? It's not worth defining a variable unless we use it more than once. -
-
-
-
I think it might be nice to pull out the upload file view into a separate change. You already have the view itself in a separate review request. That way we could move over to the view and get that code pushed before all the rest of this is finished.
-
It looks like
'e'
isn't used in here, which will make jshint unhappy. Can you just remove it from the argument list? -
-
-
-
-
-
If you put the review request into a variable in the containing method, you could just use it here without fetching it again.
-
-
- Diff:
-
Revision 8 (+183 -6)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/attachments/forms.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/templates/reviews/review_request_box.html reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/static/rb/js/views/reviewRequestEditorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/pages/views/reviewablePageView.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/static/rb/js/views/reviewRequestEditorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/pages/views/reviewablePageView.js
-
-
- Change Summary:
-
Updated description
- Summary:
-
[WIP] Ability to update attachmentsAbility to update attachments
- Description:
-
~ This is the WIP review for attachments updating. See https://reviewboard.hackpad.com/Reviewing-attachments-tbfh4oiwTHB
~ This review allows users to update attachments with new version. See https://reviewboard.hackpad.com/Reviewing-attachments-tbfh4oiwTHB for description or https://www.youtube.com/watch?v=anX_rQKWSp0 for a quick demo.
~ Right now this is just playing around. My plan is to get the basic working version done with terrible UI, and then keep improving things.
~ Review includes:
+ * Change to a schema to track sequences of file attachments + * Modified attachment creation code to correctly assign the new parameters + * Modified display logic to only show the latest element of each attachment sequence + * Modified attachment review pages to include the slider ~ Desicions made:
~ This review is aimed at project branch (see testing section for the problems description)
- - Right now review has ManyToMany relationship with FileAttachment table. To achive my goals, I could have added a new DB table called FileAttachemntSequence, which would have ManyToMany relationship with FileAttachment, and reviews table would have ManyToMany relationship with it. This will require changing every place where fileAttachments are retrieved, so I decided not do it. Instead, I will add sequence_id and position_in_sequnce to the FileAttachment table. Fresh versions of the same file will have the same sequence_id, but higher position_in_sequnce. Only files with the highest position_in_sequnce among their sequence_id's will be displayed in thumbnails. - - Ideally, we would have to write a new view for file upload. I need to pass sequence_id in the POST request (so that I can tell which file user wants to update, or whether it's a new file). - Testing Done:
-
~ Performed various scenarios of adding/updating attachments.
~ Performed various scenarios of adding/updating/reviewing attachments.
Current problems:
~ * Comments are not displayed for a revision chosen with a slider ~ * There is no beautiful UI + * We are reloading the page each time slider is changed - API should be extended to load the necessary data dynamically.
- Change Summary:
-
Updated dependencies.
- Depends On:
- Change Summary:
-
Added database evolution, tested it. Pulled new code. Made sure that stuff still works.
- Diff:
-
Revision 12 (+268 -8)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/static/rb/js/views/reviewRequestEditorView.js reviewboard/templates/reviews/parts/file_attachment_thumbnail.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/pages/views/reviewablePageView.js Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/attachments/evolutions/__init__.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/evolutions/file_attachment_revision.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js
-
-
- Change Summary:
-
Fixed long lines in evolution file.
- Diff:
-
Revision 13 (+270 -8)
- Change Summary:
-
Removed incorrect comment.
- Diff:
-
Revision 14 (+268 -8)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/attachments/evolutions/__init__.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/evolutions/file_attachment_revision.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js
-
-
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/views.py reviewboard/webapi/resources/base_file_attachment.py reviewboard/attachments/models.py reviewboard/reviews/ui/generic.py reviewboard/attachments/evolutions/__init__.py reviewboard/reviews/ui/__init__.py reviewboard/attachments/evolutions/file_attachment_revision.py reviewboard/attachments/forms.py reviewboard/staticbundles.py reviewboard/reviews/models/base_review_request_details.py reviewboard/reviews/ui/base.py Ignored Files: reviewboard/static/rb/js/views/fileAttachmentThumbnailView.js reviewboard/static/rb/js/views/fileAttachmentReviewableView.js reviewboard/templates/reviews/ui/text.html reviewboard/templates/reviews/review_request_box.html reviewboard/static/rb/js/views/textBasedReviewableView.js reviewboard/static/rb/js/views/genericReviewableView.js reviewboard/static/rb/js/models/fileAttachmentReviewableModel.js reviewboard/static/rb/js/views/imageReviewableView.js
-
-