1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
Commit Graph

11108 Commits

Author SHA1 Message Date
Dan Finlay
d017c28441 Filter transaction list for current blockchain network
When starting up, we now create a `web3` inside the `background.js` process, which we pass to the `idStore` and ask for the current `network`.

We include the `network` on `app.metamask.network` in the state object.

We re-request the network when changing provider.

We filter the transaction list for transactions that match the current network.
2016-04-27 18:04:33 -07:00
Dan Finlay
29718a82b6 Record current network on each persisted transaction 2016-04-27 15:29:10 -07:00
Dan Finlay
39a84c0e47 Fix explorer link generation 2016-04-27 14:43:09 -07:00
kumavis
c66ac13cc9 provider - use provider-engine zero 2016-04-26 11:36:23 -07:00
Dan Finlay
0c293f9df0 Merge pull request #147 from MetaMask/DefaultToList
When no account is selected, show accounts view
2016-04-25 15:24:48 -07:00
Dan Finlay
781334da47 When no account is selected, show accounts view 2016-04-25 15:18:20 -07:00
kumavis
7497b2c813 Merge pull request #142 from MetaMask/DetailViewFirst
Make account detail view into main view
2016-04-25 14:34:43 -07:00
Dan Finlay
82ac8bde5d Bump changelog 2016-04-25 14:16:07 -07:00
Dan Finlay
1025eb3b4f Persist selected account
When selecting an account, we now persist the selection to the `configManager`, so the selection can be restored when re-unlocking Metamask.

Also found the bug where `rawtestrpc` was still being used as a default, and fixed it!
2016-04-25 14:14:34 -07:00
Dan Finlay
88ed546a9a Bump changelog 2016-04-25 13:49:53 -07:00
Dan Finlay
4c46cbc99c Fixed some loading bugs 2016-04-25 13:49:46 -07:00
Dan Finlay
44c68eb23c Fix test 2016-04-25 13:41:06 -07:00
Dan Finlay
2dd7bd6bd0 Make account detail view the primary view
- When unlocking, the first account is now selected by default and displayed as the main view.
 - There is now a "CHANGE ACCT" button on the detail view to show the accounts list.
 - Clicking an account from the accounts list now navigates to the detail view and selects that account.
 - Config/Info screen "back" buttons now fire a new action, `GO_HOME`, which is configured to navigate to the accountDetail view, putting that logic in one place.
 - When locking and unlocking again, the first account is always displayed, eventually we should persist the selection.
2016-04-25 12:38:43 -07:00
Dan Finlay
652c1d96c1 Bump version 2016-04-22 15:25:56 -07:00
Dan Finlay
5aa1dba83f Merge pull request #136 from MetaMask/ChangeRpcButton
Add new rpc save button to config view
2016-04-22 15:25:03 -07:00
Dan Finlay
081a943d9b Resolve changelog order conflict 2016-04-22 14:48:10 -07:00
Dan Finlay
ee4f6b57ad Merge pull request #135 from MetaMask/DeprecateRawTestRpc
Migrate all users off `rawtestrpc` test rpc
2016-04-22 14:41:48 -07:00
Dan Finlay
c5dfd2e3fd Bump changelog 2016-04-22 14:41:24 -07:00
Dan Finlay
820736b427 Add RPC config buttons and styles
- Add save button for custom RPC input field
 - Add button for RPC at `localhost:8545`.
 - Improve `Current RPC` display.
