Commit Graph

432 Commits

Author SHA1 Message Date
Gustavo Maximiliano Cortez 5d5bf3dfc5 Merge pull request #849 from yemel/feature/backup-wallet
Wallet Backups
2014-07-08 19:17:43 -03:00
Gustavo Maximiliano Cortez 4d160a4ee7 Fixes:
* Save config in localStorage
* Show forced networkName in settings Page
2014-07-08 18:53:02 -03:00
Gustavo Maximiliano Cortez 937369d0c7 Merge pull request #870 from matiu/bug/handlerNetErrors
Bug/handler net errors
2014-07-08 15:59:40 -03:00
Yemel Jardi e6a9a443cc Update tests 2014-07-08 15:54:10 -03:00
Yemel Jardi c145290167 Add full backup stage with user feedback 2014-07-08 15:53:34 -03:00
Yemel Jardi 49ac6dfcf4 Hold on backup page until all copayers made a full backup 2014-07-08 15:53:34 -03:00
Matias Alejo Garcia bbac45ee7a fixes handling networking errors and retries. Adds tests 2014-07-08 15:25:12 -03:00
Manuel Araoz 00cf32fc8d add forceNetwork parameter and test it 2014-07-08 12:34:49 -03:00
Gustavo Cortez 14cea0362f Fixes and re-factory 2014-07-07 20:01:50 -03:00
Gustavo Cortez a1e5246727 updated 2014-07-07 18:13:26 -03:00
Gustavo Cortez 0931024e23 Fixes: verify addressbook method 2014-07-07 17:38:17 -03:00
Matias Alejo Garcia e180e53e73 add SIN and video 2014-07-07 17:00:26 -03:00
Matias Alejo Garcia 2626414771 Merge pull request #830 from yemel/fix/peer-id-taken
Derive token from cid, bring back the custom version of peerjs
2014-07-07 15:55:46 -03:00
Matias Alejo Garcia f497d76405 Merge pull request #816 from yemel/feature/bipNNN-refactor
Feature/bip nnn refactor
2014-07-07 15:55:13 -03:00
Gustavo Cortez ac2eda3670 Fixes typos and re-factory throw errors 2014-07-07 14:53:34 -03:00
Yemel Jardi d0693442ce Remove magic number fixes #736 2014-07-07 12:27:05 -03:00
Yemel Jardi e22eed8610 Fix double wallet store on open/create/join 2014-07-07 12:17:36 -03:00
Yemel Jardi f8ea3a4090 Derive token from cid, bring back the custom version of peerjs 2014-07-07 11:29:28 -03:00
Gustavo Cortez 7cdf559fd7 Fixes typos: Matias's suggestions. Added more tests 2014-07-07 10:58:43 -03:00
Matias Alejo Garcia 44ef1c4710 Merge pull request #818 from maraoz/bug/addresses-check-network
check network for addresses

* Chrome 35.0.1916 (Mac OS X 10.9.3): Executed 76 of 76 SUCCESS (0.806 secs / 0.239 secs)
* mocha:   170 passing (8s)
* browser: 100%: 128.16s


