Skip to content
Permalink
Browse files

test(lint): fix:prettier, fix:tslint, and add prettier to test:lint

  • Loading branch information...
bitjson committed May 31, 2018
1 parent 99d42be commit 749eb6a5742707b4e5caa1def3069208f7c6899e
Showing with 10,672 additions and 7,303 deletions.
  1. +2 −0 .circleci/config.yml
  2. +2 −1 .prettierignore
  3. +27 −28 CONTRIBUTING.md
  4. +33 −33 README.md
  5. +2 −1 app-template/bitpay/google-services.json
  6. +10 −9 app-template/build-desktop.js
  7. +10 −4 app-template/build-linux.js
  8. +2 −1 app-template/copay/google-services.json
  9. +19 −34 backupRecovery.md
  10. +28 −23 electron/main.js
  11. +7 −33 package-lock.json
  12. +3 −3 package.json
  13. +15 −17 src/app/app.component.spec.ts
  14. +7 −7 src/app/app.component.ts
  15. +2 −2 src/app/app.scss
  16. +11 −10 src/assets/fonts/ionicons.scss
  17. +16 −8 src/assets/fonts/noto-sans.scss
  18. +20 −8 src/assets/fonts/roboto.scss
  19. +258 −161 src/assets/i18n/crowdin_download.js
  20. +45 −24 src/assets/i18n/crowdin_update.js
  21. +15 −18 src/components/expandable-header/expandable-header.spec.ts
  22. +4 −4 src/directives/copy-to-clipboard/copy-to-clipboard.ts
  23. +11 −14 src/directives/ios-scroll-bg-color/ios-scroll-bg-color.spec.ts
  24. +13 −12 src/directives/long-press/long-press.ts
  25. +11 −14 src/directives/navbar-bg/navbar-bg.spec.ts
  26. +16 −7 src/directives/no-low-fee/no-low-fee.ts
  27. +19 −25 src/models/profile/profile.model.ts
  28. +2 −2 src/pages/add/add.scss
  29. +4 −6 src/pages/add/add.ts
  30. +4 −4 src/pages/add/copayers/copayers.scss
  31. +46 −36 src/pages/add/copayers/copayers.ts
  32. +77 −54 src/pages/add/create-wallet/create-wallet.ts
  33. +6 −6 src/pages/add/import-wallet/import-wallet.spec.ts
  34. +111 −78 src/pages/add/import-wallet/import-wallet.ts
  35. +1 −1 src/pages/add/join-wallet/join-wallet.scss
  36. +55 −36 src/pages/add/join-wallet/join-wallet.ts
  37. +23 −23 src/pages/backup/backup-game/backup-game.scss
  38. +2 −2 src/pages/backup/backup-warning/backup-warning.scss
  39. +6 −6 src/pages/feedback/feedback-complete/feedback-complete.scss
  40. +1 −1 src/pages/feedback/feedback/feedback.scss
  41. +2 −2 src/pages/feedback/send-feedback/send-feedback.scss
  42. +1 −1 src/pages/fingerprint/fingerprint.scss
  43. +3 −3 src/pages/finish/finish.scss
  44. +11 −5 src/pages/finish/finish.ts
  45. +45 −31 src/pages/home/activity/activity.ts
  46. +1 −1 src/pages/home/home.scss
  47. +12 −14 src/pages/home/home.spec.ts
  48. +24 −17 src/pages/home/home.ts
  49. +23 −18 src/pages/home/proposals/proposals.ts
  50. +1 −1 src/pages/includes/card-item/card-item.scss
  51. +3 −6 src/pages/includes/card-item/card-item.ts
  52. +3 −3 src/pages/includes/feedback-card/feedback-card.scss
  53. +14 −11 src/pages/includes/feedback-card/feedback-card.ts
  54. +0 −1 src/pages/includes/gravatar/gravatar.scss
  55. +3 −8 src/pages/includes/gravatar/gravatar.ts
  56. +41 −41 src/pages/includes/incoming-data-menu/incoming-data-menu.scss
  57. +16 −13 src/pages/includes/incoming-data-menu/incoming-data-menu.ts
  58. +1 −1 src/pages/includes/txp/txp.scss
  59. +8 −5 src/pages/includes/txp/txp.ts
  60. +3 −3 src/pages/includes/wallet-activity/wallet-activity.ts
  61. +5 −5 src/pages/includes/wallet-item/wallet-item.scss
  62. +3 −3 src/pages/includes/wallet-item/wallet-item.ts
  63. +6 −6 src/pages/includes/wallet-selector/wallet-selector.scss
  64. +24 −23 src/pages/includes/wallet-selector/wallet-selector.ts
  65. +52 −34 src/pages/integrations/amazon/amazon-card-details/amazon-card-details.ts
  66. +9 −5 src/pages/integrations/amazon/amazon-settings/amazon-settings.ts
  67. +1 −1 src/pages/integrations/amazon/amazon.scss
  68. +92 −73 src/pages/integrations/amazon/amazon.ts
  69. +5 −4 src/pages/integrations/amazon/buy-amazon/buy-amazon.scss
  70. +312 −207 src/pages/integrations/amazon/buy-amazon/buy-amazon.ts
  71. +7 −2 src/pages/integrations/bitpay-card/bitpay-card-intro/bitpay-card-intro.scss
  72. +62 −50 src/pages/integrations/bitpay-card/bitpay-card-intro/bitpay-card-intro.ts
  73. +5 −4 src/pages/integrations/bitpay-card/bitpay-card-topup/bitpay-card-topup.scss
  74. +324 −228 src/pages/integrations/bitpay-card/bitpay-card-topup/bitpay-card-topup.ts
  75. +114 −74 src/pages/integrations/bitpay-card/bitpay-card.ts
  76. +24 −15 src/pages/integrations/bitpay-card/bitpay-settings/bitpay-settings.ts
  77. +34 −33 src/pages/integrations/coinbase/buy-coinbase/buy-coinbase.scss
  78. +177 −120 src/pages/integrations/coinbase/buy-coinbase/buy-coinbase.ts
  79. +0 −1 src/pages/integrations/coinbase/coinbase-settings/coinbase-settings.scss
  80. +36 −25 src/pages/integrations/coinbase/coinbase-settings/coinbase-settings.ts
  81. +18 −14 src/pages/integrations/coinbase/coinbase-tx-details/coinbase-tx-details.ts
  82. +1 −1 src/pages/integrations/coinbase/coinbase.scss
  83. +84 −39 src/pages/integrations/coinbase/coinbase.ts
  84. +3 −2 src/pages/integrations/coinbase/sell-coinbase/sell-coinbase.scss
  85. +273 −178 src/pages/integrations/coinbase/sell-coinbase/sell-coinbase.ts
  86. +4 −3 src/pages/integrations/glidera/buy-glidera/buy-glidera.scss
  87. +72 −45 src/pages/integrations/glidera/buy-glidera/buy-glidera.ts
  88. +0 −1 src/pages/integrations/glidera/glidera-settings/glidera-settings.scss
  89. +21 −16 src/pages/integrations/glidera/glidera-settings/glidera-settings.ts
  90. +2 −6 src/pages/integrations/glidera/glidera-tx-details/glidera-tx-details.ts
  91. +1 −1 src/pages/integrations/glidera/glidera.scss
  92. +51 −17 src/pages/integrations/glidera/glidera.ts
  93. +3 −2 src/pages/integrations/glidera/sell-glidera/sell-glidera.scss
  94. +144 −98 src/pages/integrations/glidera/sell-glidera/sell-glidera.ts
  95. +4 −3 src/pages/integrations/mercado-libre/buy-mercado-libre/buy-mercado-libre.scss
  96. +317 −201 src/pages/integrations/mercado-libre/buy-mercado-libre/buy-mercado-libre.ts
  97. +23 −13 src/pages/integrations/mercado-libre/mercado-libre-card-details/mercado-libre-card-details.ts
  98. +0 −1 src/pages/integrations/mercado-libre/mercado-libre-settings/mercado-libre-settings.scss
  99. +9 −5 src/pages/integrations/mercado-libre/mercado-libre-settings/mercado-libre-settings.ts
  100. +1 −1 src/pages/integrations/mercado-libre/mercado-libre.scss
  101. +87 −69 src/pages/integrations/mercado-libre/mercado-libre.ts
  102. +5 −5 src/pages/integrations/shapeshift/shapeshift-confirm/shapeshift-confirm.scss
  103. +324 −190 src/pages/integrations/shapeshift/shapeshift-confirm/shapeshift-confirm.ts
  104. +10 −8 src/pages/integrations/shapeshift/shapeshift-details/shapeshift-details.ts
  105. +0 −1 src/pages/integrations/shapeshift/shapeshift-settings/shapeshift-settings.scss
  106. +9 −5 src/pages/integrations/shapeshift/shapeshift-settings/shapeshift-settings.ts
  107. +39 −18 src/pages/integrations/shapeshift/shapeshift-shift/shapeshift-shift.ts
  108. +6 −3 src/pages/integrations/shapeshift/shapeshift.scss
  109. +45 −31 src/pages/integrations/shapeshift/shapeshift.ts
  110. +4 −4 src/pages/onboarding/backup-request/backup-request.scss
  111. +23 −13 src/pages/onboarding/backup-request/backup-request.ts
  112. +6 −5 src/pages/onboarding/collect-email/collect-email.scss
  113. +2 −1 src/pages/onboarding/disclaimer/disclaimer.scss
  114. +19 −5 src/pages/onboarding/disclaimer/disclaimer.ts
  115. +1 −1 src/pages/onboarding/onboarding.scss
  116. +1 −3 src/pages/onboarding/onboarding.ts
  117. +5 −5 src/pages/onboarding/tour/tour.scss
  118. +37 −25 src/pages/onboarding/tour/tour.ts
  119. +2 −1 src/pages/paper-wallet/paper-wallet.scss
  120. +152 −77 src/pages/paper-wallet/paper-wallet.ts
  121. +5 −4 src/pages/paypro/paypro.scss
  122. +7 −5 src/pages/paypro/paypro.ts
  123. +7 −10 src/pages/pin/pin-modal/pin-modal.spec.ts
  124. +3 −3 src/pages/receive/custom-amount/custom-amount.scss
  125. +18 −8 src/pages/receive/custom-amount/custom-amount.ts
  126. +8 −8 src/pages/receive/receive.scss
  127. +12 −12 src/pages/send/amount/amount.scss
  128. +65 −27 src/pages/send/amount/amount.ts
  129. +0 −1 src/pages/send/choose-fee-level/choose-fee-level.scss
  130. +64 −32 src/pages/send/choose-fee-level/choose-fee-level.ts
  131. +8 −5 src/pages/send/confirm/confirm.scss
  132. +14 −17 src/pages/send/confirm/confirm.spec.ts
  133. +2 −2 src/pages/send/confirm/confirm.ts
  134. +7 −7 src/pages/send/send.scss
  135. +50 −36 src/pages/send/send.ts
  136. +1 −1 src/pages/settings/about/about.scss
  137. +39 −10 src/pages/settings/about/about.ts
  138. +2 −2 src/pages/settings/about/session-log/session-log.scss
  139. +8 −10 src/pages/settings/about/session-log/session-log.spec.ts
  140. +61 −31 src/pages/settings/addressbook/add/add.ts
  141. +1 −2 src/pages/settings/addressbook/addressbook.scss
  142. +30 −30 src/pages/settings/addressbook/addressbook.ts
  143. +23 −17 src/pages/settings/addressbook/view/view.ts
  144. +2 −7 src/pages/settings/advanced/advanced.ts
  145. +58 −33 src/pages/settings/alt-currency/alt-currency.ts
  146. +2 −1 src/pages/settings/fee-policy/fee-policy.scss
  147. +16 −10 src/pages/settings/fee-policy/fee-policy.ts
  148. +1 −2 src/pages/settings/language/language.scss
  149. +13 −6 src/pages/settings/language/language.ts
  150. +1 −1 src/pages/settings/lock/lock.scss
  151. +0 −1 src/pages/settings/notifications/notifications.scss
  152. +26 −11 src/pages/settings/notifications/notifications.ts
  153. +5 −4 src/pages/settings/settings.scss
  154. +156 −157 src/pages/settings/wallet-settings/wallet-color/wallet-color.scss
  155. +34 −18 src/pages/settings/wallet-settings/wallet-color/wallet-color.ts
  156. +2 −2 src/pages/settings/wallet-settings/wallet-name/wallet-name.scss
  157. +21 −8 src/pages/settings/wallet-settings/wallet-name/wallet-name.ts
  158. +1 −1 src/pages/settings/wallet-settings/wallet-settings-advanced/bitcoin-cash/bitcoin-cash.scss
  159. +114 −79 src/pages/settings/wallet-settings/wallet-settings-advanced/bitcoin-cash/bitcoin-cash.ts
  160. +1 −1 ...ttings/wallet-settings/wallet-settings-advanced/wallet-addresses/all-addresses/all-addresses.scss
  161. +21 −9 ...settings/wallet-settings/wallet-settings-advanced/wallet-addresses/all-addresses/all-addresses.ts
  162. +3 −3 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-addresses/wallet-addresses.scss
  163. +1 −1 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-addresses/wallet-addresses.ts
  164. +1 −2 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-delete/wallet-delete.scss
  165. +22 −17 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-delete/wallet-delete.ts
  166. +2 −2 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-export/wallet-export.scss
  167. +150 −98 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-export/wallet-export.ts
  168. +1 −1 ...settings-advanced/wallet-information/wallet-extended-private-key/wallet-extended-private-key.scss
  169. +13 −13 ...t-settings-advanced/wallet-information/wallet-extended-private-key/wallet-extended-private-key.ts
  170. +2 −2 ...ages/settings/wallet-settings/wallet-settings-advanced/wallet-information/wallet-information.scss
  171. +11 −11 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-information/wallet-information.ts
  172. +0 −1 ...ages/settings/wallet-settings/wallet-settings-advanced/wallet-service-url/wallet-service-url.scss
  173. +27 −15 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-service-url/wallet-service-url.ts
  174. +1 −2 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-settings-advanced.scss
  175. +24 −11 src/pages/settings/wallet-settings/wallet-settings-advanced/wallet-settings-advanced.ts
  176. +2 −2 ...llet-settings/wallet-settings-advanced/wallet-transaction-history/wallet-transaction-history.scss
  177. +2 −2 src/pages/settings/wallet-settings/wallet-settings.scss
  178. +68 −34 src/pages/settings/wallet-settings/wallet-settings.ts
  179. +21 −20 src/pages/slide-to-accept/slide-to-accept.scss
  180. +51 −28 src/pages/slide-to-accept/slide-to-accept.ts
  181. +17 −12 src/pages/tx-details/tx-details.scss
  182. +153 −87 src/pages/tx-details/tx-details.ts
  183. +19 −16 src/pages/txp-details/txp-details.scss
  184. +196 −112 src/pages/txp-details/txp-details.ts
  185. +3 −3 src/pages/wallet-details/search-tx-modal/search-tx-modal.ts
  186. +5 −3 src/pages/wallet-details/wallet-balance/wallet-balance.scss
  187. +2 −6 src/pages/wallet-details/wallet-balance/wallet-balance.ts
  188. +1 −1 src/pages/wallet-details/wallet-details.scss
  189. +20 −22 src/pages/wallet-details/wallet-details.spec.ts
  190. +12 −4 src/pages/wallet-details/wallet-details.ts
  191. +15 −5 src/pipes/fiatToUnit.ts
  192. +6 −2 src/pipes/keys.ts
  193. +27 −19 src/pipes/order-by.ts
  194. +11 −3 src/pipes/satToFiat.ts
  195. +6 −6 src/pipes/satToUnit.ts
  196. +1 −7 src/polyfills.ts
  197. +119 −89 src/providers/address-book/address-book.ts
  198. +46 −49 src/providers/address/address.spec.ts
  199. +11 −11 src/providers/address/address.ts
  200. +86 −60 src/providers/amazon/amazon.ts
  201. +5 −7 src/providers/app-identity/app-identity.ts
  202. +16 −15 src/providers/backup/backup.ts
  203. +131 −97 src/providers/bitpay-account/bitpay-account.ts
  204. +256 −197 src/providers/bitpay-card/bitpay-card.ts
  205. +67 −45 src/providers/bitpay/bitpay.ts
  206. +43 −21 src/providers/bwc-error/bwc-error.ts
  207. +3 −7 src/providers/bwc/bwc.ts
  208. +798 −455 src/providers/coinbase/coinbase.ts
  209. +8 −10 src/providers/derivation-path-helper/derivation-path-helper.ts
  210. +4 −8 src/providers/email-notifications/email-notifications.ts
  211. +19 −9 src/providers/external-link/external-link.ts
  212. +84 −53 src/providers/fee/fee.ts
  213. +5 −10 src/providers/filter/filter.ts
  214. +393 −235 src/providers/glidera/glidera.ts
  215. +13 −14 src/providers/home-integrations/home-integrations.ts
  216. +48 −36 src/providers/incoming-data/incoming-data.spec.ts
  217. +136 −71 src/providers/incoming-data/incoming-data.ts
  218. +43 −27 src/providers/language/language.ts
  219. +55 −28 src/providers/logger/logger.spec.ts
  220. +8 −4 src/providers/logger/logger.ts
  221. +76 −57 src/providers/mercado-libre/mercado-libre.ts
  222. +4 −7 src/providers/node-webkit/node-webkit.ts
  223. +16 −9 src/providers/on-going-process/on-going-process.ts
  224. +23 −12 src/providers/paypro/paypro.ts
  225. +12 −9 src/providers/persistence/persistence.spec.ts
  226. +152 −146 src/providers/persistence/persistence.ts
  227. +37 −33 src/providers/persistence/storage/file-storage.ts
  228. +13 −9 src/providers/persistence/storage/local-storage.ts
  229. +6 −7 src/providers/persistence/storage/ram-storage.ts
  230. +6 −11 src/providers/platform/platform.spec.ts
  231. +11 −8 src/providers/platform/platform.ts
  232. +18 −21 src/providers/popup/popup.spec.ts
  233. +22 −8 src/providers/popup/popup.ts
  234. +8 −8 src/providers/profile/profile.spec.ts
  235. +623 −409 src/providers/profile/profile.ts
  236. +31 −11 src/providers/push-notifications/push-notifications.ts
  237. +37 −31 src/providers/rate/rate.spec.ts
  238. +14 −4 src/providers/rate/rate.ts
  239. +1 −1 src/providers/release/release.ts
  240. +43 −13 src/providers/replace-parameters/replace-parameters.spec.ts
  241. +11 −6 src/providers/replace-parameters/replace-parameters.ts
  242. +6 −6 src/providers/scan/scan.ts
  243. +95 −72 src/providers/shapeshift/shapeshift.ts
  244. +10 −15 src/providers/touchid/touchid.ts
  245. +24 −19 src/providers/tx-confirm-notification/tx-confirm-notification.ts
  246. +46 −37 src/providers/tx-format/tx-format.ts
  247. +5 −5 src/providers/wallet/wallet.spec.ts
  248. +809 −545 src/providers/wallet/wallet.ts
  249. +8 −11 src/service-worker.js
  250. +9 −9 src/theme/variables.scss
  251. +22 −8 src/validators/address.ts
  252. +4 −4 src/validators/email.ts
  253. +2 −2 test/e2e/readme.md
  254. +5 −17 tsconfig.json
