Erik Marks
|
a84eedb7da
|
Permissions: Do not display HTTP/HTTPS URL schemes for unique hosts (#8768)
* only show URL.host in connected-accounts component
* strip scheme from URL for unique hosts
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
|
5 years ago |
Erik Marks
|
c8a995dd9b
|
Send accountsChanged notification for wallet_requestPermissions (#8742)
* emit accountsChanged for eth_accounts via wallet_requestPermissions
* add/update tests
|
5 years ago |
Brad Decker
|
34fb525ce5
|
Limit Dapp permissions to primary account (#8653)
|
5 years ago |
Erik Marks
|
e0b31aa6a4
|
Restrict the size of the permissions metadata store (#8596)
* refactor add metadata functionality
* create pending site metadata cache
* remove metadata for domains w/o permissions if cache exceeds max size
|
5 years ago |
kumavis
|
dcf08164d5
|
test/unit/permissions - fix promise await timing (#8410)
|
5 years ago |
Erik Marks
|
2301d9980e
|
Wait for extension unlock before processing eth_requestAccounts (#8149)
* eth_requestAccounts: wait on unlock
return error on duplicate eth_requestAccounts
add getUnlockPromise mock to permissions unit tests
* only await unlock if already permitted
* add notification badge for wait on unlock
* fixup
* more fixup
* cleanup
* update keyring controller, us its unlock event
* move keyring update unlock logic to unlock event handler
* fix unit tests
* delete onUnlock handler
* fix eth-keyring-controller resolution
* update eth-keyring-controller
|
5 years ago |
Erik Marks
|
b1d090ac4d
|
Add permissions controller unit tests (#7969)
* add permissions controller, log, middleware, and restricted method unit tests
* fix permissions-related bugs
* convert permissions log to controller-like class
* add permissions unit test coverage requirements
* update rpc-cap
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
|
5 years ago |