Dan Finlay
2df9344be5
Rename tx manager to tx controller
8 years ago
kumavis
5c9449dec1
background - drop async-q in favor of async/await
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
kumavis
86e882c51a
notification-manager - rename show -> showPoup + make getPopup private
8 years ago
kumavis
5036263f88
introduce platform api and rename notifications to notification-manager
8 years ago
Dan Finlay
4697aca02c
Got personal_sign working
...
Also fixed bug where signing would not close popup.
8 years ago
Frankie
8be68575bb
Clean up message manger includes:
...
Provider egine bump
Remove presence of message manger in keyring controller
Change the status wording fom conf to approved
make Message manager a class
fix messages not being apart of the badge
re write message manger to better reflect controller pattern
8 years ago
kumavis
2113979be7
metamask controller - adopt setup*Communication from background
8 years ago
kumavis
fc3a53ec7b
background - stream disconnection fix
8 years ago
kumavis
76ce348a04
obs-store - use published module
8 years ago
kumavis
f49fb149cc
background - txManager - filter txs by network
8 years ago
kumavis
bc1615f032
background - fix metamaskController store -> diskStore persistence
8 years ago
kumavis
80514d73b5
migrations - wip - 005 multivault migration
8 years ago
kumavis
b33c51c0a6
migrations - introduce promise-based migrator
8 years ago
kumavis
3bc996878b
background - move pojo migrator to outside of metamask controller
8 years ago
kumavis
8012ede126
background - introduce ObservableStore
8 years ago
Frankie
0fae263a9a
Take some of the tx Logic out of the UI and create a visble state for pending and unaproved transactions
8 years ago
Frankie
e62f70660d
MetaMask Controller - Convert to EventEmitter
8 years ago
Frankie
fde69ea0ba
fix some minor spelling mistakes and clean up code
8 years ago
Frances Pangilinan
1ebcbe296b
Migrate all tx mutation code out of keyring controller and
...
Fix up txManager to reflect code review requests
8 years ago
Frances Pangilinan
6e78494846
First pass at revision requests
8 years ago
Frances Pangilinan
da9349fe63
Clean up and comment functions
8 years ago
Frances Pangilinan
090935f90a
Create a TxManager
8 years ago
Kevin Serrano
db356a181a
Made progress on parity for MultiVault
...
- Deleted some unused items
- Renamed files and paths to match with new locations.
- Modified keyring controller logic to separate concerns.
- Fix account naming issues.
- Enable creation of new vault with default HD keyring.
- Formatting issues.
8 years ago
Kevin Serrano
e2f67a2cb8
Do not open MM page in dev mode.
8 years ago
Dan Finlay
9560ae93ee
Added tx and msg signing to keychain & controller
8 years ago
Kevin Serrano
79a99ac93b
Move tos hash comparison logic from background to mm controller.
8 years ago
Kevin Serrano
d200ef4a10
Add missing path require statement.
8 years ago
Kevin Serrano
0a9b814f11
On update, check whether the TOS has changed using hashes.
8 years ago
Frankie
8e7a9c4709
Remove unused argument
8 years ago
Dan Finlay
b7e6ec5cea
Fix popup flag assignment
8 years ago
Frankie
eea77b828f
Dont generate a popup notification when submiting a transaction from with in MetaMask
8 years ago
Kevin Serrano
36759b3238
Do not trigger how-to-video on anything but install.
8 years ago
Dan Finlay
440e0797a7
Reverting memory leak fix
...
This wasn't a good enough fix, and had other repercussions.
Looking for a way to properly detect EOS, and tear down the correct stream accordingly.
8 years ago
Dan Finlay
bfea26d3e3
Ensure listener is cleaned up
...
Also fixed bug when validating a tx with no value.
8 years ago
Kevin Serrano
50f0624ea8
Replace chrome with generalized browser API.
8 years ago
Kevin Serrano
9cb600e17a
Redirect to video in a new tab on fresh install.
8 years ago
Dan Finlay
983f3938da
Linted
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
Dan Finlay
5479509618
Set up MVP for popup-based notifications.
8 years ago
Kevin Serrano
b1f68ec9cd
Add global var for background.
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
Dan Finlay
e21a48da83
Linted
8 years ago
kumavis
b1d5a332c0
fix typo
9 years ago
kumavis
c82d7585b8
background - prepare state for notifcations
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