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

Issue 29467595: Issue 5325 - Add support for separator characters (Closed)

Created:
June 16, 2017, 5:25 p.m. by Manish Jethani
Modified:
July 13, 2017, 9:56 a.m.
Reviewers:
kzar
CC:
Sebastian Noack
Base URL:
https://hg.adblockplus.org/abp2blocklist
Visibility:
Public.

Description

Issue 5325 - Add support for separator characters

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add special handling for separator at beginning #

Total comments: 13

Patch Set 3 : Wrap long lines #

Patch Set 4 : Add comment about using only lower case for hostname #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -32 lines) Patch
M lib/abp2blocklist.js View 1 2 3 4 1 chunk +20 lines, -2 lines 0 comments Download
M test/abp2blocklist.js View 1 2 3 4 2 chunks +72 lines, -30 lines 0 comments Download

Messages

Total messages: 12
Manish Jethani
June 16, 2017, 5:25 p.m. (2017-06-16 17:25:57 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29467595/diff/29467596/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29467596/lib/abp2blocklist.js#newcode154 lib/abp2blocklist.js:154: regexp.push("([^.%A-Za-z0-9_].*)?$"); Can you put the duplicated part of the ...
June 16, 2017, 9:13 p.m. (2017-06-16 21:13:18 UTC) #2
Manish Jethani
Patch Set 2: Add special handling for separator at beginning https://codereview.adblockplus.org/29467595/diff/29467596/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29467596/lib/abp2blocklist.js#newcode154 ...
June 19, 2017, 10:39 a.m. (2017-06-19 10:39:54 UTC) #3
kzar
(Moving Sebastian to Cc.) https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js#newcode151 lib/abp2blocklist.js:151: let separator = "[^-_.%" + ...
July 7, 2017, 12:46 p.m. (2017-07-07 12:46:19 UTC) #4
Manish Jethani
https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js#newcode151 lib/abp2blocklist.js:151: let separator = "[^-_.%" + (justHostname ? "" : ...
July 8, 2017, 6:29 a.m. (2017-07-08 06:29:10 UTC) #5
Manish Jethani
https://codereview.adblockplus.org/29467595/diff/29468560/test/abp2blocklist.js File test/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/test/abp2blocklist.js#newcode178 test/abp2blocklist.js:178: {trigger: {"url-filter": "^https?://([^/]+\\.)?example\\.com/path([^-_.%A-Za-z0-9].*)?$", On 2017/07/07 12:46:18, kzar wrote: > ...
July 8, 2017, 6:33 a.m. (2017-07-08 06:33:57 UTC) #6
Manish Jethani
Patch Set 3: Wrap long lines https://codereview.adblockplus.org/29467595/diff/29468560/test/abp2blocklist.js File test/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/test/abp2blocklist.js#newcode178 test/abp2blocklist.js:178: {trigger: {"url-filter": "^https?://([^/]+\\.)?example\\.com/path([^-_.%A-Za-z0-9].*)?$", ...
July 9, 2017, 10:50 a.m. (2017-07-09 10:50:53 UTC) #7
kzar
Otherwise LGTM https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js#newcode151 lib/abp2blocklist.js:151: let separator = "[^-_.%" + (justHostname ? ...
July 10, 2017, 12:39 p.m. (2017-07-10 12:39:56 UTC) #8
Manish Jethani
Patch Set 4: Add comment about using only lower case for hostname https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js File lib/abp2blocklist.js ...
July 11, 2017, 5:10 p.m. (2017-07-11 17:10:33 UTC) #9
kzar
LGTM, go ahead and push when you're ready. https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js File lib/abp2blocklist.js (right): https://codereview.adblockplus.org/29467595/diff/29468560/lib/abp2blocklist.js#newcode151 lib/abp2blocklist.js:151: let ...
July 12, 2017, 9:16 a.m. (2017-07-12 09:16:31 UTC) #10
Manish Jethani
Patch Set 5: Rebase There were some conflicts in the test file, resolved.
July 12, 2017, 12:48 p.m. (2017-07-12 12:48:22 UTC) #11
kzar
July 12, 2017, 3:46 p.m. (2017-07-12 15:46:45 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld