Commit Graph

1205 Commits

Author SHA1 Message Date
Matias Alejo Garcia fc78ae27d2 rm fn from more 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 dd724a6135 add store / refrest 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia c616f02169 fix isPending usage 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 60d81e6b9f add advanced options to join 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia db1b7d7c45 add advanced options to import 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia 96b841bd51 update sidebar 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia 2617b76428 mv backup to more filenames 2014-08-22 10:26:18 -04:00
Matias Alejo Garcia b388c3eadf add UX to backup tab 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 93239f7983 add send Indexes 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia c1564ae015 scan is working! 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia e760dae2bd add scaning options too more 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 4b3cbfcfb0 add test for priv key import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia 2fbbd2a53a add options to enter Priv Key on join 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia b70857f9e1 fix networkname on partial 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
Matias Alejo Garcia fea90215d4 add options to show the private key 2014-08-22 10:25:29 -04:00
Matias Alejo Garcia a749c5d08e Merge pull request #1161 from isocolsky/test/tx_min_amount
Check tx proposal minimum amount
2014-08-21 16:55:16 -04:00
Ivan Socolsky ce910fe52f Check tx proposal minimum amount 2014-08-21 16:02:02 -03:00
Matias Alejo Garcia 9bf7586de0 Merge pull request #1140 from greggzigler/travis_karma
Add karma to travis
2014-08-21 10:45:27 -04:00
Gregg Zigler 3f180fec27 do not try to vibrate in travis 2014-08-19 14:41:55 -07:00
Matias Alejo Garcia a6bab8ce43 hide initial balance until it is updated 2014-08-19 15:50:23 -04: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 25293ecf86 rm now useless delete 2014-08-19 14:15:47 -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
Christopher Jeffrey 6f6cf87360 wallet: fix bip21 calls. fixes #1128. 2014-08-19 10:27:30 -07:00
Matias Alejo Garcia 20af614f40 remove pubkey cache from network and storage 2014-08-19 11:48:29 -04:00
Matias Alejo Garcia 73a2a9fba3 remove pubkey cache from toObj/fromObj 2014-08-19 11:00:18 -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
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -04:00
Matias Alejo Garcia 411ebbe2d7 fix type 2014-08-18 17:45:54 -04: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
Christopher Jeffrey d7ab195b7a wallet: remove useless node module require. 2014-08-18 11:34:49 -07:00
Christopher Jeffrey 6246e62962 paypro: use BIP21 object in latest bitcore. fixes #1104. see #1083. 2014-08-18 11:30:03 -07:00
Matias Alejo Garcia 8975b70530 Merge pull request #1099 from yemel/feature/android-uri-handling
Implement bitcoin URI Handling on Android
2014-08-16 00:11:38 -04:00
Yemel Jardi 594fb8c350 Fix address and amount validation 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 534895a009 rebase 2014-08-15 18:55:26 -04:00
Matias Alejo Garcia d3b3a78658 fix comment send 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 1a5a2916c2 give lock preference to the new instance 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia f14d83cee1 redir to home if no wallets at #open 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 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 28791e6da1 remove soop from js 7 2014-08-15 17:46:48 -04:00
Manuel Araoz 00323b6381 remove soop from js 6 2014-08-15 17:46:48 -04:00
Manuel Araoz 00642dc642 remove soop from js 5 2014-08-15 17:46:48 -04:00
Manuel Araoz bf4d9fe41f remove soop from js 4 2014-08-15 17:46:48 -04:00
Manuel Araoz b78eb4d573 remove soop from js 3 2014-08-15 17:46:48 -04:00
Manuel Araoz 757ef69287 remove soop from js 2 2014-08-15 17:46:48 -04:00
Manuel Araoz f631643419 remove soop from js 1 2014-08-15 17:46:48 -04:00
Manuel Araoz 69edb7c7e3 remove soop 1 2014-08-15 17:46:48 -04:00
Yemel Jardi ed46e1fc01 Use BIP21 from bitcore 2014-08-15 17:33:15 -03:00
Matias Alejo Garcia 6b0782f3a0 Merge pull request #1102 from yemel/fix/ui-issues
Fix/ui issues
2014-08-15 16:30:40 -04:00
Yemel Jardi 7c29eefab3 Add web intent plugin and bitcoin uri handler 2014-08-15 17:29:29 -03:00
Matias Alejo Garcia b8fcc16a9d Merge pull request #1087 from yemel/fix/networking-notification
Skip first networking notification error
2014-08-15 16:15:30 -04:00
Matias Alejo Garcia 352185e66c Merge pull request #1082 from yemel/feature/mobile-clipboard
Feature/mobile clipboard
2014-08-15 16:06:31 -04:00
Yemel Jardi 818c01bf52 Remove 1-2-3 image from creation/join at Android version 2014-08-15 15:47:26 -03:00
Christopher Jeffrey 5d3f3f60fe paypro: fix - use safeUnspent for createPaymentTxSync. 2014-08-14 13:11:46 -04:00
Christopher Jeffrey ea7948f420 paypro: better error display on no unspent outputs. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 8e86826b68 paypro: even better notification when user has insufficient funds. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey eea59bc0e1 paypro: better notification if the user has insufficient funds for a PP tx. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey f64b1eee28 paypro: allow unconfirmed unspent outputs in paypro tx proposals. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 685c6e54dc paypro: differentiate safeUnspent and unspent. 2014-08-14 09:52:43 -04:00
Manuel Araoz 324dfbc36a finished refactor 2014-08-14 09:52:43 -04:00
Manuel Araoz 967457764c refactor controller code to controller from directive 2014-08-14 09:52:42 -04:00
Manuel Araoz 0067ab4da6 fix some karma tests problems 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 32971772d1 Revert "paypro: allow specific paypro headers."
This reverts commit bec2df549b5565b3f846e9a59e5240db01877d88.
2014-08-14 09:52:42 -04:00
Christopher Jeffrey 8d2393230e paypro: allow specific paypro headers. 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 08f1a49259 paypro: remove useless header from http request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 086e2f6572 paypro: fix accept header for bitpay.com. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 4159c5aa5b paypro: fix sendPaymentTx to be in line with sendTx. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey a1619e3f6c paypro: minor - remove comment. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 361b885d71 paypro: remove uneccessary if clause in parseBitcoinURI. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey aed815f5cd paypro: angularize the markup and address directive. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 86a725240b paypro: minor - fix notification text. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 6438de6bd2 paypro: more notifications. comments. misc. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 92c0b69d35 paypro: add more notifications. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey fe2118fcbe paypro: show actual notification if there are no unspent outputs for payment request. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey f5b1afdbf1 paypro: removed a lot of now-pointless code dealing with merchantData.total. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 80ceca3b73 paypro: minor refactor - clean up whitespace in directives. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey d58bfe9de8 paypro: comment for handling 0-amount outputs from server. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey d4f4f99dce paypro: minor - comment. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey fcaf911671 paypro: include merchant data in tx proposal again. 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 1035adffab paypro: fix balance check regression in directive. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey f31a59e0b3 paypro: another tentative commit to avoid regression. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 2b5102a493 paypro: tentatively reimplement commit that caused regression. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey ab06e8b4ea Revert "paypro: deal with no unspent outputs. see #1043."
This reverts commit 6b5a618f0f7155c11ee734ef54ab3876b5923768.
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 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 d87697dfed paypro: support user amount decision on 0-value-server-outputs. 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 bd24f51da4 put logs back in wallet model for payment protocol
This reverts commit e79d86d90625375e22ac2cbafb2c1f894a450bcf.
2014-08-14 09:52:11 -04:00
Christopher Jeffrey 0a8d734e49 paypro: deal with no unspent outputs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 8cbc231a06 paypro: remove logs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d635c87935 paypro: turn sig into hex string on txp. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 21196f8b22 paypro: not necessary, but check merchant data in verifyPaymentRequest. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d0f0974567 paypro: fix verifyPaymentRequest. passing tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 37d1562a3f paypro: optimize verifyPaymentRequest check. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 60603306a9 paypro: comments. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6ccbf292c5 paypro: start verifying raw payment requests before signing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 0d4db05bf6 paypro: add verifyPaymentRequest so we do not have to trust other copayers. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 4d2879c5b6 paypro: expose serialized payment request data on tx proposal. 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 e1478fefbf paypro: display ack memo on notification. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey c940cb25b5 paypro: return merchantData in createTx and sendTx. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey bfb7477f1a paypro: add notification for payment ACK. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 87987fca2b paypro: cleanup refund_to. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 04432aa426 paypro: clean up makeshift $http module. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8786fd9905 Revert "paypro: use an http proxy to handle self-signed certs - probably not a good idea."
This reverts commit f8f192848dee35cffdfa79ee043941d0ea61a77e.
2014-08-14 09:52:10 -04:00
Christopher Jeffrey abf71a81ff paypro: use an http proxy to handle self-signed certs - probably not a good idea. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey bc4a8f73d8 paypro: _resetPayPro to reset the form. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a3714f8893 paypro: minor - split fix. style fix. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 64b38802bf paypro: fixes. clean up form reset from paypro. etc. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 4dd725aa48 paypro: more cleaning up of form. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3b550d853f paypro: cleanup a lot of old code and comments. minor fixes. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d9c72392bd paypro: through a lot of debugging. Payment sending is working. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d79dfb20c3 paypro: comment 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 18ca40b01e paypro: reset form if user removes payment uri. 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 fd8f192dbd paypro: minor 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 6ef3cf2992 paypro: set memo on comment properly. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 53abfcacda paypro: remove more unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3a73f2453c paypro: ripesha refund_to pubkeys. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey c471983a58 paypro: clean up unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey f77d3bc350 paypro: fix trusted check. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 438820ef23 paypro: set invalid on errors. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3866730218 paypro: remove old code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 4130980133 paypro: remove debug logs again. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 959a2f40cb paypro: fix script buffers. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey cf674dced2 paypro: remove temporary xhr shim. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a9b522888e Revert "paypro: remove debug code."
This reverts commit 019283e04cb6b25f6431cb56f02618c6d9e7fe90.
2014-08-14 09:52:10 -04:00