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
Christopher Jeffrey
283dec1f2e
paypro: clean up test again.
2014-08-14 09:52:09 -04:00
Christopher Jeffrey
5e885da184
paypro: clean up test.
2014-08-14 09:52:09 -04:00
Christopher Jeffrey
f6e9d647b4
paypro: add hideous test for payment protocol.
2014-08-14 09:52:09 -04:00
Christopher Jeffrey
58b9345f59
test: fix wallet test if copay is in ./node_modules.
2014-08-14 09:52:08 -04:00
Gregg Zigler
5853a197e5
replace try/catch with browserify for copay.js
2014-08-13 15:04:55 -07:00
Yemel Jardi
815c98f7e8
Merge pull request #1076 from matiu/bug/02-open-wallet
...
Bug/02 open wallet
2014-08-13 12:33:46 -03:00
Matias Alejo Garcia
35ab711846
refactor lock warning and add tests
2014-08-12 15:26:15 -04:00
Matias Alejo Garcia
1733f5491b
fix settings page and add tests
2014-08-11 16:26:48 -04:00
Gustavo Maximiliano Cortez
fb3a7191e5
Updated mocha test
2014-08-07 20:40:39 -03:00
Gustavo Maximiliano Cortez
8ad1fa7b02
Fixes: tests. Added karma and mocha tests.
2014-08-07 20:07:41 -03:00
Gustavo Maximiliano Cortez
fe53f1b87c
Merge pull request #1059 from yemel/feature/change-menu
...
Refactor menu, split transactions tab into send and history
2014-08-07 10:26:40 -03:00
Yemel Jardi
17a66f7ad7
update karma tests
2014-08-07 10:20:24 -03:00
Gregg Zigler
c8c7a57416
1. Add TxProposals to mocha test page
...
2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
2014-08-06 18:44:04 -04:00
Matias Alejo Garcia
cc164af28b
Merge pull request #1045 from cmgustavo/feature/01-version
...
Feature/01 version
2014-08-06 18:34:03 -03:00
Matias Alejo Garcia
ddc8649bd3
fix `comment` handling
2014-08-06 15:56:17 -03:00
Yemel Jardi
ad75265e93
Refactor menu, split transactions tab into send and history
2014-08-06 13:59:33 -03:00
Matias Alejo Garcia
91a05a896e
rm removeRepeated fn
2014-08-05 17:18:02 -03:00
Matias Alejo Garcia
5a2dfe690d
add rebroadcast test
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
91829f8410
remove sender sig check
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
36fcd6882f
add more tests to wallet
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
725f79f5f8
fix tests
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
4cf152999a
add seenBy on creator
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
f5f9848ff1
all test passing!
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
753b890658
txp* test passing
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
966818c53a
add different toObj/fromObj fn for networking
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
d0c43f9bfb
ALL test passing
2014-08-05 16:41:29 -03:00
Matias Alejo Garcia
25631e641a
wallet test passings
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
dc3bbb8859
wallet test passings
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
5d2b50f77f
test in Txproposals working again
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
42c73f9a01
rewrite from scratch tests for TxProposalSet
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
ae042a8292
TxProposal fully testes
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
2fe421b14f
tests for txProposal 1
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
0e211426d7
tests for txProposal
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
05aefc17a5
tests for txProposal
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
72e1dfc114
WIP
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
6e5f06693d
separate TxProposal to a different class. new tests
2014-08-05 16:38:13 -03:00
Matias Alejo Garcia
96a5f0aeb8
add forPath and tests
2014-08-05 16:38:13 -03:00
Gustavo Maximiliano Cortez
bb587d0743
Fix karma test and added a new one
2014-08-05 11:53:58 -03:00
Gustavo Maximiliano Cortez
a5544d08db
Merge pull request #1040 from yemel/feature/improve-1-of-1
...
Remove Name field and copayer list on 1-of-1 wallets
2014-08-05 10:29:46 -03:00
Yemel Jardi
c8d24cc420
Add mock method at FakeWallet
2014-08-05 10:21:29 -03:00
Yemel Jardi
523a48b056
Remove Name field and copayer list on 1-of-1 wallets
2014-08-04 16:27:58 -03:00
Yemel Jardi
9b1708b88e
Save last opened wallet
2014-08-04 15:10:01 -03:00
Gustavo Maximiliano Cortez
854196e72a
Merge pull request #989 from yemel/feature/pre-created-address
...
Add a pre-generated address to the shared branch
2014-08-01 11:04:58 -03:00
Yemel Jardi
59a03c1f25
Change available balance to locked
2014-08-01 10:09:26 -03:00
Yemel Jardi
fdabdc64fe
Add a pre-generated address to the shared branch
2014-07-31 16:13:27 -03:00
Matias Alejo Garcia
4241bdac68
all test pass!
2014-07-29 13:33:54 -03:00
Matias Alejo Garcia
cb8f719a99
all tests BUT hardcoded imports working
2014-07-29 13:10:36 -03:00
Matias Alejo Garcia
578d05e638
all tests BUT hardcoded imports working
2014-07-29 13:09:47 -03:00
Matias Alejo Garcia
0ee93403f3
change names to HD and fix HD* tests
2014-07-29 11:23:58 -03:00
Gustavo Maximiliano Cortez
898e5a12ef
Fixes: karma tests
2014-07-28 13:30:41 -03:00
Gustavo Maximiliano Cortez
85aa5842f1
Fix Conflicts:
...
.gitignore
index.html
js/controllers/backup.js
js/controllers/sidebar.js
2014-07-28 12:28:07 -03:00
Matias Alejo Garcia
3aef6e156b
add FORCED options to TxBuilder creation
2014-07-25 17:45:56 -03:00
Manuel Araoz
e85431861e
fix cases for incomplete transactions
2014-07-25 13:37:12 -03:00
Manuel Araoz
740256772e
fix password tests
2014-07-25 12:34:31 -03:00
Manuel Araoz
4cab2d1929
fix new tests
2014-07-25 12:25:28 -03:00
Manuel Araoz
76e0d8f5ef
add validation for actual tx SIGHASH_TYPE
2014-07-25 12:25:28 -03:00
Manuel Araoz
b5c144d48c
complete validation tests for txProposal SIGHASH
2014-07-25 12:25:27 -03:00
Manuel Aráoz
d7650f30ff
Merge pull request #929 from matiu/feature/bitcore01
...
Updates model and tests to newest bitcore version
2014-07-25 12:23:36 -03:00
Matias Alejo Garcia
7f11793b96
less strict import check for TXP v0
2014-07-25 11:13:48 -03:00
Matias Alejo Garcia
ae08d5611a
fix test / id name
2014-07-25 11:05:10 -03:00
Manuel Araoz
08c2579272
fix test
2014-07-25 10:54:46 -03:00
Manuel Araoz
235920bd84
add failing test for mati to fix
2014-07-25 10:50:18 -03:00
Matias Alejo Garcia
b5e307c3d3
update format
2014-07-24 21:19:54 -03:00
Matias Alejo Garcia
2d481dd406
updates model and tests to newest bitcore version
2014-07-24 21:18:38 -03:00
Yemel Jardi
cff8dcb41b
Show addresses for other copayers
2014-07-22 16:13:11 -03:00
Gustavo Maximiliano Cortez
b17bc2310d
test for new angular directive: match password inputs
2014-07-18 18:18:05 -03:00
Gustavo Maximiliano Cortez
91c7ab100d
Fixes karma tests
2014-07-16 19:00:34 -03:00
Yemel Jardi
3ebf88f6aa
Improve indexDiscovery tests performance
2014-07-10 16:19:09 -03:00
Ryan X. Charles
643cad3a39
change encryption to work on hex strings
...
..instead of binary, to work around an issue with bitcore/sjcl. I'm not sure
what the issue is exactly, except that encryption of binary data isn't working
correctly due to some kind of string stuff involving decodeURIComponent inside
sjcl. I haven't fully figured it out. For now I am changing the network
protocol to hex to workaround the issue.
See this: https://github.com/bitpay/bitcore/pull/416
2014-07-09 01:13:42 -07:00
Ryan X. Charles
88ab38eb00
add nonce support to WebRTC and Wallet
...
Each person keeps track of their own nonce, and the nonces of the other
copayers. The nonce is iterated for each message. If a person ever doesn't
iterate their nonce, that message is discarded by the copayers.
The nonces are saved as networkNonce (your nonce) and networkNonces (the nonces
of your copayers) in the wallet file.
In order to support restoring old wallets, the first four bytes of the 8 byte
nonce are actually the current time in seconds. Thus you can restore an old
wallet, because certainly at least one second has passed since your last
message. Only if you try to restore an old wallet within 1 second from the time
of your last message will you have a problem (or if your system clock is
grossly inaccurate).
2014-07-08 23:03:30 -07:00
Ryan X. Charles
a1155c2798
add support for 8 byte big endian nonce to Message
...
...network protocol is backwards incompatible with previous network protocl.
also includes a second version number for backwards-compatible changes (the
original version number was for backwards-incompatible changes).
2014-07-08 20:02:37 -07:00
Gustavo Maximiliano Cortez
d91c42ee30
Merge pull request #873 from matiu/feature/test01
...
Feature/test01
2014-07-08 20:13:23 -03:00
Matias Alejo Garcia
7a072e83d9
.
2014-07-08 20:05:41 -03:00
Matias Alejo Garcia
248c18596c
more tests
2014-07-08 19:52:47 -03:00
Gustavo Maximiliano Cortez
5d5bf3dfc5
Merge pull request #849 from yemel/feature/backup-wallet
...
Wallet Backups
2014-07-08 19:17:43 -03:00
Matias Alejo Garcia
fb2b6c40ba
add tests to localencrypted
2014-07-08 19:11:48 -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
4303b0beab
Add tests
2014-07-08 15:54:10 -03:00
Yemel Jardi
e6a9a443cc
Update tests
2014-07-08 15:54:10 -03:00
Matias Alejo Garcia
b0ff5494e0
Merge pull request #865 from maraoz/feature/force-testnet
...
Feature: allow to force network from config
2014-07-08 15:35:31 -03:00
Matias Alejo Garcia
bbac45ee7a
fixes handling networking errors and retries. Adds tests
2014-07-08 15:25:12 -03:00
Matias Alejo Garcia
5d63741f35
Merge pull request #862 from yemel/fix/address-list
...
Fix showing QR code on address list when it shouldn't
2014-07-08 15:05:55 -03:00
Manuel Araoz
00cf32fc8d
add forceNetwork parameter and test it
2014-07-08 12:34:49 -03:00
Yemel Jardi
cef5b72557
Fix showing QR code on address list when it shouldn't
2014-07-08 12:23:10 -03:00
Matias Alejo Garcia
50a29909ba
remove test
2014-07-08 12:02:20 -03:00
Matias Alejo Garcia
360ccd724d
change settings tab name
2014-07-08 10:48:56 -03:00
Matias Alejo Garcia
141e8bddd3
fixes txproposal notifications
2014-07-08 08:58:24 -03:00
Gustavo Maximiliano Cortez
6e442cd902
Merge pull request #847 from matiu/bug/handleInsightErrors
...
handle empty Insight responses
2014-07-07 20:26:12 -03:00
Gustavo Cortez
14cea0362f
Fixes and re-factory
2014-07-07 20:01:50 -03:00
Matias Alejo Garcia
b9b09d5f11
add stub to _request
2014-07-07 19:33:59 -03:00
Gustavo Cortez
c00deb25f9
Fix tests
2014-07-07 19:12:34 -03:00
Gustavo Cortez
a1e5246727
updated
2014-07-07 18:13:26 -03:00
Matias Alejo Garcia
d192cc5270
handle empty Insight responsed
2014-07-07 18:12:58 -03:00