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

505 Commits

Author SHA1 Message Date
Dan Finlay
5043451356
Merge pull request #5167 from MetaMask/fix-watcAsset-images
Fix images for watched tokens
2018-09-04 12:56:56 -07:00
Esteban MIno
879e10d44a add assetImages to development states 2018-08-30 17:25:13 -03:00
Esteban MIno
165a966a2a balance components using selectors 2018-08-30 17:19:10 -03:00
Esteban MIno
63397047cf fix integration test for asset images selectors 2018-08-30 15:09:59 -03:00
Dan Miller
40e0d92f57 Adds sidebar component and refactors slide in wallet view sidebar to use it. 2018-08-28 22:08:15 -02:30
Bobby Dresser
eb2b36b3cb fix tos link; 2018-07-12 16:24:13 -04:00
Dan
e91d87efd9 Fix bug in test mock signature request methods. 2018-07-11 13:37:26 -02:30
Dan
91eca558f0 Fix send integration tests for compatability with confirm refactor. 2018-07-11 08:35:15 -02:30
Dan
a7a66171c2 Fix signature request tests for compatability with confirm refactor. 2018-07-11 08:35:15 -02:30
brunobar79
73b6d5ff95 fix version-bump.js 2018-07-02 18:59:02 -04:00
brunobar79
26e4f87ce4 fix verify-locale-strings.js 2018-07-02 18:58:31 -04:00
brunobar79
3c1471d6c6 fix ui-dev.js warnings 2018-07-02 18:57:25 -04:00
brunobar79
42feca1f27 fix sourcemap-validator.js warnings 2018-07-02 18:56:51 -04:00
brunobar79
ffaca7971a fix mock-dev.js warnings 2018-07-02 18:50:47 -04:00
brunobar79
8fbcd95d53 fix beefy.js warnings 2018-07-02 18:50:07 -04:00
brunobar79
a8f745f9fe eslint --fix . 2018-07-02 18:49:33 -04:00
kumavis
44a8e48a04 notices - replace getLatestNotice with getNextNotice 2018-06-13 23:30:31 -07:00
Dan
ae55e8a3c1 Merge branch 'develop' into i3725-refactor-send-component- 2018-06-06 16:40:43 -02:30
Whymarrh Whitby
6ee9685490 Fix mock addresses used for integration tests 2018-06-05 19:48:42 -07:00
Dan
6bc8cc819a Merge branch 'develop' into i3725-refactor-send-component- 2018-05-14 11:44:50 -02:30
kumavis
f4fe3e81c1 development - add sourcemap debug tool 2018-04-27 18:17:21 -07:00
Dan
33c16d1bf6 Fixes to get tests passing. 2018-04-27 08:11:18 -02:30
Dan Finlay
6ee57dcad7
Merge branch 'master' into i3580-InternationalizeCurrency 2018-04-17 13:36:21 -07:00
Dan Finlay
136caa2034 Add JSDocs Page and Script
Includes new script `npm run doc` for generating docs page.
2018-04-12 14:46:05 -07:00
Dan
285265ce8a Add basic currency localization test. 2018-04-09 21:31:27 -02:30
Alexander Tseung
1e6f062bb6 Fix integration tests 2018-04-06 11:25:05 -07:00
Alexander Tseung
037d6e6624 Fix integration tests 2018-04-04 18:21:30 -07:00
kumavis
502a203218 ci - metamaskbot-announce - gracefully handle missing PR 2018-04-03 12:51:18 -07:00
kumavis
92dd2b3218 ci - job-publish - publish source+sourcemaps to sentry if new release 2018-04-03 12:36:46 -07:00
kumavis
6029ebf0ed ci - metamaskbot announce - js style change 2018-04-03 12:33:40 -07:00
kumavis
8d577a923b
ci - dont log unneeded env var 2018-04-02 16:25:07 -07:00
kumavis
98e0fc1ab9 Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-screens 2018-04-02 14:13:45 -07:00
kumavis
6d5f1392a5
Merge branch 'master' into i18n-helper 2018-04-02 10:47:24 -07:00
kumavis
bc1a456264 ci - build:announce - replace bash qith js because of string escaping nightmare 2018-03-30 17:20:48 -07:00
kumavis
662b1957f4 ci - build:announce - fix json escaping 2018-03-30 16:25:22 -07:00
kumavis
f5cf39b940 ci - build:announce - fix json escaping 2018-03-30 16:12:13 -07:00
kumavis
213496f190 ci - build:announce - break out into shell script 2018-03-30 15:53:45 -07:00
Dan
2979de2e6b Adds integration tests for rendering of tx list items. 2018-03-30 02:08:29 -02:30
kumavis
812a06ffcd i18n - further improve locale verifier 2018-03-27 20:29:29 -07:00
kumavis
3e7d7205b8 i18n - cleanup verify locales util 2018-03-27 20:09:15 -07:00
kumavis
5c521775f6 development - genStates - simplify locale importing 2018-03-27 18:02:25 -07:00
Dan
cd204ee803 Add currentLocale to test states. 2018-03-23 15:42:54 -02:30
Dan
edf63f8b51 Add en localeMessages to test states. 2018-03-22 01:09:21 -02:30
kumavis
1a60094d50
Merge pull request #3504 from lazaridiscom/laz/i3427
adds READMEs to folders, re #3427
2018-03-20 16:28:47 -07:00
Thomas Huang
a3c1a92513
Merge pull request #3612 from hermanjunge/locale-verification
Add script to verify locale strings
2018-03-20 10:59:42 -07:00
Herman Junge
03587c96d8 Move file to development, fix JS 2018-03-20 14:53:29 -03:00
frankiebee
cd721f52cb Merge branch 'master' into retry-tx-refractor 2018-03-15 08:07:16 -07:00
kumavis
39a831e2a0 deps - use pify instead of util.promisify 2018-03-14 10:32:55 -07:00
Dan
f8e13fd793 Fix tests. 2018-03-14 12:28:26 -02:30
Lazaridis
2d3763d709 add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
kumavis
50e21fa9d3
Merge pull request #3525 from anticlimactic/move-dev-files
Moved mock-dev.js and ui-dev.js to development folder.
2018-03-13 10:40:19 -07:00
Vincent
0e28e8fa3d Moved mock-dev.js and ui-dev.js to development folder. 2018-03-14 00:15:19 +11:00
kumavis
ecb792ae50 genStates - fix fs api calls 2018-03-11 19:06:14 -07:00
kumavis
7e56c6b6fa test - genStates - use async api 2018-03-11 14:51:54 -07:00
Dan Finlay
bdbe299069 Clean up run version bump script 2018-03-02 17:16:17 -08:00
Dan Finlay
3a9b3794eb Remove logs 2018-03-02 14:01:53 -08:00
Dan Finlay
bf17d7e115 Add version bumping script
One step towards automating our deploy process is automating our version
bumping scheme. This PR does that.
2018-03-02 13:55:56 -08:00
Dan Finlay
716acc088e Merge branch 'master' into uat-master 2018-02-21 10:56:23 -08:00
Dan J Miller
170c7602b7
[NewUI] Adds the mascara first time flow to betaUI extension (#3257)
* Adds the mascara first time flow to the extension when opened in browser.

* Fix tests after addition of mascara first time flow to new ui.
2018-02-16 06:15:09 -03:30
Dan J Miller
a7bfea51e5 Integration tests for signature requests confirmations. (#3194) 2018-02-06 10:20:37 -08:00
Alexander Tseung
d452403322
Add functional integration testing to Add Token flow (#3189) 2018-02-05 18:47:46 -08:00
Dan Finlay
6d9ea863bd Make announcement more general 2018-02-01 16:14:28 -08:00
Dan J Miller
b63f0f3de2 Functional Integration Tests for send ether flow. (#3119) 2018-01-29 17:24:53 -08:00
Thomas
d59136eb49 Add ExtensionPlatform = 'development' to mockUi 2018-01-22 16:06:35 -08:00
Dan J Miller
4acd48966e [NewUI] Fixes tests and sends user to NewUI after registering. (#2788)
* Fixes tests and sends user to NewUI after registering.

* Karma config?

* Empty commit

* Remove unneeded json state mock file.
2017-12-21 19:03:01 -08:00
Dan Finlay
1bd5fc1ba4 Add development state 2017-12-06 22:55:04 -05:00
kumavis
19e7adad19 development - fix ui dev 2017-09-29 11:50:24 -07:00
Dan Finlay
5d300f146a Add computed balance to mock state 2017-09-26 09:38:43 -07:00
kumavis
b53d04c409 tests - integration - get flat and mascara tests closer to compatible 2017-09-13 20:25:27 -07:00
tmashuang
1172c6a94b Update development store 2017-09-05 08:58:01 -07:00
Dan Finlay
bffd174ec7 Update announcer wording 2017-05-23 15:02:03 -07:00
kumavis
be88c87b25 extension - prefer extensionizer module 2017-03-30 18:30:24 -07:00
Kevin Serrano
a7b7be8309 Add new development states for UI development. 2017-03-21 08:52:28 -07:00
Kevin Serrano
956482be96 Fix development to use new currency state. 2017-03-14 17:05:27 -07:00
Dan Finlay
e3f6c010ab Get basic ENS working
& merge master into ENS branch.
2017-03-08 15:19:33 -08:00
Kevin Serrano
0a3849ec84
Fix merge conflicts. 2017-03-01 10:01:21 -08:00
Kevin Serrano
9e6e3f55b7
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits 2017-02-27 13:54:07 -08:00
Kevin Serrano
c46f3d59de
Fix state to render gasPrice for ui dev. 2017-02-27 13:53:08 -08:00
Dan Finlay
462c7ae213 Merge branch 'master' into i765-gaslimits 2017-02-27 12:59:19 -08:00
Dan Finlay
1077c79e25 Add personal_sign development ui state 2017-02-24 16:36:45 -08:00
Kevin Serrano
30e4bdf24b
Merge github.com:MetaMask/metamask-plugin into i765-gaslimits 2017-02-23 14:17:52 -08:00
Kevin Serrano
3be6ee5f6c
Make the UI play nice with empty RPC lists. 2017-02-22 15:32:01 -08:00
Dan Finlay
05080d1c50 Fix UI Dev Mode for Tx Approval
The state object had been changed, but our mock states for tx approval were using the old keys.

Rather than try to muck about and figure out each and every change, I've re-generated a UI dev state for tx approval, which should help @zanibas on his current project.

We can continue adding new dev states as needed from here.  If anyone catches a state that doesn't render correctly, it's worth checking if a new snapshot doesn't solve things.

Debugged by adding new debugging loggers, and I've left them in place for easier future debugging.
2017-02-20 23:33:21 -08:00
Kevin Serrano
bf9d1f405f
add waits between notices. 2017-02-20 13:41:46 -08:00
Dan Finlay
6b56d6ba98 Broke hex decimal input into its own component
Also added a new state to try to make UI dev mode work again, but it has other issues, like #1128, that need to be addressed before UI dev mode can be used again.
2017-02-17 12:46:08 -08:00
Kevin Serrano
092ec9096b
Fix integration tests. 2017-02-09 22:36:40 -08:00
Kevin Serrano
c7178af09d
Remove trailing comma in JSON. 2017-02-09 22:25:21 -08:00
Kevin Serrano
65c84ac4b2
Delete all code related to disclaimers. 2017-02-09 18:17:50 -08:00
Kevin Serrano
afb60b9061
modification of notices. 2017-02-02 15:02:32 -08:00
kumavis
2fa60cfcbf continue rename selectedAccount to selectedAddress 2017-01-30 15:25:12 -08:00
Dan Finlay
1ff4894b67 Allow importing of private key strings
Fixes #1021

A top-right menu item now allows `Account Import`.  It has a menu (with one item for now) that allows importing a private key string.

Errors are displayed, and a success navigates the user to their account list, where the imported account is labeled `LOOSE`.
2017-01-17 16:24:45 -08:00
Dan Finlay
958cbfbde4 Merge branch 'i328-MultiVault-v1' into i715-AddImportMenu 2017-01-17 13:58:54 -08:00
Dan Finlay
f6748f043d Add loose account development state 2016-12-23 17:22:36 -08:00
Dan Finlay
553f1769a0 Add lost accounts ui development state 2016-12-20 15:53:38 -08:00
Dan Finlay
77d2deb176 Merged master into dev 2016-12-19 13:37:27 -08:00
Dan Finlay
c8d7f777eb Merge branch 'AddNotices' of github.com:MetaMask/metamask-plugin into AddNotices 2016-12-16 11:29:16 -08:00
Dan Finlay
2b1d821da3 Cleanup 2016-12-16 11:26:39 -08:00
Kevin Serrano
0abb42cbb8
Clean notices. 2016-12-16 11:22:59 -08:00
Kevin Serrano
58cc9b9e67
The first notice, the fall of morden. 2016-12-16 11:21:16 -08:00
Kevin Serrano
851ba66cdd Add ability to show notices to user & get confirmation.
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:55:42 -08:00
Kevin Serrano
8819475a2e Add ability to show notices to user & get confirmation.
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:44:52 -08:00
Dan Finlay
549bbfd05f Made integration test create a first vault 2016-11-30 14:58:40 -08:00
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount. 2016-11-21 16:21:16 -08:00
Dan Finlay
bb06f5803d Add development states.js back into repo 2016-11-21 11:54:16 -08:00
Dan Finlay
6ae2400ef2 Fix custom provider menu item
The Custom RPC menu item in the provider menu would not appear when Localhost:8545 was selected.
2016-11-21 11:45:31 -08:00
Kevin Serrano
7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly. 2016-11-14 16:49:16 -08:00
Dan Finlay
1bbe0ed9e8 Scaffold new account view 2016-11-04 12:01:41 -07:00
Dan Finlay
8113eb4837 Add first-time state 2016-10-27 16:01:08 -07:00
Kevin Serrano
678301a20e
Phase out extra warning screen. 2016-10-25 13:24:03 -07:00
Dan Finlay
06910025ff Add more accounts to account list ui state 2016-10-11 15:59:39 -07:00
Dan Finlay
b055a95201 Emphasize auto-updating in announcement
Helps avoid issues like #703 by emphasizing uninstalling is not required.
2016-10-05 15:52:19 -07:00
Dan Finlay
07c65ecf9d Made announcer use correct text bolding 2016-10-05 15:27:26 -07:00
Dan Finlay
774f3bd635 Rebuild dev states 2016-10-05 11:09:51 -07:00
Dan Finlay
3ad976570b Add announcer script
I always keep writing up this same announcement message whenever I publish a new version.

I've now written a script to automate my announcement formatting, it looks like this:

```
**MetaMask 2.13.2** now published to the Chrome Store! It should be available over the next hour!
 2016-10-4

- Fix bug where chosen FIAT exchange rate does no persist when switching networks
- Fix additional parameters that made MetaMask sometimes receive errors from Parity.
- Fix bug where invalid transactions would still open the MetaMask popup.
```
2016-10-04 12:41:14 -07:00
Dan Finlay
0d11eab8cb Add accounts back to metamask state 2016-09-12 14:22:06 -07:00
Dan Finlay
6c05c221cd Fix new logo related errors
Fixed logo deallocation related bugs, had to patch the logo repo itself to add a stopAnimating method.

Also tuned up the logo to more closely resemble the old behavior.
- Overlaps the title text
- Points nose at cursor, not just front of eyes
- Cursor is more "distant" from fox, to avoid extreme angles on edges.
2016-09-08 15:41:21 -07:00
Dan Finlay
452ce14fda Update locked state 2016-09-08 11:20:45 -07:00
Dan Finlay
f5baf36c07 Make custom network dev state not loading 2016-08-29 12:36:27 -07:00
Dan Finlay
aa13f77d6c Add shapeshift development state 2016-08-25 14:18:55 -07:00
Dan Finlay
3b594db316 Add send form development state 2016-08-25 14:09:41 -07:00
Dan Finlay
f30e4be1a6 Add restore vault development state 2016-08-25 12:17:40 -07:00
Dan Finlay
0fd955d636 Add pending sign msg development state 2016-08-24 15:40:22 -07:00
Frankie
f80b9b2693 Create a dev state with shapeshift tx 2016-08-18 17:51:38 -07:00
Kevin Serrano
009784c79b Divided eth components for tx and account detail. 2016-08-16 10:34:29 -07:00
Kevin Serrano
6895d330ff Merge master. 2016-08-15 10:50:53 -07:00
Dan Finlay
f3faec6509 Added buggy state file to states folder 2016-08-11 19:45:20 -07:00
Dan Finlay
20cfd1c9f3 Add network indicator class to loading image 2016-08-11 19:44:41 -07:00
Kevin Serrano
fd37f5db65 Add fix for zero balance shorten. 2016-08-07 17:23:35 -07:00
Kevin Serrano
260de6532c Get fiat numbers rendering on tooltip. Need to find way to create line breaks. 2016-08-05 12:18:44 -07:00
Kevin Serrano
be76b05726 Holding off on select formatting for now. Renamed keys for options. 2016-08-04 23:27:30 -07:00
Kevin Serrano
ccd85d19e3 Create default values for metamask state for conversion. Fix config files for ui dev. 2016-08-04 19:09:42 -07:00
Dan Finlay
5b4e2ffeac Add mock dev mode 2016-07-21 18:08:35 -07:00
Dan Finlay
57da5a8198 Merge branch 'master' into FixSvgIcons 2016-07-11 20:55:58 -07:00
Kevin Serrano
d7e6b752a3 Integrate changes back into eth-balance 2016-07-11 17:44:00 -07:00
Dan Finlay
a5bac9419a Rebuild states object 2016-07-11 15:49:22 -07:00
Dan Finlay
3274bb78d7 Add coin sending tx state 2016-07-11 15:47:15 -07:00
Kevin Serrano
20bfb60fd2 Implement alternate shortening scheme. 2016-07-08 17:27:13 -07:00
Kevin Serrano
86b7cc6637 Resolve merge conflict. 2016-07-07 16:33:06 -07:00
Kevin Serrano
5343404d0d Add new component for tx-history to avoid messing with other styles. Add fixed width specifically to this style. 2016-07-07 16:27:37 -07:00
Kevin Serrano
570d560932 Modified test views again. Added fixed length to center tx information. 2016-07-07 15:39:19 -07:00
kumavis
ac808e681f Merge branch 'master' of github.com:MetaMask/metamask-plugin into ConfirmationStyle 2016-07-07 15:04:53 -07:00
Kevin Serrano
94c25ec26a Modify development states to account for long domains. 2016-07-07 14:48:54 -07:00
Kevin Serrano
ecb0f9767b Add new test state with tx history. Fix alignment issue with transaction history text. 2016-07-07 13:48:52 -07:00
Dan Finlay
edf681a1e8 Simplify ui dev mode style 2016-07-06 23:05:30 -07:00
Dan Finlay
ce463f3aff Fixed up pending-tx-details 2016-07-06 22:48:02 -07:00
Dan Finlay
7481f7c3df Fleshed out pending tx view 2016-07-06 21:32:36 -07:00
Dan Finlay
7058dc4ee3 Began reworking tx conf view 2016-07-06 17:58:46 -07:00
Dan Finlay
0cd11915ce Improved Ui Dev Mode
Dev mode now reloads on file changes (although it seems to sometimes reload too soon, not getting the update... we can tune the timeout interval in development/index.html)

Dev mode now reloads on all non-`node_modules` file changes, so the `ui` and `app` folders are both being watched for live reloading.
2016-07-01 14:23:37 -07:00
Dan Finlay
6ec387b675 Formatted dev mode better 2016-06-30 23:50:20 -07:00
Dan Finlay
d1545245c2 Clean up beefy usage
Now properly uses brfs transform so it can reload on state object changes.
2016-06-30 22:59:28 -07:00
Dan Finlay
a95b5c4a96 Add query param restoring to mocker 2016-06-30 21:39:50 -07:00
Dan Finlay
c3f18fcf2b Remove debugs from development 2016-06-30 21:35:24 -07:00
Dan Finlay
435468e571 Cleaned up some formatting for ui mocker 2016-06-30 18:42:57 -07:00
Dan Finlay
c26a7cd89b Add selector component to ui mocker 2016-06-30 18:22:48 -07:00
Dan Finlay
e55938ed15 First simple version of ui mocker 2016-06-30 18:22:16 -07:00