2016-04-22 14:39:12 -07:00
Dan Finlay
33b344d276 Bump changelog 2016-04-22 14:21:45 -07:00
Dan Finlay
ab9db44f4a Add migration to actual migration array, fix test 2016-04-22 13:59:42 -07:00
Dan Finlay
4a1dd26fc9 Corrected migration order 2016-04-22 13:36:04 -07:00
Dan Finlay
875a0731dd Deprecate rawtestrpc.metamask.io
This migration will move users who have their clients configured to point at `rawtestrpc.metamask.io` to point at our new test-net RPC, `testrpc.metamask.io`.
2016-04-22 13:32:56 -07:00
kumavis
db85827b2b Merge pull request #125 from MetaMask/TransactionList
Add transaction history to account detail view
2016-04-20 22:07:00 -07:00
kumavis
f82a4de725 Merge pull request #128 from MetaMask/i127
build - post process with dereq
2016-04-20 16:22:11 -07:00
kumavis
04a61b7de9 build - post process with dereq 2016-04-20 13:22:41 -07:00
Dan Finlay
532edf670e Store metamaskId on metaTx instead of getTxWithParams method. 2016-04-20 09:29:37 -07:00
Dan Finlay
7455a0fa32 Improve transaction list title 2016-04-19 19:10:22 -07:00
Dan Finlay
2f09ab79d5 Bumped changelog 2016-04-19 19:00:27 -07:00
Dan Finlay
7276e80816 Removed logs 2016-04-19 18:58:34 -07:00
Dan Finlay
d6ab6bb4fa Fix floating point input bug
When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals!

Put this numeric normalization into a utility function with a test around it and got it working.
2016-04-19 18:56:22 -07:00
Dan Finlay
f79601ee58 Generate explorer link to match current blockchain 2016-04-19 18:21:28 -07:00
Dan Finlay
b8c57433ce Add completed tx hash to persisted tx log 2016-04-19 17:44:11 -07:00
Dan Finlay
f72887a0a2 Fix config manager method 2016-04-19 17:33:37 -07:00
Dan Finlay
901d23a029 Add extra tx methods to configManager 2016-04-19 17:32:09 -07:00
Dan Finlay
0a0a631af2 Improve some UI formatting 2016-04-19 17:31:34 -07:00
Dan Finlay
13cac5943e Move transaction list after account panel 2016-04-19 17:27:20 -07:00
Dan Finlay
c858b70585 Moved transaction-list into its own component 2016-04-19 15:07:15 -07:00
Dan Finlay
8fe113e8d9 Merge branch 'master' into TransactionList 2016-04-19 13:03:00 -07:00
John Whitton
b953dc9ae1 Prototype Transaction Details in account-detail.js
Rough prototype with hyperlink
2016-04-19 12:34:49 -07:00
Dan Finlay
dba41614d0 Merge branch 'master' of github.com:MetaMask/metamask-plugin 2016-04-18 17:44:24 -07:00
Dan Finlay
7291e3f1b3 Merge branch 'AddPersistentTransactionLog' 2016-04-18 17:44:10 -07:00
Dan Finlay
28f14661fd Bump changelog 2016-04-18 17:44:06 -07:00
Dan Finlay
09d74102a7 Merge pull request #118 from MetaMask/AddPersistentTransactionLog
Persist transactions to config-manager
2016-04-18 17:43:41 -07:00
Dan Finlay
1d56ab821e Fix displayed RPC address
Fixes #119
2016-04-18 17:35:42 -07:00
Dan Finlay
0e39110f3c Bump changelog 2016-04-18 17:25:03 -07:00
Dan Finlay
cfdad0f9fe Emit transaction list to UI 2016-04-18 17:19:58 -07:00
Dan Finlay
dc043b7f9b Fix method of emitting unconfirmedTxs to UI 2016-04-18 17:19:20 -07:00
Dan Finlay
a441e635bd Persist transactions to config-manager
Transactions are now stored, and are never deleted, they only have their status updated.

We can add deleting later if we'd like.

I've hacked on emitting the new unconfirmedTx key to the UI in the format it received before, I want Aaron's opinion on where I should actually do that.
2016-04-18 16:39:35 -07:00
kumavis
2a53a26fca Merge pull request #117 from MetaMask/i33
reject unknown tx 'from' address via provider-engine
2016-04-18 13:09:59 -07:00