Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: sitescripts/stats/common.py

Issue 4635035198029824: Issue 1390 - Record referrer for download stats (Closed)
Patch Set: Removed Unicode hack Created Sept. 22, 2014, 10:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sitescripts/stats/bin/logprocessor.py ('k') | sitescripts/stats/test/logprocessor.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 # coding: utf-8 1 # coding: utf-8
2 2
3 # This file is part of the Adblock Plus web scripts, 3 # This file is part of the Adblock Plus web scripts,
4 # Copyright (C) 2006-2014 Eyeo GmbH 4 # Copyright (C) 2006-2014 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "name": "ua", 73 "name": "ua",
74 "title": "Browsers", 74 "title": "Browsers",
75 "coltitle": "Browser", 75 "coltitle": "Browser",
76 }, 76 },
77 { 77 {
78 "name": "fullua", 78 "name": "fullua",
79 "title": "Browser versions", 79 "title": "Browser versions",
80 "coltitle": "Browser version", 80 "coltitle": "Browser version",
81 }, 81 },
82 { 82 {
83 "name": "referrer",
84 "title": "Referrers",
85 "coltitle": "Referrer",
86 },
87 {
83 "name": "mirror", 88 "name": "mirror",
84 "title": "Download mirrors", 89 "title": "Download mirrors",
85 "coltitle": "Download mirror", 90 "coltitle": "Download mirror",
86 }, 91 },
87 ] 92 ]
88 93
89 downloader_fields = [ 94 downloader_fields = [
90 { 95 {
91 "name": "addonName", 96 "name": "addonName",
92 "title": "Extensions", 97 "title": "Extensions",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 install_fields = [ 156 install_fields = [
152 { 157 {
153 "name": "installType", 158 "name": "installType",
154 "title": "Install types", 159 "title": "Install types",
155 "coltitle": "Install type", 160 "coltitle": "Install type",
156 }, 161 },
157 ] 162 ]
158 163
159 164
160 fields = basic_fields + downloader_fields + install_fields 165 fields = basic_fields + downloader_fields + install_fields
OLDNEW
« no previous file with comments | « sitescripts/stats/bin/logprocessor.py ('k') | sitescripts/stats/test/logprocessor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld