Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Revert "Hide Enpass until it's supported in muon" #9546

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

andrewalker
Copy link
Contributor

@andrewalker andrewalker commented Jun 18, 2017

This reverts commit 29a8223.

According to issue #7778, particularly the comment by @mcg, support for Enpass is already working. According to @bsclifton, in the same thread, we should just create the pull request for it. So I thought I'd just go ahead and do it :)

I rebuilt and enabled on my machine (OS X) and it worked fine.

Submitter Checklist:

  • 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).
  • Tagged reviewers and labelled the pull request as needed.

Test Plan:

  • Enable enpass password manager
  • Autofill some passwords
  • Check that it doesn't crash

Reviewer Checklist:

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

@luixxiul luixxiul requested a review from bsclifton June 18, 2017 17:26
@luixxiul luixxiul added this to the 0.19.x (Nightly Channel) milestone Jun 18, 2017
@cezaraugusto
Copy link
Contributor

hey @andrewalker thanks for taking this one!

Can I ask you to go ahead and add this extension in our extensions panel as well?

If you go to extensionsUtil.js file in this line you'll see that enpass is commented. To enable it you can just copy how other extensions properties work, so making it like:

 {
    id: enpass,
    name: 'enpass',
    description: 'enpassDesc',
    icon: 'img/extensions/enpass-128.png'
  }

should work fine. After that you can include the extension icon (attached below) under app/extensions/brave/img/extensions and name it (for parity with other extensions) as enpass-128.png.

To test all that just go to about:preferences#extensions and check if extension works from there. If you have some trouble let me know and thanks again ;)

extension image

enpass-128

@cezaraugusto cezaraugusto self-requested a review June 19, 2017 02:42
This reverts commit 29a8223.

According to issue brave#7778, particularly the comment by @mcg, support for
Enpass is already working. So the option can be re-enabled.

Fixes brave#7778, fixes brave#5097, fixes brave#6984.
@andrewalker
Copy link
Contributor Author

Hi @cezaraugusto, thank you for the instructions. I updated what you requested. I just amended the commit, to keep history simple once it's merged 😄
It rebuilt fine, and I retested enabling Enpass. Everything worked well. But to be honest, I didn't notice any change, because the extension was already showing up there even before I added it to extensionsUtil.js. Is this expected?

@cezaraugusto
Copy link
Contributor

that's a good question: aside from built-in extensions, no extension is installed by default so we need a "dumb" data to aware users that a given extension is available.

You're seeing the extension because you have enabled it before under the password manager -- likely when you tested to see if extension works. If you clear your data and try to install it inside extensions tab, the extension will not be available until you activate.

Resuming: your first change made it avail under password manager and the second for extension tab -- which can only see installed extensions and dummy content (what you did next).

Copy link
Contributor

@cezaraugusto cezaraugusto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks ++

@cezaraugusto cezaraugusto merged commit 4688b1c into brave:master Jun 19, 2017
@bsclifton
Copy link
Member

Nice to get this working! Thanks, @andrewalker 😄

@luixxiul
Copy link
Contributor

luixxiul commented Aug 3, 2017

This was reverted. See: #10246

@andrewalker andrewalker mentioned this pull request Aug 3, 2017
8 tasks
@andrewalker
Copy link
Contributor Author

@luixxiul thanks for the update! Although, as asked in the pull request, I would really like to understand what went on :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants