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

Issue 6337686776315904: Issue 394 - hit statistics tool data collection (Closed)

Created:
April 6, 2014, 3:16 p.m. by saroyanm
Modified:
Dec. 21, 2017, 10:47 a.m.
CC:
Sebastian Noack
Visibility:
Public.

Description

This code review is related to current ticket: https://issues.adblockplus.org/ticket/394

Patch Set 1 #

Patch Set 2 : subscriptions and thirdparty filter hit added to statistics #

Patch Set 3 : reset filterhits #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Total comments: 41

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Total comments: 33

Patch Set 9 : #

Total comments: 31

Patch Set 10 : Addressed Dave Comments and updated increaseFilterHits parameter #

Patch Set 11 : Use braces for consistency #

Patch Set 12 : Rebase to changeset: 4056 #

Patch Set 13 : Changed the submission URL #

Patch Set 14 : Rebase to changeset: 4095 #

Total comments: 14

Patch Set 15 : Addressed Wladimir comments (save data in the database instead of memory) #

Total comments: 50

Patch Set 16 : Addressed Wladimir comments (bunch of changes) #

Total comments: 48

Patch Set 17 : Rebase to changeset 4157 #

Patch Set 18 : Use Downloader to send the data to server #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -1 line) Patch
M chrome/content/ui/filters.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/content/ui/filters.xul View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/locale/en-US/filters.dtd View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M lib/contentPolicy.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -1 line 0 comments Download
A lib/filterHits.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +298 lines, -0 lines 1 comment Download
M lib/prefs.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30
saroyanm
Hi Wladimir, Actually I couldn't describe what exactly I don't understand, so I've decided to ...
April 6, 2014, 3:47 p.m. (2014-04-06 15:47:52 UTC) #1
saroyanm
I've updated the patch to also collect filter hit subscriptions and third party info.
April 9, 2014, 4:40 p.m. (2014-04-09 16:40:33 UTC) #2
saroyanm
Wladimir can you please have a look when you'll get time. I think we will ...
Oct. 14, 2014, 4:53 p.m. (2014-10-14 16:53:48 UTC) #3
kzar
Whilst working on the back end it occurred to us that we should consider timezones. ...
Feb. 13, 2015, 2:16 p.m. (2015-02-13 14:16:37 UTC) #4
saroyanm
On 2015/02/13 14:16:37, kzar wrote: > Whilst working on the back end it occurred to ...
Feb. 13, 2015, 2:41 p.m. (2015-02-13 14:41:37 UTC) #5
saroyanm
@Dave: I guess I was wrong regarding UTC, seems like we already using UTC, please ...
Feb. 17, 2015, 5:05 p.m. (2015-02-17 17:05:51 UTC) #6
Thomas Greiner
Looks nice overall. The comments are only about minor things. http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/chrome/locale/en-US/overlay.dtd File chrome/locale/en-US/overlay.dtd (right): http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/chrome/locale/en-US/overlay.dtd#newcode33 ...
Feb. 23, 2015, 6:43 p.m. (2015-02-23 18:43:04 UTC) #7
saroyanm
New patch uploaded. http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/chrome/locale/en-US/overlay.dtd File chrome/locale/en-US/overlay.dtd (right): http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/chrome/locale/en-US/overlay.dtd#newcode33 chrome/locale/en-US/overlay.dtd:33: <!ENTITY sendstats.label "Help us improve ABP ...
Feb. 28, 2015, 3:24 p.m. (2015-02-28 15:24:30 UTC) #8
Thomas Greiner
http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/lib/filterHits.js File lib/filterHits.js (right): http://codereview.adblockplus.org/6337686776315904/diff/5842605074022400/lib/filterHits.js#newcode33 lib/filterHits.js:33: _serviceURL: "", On 2015/02/28 15:24:30, saroyanm wrote: > On ...
March 6, 2015, 11:29 a.m. (2015-03-06 11:29:19 UTC) #9
saroyanm
Patch, updated. http://codereview.adblockplus.org/6337686776315904/diff/5675267779461120/lib/filterHits.js File lib/filterHits.js (right): http://codereview.adblockplus.org/6337686776315904/diff/5675267779461120/lib/filterHits.js#newcode87 lib/filterHits.js:87: subscriptionTitles.push(filter.subscriptions[i]._title) On 2015/03/06 11:29:19, Thomas Greiner wrote: ...
March 6, 2015, 4:54 p.m. (2015-03-06 16:54:04 UTC) #10
Thomas Greiner
LGTM
March 10, 2015, 2:24 p.m. (2015-03-10 14:24:10 UTC) #11
kzar
I just tested this out with a locally running filter hits server. Good news is ...
March 23, 2015, 1:11 p.m. (2015-03-23 13:11:05 UTC) #12
Thomas Greiner
http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/chrome/locale/en-US/overlay.dtd File chrome/locale/en-US/overlay.dtd (right): http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/chrome/locale/en-US/overlay.dtd#newcode33 chrome/locale/en-US/overlay.dtd:33: <!ENTITY sendstats.label "Help us improve Adblock Plus by sending ...
March 23, 2015, 4:17 p.m. (2015-03-23 16:17:48 UTC) #13
saroyanm
http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/chrome/locale/en-US/overlay.dtd File chrome/locale/en-US/overlay.dtd (right): http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/chrome/locale/en-US/overlay.dtd#newcode33 chrome/locale/en-US/overlay.dtd:33: <!ENTITY sendstats.label "Help us improve Adblock Plus by sending ...
March 24, 2015, 10:42 a.m. (2015-03-24 10:42:40 UTC) #14
kzar
http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/lib/filterHits.js File lib/filterHits.js (right): http://codereview.adblockplus.org/6337686776315904/diff/5704147139559424/lib/filterHits.js#newcode50 lib/filterHits.js:50: _pushInterval: MILLIS_IN_DAY * 7, On 2015/03/24 10:42:40, saroyanm wrote: ...
March 24, 2015, 10:51 a.m. (2015-03-24 10:51:14 UTC) #15
saroyanm
The patch is updated: The new patch contain updates to @Dave comments, as well the ...
April 7, 2015, 3:23 p.m. (2015-04-07 15:23:09 UTC) #16
kzar
As mentioned in IRC if rebasing please submit a separate patch set for that. Also ...
April 14, 2015, 4:33 p.m. (2015-04-14 16:33:30 UTC) #17
saroyanm
Patch Set 10 : Addressed Dave Comments and updated increaseFilterHits parameter http://codereview.adblockplus.org/6337686776315904/diff/5747350215589888/lib/filterHits.js File lib/filterHits.js (right): ...
April 16, 2015, 10:42 a.m. (2015-04-16 10:42:59 UTC) #18
kzar
http://codereview.adblockplus.org/6337686776315904/diff/5747350215589888/lib/filterHits.js File lib/filterHits.js (right): http://codereview.adblockplus.org/6337686776315904/diff/5747350215589888/lib/filterHits.js#newcode43 lib/filterHits.js:43: */ On 2015/04/16 10:42:59, saroyanm wrote: > On 2015/04/14 ...
April 16, 2015, 12:46 p.m. (2015-04-16 12:46:26 UTC) #19
saroyanm
Patch Set 11 : Use braces for consistency http://codereview.adblockplus.org/6337686776315904/diff/5747350215589888/lib/filterHits.js File lib/filterHits.js (right): http://codereview.adblockplus.org/6337686776315904/diff/5747350215589888/lib/filterHits.js#newcode43 lib/filterHits.js:43: */ ...
April 16, 2015, 2:08 p.m. (2015-04-16 14:08:45 UTC) #20
saroyanm
Rebased.
Nov. 24, 2015, 6:46 p.m. (2015-11-24 18:46:27 UTC) #21
saroyanm
Submission URL updated.
Nov. 25, 2015, 6:18 p.m. (2015-11-25 18:18:58 UTC) #22
saroyanm
Rebased to latest changeset
Dec. 15, 2015, 6:11 p.m. (2015-12-15 18:11:08 UTC) #23
Wladimir Palant
https://codereview.adblockplus.org/6337686776315904/diff/29332765/chrome/content/ui/filters-subscriptionview.js File chrome/content/ui/filters-subscriptionview.js (right): https://codereview.adblockplus.org/6337686776315904/diff/29332765/chrome/content/ui/filters-subscriptionview.js#newcode335 chrome/content/ui/filters-subscriptionview.js:335: FilterHits.resetFilterHits(); Two notes: 1) I think this code is ...
Feb. 15, 2016, 12:25 p.m. (2016-02-15 12:25:43 UTC) #24
saroyanm
@Wladimir can you please have a look into the changes ? I also created separate ...
Feb. 19, 2016, 5:38 p.m. (2016-02-19 17:38:14 UTC) #25
Wladimir Palant
https://codereview.adblockplus.org/6337686776315904/diff/29336726/chrome/content/ui/filters.js File chrome/content/ui/filters.js (right): https://codereview.adblockplus.org/6337686776315904/diff/29336726/chrome/content/ui/filters.js#newcode33 chrome/content/ui/filters.js:33: E("sendStats").getElementsByTagName("checkbox")[0].checked = Prefs.sendstats; Please don't access elements like that, ...
Feb. 29, 2016, 2:36 p.m. (2016-02-29 14:36:00 UTC) #26
saroyanm
Sorry Wladimir for the delay, hope this changes will make more sense, but still I ...
March 18, 2016, 6:23 p.m. (2016-03-18 18:23:34 UTC) #27
Wladimir Palant
https://codereview.adblockplus.org/6337686776315904/diff/29338658/chrome/content/ui/filters.js File chrome/content/ui/filters.js (right): https://codereview.adblockplus.org/6337686776315904/diff/29338658/chrome/content/ui/filters.js#newcode36 chrome/content/ui/filters.js:36: else if (name == "sendStats") The pref is called ...
March 22, 2016, 9:32 p.m. (2016-03-22 21:32:38 UTC) #28
saroyanm
Wladimir can you please have nother look, I think this time I understand what you ...
April 6, 2016, 3:15 p.m. (2016-04-06 15:15:47 UTC) #29
Wladimir Palant
Dec. 21, 2017, 10:47 a.m. (2017-12-21 10:47:14 UTC) #30
This review is no longer relevant, closing it.

Powered by Google App Engine
This is Rietveld