Code: OK (I am starting to like preconditions 👍 )
2014-07-07 09:45:23 -03:00
Gustavo Cortez c83e0c73da Delete entry with a wrong signature 2014-07-07 01:57:25 -03:00
Gustavo Cortez 313fcd4808 Added creator's signature to address book entry. Re-factory somethings and improve the merge of them 2014-07-07 01:33:39 -03:00
Manuel Aráoz 0f28f607d8 Merge pull request #813 from matiu/feature/minor-ux-changes
add testnet in footer / add links
2014-07-04 14:25:25 -03:00
Manuel Araoz a30b8d81bb fix tests 2014-07-04 12:51:27 -03:00
Manuel Araoz 90ebd8deb5 add check to core, not only UI 2014-07-04 11:40:07 -03:00
Yemel Jardi 7562c3f9e7 Add some test and refactor getCosigner 2014-07-04 09:45:02 -03:00
Yemel Jardi 2abc35ae57 Add update indexes and support old indexes schema 2014-07-03 16:42:29 -03:00
Yemel Jardi fd2cf54eb4 Hide empty addresses from othe copayers 2014-07-03 16:42:29 -03:00
Yemel Jardi 04b6aa4003 PublicKeyRing handles one index for each cosigner 2014-07-03 16:42:29 -03:00
Yemel Jardi b02cb17989 Create indexes for all copayers 2014-07-03 16:42:29 -03:00
Yemel Jardi e9f20b5de6 Change PublicKeyRing index to array of AddressIndex 2014-07-03 16:42:29 -03:00
Yemel Jardi 2e56a782bd Add cosigner index to AddressIndex 2014-07-03 16:42:29 -03:00
Manuel Araoz 1b780d268b get URI parsing into copay core 2014-07-03 12:52:28 -03:00
Matias Alejo Garcia 5ba388e911 add testnet in footer / add links 2014-07-03 11:37:26 -03:00
Gustavo Cortez f6709c4000 Fixes: catch error message when importing wallet from different network 2014-07-02 10:43:00 -03:00
Manuel Araoz 32a7190a80 remove authoritativeness for txp metadata 2014-06-27 13:03:24 -03:00
Matias Alejo Garcia c16531dfb7 Merge pull request #768 from ryanxcharles/feature/authentication
Authentication
2014-06-26 23:12:46 -03:00
Gustavo Maximiliano Cortez dff3c9c479 Merge pull request #755 from yemel/feature/importing-feedback
Add feedback while importing wallet
2014-06-26 15:51:28 -03:00
Ryan X. Charles 543c42a6a8 add authentication via new Message core class 2014-06-26 08:50:39 -07:00
Manuel Araoz 1639b796cf intermediate screen backup 2014-06-26 10:16:28 -03:00
Yemel Jardi 96cbf8ad7b Add feedback while importing wallet 2014-06-25 15:58:55 -03:00
Gustavo Maximiliano Cortez 7e3477d03f Merge pull request #752 from matiu/bug/balance-update
fix address event subscription
2014-06-25 11:45:30 -03:00
Matias Alejo Garcia 792f48b2ea fix address event subscription 2014-06-25 11:12:38 -03:00
Manuel Araoz 2bf8ac912f add preconditions to Structure.js 2014-06-25 11:10:11 -03:00
Manuel Araoz 326384cd4b optimize redeemscript map generation 2014-06-24 17:08:53 -03:00
Matias Alejo Garcia f1257d054c fix conflicts 2014-06-24 13:02:25 -03:00
Matias Alejo Garcia 1abf1dc90d small refactor on rootScope 2014-06-24 12:57:15 -03:00
Ryan X. Charles ea2e2d4e19 run js-beautify on everything
...with two spaces. Command: js-beautify -s 2 -r [filename]
2014-06-24 08:36:32 -07:00
Ryan X. Charles 0d54875bf2 Merge pull request #712 from maraoz/txp/protocol/security2
Improve tx proposal protocol security
2014-06-23 15:18:56 -07:00
Yemel Jardi 26c829f6de Add validation and tests for spendUnconfirmed = false 2014-06-23 14:58:11 -03:00
Manuel Araoz f4a5202a99 add seenBy fix 2014-06-23 11:23:48 -03:00
Manuel Araoz cf159241a9 working towards fixing tests with new rules 2014-06-23 11:23:48 -03:00
Manuel Araoz 781adacbef fix dependency management 2014-06-23 11:23:19 -03:00
Manuel Aráoz 4d6e9f8a6d Merge pull request #677 from ryanxcharles/feature/ECIES
ECIES
2014-06-23 11:22:22 -03:00
Matias Alejo Garcia 78493f9d91 Merge pull request #720 from yemel/fix/wallet-import
Fix error message on wallet import (wrong password)
2014-06-19 17:22:01 -03:00
Ryan X. Charles 7ae6438478 add tests for Wallet 2014-06-19 13:15:41 -07:00
Ryan X. Charles 8e81e9108f add private key in Wallet call to network start 2014-06-19 13:14:51 -07:00
Ryan X. Charles b9ecab9b92 remove commented-out references to obsolete netKey 2014-06-19 13:14:51 -07:00
Ryan X. Charles 31d601b2a6 initial work replacing symmetric shared secret with ECIES 2014-06-19 13:13:01 -07:00
Gustavo Cortez 47dcc12910 Fix Conflicts:
js/models/core/Wallet.js
2014-06-19 16:43:34 -03:00
Yemel Jardi 06c1640d99 fix wallet import error message 2014-06-19 16:07:51 -03:00
Manuel Araoz e09d8e11d4 optimize txp protocol 2014-06-19 15:57:38 -03:00
Manuel Araoz b7af51ceee all tests passing 2014-06-19 15:57:38 -03:00
Manuel Araoz 889edf4b92 add preconditions and tests 2014-06-19 15:57:38 -03:00
Manuel Araoz 1457764930 change 'k' for 'ntxid' 2014-06-19 15:56:35 -03:00
Manuel Araoz d8e564b031 remove old methods 2014-06-19 15:56:35 -03:00
Manuel Araoz 03b4d16473 following the single TxProposal changes 2014-06-19 15:56:35 -03:00
Manuel Araoz 27de2896d8 working on refactor 2014-06-19 15:56:34 -03:00
Manuel Araoz 7001e21c71 ocha 2014-06-19 15:56:34 -03:00
Manuel Araoz b791d58c6c refactors 2014-06-19 15:56:34 -03:00
Manuel Araoz e0db6cac28 fix dependency management 2014-06-19 15:56:34 -03:00
Yemel Jardi 386a5bea6f move update indexes to the loading screen 2014-06-19 11:35:38 -03:00
Gustavo Cortez 4aa3915381 Sync address book with all copayer 2014-06-18 20:18:13 -03:00
Yemel Jardi 29920abdb3 Add wallet addresses index discovery on importing backup 2014-06-18 11:10:51 -03:00
Gustavo Cortez 21baa103bd Fix Conflicts:
js/models/core/WalletFactory.js
2014-06-18 10:03:22 -03:00
Gustavo Cortez f5aad7bd15 Addressbook on SendPage 2014-06-18 01:00:32 -03:00
Matias Alejo Garcia a83aa869fd remove .only 2014-06-17 23:16:15 -03:00
Matias Alejo Garcia cd71ce4421 fix conflics 2014-06-17 16:25:38 -03:00
Matias Alejo Garcia 710c9c9657 fix tests 2014-06-17 14:02:39 -03:00
Ryan X. Charles f7e34acae8 make mocha browser tests all run with no console errors
...except Wallet and WalletFactory.
2014-06-17 09:03:30 -07:00
Matias Alejo Garcia 2c60fd91c0 implements delete wallet, in backuptab 2014-06-16 17:37:33 -03:00
Matias Alejo Garcia 46feadf57c delete Wallet WIP 2014-06-16 15:58:10 -03:00
Yemel Jardi 6ab77e8711 Add user notifications on transaction signed and rejected events 2014-06-16 15:38:26 -03:00
Matias Alejo Garcia 00ca9f1c32 make unit configurable in settings. update after @cmgustavo comments 2014-06-16 12:44:18 -03:00
Matias Alejo Garcia 12b45fcfb9 rm log 2014-06-16 09:48:32 -03:00
Matias Alejo Garcia 194e5fed54 fix conflics 2014-06-13 19:47:11 -03:00
Matias Alejo Garcia 4fe58ec446 update to master 2014-06-13 19:47:11 -03:00
Matias Alejo Garcia 727bf8524a implement BITS + tests 2014-06-13 19:46:47 -03:00
Manuel Aráoz 618bff3895 Merge pull request #674 from cmgustavo/bug/01import-backup
Open wallet livenet in testnet mode and viceversa when importing backup
2014-06-13 16:48:29 -03:00
Gustavo Cortez 89b69e5d0a Fixes: open wallet livenet in testnet mode and viceversa when importing a backup 2014-06-13 11:47:22 -03:00
Manuel Aráoz 8d3ebcc0e2 Merge pull request #673 from yemel/feature/proposal-comments
Add user comment to transaction propossal
2014-06-13 11:30:12 -03:00
Yemel Jardi bcbb6b54d1 Add user comment to transaction propossal 2014-06-13 10:33:30 -03:00
Manuel Araoz 322a793b62 trying to fix tests 2014-06-12 14:36:00 -03:00
Matias Alejo Garcia 2385fc28d4 rm log 2014-06-09 21:27:29 -03:00
Matias Alejo Garcia 4ae3748414 checks network match when joining a wallet 2014-06-09 21:00:28 -03:00
Matias Alejo Garcia d0e20c1bff progressive reconnect time 2014-06-09 20:09:18 -03:00
Matias Alejo Garcia be7e122b0a rm variable reconnect time 2014-06-09 20:09:18 -03:00
Gustavo Maximiliano Cortez 43806a5825 Merge pull request #623 from matiu/feature/livenet2
Feature/livenet2
2014-06-09 18:10:51 -03:00
Matias Alejo Garcia 4b95002d47 fix type 2014-06-09 18:05:39 -03:00
Matias Alejo Garcia 8e8bf1fb84 update to use pkr.networkName 2014-06-09 18:01:15 -03:00
Matias Alejo Garcia 60ed55b564 fix tests 2014-06-09 17:52:51 -03:00
Manuel Araoz 2fe08a258d add test for sendTx 2014-06-09 17:52:08 -03:00
Matias Alejo Garcia 85030f00ab add network to wallet file + check on open 2014-06-09 17:37:16 -03:00
Manuel Araoz 697dea673a add more tests and fix some bugs 2014-06-09 17:29:13 -03:00
Matias Alejo Garcia eb5d9cd90a fix bad message from peer on walletId type 2014-06-09 16:17:00 -03:00
Matias Alejo Garcia 5c6c02104d fixes https://github.com/bitpay/copay/issues/613 2014-06-09 16:09:22 -03:00
Matias Alejo Garcia 5ff8ad236a fix tests 2014-06-09 11:41:13 -03:00
Matias Alejo Garcia 521dd3efe5 simply a little webRTC error handling, add more messages 2014-06-09 11:34:09 -03:00
Manuel Araoz 70d95b6f68 add more test coverage for Wallet 2014-06-09 11:19:53 -03:00
Manuel Araoz 13a9eebd9d add Passphrase test 2014-06-09 11:19:53 -03:00
Yemel Jardi 9b5e155192 Add retry connection to peerjs server on login 2014-06-06 12:30:50 -03:00
Matias Alejo Garcia c64bf07ae3 fix safeUnspents report 2014-06-05 14:55:19 -03:00
Manuel Araoz cd23751ada fail early with invalid tx proposals 2014-06-04 16:29:07 -03:00
Manuel Araoz 77a7bda71b clean imports 2014-06-04 14:28:47 -03:00
Manuel Araoz 8228f44fab change protocol to send only indexes on new addr 2014-06-04 14:25:21 -03:00
Manuel Araoz 51d5d7164e add AddressIndex model 2014-06-04 14:25:21 -03:00
Manuel Araoz 88df346c51 working towards new AddressIndex obj 2014-06-04 14:25:21 -03:00
Manuel Araoz 7798e38253 remove console.logs 2014-06-03 18:40:07 -03:00
Matias Alejo Garcia ca7b9168c3 rm log 2014-06-03 17:49:11 -03:00
Manuel Araoz fe177eaba2 fix tests 2014-06-03 12:40:28 -03:00
Manuel Araoz 3934b750f2 polish reconnect 2014-06-03 11:54:21 -03:00
Manuel Araoz e822d57905 adding timeout 2014-06-03 11:54:21 -03:00
Manuel Araoz 1cba837f8d fix test 2014-06-02 18:59:50 -03:00
Manuel Araoz 6feb2a2176 add error on incorrect password while importing 2014-06-02 18:59:50 -03:00
Manuel Araoz 7b2f227bcc work towards connection error 2014-06-02 18:59:50 -03:00
Manuel Araoz 6af9ee68e2 include derivation path in tx proposal 2014-05-30 15:34:54 -03:00
Manuel Araoz 2b3c29a563 format Structure.js 2014-05-30 15:34:54 -03:00
Manuel Araoz 7dcc8f8b34 minor fix and tests 2014-05-30 10:29:51 -03:00
Manuel Araoz 6a0d5ce89a Add structure 2014-05-30 09:49:53 -03:00
Manuel Araoz f13dea2376 fix tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 4cd90c45a2 fixing tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 56f4c32646 fix tests 2014-05-30 09:49:53 -03:00
Manuel Araoz b8e20c1ee7 change BIP32 structure to match our new BIP 2014-05-30 09:49:53 -03:00
Manuel Araoz 4a279c46c3 remove alert 2014-05-28 09:45:50 -03:00
Manuel Araoz 60e4be4d6a allow only valid cases for livenet 2014-05-28 09:45:17 -03:00
Manuel Araoz 065864beab fix wallet creation problem 2014-05-27 17:05:43 -03:00
Manuel Araoz 0152cb45a8 optimize address generation protocol 2014-05-27 16:16:22 -03:00
Yemel Jardi 4439bed74c Skip empty token and tokenTime on wallet serialization 2014-05-23 08:56:25 -07:00
Yemel Jardi ddffc9810c Fix: Bring back to life the error message for wallet already in use 2014-05-22 20:02:12 -07:00
Yemel Jardi 406db01dd2 Support reconnection to old peerjs session 2014-05-22 19:28:26 -07:00
Mario Colque 3e0c1ad17c merge 2014-05-21 18:03:46 -03:00
Mario Colque 6c973d7f88 added a user friendly message when insight doesnt work 2014-05-21 18:03:11 -03:00
Manuel Araoz 89cdfb3f7c
finish m_n script 2014-05-21 16:10:39 -03:00
Manuel Araoz 73e7d2a827 advancing with m-n script 2014-05-21 15:14:48 -03:00
Manuel Araoz c8ebf0ce65 working on find_m_n script 2014-05-21 11:10:39 -03:00
Yemel Jardi 715a5b2bba add friendly message when the wallet is full 2014-05-19 16:50:01 -07:00
Matias Alejo Garcia ba5a3ac2c6 add multiple optiomizations for 30+ tx wallets 2014-05-17 01:19:52 -03:00
Matias Alejo Garcia 6fea0a4f6a fix signin 2014-05-16 18:48:17 -03:00
Matias Alejo Garcia 398daf3f05 many optimizations in addresses pulling 2014-05-16 18:33:06 -03:00
Matias Alejo Garcia 5154dc7085 broadcast txproposal 1 by 1 2014-05-15 17:43:41 -03:00
Matias Alejo Garcia d8c3d08582 merge 2014-05-15 16:39:22 -03:00
Manuel Araoz 0dfac71bfe always show all copayers in tx proposal list 2014-05-15 16:13:03 -03:00
Matias Alejo Garcia 63210ba277 fix in version checking 2014-05-15 00:02:58 -03:00
Matias Alejo Garcia 2e99d9a8ea add version to networking 2014-05-15 00:02:58 -03:00
Matias Alejo Garcia 432f74488a change name to bitcore.HierarchicalKey 2014-05-15 00:02:25 -03:00
Yemel Jardi 9d5f2ddf16 add validation to wallet secret 2014-05-14 14:31:47 -07:00
Gustavo Cortez a6bcc63460 Fixed autorefresh transactions proposal with a 1-1 wallet 2014-05-13 12:37:10 -03:00
Gustavo Cortez 8a03225cd2 Alert for transaction support in navbar (red label).
Fixes Sign and Reject Transactions.

