Kevin Serrano
79a99ac93b
Move tos hash comparison logic from background to mm controller.
8 years ago
Kevin Serrano
21d1959435
Fix linting and guarantees set TOS hash.
8 years ago
Kevin Serrano
e4f2cd2e09
Fix retention of terms of service hash across reloads of plugin.
8 years ago
Kevin Serrano
4ea3246912
Add controller functions for storing and checking TOS hashes.
8 years ago
Dan Finlay
da611eb3a1
Improve popup behavior for parity errors
...
When we receive an invalid params error, instead of opening the popup and showing no tx, we now just forward that tx back to the UI code.
8 years ago
Frankie
ebf864ae6e
Fix for readability
8 years ago
Frankie
0a8a25c818
Fix issue #688 where fiat conversion does not persist when switching networks
8 years ago
Dan Finlay
e197e3808f
Drop origin key from requests for Parity compatibility
8 years ago
Frankie
17eb53cfcd
Change Testfaucet url
8 years ago
Dan Finlay
bfea26d3e3
Ensure listener is cleaned up
...
Also fixed bug when validating a tx with no value.
8 years ago
Dan Finlay
dcc24804a1
Add negative value validation to tx approval
8 years ago
Dan Finlay
3febbdae57
Linted
8 years ago
Dan Finlay
abb5b2013d
Fix bug where unconfirmed message sig is lost when locked.
...
Fixes #484
Adds unsigned messages to the in-memory message list before showing the unlock message.
8 years ago
Dan Finlay
e5ca83d2bf
Emit updates to all listeners on pending tx updates
...
Previously the metamask controller only supported a single UI event listener, which wasn't useful for having a separate notification UI open at the same time.
Also reduced the notification's complexity down to a single method, which is heavily re-used.
Still has an outstanding bug where if the plugin ui dismisses the last tx, it does not close the notification popup.
8 years ago
Frankie
3525dc0801
Create a ShapeShift tx in tx History
8 years ago
Frankie
752d16f6c0
WIP: ShapeShift tx
8 years ago
Kevin Serrano
d43ac808ff
Fix uncalled fn.
8 years ago
Kevin Serrano
58e3042a3b
Remove logging. Clean up duplicate entries in currency list.
8 years ago
Kevin Serrano
b1f68ec9cd
Add global var for background.
8 years ago
Kevin Serrano
2b0c6953e2
Create global variable that changes ui logging.
8 years ago
Kevin Serrano
243d83dd33
Separate developmentMode conditional to only wrap log.
8 years ago
Kevin Serrano
9904b4ef5a
Add ability to hide logging messages in production.
8 years ago
Frankie
9c6dd9ef49
Create "buy form" add shape shift
8 years ago
Kevin Serrano
abfc5632ef
Fix ether warning checkbox.
8 years ago
Kevin Serrano
cb0c1f25ba
Did not previously call functions before!
8 years ago
Kevin Serrano
637d3978b7
Fix default value. Add loading indication for async.
8 years ago
Dan Finlay
c9c8fbf2ec
Fix account selection updating
8 years ago
Kevin Serrano
22528002e1
Linting!
8 years ago
Kevin Serrano
a612fcee64
Change function names. Add interval polling for api. Refactor functions.
8 years ago
Kevin Serrano
716e65424d
Add date access throughout the data flow.
8 years ago
Frankie
fcd523abe4
Buy button ( #474 )
...
* WIP: Buy button link
* Add buy eth and the buy eth warning message
* Add css
* Move the opening of coinbase page to background
and send to faucet if on test net
* Create a Warning about storeing eth
* Finish Buy button and Eth store warning screen
* Add to CHANGELOG
* fix frankies deletion and change chrome to extension
8 years ago
Dan Finlay
6658bea8d4
Implement some cross-browser practices ( #473 )
...
* Add mozilla plugin key to manifest
* Move all chrome references into platform-checking module
Addresses #453
* Add chrome global back to linter blacklist
* Add tests
8 years ago
Kevin Serrano
4a9d5b1c25
Add data field to pass up parameters up to reducer.
8 years ago
Kevin Serrano
491b9cddc5
Add fiat actions to metamask controllere and actions.
8 years ago
Dan Finlay
9609593f13
Fix bug where rejected tx would not call back
9 years ago
Dan Finlay
c0b0c9c028
Simplify error log
9 years ago
Dan Finlay
1d8d7d833d
Improve metamask-controller error logging
...
Fixes #384
9 years ago
kumavis
cc970ccd0d
fix typo
9 years ago
Dan Finlay
60fec24c00
Debugged by using a real dapp
9 years ago
Dan Finlay
d3e0e7fe45
Manually debugged refactor
9 years ago
Dan Finlay
122018a96a
Fixed tests
9 years ago
Dan Finlay
fa7e466559
Rename background-controller metamask-controller
9 years ago
Dan Finlay
b2b3f4b26b
Improve refactor
...
Replace config-manager-singleton with one that is instantiated within the `background-controller`, and takes its persistence callbacks from its instantiated options.
Replaced class getters with more familiar get___() functions.
9 years ago
Dan Finlay
9ed3c676ec
Refactored background.js controller apart from chrome + transport
...
Still needs linting fixes, probably bugs, this commit should be used as a draft of what a separation of these concerns might look like.
9 years ago