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

Side by Side Diff: appengine/chromium_cq_status/main.py

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 years, 5 months 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/chromium_cq_status/js/stats_viewer.js ('k') | appengine/chromium_cq_status/makefile » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 4
5 import gae_ts_mon 5 import gae_ts_mon
6 import webapp2 6 import webapp2
7 7
8 from handlers.admin_dispatch import AdminDispatch 8 from handlers.admin_dispatch import AdminDispatch
9 from handlers.index import Index 9 from handlers.index import Index
10 from handlers.patch_status import PatchStatus, PatchStatusV2 10 from handlers.patch_status import PatchStatus, PatchStatusV2
11 from handlers.patch_summary import PatchSummary, PatchSummaryV2 11 from handlers.patch_summary import PatchSummary, PatchSummaryV2
12 from handlers.post import Post 12 from handlers.post import Post
13 from handlers.recent import Recent
13 from handlers.stats_viewer import StatsViewer 14 from handlers.stats_viewer import StatsViewer
14 from handlers.stats_data_points import StatsDataPoints 15 from handlers.stats_data_points import StatsDataPoints
15 16
16 handlers = [ 17 handlers = [
17 (r'/', Index), 18 (r'/', Index),
19 (r'/recent', Recent),
18 (r'/admin/(.*)', AdminDispatch), 20 (r'/admin/(.*)', AdminDispatch),
19 (r'/patchset/(.*)/(.*)', PatchStatus), # Legacy URL for old links. 21 (r'/patchset/(.*)/(.*)', PatchStatus), # Legacy URL for old links.
20 (r'/patch-status/(.*)/(.*)', PatchStatus), 22 (r'/patch-status/(.*)/(.*)', PatchStatus),
21 (r'/patch-summary/(.*)/(.*)', PatchSummary), 23 (r'/patch-summary/(.*)/(.*)', PatchSummary),
22 (r'/v2/patch-status/(.*)/(.*)/(.*)', PatchStatusV2), 24 (r'/v2/patch-status/(.*)/(.*)/(.*)', PatchStatusV2),
23 (r'/v2/patch-summary/(.*)/(.*)/(.*)', PatchSummaryV2), 25 (r'/v2/patch-summary/(.*)/(.*)/(.*)', PatchSummaryV2),
24 (r'/post', Post), 26 (r'/post', Post),
25 (r'/stats/(highest|lowest)/(.*)/(.*)', StatsDataPoints), 27 (r'/stats/(highest|lowest)/(.*)/(.*)', StatsDataPoints),
26 (r'/stats/(.*)/(.*)', StatsViewer), 28 (r'/stats/(.*)/(.*)', StatsViewer),
27 ] 29 ]
28 30
29 app = webapp2.WSGIApplication(handlers, debug=True) 31 app = webapp2.WSGIApplication(handlers, debug=True)
30 gae_ts_mon.initialize(app) 32 gae_ts_mon.initialize(app)
OLDNEW
« no previous file with comments | « appengine/chromium_cq_status/js/stats_viewer.js ('k') | appengine/chromium_cq_status/makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698