Skip to content
This repository has been archived by the owner. It is now read-only.

Adds non-verified option to the payment page #8394

Merged
merged 1 commit into from Apr 24, 2017

Conversation

@NejcZdovc
Copy link
Member

NejcZdovc commented Apr 19, 2017

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Resolves #8231

Auditors: @mrose17 @bsclifton

Test Plan

  • go to payments page and enable payments
  • go to some verified and non-verified sites (brianbondy.com is verified)
  • go to payments page
  • click on advance settings
  • disabled option "Allow contributions to non-verified sites"
  • all non-verified sites should be hidden from a table
Copy link
Member

mrose17 left a comment

doesn't there need to br something added to ledger.js to make use of this option???

@NejcZdovc
Copy link
Member Author

NejcZdovc commented Apr 19, 2017

@mrose17, these PR is not yet completed, still have work-in-progress label

@NejcZdovc NejcZdovc force-pushed the NejcZdovc:feature/#8231-verified branch from e4be1d3 to 229de66 Apr 21, 2017
Copy link
Member

mrose17 left a comment

LGTM.

@bbondy bbondy force-pushed the brave:master branch from f0df59d to 70e5d77 Apr 23, 2017
@NejcZdovc NejcZdovc force-pushed the NejcZdovc:feature/#8231-verified branch from 229de66 to 3f83263 Apr 23, 2017
@NejcZdovc NejcZdovc requested a review from bsclifton Apr 23, 2017
@NejcZdovc NejcZdovc force-pushed the NejcZdovc:feature/#8231-verified branch 3 times, most recently from 696ef4b to 798f177 Apr 23, 2017
@@ -149,6 +149,7 @@ module.exports = {
'bookmarks.toolbar.showOnlyFavicon': false,
'payments.enabled': false,
'payments.notifications': false,
'payments.non-verified-publishers': true,

This comment has been minimized.

Copy link
@bsclifton

bsclifton Apr 24, 2017

Member

Could you update this to be more descriptive? Maybe payments.allow-non-verified-publishers?

This comment has been minimized.

Copy link
@NejcZdovc

NejcZdovc Apr 24, 2017

Author Member

done

@@ -55,6 +55,7 @@ const settings = {
PAYMENTS_NOTIFICATION_RECONCILE_SOON_TIMESTAMP: 'notification-reconcile-soon-timestamp',
PAYMENTS_NOTIFICATION_TRY_PAYMENTS_DISMISSED: 'payments.notificationTryPaymentsDismissed',
PAYMENTS_CONTRIBUTION_AMOUNT: 'payments.contribution-amount',
PAYMENTS_NON_VERIFIED: 'payments.non-verified-publishers',

This comment has been minimized.

Copy link
@bsclifton

bsclifton Apr 24, 2017

Member

same as above comment 😄

This comment has been minimized.

Copy link
@NejcZdovc

NejcZdovc Apr 24, 2017

Author Member

done

Resolves #8231

Auditors: @mrose17 @bsclifton

Test Plan:
- go to payments page
- click on advance settings
- disabled option "Allow contributions to non-verified sites"
- all non-verified sites should be hidden from a table
@NejcZdovc NejcZdovc force-pushed the NejcZdovc:feature/#8231-verified branch from 798f177 to 462d4aa Apr 24, 2017
@NejcZdovc NejcZdovc requested a review from bsclifton Apr 24, 2017
Copy link
Member

bsclifton left a comment

Manually tested and also ran the webdriver test. Changes work as expected. Great job 😄

@bsclifton bsclifton merged commit 65da8d8 into brave:master Apr 24, 2017
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.