Commit Graph

930 Commits

Author SHA1 Message Date
Matias Alejo Garcia cbc46f5345 obtainNetworkName to wallet 2014-10-24 10:51:04 -03:00
Matias Alejo Garcia abf74695b6 mv wallet test from walletfactory to wallet 2014-10-24 10:51:04 -03:00
Matias Alejo Garcia 1ff109b5e5 complete API in profile 2014-10-24 10:51:04 -03:00
Matias Alejo Garcia 7abdc77611 add #addWallet to profile 2014-10-24 10:51:04 -03:00
Matias Alejo Garcia 77a01370cb add overwrite param to #store 2014-10-24 10:51:04 -03:00
Matias Alejo Garcia 0afc5f2c0c test for new Iden functions 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 591c8c84b6 skip compat tests in Identity 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia d7b7633fef skip compat tests in Identity 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 028a300012 rm storage.storage to storage.db 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia c4c7dc8eb1 rm Identity#import 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia a446d3775e refactor readWallet 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 2bc1945309 refactor password param 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 8d53fa82ed add Profile model 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 691951a86a refactor key handing in storage (part 1) 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia eb9ab115d7 rename walletFactory to identity. Test passing 2014-10-24 10:51:03 -03:00
Matias Alejo Garcia 4741f12060 Merge pull request #1562 from matiaspando/error/cryptojs
Error/cryptojs
2014-10-11 17:13:48 -03:00
Matias Pando 02b85870df Merge pull request #1550 from cmgustavo/bug/10-amount
Bug/Invalid-amount
2014-10-09 13:15:32 -03:00
Ivan Socolsky 807e7754a3 Refactored TxProposal#getSent & tests 2014-10-09 11:24:09 -03:00
Ivan Socolsky 9d5b26f526 Preserve sent timestamp for incoming proposals 2014-10-09 11:24:09 -03:00
Matias Pando 1903885c9d Test fixed 2014-10-09 11:18:12 -03:00
Matias Pando 1d68a69361 Changing CryptoJS to SJCL 2014-10-09 11:18:12 -03:00
Matias Alejo Garcia 71e6fce6e6 Merge pull request #1559 from yemel/fix/android-uri
Fix payment uri handling
2014-10-09 11:06:27 -03:00
Yemel Jardi d849df98c6 Fix payment uri handling 2014-10-09 10:58:59 -03:00
Esteban Ordano 41198ff031 Fix tests: Allow single files to be run 2014-10-09 10:50:36 -03:00
Gustavo Maximiliano Cortez 259ce7c798 check amount with decimals 2014-10-07 12:39:16 -03:00
Ivan Socolsky 33e115d0c2 Refactored copayers selection on create form 2014-10-06 10:40:16 -03:00
Matias Alejo Garcia ffe90f2ecc add secret to adv options in #more 2014-10-04 11:36:22 -03:00
Gustavo Maximiliano Cortez 90c01ae384 Merge pull request #1497 from isocolsky/fea/no_broadcast
When only 1 signature is required, broadcast at creation
2014-10-02 11:09:56 -03:00
Matias Alejo Garcia b69def07f7 update bitcore bundle 2014-10-01 13:02:45 -03:00
Ivan Socolsky 645734f139 Fixed actions on txProposal event 2014-10-01 09:42:00 -03:00
Ivan Socolsky 2c53bc073e Improved tests 2014-10-01 09:42:00 -03:00
Esteban Ordano df20d7e242 Style: Moving all tests to a subfolder 2014-09-29 20:09:59 -03:00
Ivan Socolsky b15c620f0d When only 1 signature is required, broadcast at creation 2014-09-29 19:02:32 -03:00
Gustavo Maximiliano Cortez 26148d1f76 simple test 2014-09-26 09:55:16 -03:00
Matias Alejo Garcia 4b41915df6 Merge pull request #1473 from eordano/style/grunt-auto-loader
Change gruntfile and update dependencies
2014-09-25 09:44:04 -03:00
Esteban Ordano 8596b3d273 Change gruntfile and update dependencies 2014-09-25 09:27:39 -03:00
Ivan Socolsky cfa00590a6 Added lastOpened to list of all wallets 2014-09-25 09:01:12 -03:00
Matias Alejo Garcia be72a2b77a Merge pull request #1468 from isocolsky/ref/storage
Refactor wallet storage
2014-09-25 08:17:24 -03:00
Matias Alejo Garcia c360fbb926 Merge pull request #1460 from cmgustavo/bug/01-import
Trying to import a wallet with a wrong password
2014-09-25 07:51:23 -03:00
Ivan Socolsky 48c3633ece Wallets in both formats only get listed once 2014-09-24 09:39:17 -03:00
Matias Pando 12adaa64d2 Fixes show all/show less button on address list 2014-09-23 17:25:20 -03:00
Ivan Socolsky 861c1882df Removed unused functions and refactored tests 2014-09-23 17:20:21 -03:00
Ivan Socolsky cd3f2b8b90 Added methods for storing/reading from sinlge key-value pair 2014-09-23 17:20:21 -03:00
Ivan Socolsky 0f37ea1929 Added Storage#readWallet and used this from WalletFactory 2014-09-23 17:20:20 -03:00
Gustavo Maximiliano Cortez 039f0ed461 Trying to import a wallet with a wrong password 2014-09-23 16:32:23 -03:00
Matias Pando 06c83a8aba Move files to /model 2014-09-23 15:44:11 -03:00
Matias Alejo Garcia 97af7c2fbc Merge pull request #1410 from chjj/fix_paypro_sent
paypro: fix signature error. fix merchant_data. see #1409.
2014-09-23 15:22:23 -03:00
Christopher Jeffrey 66b845f7fd test: update tests for paypro fix. 2014-09-22 16:15:46 -07:00
Esteban Ordano 59c9553a4e Fixes test on rateService: github issue #1457 2014-09-22 20:15:41 -03:00
Manuel Aráoz 3a79f039cd Merge pull request #1307 from matiu/feature/drive
Feature/ Async storage + Google Drive example
2014-09-22 09:57:49 -03:00
Matias Alejo Garcia 9a38828b85 Merge pull request #1427 from isocolsky/fix/notification
Removed 'funds received' notification for change addresses
2014-09-22 09:51:30 -03:00
Matias Alejo Garcia 4b56e06472 fix async getName calls 2014-09-19 15:00:38 -03:00
Matias Alejo Garcia e48e6e3fd5 fix karma tests 2014-09-19 11:37:28 -03:00
Matias Alejo Garcia 4bf7bbe73f defaults to localStorage 2014-09-18 19:34:27 -03:00
Matias Alejo Garcia 238d36c0a7 fix pubkey param. add test 2014-09-18 18:29:00 -03:00
Matias Alejo Garcia 9bfc0dd193 revert to setPassphrase 2014-09-18 16:38:18 -03:00
Matias Alejo Garcia 56a7a7b5c5 rename setPassphrase 2014-09-18 16:15:23 -03:00
Ivan Socolsky e0263cf594 Removed 'funds received' notification for change addresses 2014-09-17 17:39:53 -03:00
Matias Alejo Garcia c7378c90ec karma passing again! 2014-09-17 13:03:12 -03:00
Matias Alejo Garcia 7fd93d4ffd fix all tests in mocha 2014-09-17 12:11:33 -03:00
Matias Alejo Garcia 1ab7a4f8e8 fix walletlock tests 2014-09-17 12:10:26 -03:00
Matias Alejo Garcia 8bc1eb15e4 burn in hell fake storage 2014-09-17 09:42:23 -03:00
Gustavo Maximiliano Cortez d360c8eeb5 fix test 2014-09-17 09:36:16 -03:00
Matias Alejo Garcia 5886af5420 WIP karma tests 2014-09-17 08:58:23 -03:00
Matias Alejo Garcia e2af5ac782 Merge pull request #1418 from matiaspando/test/addingCoverage
Test added on Wallet.js
2014-09-17 06:30:46 -03:00
Matias Pando a316d04474 Test added 2014-09-16 15:58:23 -03:00
Matias Alejo Garcia 415861df29 all test passing, after rebasing 2014-09-15 17:45:06 -03:00
Matias Alejo Garcia fd97b12c4d . 2014-09-15 16:46:24 -03:00
Matias Alejo Garcia b38c26fbd4 . 2014-09-15 16:42:45 -03:00
Matias Alejo Garcia 52a8423df9 trying to fix tests 2014-09-15 16:11:26 -03:00
Matias Alejo Garcia 5cf4fe0b66 ALL TEST PASSING!!! 2014-09-15 14:23:02 -03:00
Matias Alejo Garcia ad22b24d83 more tests 2014-09-15 14:21:49 -03:00
Matias Alejo Garcia c3574ae57f refactor WalletFactory test to use sinon instead of mocks WIP 2014-09-15 14:18:10 -03:00
Matias Alejo Garcia 9f30c9ade5 fix more tests en wallet f 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f48898033f more tests fixes 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f1e6d6cfc6 fix walletLock test 2014-09-15 14:17:20 -03:00
Matias Alejo Garcia b3ed2a2ea8 start fixing tests 2014-09-15 14:17:20 -03:00
Matias Alejo Garcia bbd762a1fe rm encrypted to storage 2014-09-15 14:08:42 -03:00
Matias Alejo Garcia 2849f773e2 change name to Encrypted 2014-09-15 14:07:43 -03:00
Gustavo Maximiliano Cortez d85fcbfe07 Remove forceNetwork 2014-09-15 10:16:40 -03:00
Ivan Socolsky 8d7e420524 No copayer nickname on 1-1 wallets 2014-09-12 11:10:45 -03:00
Ivan Socolsky 7cf2a474dd removed old test 2014-09-12 10:41:17 -03:00
Ivan Socolsky 81a73e6f2a resolved 2014-09-12 10:40:47 -03:00
Ivan Socolsky 19a8733a9c resolved conflicts 2014-09-12 10:28:16 -03:00
Ivan Socolsky 1f83f85189 separated subscribeToAddresses from getAddressesInfo 2014-09-12 10:25:38 -03:00
Manuel Araoz c47318c728 settings: fix send in livenet 2014-09-11 11:19:19 -07:00
Manuel Araoz 63423d92ed settings: fix tests 2014-09-11 10:15:00 -07:00
Manuel Araoz f2f5179b0a settings: fix tests 6 2014-09-10 14:06:54 -07:00
Manuel Araoz 85af562350 settings: fix tests 5 2014-09-10 14:02:11 -07:00
Manuel Araoz d4f7401e23 settings: fix tests 4 2014-09-10 14:01:40 -07:00
Manuel Araoz d57e5e73e7 settings: fix tests 3 2014-09-10 14:01:10 -07:00
Manuel Araoz 28dff691fd settings: fix tests 2 2014-09-10 13:56:49 -07:00
Manuel Araoz 91033f3fcb settings: fix tests 1 2014-09-10 13:46:20 -07:00
Manuel Araoz 7159cdb712 settings: added test for new secret scheme 2014-09-10 13:43:58 -07:00
Manuel Araoz b36564fcb7 settings: fix angular test 6 2014-09-10 13:41:40 -07:00
Manuel Araoz 0a531a47f9 settings: fix angular test 5 2014-09-10 13:41:40 -07:00
Manuel Araoz 2a976d2673 settings: fix angular test 4 2014-09-10 13:41:40 -07:00
Manuel Araoz 7277d29965 settings: fix angular test 3 2014-09-10 13:40:52 -07:00
Manuel Araoz 258ae5c79c settings: fix angular test 2 2014-09-10 13:40:52 -07:00
Manuel Araoz 6bdeaadb94 settings: fix angular test 1 2014-09-10 13:40:20 -07:00
Manuel Araoz 69b70d7d2b settings: fix tests 2014-09-10 13:40:20 -07:00
Manuel Araoz 296ddf3625 settings: fix test 3 2014-09-10 13:40:20 -07:00
Manuel Araoz 6a9ad9c01e settings: fix test 2 2014-09-10 13:39:22 -07:00
Manuel Araoz aba883ed2d settings: fix test spelling 2014-09-10 13:39:22 -07:00
Manuel Araoz 1d0f12f4cb settings: fix test 1 2014-09-10 13:39:22 -07:00
Manuel Araoz 09ec6f04bb settings: fix references to alternativeName 2014-09-10 13:39:22 -07:00
Manuel Araoz 08db6831ce settings: Insight.js refactor 2 2014-09-10 13:27:16 -07:00
Manuel Araoz f9a31ce9aa settings: nuke verbose 2 2014-09-10 13:19:27 -07:00
Ivan Socolsky baf92d4c1b resolved conflict 2014-09-10 15:09:11 -03:00
Esteban Ordano 00774b62fd Revert "Delete BuilderMockV0"
This is a combination of 3 commits:
* Revertion of commit b39a683339.
* Revertion of commit 61aea8db3d.
* Revertion of commit 5f666aef66.
2014-09-10 10:02:57 -03:00
Matias Alejo Garcia 38ed6e2df6 fix karma tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia 194913c561 fix insight tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia d838a29d02 fix some wallet tests 2014-09-09 22:33:31 -03:00
Matias Alejo Garcia c45495eeff lazy connect 2014-09-09 22:30:21 -03:00
Gustavo Maximiliano Cortez 43c0a0bb32 tests for copayers controller 2014-09-09 12:59:48 -03:00
Gustavo Maximiliano Cortez f811f91952 Merge pull request #1322 from matiu/builderOpts2
Builder opts2
2014-09-09 10:55:20 -03:00
Matias Alejo Garcia 740be93836 fix fee / feeSat opts 2014-09-09 10:43:13 -03:00
Gustavo Maximiliano Cortez ea91c603f9 Merge pull request #1315 from isocolsky/fix/insight_down
Catching errors when trying to create new TXP
2014-09-09 10:38:52 -03:00
Matias Alejo Garcia 765d3dd658 fix sighash opts + add tests 2014-09-09 08:42:32 -03:00
Ivan Socolsky 9ee04fe45f Fixed 'Use all funds' link for amounts below fee 2014-09-08 17:35:55 -03:00
Ivan Socolsky cef93325f4 Catch error when creating new TXP 2014-09-08 16:37:33 -03:00
Ivan Socolsky 152ab7aa44 Refactored Wallet#createTx 2014-09-08 15:50:20 -03:00
Matias Alejo Garcia ff7b6d6ad8 Merge pull request #1265 from eordano/fix/1052
Remove BuilderMockV0
2014-09-08 15:08:12 -03:00
Gustavo Maximiliano Cortez db3ca4ceef Merge pull request #1270 from isocolsky/fix/remove_spent
Removed proposals with spent inputs
2014-09-04 18:25:11 -03:00
Ivan Socolsky 48a4e8b555 Test 2014-09-04 17:38:09 -03:00
Ivan Socolsky ace301d1f8 Only remove pending txps 2014-09-04 17:37:38 -03:00
Ivan Socolsky e9e36020fe Add method to FakeWallet 2014-09-03 18:06:58 -03:00
Matias Pando 89dba4c616 Added secret number feature 2014-09-03 16:51:02 -03:00
Ivan Socolsky ea394de56a Tests 2014-09-03 11:55:12 -03:00
Ivan Socolsky a07ffee068 Precondition check for TxProposals#deleteOne 2014-09-03 11:55:05 -03:00
Ivan Socolsky 25064829e0 Tests 2014-09-03 11:54:57 -03:00
Esteban Ordano 61aea8db3d Fix tests 2014-09-02 18:43:40 -03:00
Esteban Ordano a0c7d2cb66 Merge pull request #1258 from cmgustavo/feature/01-remove-peerjs
Feature: remove peerjs
2014-09-02 18:23:36 -03:00
Manuel Araoz 89ec5ad61e add wallet import test 2014-09-02 17:08:09 -03:00
Manuel Araoz 5a3134212c fix passphrase test 2014-09-02 17:08:09 -03:00
Gustavo Maximiliano Cortez 76748bc5f9 remove video test 2014-09-02 11:51:05 -03:00
Esteban Ordano 6520f8c5e6 Fixes tests 2014-09-01 17:00:34 -03:00
Matias Alejo Garcia e73a3f8160 Merge pull request #1228 from eordano/feature/fiat
Allow user to select an alternative currency and specify amount of money in a fiat currency
2014-09-01 11:53:17 -03:00
Manuel Aráoz 21d7ea5411 Merge pull request #1239 from matiu/bug/create
rename #setup to #create
2014-09-01 11:25:49 -03:00
Esteban Ordano 22b92aca61 Address needed change to transaction resume, fix tests 2014-08-30 10:59:11 -03:00
Esteban Ordano ac6dfc8035 Add more tests to controller 2014-08-30 10:59:10 -03:00
Esteban Ordano cf143898f9 test for rate service 2014-08-30 10:59:10 -03:00
Yemel Jardi b97a332ae9 Add reconnecting notification, change subscribed list to dict, update balance after reconnect 2014-08-29 15:01:07 -03:00
Matias Alejo Garcia b8b40f21f6 rename #setup to #create 2014-08-29 13:20:47 -03:00
Yemel Jardi 0623c87727 Update tests 2014-08-29 12:27:53 -03:00
Yemel Jardi 16091bd330 Refactor controllers 2014-08-29 12:27:53 -03:00
Yemel Jardi 33801e9587 Refactor blockchain backing service 2014-08-29 12:27:53 -03:00
Matias Alejo Garcia 2c354525ea test passing 2014-08-28 19:19:28 -03:00
Manuel Aráoz dfa383b351 Merge pull request #1197 from matiaspando/tmp
Added a test to PublicKeyRing to increase coverage
2014-08-27 17:29:35 -03:00
Matias Pando 028f3dbd8d Fixing test PublicKeyRing 2014-08-27 11:13:32 -03:00
Manuel Aráoz a37e31ec80 Merge pull request #1199 from isocolsky/test/sendTx
Test wallet#sendTx
2014-08-27 11:03:41 -03:00
Ivan Socolsky 0710c002ca Fail to send should check if already sent 2014-08-27 10:36:01 -03:00
Ivan Socolsky 63fb94c2be Check fail when sending incomplete tx 2014-08-27 09:47:45 -03:00
Matias Pando d4ce4e3c01 Added a test to PublicKeyRing to increase coverage 2014-08-26 17:01:41 -03:00
Manuel Araoz d6fb7280c8 fix browser to firefox 2014-08-26 16:41:22 -03:00
Manuel Araoz 4e96abe2f7 make tests run with separate script 2014-08-26 16:41:22 -03:00
Manuel Araoz 685c4c06a7 remove only 2014-08-26 16:41:21 -03:00
Manuel Araoz 68014db04a fix firefox bugs 2014-08-26 16:41:21 -03:00
Manuel Araoz 9047f4f30b skip PayPro test in browser, they break in travis 2014-08-26 16:41:21 -03:00
Manuel Araoz 23e6971e76 remove File class 2014-08-26 16:41:21 -03:00
Manuel Araoz 3062dd1227 remove test/index.html yay :D 2014-08-26 16:41:21 -03:00
Manuel Araoz 5206547a61 add some mocha tests to karma 10 2014-08-26 16:41:21 -03:00
Manuel Araoz f70fa396b7 add some mocha tests to karma 8 2014-08-26 16:41:21 -03:00
Manuel Araoz 88bf042e3c add some mocha tests to karma 6 2014-08-26 16:41:21 -03:00
Matias Alejo Garcia 64afc4b914 Merge pull request #1185 from isocolsky/test/passphrase
Add tests for passphrase
2014-08-26 16:19:46 -03:00
Ivan Socolsky fbf021cd09 Add tests for passphrase 2014-08-26 13:02:02 -03:00
Manuel Araoz c07055b012 fix new tests from rebase 2014-08-26 11:43:44 -03:00
Manuel Araoz 1f0215b6e1 fix test after rebase 3 2014-08-26 11:43:44 -03:00
Manuel Araoz e00997bad8 fix test after rebase 2 2014-08-26 11:43:43 -03:00
Manuel Araoz 0d22524885 fix test after rebase 2014-08-26 11:43:43 -03:00
Manuel Araoz 0aa63be74b remove old Message class 2014-08-26 11:43:43 -03:00
Manuel Araoz 774400d7a7 add a broadcast test 2014-08-26 11:43:43 -03:00
Manuel Araoz 0d837faaec fix more tests 2014-08-26 11:43:43 -03:00
Manuel Araoz 043fb16d64 fix more tests 2014-08-26 11:43:43 -03:00
Manuel Araoz 7bb0e84995 remove console log 2014-08-26 11:43:43 -03:00
Manuel Araoz c905668195 fix test 16 2014-08-26 11:43:43 -03:00
Manuel Araoz 614d8d63ad fix test 15 2014-08-26 11:43:43 -03:00
Manuel Araoz 1cca496a66 fix test 14 2014-08-26 11:43:43 -03:00
Manuel Araoz 78f338f446 fix test 13 2014-08-26 11:43:43 -03:00
Manuel Araoz 3a84bee9bf fix test 13 2014-08-26 11:43:43 -03:00
Manuel Araoz f22c3e3be2 fix test 13 2014-08-26 11:43:42 -03:00
Manuel Araoz 50348a171f fix test 13 2014-08-26 11:43:42 -03:00
Manuel Araoz 5ace0c7e46 fix test 11+12 2014-08-26 11:43:42 -03:00
Manuel Araoz c4515d644d fix test 10 2014-08-26 11:43:42 -03:00
Manuel Araoz 609d0327cc refactor into simpler tests 2014-08-26 11:43:42 -03:00
Manuel Araoz 302bc4bf7e fix test 9 2014-08-26 11:43:42 -03:00
Manuel Araoz 372d230e17 fix test 8 2014-08-26 11:43:42 -03:00
Manuel Araoz ed7916f1be fix test 7, removed a test that made no sense 2014-08-26 11:43:42 -03:00
Manuel Araoz 6fa50f1dc2 fix test 5 2014-08-26 11:43:42 -03:00
Manuel Araoz 850c4c6f70 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz 8709d91b37 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz f5e7886a72 fix test 3 2014-08-26 11:43:42 -03:00
Manuel Araoz 73390cebf8 fix test 2 2014-08-26 11:43:42 -03:00
Manuel Araoz 0b80373894 fix test 1 2014-08-26 11:43:42 -03:00
Manuel Araoz e0b8f3319f remove WebRTC 2014-08-26 11:43:42 -03:00
Manuel Araoz 3ebacd50cc working towards refactoring network 2014-08-26 11:43:41 -03:00
Manuel Araoz 48dd8549ef fixing stuff 2014-08-26 11:43:41 -03:00
Manuel Araoz 7dc37a272a starting with async networking 2014-08-26 11:43:41 -03:00
Matias Alejo Garcia a69f090c9c add tests 2014-08-22 22:05:08 -04:00
Matias Alejo Garcia 35e9508b28 fix formatting 2014-08-22 14:44:40 -04:00
Matias Alejo Garcia 51a42cce8e mocha tests passing 2014-08-22 13:26:03 -04:00
Matias Alejo Garcia 18ffaa172a refactor txProposal input signature handling 2014-08-22 13:25:55 -04:00
Matias Alejo Garcia bb9fbfa1e7 fix tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 291ed73916 add test and adv opts to create 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia e11ac3e956 add tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 4931c9d618 add purge to tx prosposals 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia 2617b76428 mv backup to more filenames 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia ca23aed70f add test for priv key import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 7f0e9cd03d implements skipping fields in backup imports 2014-08-22 10:25:30 -04:00
Ivan Socolsky ce910fe52f Check tx proposal minimum amount 2014-08-21 16:02:02 -03:00
Gustavo Maximiliano Cortez 852eed3439 Merge pull request #1134 from matiu/bitcorelib
Bitcorelib
2014-08-19 17:03:20 -03:00
Gustavo Maximiliano Cortez 068f8cad52 Merge pull request #1133 from matiu/bug/nn-name
Bug/nn name
2014-08-19 16:45:51 -03:00
Matias Alejo Garcia ecfdaf00cb Merge pull request #1132 from yemel/refactor/remove-old-code
Remove old code
2014-08-19 15:20:02 -04:00
Matias Alejo Garcia 51fcce5b93 add link to bitcore.js 2014-08-19 14:30:16 -04:00
Matias Alejo Garcia 202e9a4270 Merge pull request #1129 from greggzigler/skipped_tests
Add skipped tests to mocha index.html
2014-08-19 14:26:39 -04:00
Yemel Jardi 1e9b83a195 Remove old code 2014-08-19 15:06:44 -03:00
Matias Alejo Garcia 9e5bec9b9b rm cache from storage/network from Priv Key 2014-08-19 13:31:35 -04:00
Gregg Zigler e16492e64b add HDParams test to moch index, get rid of unused code that caused errors 2014-08-19 09:06:37 -07:00
Matias Alejo Garcia 20af614f40 remove pubkey cache from network and storage 2014-08-19 11:48:29 -04:00
Matias Alejo Garcia 2ea8ae38f0 Merge pull request #1121 from greggzigler/fix_karma
Clean up karma console errors.
Chrome 36.0.1985 (Mac OS X 10.9.4): Executed 82 of 82 SUCCESS (0.47 secs / 0.141 secs)
2014-08-19 10:49:26 -04:00
Ryan X. Charles 8700e3062c Merge pull request #1125 from chjj/paypro_logs
paypro: test - remove logging.
2014-08-18 16:19:53 -07:00
Christopher Jeffrey 630e631b60 paypro: test - remove logging. 2014-08-18 16:16:36 -07:00
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -04:00
Gregg Zigler d5a64d0db0 add more tests to mocha index 2014-08-18 13:54:23 -07:00
Gregg Zigler 4e8fa24fc0 fix miscellaneous karma console errors
point to new bitcore bundle
remove online.wav file usage, clean up console error
remove unused crypto var from storage.File test, clean up console error
2014-08-18 11:36:25 -07:00
Gregg Zigler ecf262ceea add skipped tests to mocha index page 2014-08-18 10:18:45 -07:00
Matias Alejo Garcia ed78c79416 add bitcore link 2014-08-16 00:42:59 -04:00
Yemel Jardi bb744ef271 Update karma tests 2014-08-15 23:04:13 -03:00
Yemel Jardi b19a0daa64 Replace parseBitcoinURI with bitcore implementation 2014-08-15 23:04:13 -03:00
Matias Alejo Garcia d4dbeb8b13 rm unused code 2014-08-15 19:54:39 -04:00
Matias Alejo Garcia 534895a009 rebase 2014-08-15 18:55:26 -04:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 5753f406e0 add tests to getSEssionId 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 54bc98f0bd add sessionStorage param 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Matias Alejo Garcia bcb61810d5 WIP: better lock 2014-08-15 18:29:30 -04:00
Matias Alejo Garcia d8e0d50dce add WalletLock class 2014-08-15 18:26:33 -04:00
Manuel Araoz 98beeefefe trying to get tests working WORKS! 2014-08-15 17:47:37 -04:00
Manuel Araoz 0ffc28962d update browser build 2014-08-15 17:47:37 -04:00
Manuel Araoz 031d101a21 rename test 2014-08-15 17:47:36 -04:00
Manuel Araoz 70dc68485b trying to get tests working 2014-08-15 17:47:36 -04:00
Manuel Araoz 439d44cf80 remove console.logs 2014-08-15 17:46:48 -04:00
Manuel Araoz 5b558e18fb remove soop from tests 2014-08-15 17:46:48 -04:00
Manuel Araoz 3081f1ef9a remove soop 3 2014-08-15 17:46:48 -04:00
Manuel Araoz d0f264cdae remove soop 2 2014-08-15 17:46:48 -04:00
Manuel Araoz 69edb7c7e3 remove soop 1 2014-08-15 17:46:48 -04:00
Manuel Araoz e7967486a3 remove soop dependency 2014-08-15 17:46:47 -04:00
Gregg Zigler 38cfc69229 Remove API #
Does not include changes to try/catch for require copay
2014-08-15 13:02:51 -07:00
Christopher Jeffrey 1c264deb2c test: use is_browser instead of try/catch to detect browser. 2014-08-14 12:29:11 -04:00
Manuel Araoz e857e34b1d fixing index.html and karma tests 2014-08-14 11:51:56 -04:00
Manuel Araoz 7f07e7b8ac fixing build.js one error at a time 6 2014-08-14 11:25:15 -04:00
Manuel Araoz 2725b7f6e1 fixing build.js one error at a time 5 2014-08-14 11:19:50 -04:00
Christopher Jeffrey 9aee71e8fd paypro: fix tests for unspent outputs. 2014-08-14 09:52:43 -04:00
Manuel Araoz 0067ab4da6 fix some karma tests problems 2014-08-14 09:52:42 -04:00
Manuel Araoz 10bd5ba6bf moving torwards fixing tests 2014-08-14 09:52:42 -04:00
Manuel Araoz d43e7943d3 move towards fixing karma tests 2014-08-14 09:52:42 -04:00
Manuel Araoz e2ab9dd0c8 fix one test 2014-08-14 09:52:42 -04:00
Manuel Araoz 1a186b4640 fix requires for karma 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 6ec8a087f3 paypro: fix POST route in fake paypro server. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey efe41cead4 paypro: use unspecified GET method for first paypro request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 61f20605f5 paypro: minor - fix test messages for unit controller tests. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 05859b77d6 paypro: test - remove old function. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey d4d33ed2e7 paypro: update tests to use wallet.isShared(). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 9d94fa0b75 paypro: remove old comments and logs from tests. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey a8ab012601 paypro: fix tests for latest master rebase. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 17f3402dab Revert "Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged.""
This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey 8bebbe8ec6 paypro: fix mock server to handle txs as buffers when browserified. tests passing in browser. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey f9bd8c3a04 paypro: try to keep everything big endian to avoid bignum bug in node. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 3931e73da4 paypro: debugging endianness issue in bignum (browser vs node). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 6f4af88662 paypro: tests - fix browser hanging. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey bc716646dc paypro: figure out why paypro tests are hanging in the browser. 2014-08-14 09:52:40 -04:00
Christopher Jeffrey 5c97649f83 paypro: run paypro tests in browser. whitespace. 2014-08-14 09:52:40 -04:00
Christopher Jeffrey b254dea911 Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged."
This reverts commit c826acb3e539c4deb047053fd08a2a5e8fb8f8e8.
2014-08-14 09:52:12 -04:00
Christopher Jeffrey 3ade672561 paypro: prepare for txp refactor. will stay reverted until #1001 is merged. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey f20836a24c paypro: use server outputs for creating txs again. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey 052e2522be paypro: stop using global $http. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d51c1c552f paypro: potentially use verbatim scripts after setting outputs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey ac32f56afa paypro: drop old tx code. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 093fd68c78 paypro: extract addresses from server outputs and craft txs in this manner. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 18d1e4f6e7 paypro: reorganize createPaymentTxSync. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 5f20b09b0b paypro: remove logs from tests. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 696323d496 paypro: tests - add more should() calls. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6505805196 paypro: add separate tests for verifying abstract txp tx and pr. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey a942df63df paypro: drop sign() calls in verify tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey a0137b9e55 paypro: sign an untampered payment request in tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 3ff4eb26ea paypro: add tests for verifyPaymentRequest and signing tampered txs/prs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 31719e62dd paypro: 12 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 919681633a paypro: 9 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 9c4ee94e35 paypro: 4 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 785a9cdd31 paypro: tests - send raw http requests to test mock server. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey f67e30bfd2 paypro: start writing more tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6d64935889 paypro: begin refactoring tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey a93f4532c5 paypro: fix paypro tests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8cb2a96aff paypro: do not return error on untrusted cert. let peer decide whether to trust. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 1c4d292a96 paypro: fix mock server. unit controller tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b89ad8f3cc paypro: controller unit tests for payment protocol. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 4cbc9ebf63 paypro: test - add mock paypro server. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 96c02c1e37 paypro: clean up tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 9d81cc0006 paypro: start mocking up tests for running in browser and node. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e0ff9ca6bd paypro: fix parseBitcoinURI. start using bitcoin uris in tests. 2014-08-14 09:52:09 -04:00