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

Side by Side Diff: appengine/findit/handlers/list_analyses.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reordering imports Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/findit/handlers/help_triage.py ('k') | appengine/findit/handlers/monitor_alerts.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import datetime 4 import datetime
5 5
6 from google.appengine.ext import ndb 6 from google.appengine.ext import ndb
7 7
8 from common import time_util 8 from common import time_util
9 from common.base_handler import BaseHandler 9 from common.base_handler import BaseHandler, Permission
10 from common.base_handler import Permission
11 from model.wf_analysis import WfAnalysis 10 from model.wf_analysis import WfAnalysis
12 from model import result_status 11 from model import result_status
13 12
14 13
15 _DEFAULT_DISPLAY_COUNT = 500 14 _DEFAULT_DISPLAY_COUNT = 500
16 15
17 16
18 class ListAnalyses(BaseHandler): 17 class ListAnalyses(BaseHandler):
19 PERMISSION_LEVEL = Permission.ANYONE 18 PERMISSION_LEVEL = Permission.ANYONE
20 19
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'analyses': analyses, 95 'analyses': analyses,
97 'triage': self.request.get('triage', '-1'), 96 'triage': self.request.get('triage', '-1'),
98 'days': self.request.get('days', '-1'), 97 'days': self.request.get('days', '-1'),
99 'count': self.request.get('count', '-1'), 98 'count': self.request.get('count', '-1'),
100 'result_status': self.request.get('result_status', '-1') 99 'result_status': self.request.get('result_status', '-1')
101 } 100 }
102 return {'template': 'list_analyses.html', 'data': data} 101 return {'template': 'list_analyses.html', 'data': data}
103 102
104 def HandlePost(self): # pragma: no cover 103 def HandlePost(self): # pragma: no cover
105 return self.HandleGet() 104 return self.HandleGet()
OLDNEW
« no previous file with comments | « appengine/findit/handlers/help_triage.py ('k') | appengine/findit/handlers/monitor_alerts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698