Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Issue 1866753008: Add ability to linkify hashes on isolate server (Closed)

Created:
4 years, 8 months ago by kjlubick
Modified:
4 years, 8 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add ability to linkify hashes and display images on isolate server. Links are clickable and added to the JSON: https://screenshot.googleplex.com/hqNZU3XHQBQ Images are displayed (for common, browser handled images like png, jpg, gif, bmp): https://screenshot.googleplex.com/y0o5hgjQN9C Text (e.g. scripts) is also displayed: https://screenshot.googleplex.com/5D62SBO9QNA BUG= Committed: https://github.com/luci/luci-py/commit/c768b0b456add9ee056f2da69fe7dc17f5091ae4

Patch Set 1 #

Patch Set 2 : Also add content sniffing #

Total comments: 11

Patch Set 3 : Address feedback #

Total comments: 19

Patch Set 4 : Address feedback round 2 #

Total comments: 12

Patch Set 5 : Minor cleanups #

Total comments: 4

Patch Set 6 : Add comment #

Total comments: 1

Patch Set 7 : Fix content Noneness #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -122 lines) Patch
M appengine/isolate/handlers_frontend.py View 1 2 3 4 5 6 3 chunks +58 lines, -24 lines 0 comments Download
M appengine/isolate/model.py View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
M appengine/isolate/templates/browse.html View 1 2 3 4 3 chunks +5 lines, -98 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
kjlubick
4 years, 8 months ago (2016-04-07 19:06:06 UTC) #2
kjlubick
PTAL
4 years, 8 months ago (2016-04-13 19:35:29 UTC) #4
M-A Ruel
looks good! few tweaks https://codereview.chromium.org/1866753008/diff/20001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/20001/appengine/isolate/handlers_frontend.py#newcode158 appengine/isolate/handlers_frontend.py:158: # TODO(maruel): Add back once ...
4 years, 8 months ago (2016-04-13 20:32:09 UTC) #5
kjlubick
https://codereview.chromium.org/1866753008/diff/20001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/20001/appengine/isolate/handlers_frontend.py#newcode158 appengine/isolate/handlers_frontend.py:158: # TODO(maruel): Add back once Web UI authentication is ...
4 years, 8 months ago (2016-04-14 13:18:43 UTC) #6
M-A Ruel
https://codereview.chromium.org/1866753008/diff/40001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/40001/appengine/isolate/handlers_frontend.py#newcode167 appengine/isolate/handlers_frontend.py:167: self.abort(404, 'Unable to retrieve the entry') alignment https://codereview.chromium.org/1866753008/diff/40001/appengine/isolate/handlers_frontend.py#newcode178 appengine/isolate/handlers_frontend.py:178: ...
4 years, 8 months ago (2016-04-14 14:05:06 UTC) #7
kjlubick
https://codereview.chromium.org/1866753008/diff/40001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/40001/appengine/isolate/handlers_frontend.py#newcode167 appengine/isolate/handlers_frontend.py:167: self.abort(404, 'Unable to retrieve the entry') On 2016/04/14 at ...
4 years, 8 months ago (2016-04-14 14:57:38 UTC) #8
M-A Ruel
https://codereview.chromium.org/1866753008/diff/60001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/60001/appengine/isolate/handlers_frontend.py#newcode158 appengine/isolate/handlers_frontend.py:158: u'onload': '', not needed, remove https://codereview.chromium.org/1866753008/diff/60001/appengine/isolate/handlers_frontend.py#newcode217 appengine/isolate/handlers_frontend.py:217: r'<a target="_blank" ...
4 years, 8 months ago (2016-04-14 19:22:36 UTC) #9
kjlubick
https://codereview.chromium.org/1866753008/diff/60001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/60001/appengine/isolate/handlers_frontend.py#newcode158 appengine/isolate/handlers_frontend.py:158: u'onload': '', On 2016/04/14 at 19:22:36, M-A Ruel wrote: ...
4 years, 8 months ago (2016-04-14 19:59:08 UTC) #10
M-A Ruel
lgtm with 2 issues. https://codereview.chromium.org/1866753008/diff/80001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/80001/appengine/isolate/handlers_frontend.py#newcode177 appengine/isolate/handlers_frontend.py:177: raw_data = None It is ...
4 years, 8 months ago (2016-04-14 20:02:40 UTC) #11
kjlubick
https://codereview.chromium.org/1866753008/diff/80001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/80001/appengine/isolate/handlers_frontend.py#newcode177 appengine/isolate/handlers_frontend.py:177: raw_data = None On 2016/04/14 at 20:02:40, M-A Ruel ...
4 years, 8 months ago (2016-04-14 20:46:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866753008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866753008/100001
4 years, 8 months ago (2016-04-15 19:53:17 UTC) #15
M-A Ruel
https://codereview.chromium.org/1866753008/diff/100001/appengine/isolate/handlers_frontend.py File appengine/isolate/handlers_frontend.py (right): https://codereview.chromium.org/1866753008/diff/100001/appengine/isolate/handlers_frontend.py#newcode177 appengine/isolate/handlers_frontend.py:177: raw_data = None You confused this, it's only content ...
4 years, 8 months ago (2016-04-15 19:54:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866753008/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866753008/120001
4 years, 8 months ago (2016-04-15 20:01:37 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 20:03:27 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-py/commit/c768b0b456add9ee056f2da69fe7dc17f5091ae4

Powered by Google App Engine
This is Rietveld 408576698