@@ -22,6 +22,7 @@ jobs:
- run: npm run apply:copay
# Select correct Chromedriver version (this must run after npm install)
- run: npm run e2e:update-ci
- run: npm run test:lint
- run: npm run test:ci
- run: npm run e2e
- run: npx reg-cli test/visual/latest/copay test/visual/expected/copay test/visual/diffs --report test/visual/report.html --json test/visual/report.json --enableAntialias --pixelThreshold 20
@@ -48,6 +49,7 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
- run: npm run apply:bitpay
- run: npm run e2e:update-ci
- run: npm run test:lint
- run: npm run test:ci
- run: npm run e2e
- run: npx reg-cli test/visual/latest/bitpay test/visual/expected/bitpay test/visual/diffs --report test/visual/report.html --json test/visual/report.json --enableAntialias --pixelThreshold 20
@@ -5,4 +5,5 @@ package-template.json
coverage/
platforms/
plugins/
www/
www/
src/assets/*.json
@@ -1,4 +1,3 @@

# Contributing to Copay

Please take a moment to review this document in order to make the contribution
@@ -9,33 +8,32 @@ the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.


## Using the issue tracker

The issue tracker is the preferred channel for [bug reports](#bugs),
[features requests](#features), support requests (#support) and [submitting pull
requests](#pull-requests), but please respect the following restrictions:

* Please **do not** derail or troll issues. Keep the discussion on topic and
- Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.


<a name="bugs"></a>

## Bug reports

A bug is a _demonstrable problem_ that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!

Guidelines for bug reports:

1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.
1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.

2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `master` or development branch in the repository.
2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `master` or development branch in the repository.

3. **Isolate the problem** &mdash; create a [reduced test
case](http://css-tricks.com/reduced-test-cases/) and a live example.
3. **Isolate the problem** &mdash; create a [reduced test
case](http://css-tricks.com/reduced-test-cases/) and a live example.

A good bug report shouldn't leave others needing to chase you up for more
information. Please try to be as detailed as possible in your report. What is
@@ -50,9 +48,9 @@ Example:
> A summary of the issue and the browser/OS environment in which it occurs. If
> suitable, include the steps required to reproduce the bug.
>
> 1. This is the first step
> 2. This is the second step
> 3. Further steps, etc.
> 1. This is the first step
> 2. This is the second step
> 3. Further steps, etc.
>
> `<url>` - a link to the reduced test case
>
@@ -61,42 +59,44 @@ Example:
> causing the bug, and potential solutions (and your opinions on their
> merits).

<a name="features"></a>

## Feature requests

Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
fits with the scope and aims of the project. It's up to _you_ to make a strong
case to convince the project's developers of the merits of this feature. Please
provide as much detail and context as possible.

<a name="support"></a>

## Support requests

If you are having particular problem with your Copay instalation, please first [search older
issues](https://github.com/bitpay/copay/issues) in order to learn if the issue is already reported. It could be fixed already.
If you are having particular problem with your Copay instalation, please first [search older
issues](https://github.com/bitpay/copay/issues) in order to learn if the issue is already reported. It could be fixed already.

Please also check our [FAQ](https://github.com/bitpay/copay/wiki/COPAY---FAQ).

When requesting support describe the issue as much in detail as possible. Consider to
provide the following information:

- Which platform are you using? (Which device and operating system)
- Which version of Copay are you using? (Check Copay version on the side menu)
- Please import your wallet on a different platform. Does the problem persist?
- What type of wallet are you using? (multisig or singlesig)
- When the wallet was created? On which device / operating system
- Please check Copay logs (General Settings -> About Copay -> Session Logs). Look for
any errors reported there (errors are shown in red)
- If possible, please provide a screenshot of the error / issue.
If you need to provide personal / sensitive data to solve the issue (like the Wallet Id), do not use Github Issues.
- Which platform are you using? (Which device and operating system)
- Which version of Copay are you using? (Check Copay version on the side menu)
- Please import your wallet on a different platform. Does the problem persist?
- What type of wallet are you using? (multisig or singlesig)
- When the wallet was created? On which device / operating system
- Please check Copay logs (General Settings -> About Copay -> Session Logs). Look for
any errors reported there (errors are shown in red)
- If possible, please provide a screenshot of the error / issue.

If you need to provide personal / sensitive data to solve the issue (like the Wallet Id), do not use Github Issues.
We will provide a better channel (like an BitPay email address) so you can send the information. If possible, please
encrypt your emails using GnuPG.

To open an issue go to [Github Issues](https://github.com/bitpay/copay/issues).

<a name="pull-requests"></a>

## Pull requests

Good pull requests - patches, improvements, new features - are a fantastic
@@ -115,5 +115,4 @@ license your work under the same license as that used by the project.

===


This file is based on @necolas's https://github.com/necolas/issue-guidelines/blob/master/CONTRIBUTING.md
@@ -12,22 +12,22 @@ For a list of frequently asked questions please visit the [Copay FAQ](https://gi

## Main Features

* Multiple wallet creation and management in-app
* Intuitive, multisignature security for personal or shared wallets
* Easy spending proposal flow for shared wallets and group payments
* [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) Hierarchical deterministic (HD) address generation and wallet backups
* Device-based security: all private keys are stored locally, not in the cloud
* Support for Bitcoin testnet wallets
* Synchronous access across all major mobile and desktop platforms
* Payment protocol (BIP70-BIP73) support: easily-identifiable payment requests and verifiable, secure bitcoin payments
* Support for over 150 currency pricing options and unit denomination in BTC or bits
* Mnemonic (BIP39) support for wallet backups
* Paper wallet sweep support (BIP38)
* Email notifications for payments and transfers
* Push notifications (only available for ios and android versions)
* Customizable wallet naming and background colors
* Multiple languages supported
* Available for [iOS](https://itunes.apple.com/us/app/copay/id951330296), [Android](https://play.google.com/store/apps/details?id=com.bitpay.copay&hl=en), [Windows Phone](http://www.windowsphone.com/en-us/store/app/copay-wallet/4372479b-a064-4d18-8bd3-74a3bdb81c3a), [Chrome App](https://chrome.google.com/webstore/detail/copay/cnidaodnidkbaplmghlelgikaiejfhja?hl=en), [Linux](https://github.com/bitpay/copay/releases/latest), [Windows](https://github.com/bitpay/copay/releases/latest) and [OS X](https://github.com/bitpay/copay/releases/latest) devices
- Multiple wallet creation and management in-app
- Intuitive, multisignature security for personal or shared wallets
- Easy spending proposal flow for shared wallets and group payments
- [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) Hierarchical deterministic (HD) address generation and wallet backups
- Device-based security: all private keys are stored locally, not in the cloud
- Support for Bitcoin testnet wallets
- Synchronous access across all major mobile and desktop platforms
- Payment protocol (BIP70-BIP73) support: easily-identifiable payment requests and verifiable, secure bitcoin payments
- Support for over 150 currency pricing options and unit denomination in BTC or bits
- Mnemonic (BIP39) support for wallet backups
- Paper wallet sweep support (BIP38)
- Email notifications for payments and transfers
- Push notifications (only available for ios and android versions)
- Customizable wallet naming and background colors
- Multiple languages supported
- Available for [iOS](https://itunes.apple.com/us/app/copay/id951330296), [Android](https://play.google.com/store/apps/details?id=com.bitpay.copay&hl=en), [Windows Phone](http://www.windowsphone.com/en-us/store/app/copay-wallet/4372479b-a064-4d18-8bd3-74a3bdb81c3a), [Chrome App](https://chrome.google.com/webstore/detail/copay/cnidaodnidkbaplmghlelgikaiejfhja?hl=en), [Linux](https://github.com/bitpay/copay/releases/latest), [Windows](https://github.com/bitpay/copay/releases/latest) and [OS X](https://github.com/bitpay/copay/releases/latest) devices

## Testing in a Browser

@@ -175,7 +175,7 @@ Depending on the key `derivationStrategy`, addresses are derived using
| <1.2 | All | BIP45 | P2SH |
| ≥1.2 | Non-multisig | BIP44 | P2PKH |
| ≥1.2 | Multisig | BIP44 | P2SH |
| ≥1.5 | Multisig Hardware wallets | BIP44 (root m/48’) | P2SH |
| ≥1.5 | Multisig Hardware wallets | BIP44 (root m/48’) | P2SH |

Using a tool like [Bitcore PlayGround](http://bitcore.io/playground) all wallet addresses can be generated. (TIP: Use the `Address` section for P2PKH address type wallets and `Multisig Address` for P2SH address type wallets). For multisig addresses, the required number of signatures (key `m` on the export) is also needed to recreate the addresses.

@@ -202,12 +202,12 @@ This will download all partial and complete language translations while also cle

**Translation Credits:**

* Japanese: @dabura667
* French: @kirvx
* Portuguese: @pmichelazzo
* Spanish: @cmgustavo
* German: @saschad
* Russian: @vadim0
- Japanese: @dabura667
- French: @kirvx
- Portuguese: @pmichelazzo
- Spanish: @cmgustavo
- German: @saschad
- Russian: @vadim0

_Gracias totales!_

@@ -221,16 +221,16 @@ We release bug fixes as soon as possible for all platforms. Usually around a wee

### Minor and Major Releases

* t+0: tag the release 1.2 and "text lock" (meaning only non-text related bug fixes. Though this rule is sometimes broken, it's good to make a rule.)
* t+7: testing for 1.2 is finished, translation is also finished, and 1.2.1 is tagged with all translations along with bug fixes made in the last week.
* t+7: iOS is submitted for 1.2.1. All other platforms are submitted with auto-release off.
* t + (~17): All platforms 1.2.1 are released when Apple approves the iOS application update.
- t+0: tag the release 1.2 and "text lock" (meaning only non-text related bug fixes. Though this rule is sometimes broken, it's good to make a rule.)
- t+7: testing for 1.2 is finished, translation is also finished, and 1.2.1 is tagged with all translations along with bug fixes made in the last week.
- t+7: iOS is submitted for 1.2.1. All other platforms are submitted with auto-release off.
- t + (~17): All platforms 1.2.1 are released when Apple approves the iOS application update.

## How to Verify Copay Signatures

1. Download the `copay@bitpay.com` public key (`gpg --recv-keys 1112CFA1`)
2. Download Copay binary (`$FILENAME`) and signature file (`$FILENAME.sig`)
3. Verify the signature by running:
1. Download the `copay@bitpay.com` public key (`gpg --recv-keys 1112CFA1`)
2. Download Copay binary (`$FILENAME`) and signature file (`$FILENAME.sig`)
3. Verify the signature by running:

```bash
$ gpg --verify \
@@ -286,9 +286,9 @@ gpg --import /tmp/key
Anyone and everyone is welcome to contribute. Please take a moment to
review the [guidelines for contributing](CONTRIBUTING.md).

* [Bug reports](CONTRIBUTING.md#bugs)
* [Feature requests](CONTRIBUTING.md#features)
* [Pull requests](CONTRIBUTING.md#pull-requests)
- [Bug reports](CONTRIBUTING.md#bugs)
- [Feature requests](CONTRIBUTING.md#features)
- [Pull requests](CONTRIBUTING.md#pull-requests)

## Support

@@ -15,7 +15,8 @@
},
"oauth_client": [
{
"client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_id":
"149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_type": 3
}
],
@@ -9,10 +9,10 @@ var nw = new NwBuilder({
macIcns: './resources/*PACKAGENAME*/mac/app.icns',
exeIco: './resources/*PACKAGENAME*/windows/icon.ico',
macPlist: {
'CFBundleURLTypes': [
CFBundleURLTypes: [
{
'CFBundleURLName': 'URI Handler',
'CFBundleURLSchemes': ['bitcoin', 'bitcoincash', '*PACKAGENAME*']
CFBundleURLName: 'URI Handler',
CFBundleURLSchemes: ['bitcoin', 'bitcoincash', '*PACKAGENAME*']
}
]
}
@@ -21,9 +21,10 @@ var nw = new NwBuilder({
// Log stuff you want
nw.on('log', console.log);

nw.build().then(function () {
console.log('all done!');
}).catch(function (error) {
console.error(error);
});

nw.build()
.then(function() {
console.log('all done!');
})
.catch(function(error) {
console.error(error);
});
@@ -15,20 +15,26 @@ output.on('close', function() {
console.log(archive.pointer() + ' total bytes... done');
});

archive.on('error', function(err){
archive.on('error', function(err) {
throw err;
});

async function start() {
try {
// Copy resources
await fs.copy('./desktop/.desktop', destinationFolder + '/.desktop');
await fs.copy(resourceFolder + '/favicon.ico', destinationFolder + '/favicon.ico');
await fs.copy(resourceFolder + '/icon.png', destinationFolder + '/icon.png');
await fs.copy(
resourceFolder + '/favicon.ico',
destinationFolder + '/favicon.ico'
);
await fs.copy(
resourceFolder + '/icon.png',
destinationFolder + '/icon.png'
);
console.log('Copy resources: success!');

// Compress folder
console.log('Compress folder: ...')
console.log('Compress folder: ...');
archive.pipe(output);
archive.directory(destinationFolder + '/', '*USERVISIBLENAME*-linux');
archive.finalize();
@@ -15,7 +15,8 @@
},
"oauth_client": [
{
"client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_id":
"149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_type": 3
}
],
Oops, something went wrong.

0 comments on commit 749eb6a

Please sign in to comment.
You can’t perform that action at this time.