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

Issue 29543774: Issue 2801 - Create 'Whitelisted websites' screen and add link to 'Ad blocking' screen (Closed)

Created:
Sept. 13, 2017, 5:01 p.m. by diegocarloslima
Modified:
Jan. 4, 2018, 10:23 p.m.
Reviewers:
anton, Thomas Greiner, jens
CC:
René Jeschke
Visibility:
Public.

Description

Issue 2801 - Create 'Whitelisted websites' screen and add link to 'Ad blocking' screen

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adjustments accordingly to Thomas's comments. Also, adjusting strings for multilocale build #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+3491 lines, -486 lines) Patch
M adblockplus/Api.jsm View 1 3 chunks +35 lines, -23 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 2 comments Download
M mobile/android/base/locales/adblockbrowser/be/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/bg/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/bn-BD/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ca/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/cs/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/cy/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/da/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/de/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/el/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/en-GB/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/en-US/android_strings.dtd View 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/eo/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/es-AR/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/es-ES/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/es-MX/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/eu/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/fa/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/fi/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/fr/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/he/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/hi-IN/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/hr/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/hu/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/id/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/it/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ja/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ka/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/kk/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ko/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/lt/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/lv/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ml/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ms/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/nb-NO/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/nl/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/pl/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/pt-BR/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/pt-PT/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ro/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ru/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/sk/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/sl/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/sr/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/sv-SE/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/sw-TZ/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/ta-LK/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/th/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/tr/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/uk/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/vi/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/zh-CN/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/locales/adblockbrowser/zh-TW/android_strings.dtd View 1 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/base/moz.build View 1 chunk +5 lines, -2 lines 0 comments Download
R mobile/android/base/resources/layout/abb_url_input_dialog.xml View 1 chunk +0 lines, -33 lines 0 comments Download
A mobile/android/base/resources/layout/abb_whitelisted_website_delete_widget.xml View 1 chunk +28 lines, -0 lines 0 comments Download
M mobile/android/base/resources/values/abb_colors.xml View 1 chunk +0 lines, -3 lines 0 comments Download
M mobile/android/base/resources/xml/preferences_abb_abp.xml View 1 chunk +8 lines, -5 lines 0 comments Download
M mobile/android/base/resources/xml/preferences_abb_more_blocking.xml View 1 chunk +0 lines, -4 lines 0 comments Download
A mobile/android/base/resources/xml/preferences_abb_whitelisted_websites.xml View 1 chunk +24 lines, -0 lines 0 comments Download
M mobile/android/base/strings.xml.in View 2 chunks +10 lines, -2 lines 0 comments Download
M mobile/android/thirdparty/org/adblockplus/browser/AddOnBridge.java View 1 chunk +19 lines, -10 lines 0 comments Download
M mobile/android/thirdparty/org/adblockplus/browser/BrowserAppUtils.java View 2 chunks +25 lines, -42 lines 0 comments Download
M mobile/android/thirdparty/org/adblockplus/browser/InputValidatorDialogPreference.java View 1 chunk +162 lines, -31 lines 0 comments Download
M mobile/android/thirdparty/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java View 7 chunks +18 lines, -30 lines 0 comments Download
R mobile/android/thirdparty/org/adblockplus/browser/UrlInputDialog.java View 1 chunk +0 lines, -195 lines 0 comments Download
A mobile/android/thirdparty/org/adblockplus/browser/UrlUtils.java View 1 1 chunk +86 lines, -0 lines 2 comments Download
A mobile/android/thirdparty/org/adblockplus/browser/WhitelistedWebsitesPreferenceGroup.java View 1 chunk +246 lines, -0 lines 0 comments Download
A mobile/android/thirdparty/org/apache/commons/validator/routines/DomainValidator.java View 1 chunk +2065 lines, -0 lines 0 comments Download
A mobile/android/thirdparty/org/apache/commons/validator/routines/RegexValidator.java View 1 chunk +230 lines, -0 lines 0 comments Download

Messages

Total messages: 7
diegocarloslima
Sept. 13, 2017, 5:04 p.m. (2017-09-13 17:04:14 UTC) #1
Thomas Greiner
I was asked to provide feedback regarding the extension interface so I added some comments. ...
Sept. 15, 2017, 3:08 p.m. (2017-09-15 15:08:06 UTC) #2
jens
On 2017/09/13 17:04:14, diegocarloslima wrote: Except Thomas remarks, LGTM
Sept. 15, 2017, 3:23 p.m. (2017-09-15 15:23:36 UTC) #3
diegocarloslima
https://codereview.adblockplus.org/29543774/diff/29543775/adblockplus/Api.jsm File adblockplus/Api.jsm (left): https://codereview.adblockplus.org/29543774/diff/29543775/adblockplus/Api.jsm#oldcode104 adblockplus/Api.jsm:104: let uriObject = Services.io.newURI(url, null, null); On 2017/09/15 15:08:06, ...
Sept. 18, 2017, 2:16 p.m. (2017-09-18 14:16:37 UTC) #4
anton
LGTM, taking into account 2 minor notes https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd File mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd (right): https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd#newcode42 mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd:42: <!ENTITY abb_whitelisted_websites_loading ...
Sept. 26, 2017, 6:24 a.m. (2017-09-26 06:24:08 UTC) #5
Thomas Greiner
LGTM
Sept. 26, 2017, 11:25 a.m. (2017-09-26 11:25:21 UTC) #6
diegocarloslima
Sept. 26, 2017, 12:24 p.m. (2017-09-26 12:24:44 UTC) #7
https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/base...
File mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd (right):

https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/base...
mobile/android/base/locales/adblockbrowser/ar/android_strings.dtd:42: <!ENTITY
abb_whitelisted_websites_loading "Loading whitelisted websites...">
On 2017/09/26 06:24:07, anton wrote:
> shouldn't it be translated first (same for other DTDs)?

We usually first add the feature without translations, because it might take a
while to get them and before releasing, we push all the relevant translations
for all introduced/changed strings.

https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/thir...
File mobile/android/thirdparty/org/adblockplus/browser/UrlUtils.java (right):

https://codereview.adblockplus.org/29543774/diff/29549803/mobile/android/thir...
mobile/android/thirdparty/org/adblockplus/browser/UrlUtils.java:25: 
On 2017/09/26 06:24:07, anton wrote:
> the line seems to be not required

Acknowledged.

Powered by Google App Engine
This is Rietveld