Dan Finlay
dcc24804a1
Add negative value validation to tx approval
8 years ago
Vincent Serpoul
4cf12337f2
linting
8 years ago
Vincent Serpoul
76d63ec4e0
Error message more helpful
8 years ago
kumavis
891e17c44c
notif - use standard err-first callback style
8 years ago
Dan Finlay
4f614d0852
Linted
8 years ago
Dan Finlay
47b2ae1c5f
Do not open popup for internally produced txs
8 years ago
kumavis
532737a101
inpage - remap ids on response
8 years ago
Dan Finlay
44545e0f47
Add metamask route to infura urls
...
Fixes #597
Allows metamask-specific RPC metrics.
8 years ago
Dan Finlay
fd5dad136f
Remove old notification cleanup code
8 years ago
Dan Finlay
742a0e0dfe
Make popup a type Edge supports
8 years ago
Dan Finlay
1b617402ec
Add extra edge compatibility
8 years ago
Dan Finlay
b36b760338
Fix console.error references
...
Microsoft edge does not support console.error.bind, nor is that call necessary here.
8 years ago
Dan Finlay
6838027c65
Remove bind calls from console errors
8 years ago
Frankie
483a7fee0a
Add a back button on lock screen to go back to init menu
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
Kevin Serrano
c82a494b4b
Implement usage of nock.
8 years ago
Kevin Serrano
d3d634d09c
Added mock option to function.
8 years ago
Dan Finlay
671ca33abb
Close notification on opening main UI
8 years ago
Dan Finlay
b3887ffd0a
Skip popup dismissal in tests
8 years ago
Dan Finlay
983f3938da
Linted
8 years ago
Dan Finlay
4fb49dfb4b
Close popup even if last tx is dismissed from main UI
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
kumavis
8b9999b71e
inpage - cleanContextForImports fix
...
set to undefined instead of deleting
updates #447
8 years ago
kumavis
b8077983d6
inpage provider - reassign incomming ids
8 years ago
Dan Finlay
361e26fad7
Limit to one popup, re-focus on additional notifications.
8 years ago
Dan Finlay
7389f9d0a0
Enforce tx history limit
8 years ago
Frankie
3525dc0801
Create a ShapeShift tx in tx History
8 years ago
Frankie
752d16f6c0
WIP: ShapeShift tx
8 years ago
Dan Finlay
dfaac78e39
Linted
8 years ago
Dan Finlay
a167bbc5a0
MVP Popup Notifications Working
...
I'm unsure which will be more performant: A notification using a trimmed down version of the UI, or using them both, letting the browser cache them both.
In any case, here I've modified the normal UI to recognize when it's a popup, and change the UX accordingly in a few ways:
- Hide the menu bar
- Hide the back button from the notifications view.
- When confirming the last tx, close the window.
8 years ago
Dan Finlay
030bdec27a
Unify notification and popup ui files
8 years ago
Dan Finlay
5479509618
Set up MVP for popup-based notifications.
8 years ago
Kevin Serrano
666f3cd66c
Added compliance for tests and properly accounts for N/A conversions.
8 years ago
Kevin Serrano
d43ac808ff
Fix uncalled fn.
8 years ago
Kevin Serrano
6041ba1ed2
Add fallback to API failure.
8 years ago
Kevin Serrano
58e3042a3b
Remove logging. Clean up duplicate entries in currency list.
8 years ago
Dan Finlay
e826eb932c
Remove ethereum classic provider
...
Fixes #542
8 years ago
kumavis
0b660f4ac8
deps - extracted ensnare to module
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
b8856d765d
Setting defaults to production.
8 years ago
kumavis
c0f7c49105
inpage-prov - sync error - fix link
8 years ago
Kevin Serrano
243d83dd33
Separate developmentMode conditional to only wrap log.
8 years ago
kumavis
d7dffedf48
deps - local-message-stream extracted as module post-message-stream
8 years ago
Kevin Serrano
804e8df87f
Lint
8 years ago
Kevin Serrano
9904b4ef5a
Add ability to hide logging messages in production.
8 years ago
kumavis
53b1334d37
clean -formatting
8 years ago
kumavis
3417c421c8
inpage-provider - remove createSyncProvider, just fail
8 years ago
Frankie
9c6dd9ef49
Create "buy form" add shape shift
8 years ago