Known bugs:
	* After 5 continuous transactions, connection is lost with peers
	* 1-of-1 wallet does not refresh automatically
2014-05-13 05:02:21 -03:00
Manuel Araoz f764c743e4 remove many unnecesary digests 2014-05-09 15:39:33 -03:00
Manuel Araoz bdbe8bdfc7 remove pubKeyRingUpdated event 2014-05-09 15:39:33 -03:00
Manuel Araoz 1b87083579 disconnect working 2014-05-09 15:39:33 -03:00
Manuel Araoz 55ba5e6d37 connect working 2014-05-09 15:39:33 -03:00
Manuel Araoz 132920f909 change wallet event 'create' to 'ready' 2014-05-09 15:39:33 -03:00
Manuel Araoz 22cd4cae94 make explicit refreshes when storing wallet 2014-05-09 15:39:33 -03:00
Matias Alejo Garcia 6afcd8cc2e spinner while derivating passphrase 2014-05-07 18:53:55 -03:00
Matias Alejo Garcia 1dc1e0a017 move passphrase config 2014-05-07 10:31:57 -03:00
Matias Alejo Garcia fa8c2eada5 Merge pull request #304 from cmgustavo/bug/open-wallet
Sign-in when put a wrong password. Fixes #297
2014-05-06 19:22:40 -03:00
Matias Alejo Garcia b345242183 Merge pull request #305 from maraoz/optimize/UI-calls
Optimize some UI calls
2014-05-06 19:21:05 -03:00
Gustavo Cortez 88a7fca8d8 Fix Conflicts:
js/controllers/signin.js
2014-05-06 18:12:24 -03:00
Gustavo Cortez ab9be793cb Fix signing when put a wrong password. Fixes #297 2014-05-06 17:57:16 -03:00
Manuel Araoz 8836bdf86a optimize address page and refresh UI calls. 2014-05-06 17:36:16 -03:00
Gustavo Cortez b7ed2798fb Fix #269: save wallet when restoring a backup 2014-05-05 16:32:36 -03:00
Mario Colque aa0ed193fd Merge pull request #256 from matiu/feature/reconnect-simpler-peer-mgmt
better peer management / peer reconection
2014-05-01 22:22:44 -03:00
Matias Alejo Garcia 304c39c2b7 rm logs 2014-05-01 21:59:39 -03:00
Matias Alejo Garcia 65f12f611f better peer management 2014-05-01 21:48:17 -03:00
Mario Colque c995f039c2 added encryption backup support 2014-05-01 18:39:21 -03:00
Gustavo Cortez c98323e9d3 Fixed join wallet from remote peer 2014-05-01 18:34:30 -03:00
Mario Colque 4617a24bbe fixed passphrase setting when a existent wallet is opened 2014-05-01 16:32:03 -03:00
Mario Colque 8d4a6ded71 implementing passphrase to wallet Open/Create methods 2014-05-01 16:32:02 -03:00
Mario Colque ecd979493a using Base64 instead Hex for storageSalt 2014-05-01 16:32:01 -03:00
Mario Colque 06b25db364 added Passphrase model and service 2014-05-01 16:32:01 -03:00
Matias Alejo Garcia 84637bd12d fix conflicts 2014-05-01 11:04:21 -03:00
Matias Alejo Garcia 79fd185230 better opts for get address 2014-05-01 10:07:30 -03:00
Matias Alejo Garcia 1e8895f4b8 fix conflics 2014-05-01 09:58:56 -03:00
Manuel Araoz fd9e6cb48a refactor isChange logic 2014-04-30 20:02:20 -03:00
Manuel Araoz 4acb32c3d8 optimizing address page 2014-04-30 19:58:52 -03:00
Matias Alejo Garcia 2dc59de87e add random key for network encryption 2014-04-30 12:58:40 -03:00
Manuel Aráoz 46a5edf9f7 Merge pull request #206 from matiu/feature/rm-encryption-and-signing
removes encryption and signing. Relays on webrtc DTS. Keep authenticatio...
2014-04-28 15:20:28 -03:00
Matias Alejo Garcia 8138eaed7b change locking order 2014-04-28 15:15:09 -03:00
Matias Alejo Garcia 830b6d2b5f removes encryption and signing. Relays on webrtc DTS. Keep authentication 2014-04-28 15:02:24 -03:00
Mario Colque 47cb4bd3da added a wrapper for the method fromObj of Wallet 2014-04-28 12:02:43 -03:00
Mario Colque 1168bf82b8 obj syntax 2014-04-28 11:32:02 -03:00
Mario Colque f0911caf63 fixed errors to import/open wallets 2014-04-28 11:22:41 -03:00
Mario Colque 380014a280 Merge pull request #196 from matiu/feature/encryption
Feature/encryption
2014-04-28 09:22:32 -03:00
Mario Colque 69e1bb8e37 added the import method 2014-04-25 19:12:13 -03:00
Matias Alejo Garcia e46901c369 add update on network events to txproposals 2014-04-25 17:53:19 -03:00
Matias Alejo Garcia 751d86e785 symmetric encryption 2014-04-25 17:39:03 -03:00
Mario Colque 6cb1b5a851 Merge pull request #188 from matiu/feature/peer-checking
Feature/peer checking
2014-04-25 10:27:06 -03:00
Mario Colque 660285f924 Merge pull request #186 from cmgustavo/feature/01-spinners-buttons
Feature/01 spinners buttons
2014-04-25 10:24:10 -03:00
Matias Alejo Garcia e88dc7afb3 peer checking againt by key ring 2014-04-24 23:43:05 -03:00