Commit Graph

259 Commits

Author SHA1 Message Date
Javier 8a4bca6920 remove fastclick from cancel password popup 2016-04-16 18:30:01 -03:00
Gustavo Maximiliano Cortez d0dbd85711 Feat/coinbase integration (#4012)
* Oauth2 and first view

* Connect with Coinbase using mobile

* Buy and Sell through Coinbase

* Fix buy

* Receive and send bitcoin to Coinbase account

* Receive bitcoin from Coinbase to Copay

* Complete user and account information. Connection errors

* Improves error handler

* Removes console.log

* Coinbase background color. Send to Coinbase form validation

* Fix send from different wallet

* Send and receive using Coinbase

* Pagination activity

* Fix Buy and Sell

* One option in the sidebar to Buy and Sell

* Native balance on Coinbase homepage

* Rename receive and send

* Auto-close window after authenticate

* Reorder

* Get payment methods

* Fix when token expired

* Fix token expired

* Integration: sell and send to Coinbase

* Store pending transaction before sell

* Sell flow completed

* Removing files

* Fix sell

* Fix sell

* Fix sell

* Sell completed

* Buy bitcoin through coinbase

* Buy auto

* Currency set to USD

* Select payment methods. Limits

* Removes payment methods from preferences

* Fix signs. Tx ordered by updated. Minor fixes

* Removes console.log

* Improving ux-language things

* Fix selectedpaymentmethod if not verified

* Set error if tx not found

* Price sensitivity. Minor fixes

* Adds coinbase api key to gitignore

* Coinbase production ready

* Fix sell in usd

* Bug fixes

* New Sensitivity step

* Refresh token with a simple click

* Refresh token

* Refactor

* Fix auto reconnect if token expired

Signed-off-by: Gustavo Maximiliano Cortez <cmgustavo83@gmail.com>

* Fix calls if token expired
2016-04-13 14:08:03 -03:00
Kosta Korenkov aab77c8fae
Cleanup bottom menu html
Menu always has 3 items, so no need in complex markup
2016-04-13 12:51:50 -03:00
Gustavo Maximiliano Cortez 108fd714d7
Removes bold 2016-04-13 12:51:50 -03:00
Gustavo Maximiliano Cortez 922a83aa86
Popup confirm (fee): fix text for different languages 2016-04-13 12:51:50 -03:00
Gustavo Maximiliano Cortez 66dc5e1933
Fix % of the transaction. Show fee level 2016-04-13 12:51:50 -03:00
Gustavo Maximiliano Cortez 82bcfd8d30
Adds more fee data to the confirmation popup 2016-04-13 12:51:50 -03:00
Gabriel Edgardo Bazán b720821d4e Fix fee levels when there is no wallet and hide Glidera if wallet is not complete (#4068)
* fix cordova is not define

* Remove focused client from fee level service

* remove wallet should be complete in route.js for global preferences routes

* get network of the focused client in getCurrentFeeValue function

* refactor

* do not show testnet fee levels in preference global and refactors

* bump new version bwc v2.2.1
2016-04-13 12:46:25 -03:00
Gustavo Maximiliano Cortez 6037d9bf40
Renames confirm 2016-02-25 12:07:47 -03:00
Matias Alejo Garcia bffaf9ad9d refactor disclaimer handling 2016-02-22 19:32:24 -03:00
Matias Alejo Garcia e02d4cb00b mv blockUx to wds
reset index scope on change wallet

rm wds

rm newTx, better txhistory update

better history display while sync

show first TX will syncing from 0

add new tx anim

WIP mobile

fix mobile

fix mobile 2

keep vanilla state in walletHome
2016-02-22 12:13:35 -03:00
Gustavo Maximiliano Cortez afb72f673a More fast-click 2016-02-19 17:53:38 -05:00
Matias Alejo Garcia e867a6a0c7 Merge pull request #3874 from cmgustavo/bug/improv-action-setpassword
Enhanced  response time when pressing Set/Ok with password enabled
2016-02-18 16:22:56 -03:00
Gustavo Maximiliano Cortez 0239dc187a
Fix and updates tx details 2016-02-17 15:13:15 -05:00
Gustavo Maximiliano Cortez 39341b037b Improves more clicks 2016-02-17 10:49:26 -05:00
Gustavo Maximiliano Cortez 9fedae1a67 Updates tx modal 2016-02-17 10:49:26 -05:00
Gustavo Maximiliano Cortez b405510db3 Improvement open TX modal 2016-02-17 10:46:42 -05:00
Gustavo Maximiliano Cortez 7b57011fd2
Enables copy-to-clipboard more strings 2016-02-16 14:13:50 -05:00
Matias Alejo Garcia 94a0ffa02e Merge pull request #3858 from cmgustavo/feat/clean-home-screen
Feat/clean home screen
2016-02-12 11:08:57 -05:00
Gustavo Maximiliano Cortez 50283c584f
Better responsive when pressing Set/Ok with password enabled 2016-02-11 16:44:06 -05:00
Matias Alejo Garcia bcde97727e Merge pull request #3795 from cmgustavo/feat/send-confirmation-popup
Send confirmation popup
2016-02-11 14:14:42 -05:00
Javier eb3680ba6d convert update tx history event into a function 2016-02-09 17:12:03 -03:00
Gustavo Maximiliano Cortez f5dabcc218
Cleaning main screen 2016-02-03 18:24:13 -03:00
Gustavo Maximiliano Cortez df834c50c3 Complete flow of confirmation popup before send a tx 2016-01-29 16:40:33 -03:00
Gustavo Maximiliano Cortez f4878513af Initial send confirmation popup 2016-01-29 16:40:33 -03:00
bechi 470e83df5a new icon on navigation bar 2015-12-22 17:27:32 -03:00
Gabriel Bazán 43b63564c6 refactor 2015-12-14 16:13:53 -03:00
Matias Alejo Garcia 82f6ca7575 feat/animation-when-new-tx 2015-12-10 12:44:40 -03:00
Gustavo Maximiliano Cortez 9a80e86139
Fix UI issues 2015-12-08 11:50:28 -03:00
bechi 721bf3e9ea put wallet icon 2015-12-04 16:34:23 -03:00
bechi f69cea05c6 fix notifications 2015-12-04 15:44:18 -03:00
Gustavo Maximiliano Cortez 746a60db1f Merge pull request #3595 from bechi/feat/style-10
Feat/style 10
2015-12-04 13:32:04 -03:00
bechi 5e279ee872 fix details 2015-12-04 12:27:16 -03:00
Javier 3f10c5966c add translate on global preferences label 2015-12-04 12:12:48 -03:00
Javier e307816d46 add translate attribute on sidebar 2015-12-04 12:08:05 -03:00
bechi 4bc58af524 add circle on nav bar 2015-12-04 11:43:08 -03:00
Gustavo Maximiliano Cortez 821db133c8
Fix loading wallet-history 2015-12-03 17:44:02 -03:00
bechi 0ed427070a ui tx proposal pending 2015-12-03 15:07:38 -03:00
Gustavo Maximiliano Cortez 917cf30014 Fix active-menu class 2015-12-02 17:04:37 -03:00
bechi acff47b4ef fix some details 2015-12-02 16:51:56 -03:00
bechi 3c0d5d6450 navigation bar style 2015-12-02 15:57:36 -03:00
bechi c7573b6e2f fix subheader & camera on send 2015-12-02 10:29:44 -03:00
Gustavo Maximiliano Cortez 0c06a3d460
Change top-bar color 2015-12-01 17:16:39 -03:00
Gabriel Bazán b9557d47d2 adding agreeDisclaimer flag for compatibility 2015-11-30 16:34:24 -03:00
Gabriel Bazán 42aaf515c7 include terms.html 2015-11-26 12:49:57 -03:00
Gustavo Maximiliano Cortez e72b76941b Merge pull request #3509 from bitpay/v1.5
Update v1.6 from v1.5
2015-11-20 17:14:42 -03:00
Gustavo Maximiliano Cortez 73c2fec6c9
Fix parse error of TXP. Removes unused variables 2015-11-20 11:39:59 -03:00
Gustavo Maximiliano Cortez 370fbd5924
Return automatically after set unit/lang/alt/color 2015-11-13 16:00:28 -03:00
Gustavo Maximiliano Cortez 308616c254 Moves the global preferences to the sidebar 2015-11-13 14:55:27 -03:00
bechi 51dffcc639 fix icons align on sidebar 2015-11-12 11:45:40 -03:00
Matias Alejo Garcia 232b78ee8c fix history sync 2015-11-10 20:05:05 -03:00
Matias Alejo Garcia 1e9b99981e update bwc 2015-11-10 16:43:37 -03:00
Matias Alejo Garcia ce197d4b29 better wallet info 2015-11-10 16:43:37 -03:00
Matias Alejo Garcia 3346d0bb53 better wallet info, fix bug on export for r-o wallets 2015-11-10 16:43:37 -03:00
Matias Alejo Garcia ea0e55b3b8 icons! 2015-11-10 16:43:36 -03:00
Matias Alejo Garcia aef26ed992 import working 2015-11-10 16:43:35 -03:00
Gustavo Maximiliano Cortez ee33526129
Improve addressbook for mobile 2015-10-30 18:34:34 -03:00
Gustavo Maximiliano Cortez 6dd8b98dfc
Simple addressbook 2015-10-22 18:43:32 -03:00
Matias Alejo Garcia bbd08f40be fix menu-item 2015-10-08 18:16:13 -03:00
Matias Alejo Garcia 1b4bee400b Merge pull request #3253 from cmgustavo/bug/wallet-not-authorized-02
Just hide menu if wallet is not authorized
2015-10-07 12:21:13 -03:00
Gustavo Maximiliano Cortez 20bb8680be
Adds btc values. Adds disclosure. Fix modals. Removes sandbox 2015-10-05 12:20:00 -03:00
Gabriel Bazán 4572b9a9c9 autofocus changes 2015-09-29 15:48:55 -03:00
Gustavo Maximiliano Cortez f05bf59548
Just hide menu if wallet is not authorized 2015-09-29 09:27:00 -03:00
Matias Alejo Garcia 367ce64a82 Revert "Hide menu if wallet is not authorized"
This reverts commit afe6c1039c.
2015-09-29 08:08:06 -03:00
Gustavo Maximiliano Cortez afe6c1039c
Hide menu if wallet is not authorized 2015-09-28 18:27:52 -03:00
Gabriel Bazán 552982d035 adding autofocus to password input in Resquest Password for Spending Funds modal 2015-09-25 11:48:17 -03:00
Gustavo Maximiliano Cortez 3430704413 Fix copay logo for WP8 2015-09-17 11:39:43 -03:00
Gustavo Maximiliano Cortez 933185c812
Glidera disabled 2015-09-15 09:41:42 -03:00
Matias Alejo Garcia 7d4fee4aef refactor ledger signature, restrict ledger to m-n, n>1 2015-09-14 09:46:45 -03:00
Matias Alejo Garcia 03e6b2b5c4 adds warn if mnemonic is encrypted 2015-09-13 20:11:56 -03:00
Matias Alejo Garcia 4c155b7895 backup and export working with mnemonics 2015-09-13 20:06:33 -03:00
Gustavo Maximiliano Cortez 4533365107
Fix translate attrs 2015-09-13 00:10:02 -03:00
Gustavo Maximiliano Cortez 5b22861222
Removes more translations for Glidera 2015-09-12 23:54:18 -03:00
Gustavo Maximiliano Cortez 1ba60ebcf8 Merge pull request #3153 from troggy/set-tab-change-state
Allow addon menu items to run arbitrary code on click
2015-09-12 15:01:08 -03:00
Gustavo Maximiliano Cortez 67e2cb1d6c
Moves Glidera link to sidebar 2015-09-11 13:11:41 -03:00
Kosta Korenkov 43684774ee Allow addon menu items to run arbitrary code on click
Now addresses this issue: https://github.com/bitpay/copay/pull/3069#issuecomment-138290326
2015-09-10 18:17:24 +03:00
Matias Alejo Garcia 666eee4321 add logic to txp modal related to glidera 2015-09-08 22:39:33 -03:00
Gustavo Maximiliano Cortez 886c5013a4
Fix qr-scanner directive 2015-09-08 16:10:00 -03:00
Gustavo Maximiliano Cortez cb6d086eeb
Preferences 2015-09-07 11:14:09 -03:00
Kosta Korenkov 89bf65b97c Allow addons menu items to run arbitrary code on click
This would allow for addon to have separate view, not only tab view in home contoller.
2015-09-04 09:08:03 +03:00
Matias Alejo Garcia be61c3039c Merge pull request #3127 from troggy/fix-menu
Fix empty space in menu bar with one addon
2015-09-03 15:29:39 -03:00
Kosta Korenkov ea03b87a7e Create availableBalance directive for Send screen
..so it can be decorated by addon.
2015-09-03 14:44:50 +03:00
Kosta Korenkov dcafad99a7 Fix empty space in menu bar with one addon 2015-09-01 06:52:54 +03:00
Gustavo Maximiliano Cortez deba8f12af Merge pull request #3027 from troggy/refactor/qr-scanner
Add QR scanner directive
2015-08-31 10:27:18 -03:00
Gustavo Maximiliano Cortez 14c04a836a Merge pull request #3110 from troggy/logo-directive
Add logo directive
2015-08-24 09:40:30 -03:00
Kosta Korenkov 21cec33bcf Fix self-closing elements 2015-08-22 07:07:42 +03:00
Kosta Korenkov 43e99c6b7a Add logo directive
.. so that logo can be overriden in addon.
2015-08-21 08:01:34 +03:00
Gustavo Maximiliano Cortez 854b1511de
Refactory single/multiples outputs 2015-08-20 16:43:03 -03:00
Gustavo Maximiliano Cortez fcaf035369
Updates templates.pot 2015-08-12 17:11:32 -03:00
Matias Alejo Garcia 46f78f4900 add alert template 2015-08-12 13:04:50 -03:00
Gustavo Maximiliano Cortez 4a79dbd01f Fix layout. Adds spend unconfirmed to txp details 2015-08-10 11:03:41 -03:00
Gustavo Maximiliano Cortez dfd9a869f4
Replaces ENTER by OK in popup for encrypted private key 2015-07-30 15:34:59 -03:00
Gregg Zigler 578c4a8499 use new showSingle flag in includes/transaction.html 2015-07-28 10:50:33 -07:00
Gregg Zigler 43bca75728 txp and txhistory share outputs.html for all amount/address/message 2015-07-28 10:46:00 -07:00
Gregg Zigler 4867e9983f simplify recipient summary logic so that entire list is expanded with one click 2015-07-28 10:40:01 -07:00
Gregg Zigler 8caffb8632 simplify html, improve localizability by using Recipients as label 2015-07-28 10:37:25 -07:00
Gregg Zigler c18fca0d7a if only one recipient, do not summarize in views 2015-07-28 10:37:25 -07:00
Gregg Zigler d929e32949 remove data hack, display proposals honestly 2015-07-28 10:37:25 -07:00
Gregg Zigler d61ba54899 replace outputs list at bottom with expandable list at top 2015-07-28 10:37:25 -07:00
Gregg Zigler 805eebb752 handle multiple outputs in transaction proposal 2015-07-28 10:37:25 -07:00
Kosta Korenkov 1f4f78bec0 Make directive to accept onScan and beforeScan callbacks instead of broadcasting 'dataScanned' event.
This will allow to reuse directive for screens different from 'send'
2015-07-23 13:21:31 +03:00
Kosta Korenkov b673540638 Create qrScanner directive 2015-07-23 11:48:28 +03:00
Kosta Korenkov e6785335a9 Addon support
Addons are simple Angular modules with views, controllers, services etc. Addons can register
themselves in Copay using pluginManagerProvider. It allows them to add extra items to the bottom
menu and as well as extra tab-views:

````
  addonManagerProvider.registerAddon({
    menuItem: {
      'title': 'Assets',
      'icon': 'icon-pricetag',
      'link': 'assets'
    },
    view: {
      id: 'assets',
      'class': 'assets',
      template: 'colored-coins/views/assets.html'
    }
  });
````

Addons can consume core Copay services and listen for events to react on changes. For this very
first addon system inplementation Copay emits additional BalanceUpdated event so that interested
addons can react on new transactions (see plugin reference implementation below).

As bottom menu can accomodate only 6 items without sacrificing usability, so it was reworked to
have second layer of items. Now If menu has more than 6 items, toggle button will be added to
the menu allowing to reveal extra items in a sliding panel. Bottom menu in this case will show
only 5 items, the rest will be rendered on sliding panel.

This changes addresses issue #2949 and reference implementation of addon could be found here:
https://github.com/troggy/copay-colored-coins-plugin
2015-07-10 14:31:17 +03:00
Gustavo Maximiliano Cortez fcc3a2259d
Do not refresh if the same wallet is selected from sidebar 2015-06-12 15:00:51 -03:00
bechi e44fbf9634 add more colours 2015-05-29 15:25:41 -03:00
bechi e95228e37b add more colours 2015-05-29 11:43:50 -03:00
Gustavo Maximiliano Cortez cb2e6e45cf
Hide reference of wallets 1-1 on sidebar 2015-05-19 17:08:03 -03:00
bechi 1f7e9b2227 add more buttons 2015-05-18 12:16:44 -03:00
Matias Alejo Garcia d851f62c7f add wallet alias 2015-05-14 10:39:22 -03:00
Matias Alejo Garcia 9f5d09f1cc fix colors 2015-05-13 12:41:05 -03:00
Gustavo Maximiliano Cortez f56ff4c833 Merge pull request #2694 from matiu/anims
State Anims
2015-05-11 16:54:58 -03:00
Gustavo Maximiliano Cortez e973d4cfa0 Merge pull request #2696 from bechi/sidebar-color1
change color for sidebar
2015-05-11 14:18:14 -03:00
bechi 7827d33f5a change color for sidebar 2015-05-08 18:27:27 -03:00
Matias Alejo Garcia 061c4fbd8f transations working, new schema 2015-05-08 15:27:07 -03:00
Gustavo Maximiliano Cortez a5ae8f1803
Removes ng-animate. Fix animation 2015-05-07 19:02:38 -03:00
Gustavo Maximiliano Cortez 43a747b96d
Fix slide up/down for txp and tx 2015-05-06 11:16:19 -03:00
bechi f37f27adea fix align close and icon 2015-04-30 17:57:05 -03:00
bechi 97fcfdf5fa fix topbar align 2015-04-30 16:52:27 -03:00
bechi 31cdda01cc change size to bottombar 2015-04-30 16:16:28 -03:00
bechi 59e164de02 change icon in some places 2015-04-30 16:16:27 -03:00
Gustavo Maximiliano Cortez cbf3d7cceb
Update translations for controllers and services 2015-04-29 19:19:10 -03:00
Matias Alejo Garcia 5b88b82623 add customr swipe 2015-04-29 12:08:42 -03:00
Gustavo Maximiliano Cortez e44780379a Merge pull request #2654 from matiu/feat/touchdown
Feat/touchdown
2015-04-29 09:57:29 -03:00
Matias Alejo Garcia 6e8e9488fa fix non clickeable padding in sidebar 2015-04-28 20:31:01 -03:00
Matias Alejo Garcia 23f096844f fix menu and sidebar 2015-04-28 20:13:28 -03:00
bechi 7b99f50784 improve spend proposal pending 2015-04-28 18:15:25 -03:00
Matias Alejo Garcia 969712c633 add touchdown elements 2015-04-28 15:02:35 -03:00
Gustavo Maximiliano Cortez 6bd35493de Merge pull request #2640 from matiu/feat/modal2
Feat/modal2
2015-04-27 10:12:45 -03:00
Gustavo Maximiliano Cortez 47ae2f8e59 Improves response of close button 2015-04-27 03:51:41 -03:00
Matias Alejo Garcia 2f7f593ad6 do not hice create/join forms with working / no color on global pages 2015-04-27 03:03:08 -03:00
Matias Alejo Garcia f47d6b0564 view logs in UX 2015-04-25 14:42:23 -03:00
bechi d6b87f8c6c fix bottombar contrast 2015-04-24 16:15:04 -03:00
Gustavo Maximiliano Cortez 68cc09f4ab
Fix spinner when sign/reject/remove/broadcast a transaction 2015-04-24 15:02:14 -03:00
Gustavo Maximiliano Cortez ad89c6e9e5
Fix goHome from "add" if focused wallet is incomplete 2015-04-24 03:50:05 -03:00
Gustavo Maximiliano Cortez 17f7483ec5 goHome after close preferences or add wallet 2015-04-24 03:22:06 -03:00
Matias Alejo Garcia 1c2432316a Revert "Revert "WIP: Bug/notif2""
This reverts commit cd867d0171.

Conflicts:
	src/css/main.css
2015-04-23 23:51:21 -03:00
Matias Alejo Garcia cd867d0171 Revert "WIP: Bug/notif2" 2015-04-23 23:01:46 -03:00
Matias Alejo Garcia 816901378e fix error notifications 2015-04-23 19:05:44 -03:00
Matias Alejo Garcia 30eb9bf0c5 error notifications 2015-04-23 18:28:35 -03:00
Gustavo Maximiliano Cortez eaa3247479 Fix preferences animation 2015-04-23 18:29:25 -03:00
Matias Alejo Garcia 3c00a4a06c Revert "rm fastclick"
This reverts commit ea7484512f.

Conflicts:
	src/js/controllers/index.js
2015-04-23 17:45:32 -03:00
Matias Alejo Garcia 4f60626710 fixes one-page 2015-04-23 15:25:26 -03:00
Gustavo Maximiliano Cortez 5404f8f53d scroll 2015-04-23 15:23:21 -03:00
Matias Alejo Garcia ea7484512f rm fastclick 2015-04-23 14:12:32 -03:00
Matias Alejo Garcia faea6dfb6d rm ng class 2015-04-23 13:12:30 -03:00
Matias Alejo Garcia 589200b455 one page 2015-04-23 12:27:57 -03:00
Gustavo Maximiliano Cortez 140440b224 Fix translate option 2015-04-22 18:41:30 -03:00
Gustavo Maximiliano Cortez 93e61b66df Update translation. Removed old files 2015-04-22 15:54:44 -03:00
Gustavo Maximiliano Cortez f7b1074941 Update template.pot. Enables auto-detect languages 2015-04-22 15:54:44 -03:00
Gustavo Maximiliano Cortez 401490df5e Bug fixes 2015-04-22 15:52:01 -03:00