Commit Graph

509 Commits

Author SHA1 Message Date
Kukks
c7e2f979dd Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-27 20:19:29 +01:00
nicolas.dorier
e3193a92d0 Add PaidCurrency in the excel export 2018-12-27 16:48:33 +09:00
nicolas.dorier
d76dabdca6 Remove warning 2018-12-27 16:19:00 +09:00
Nicolas Dorier
a3b79fbcd8
Merge pull request #462 from rockstardev/master
InvoiceDue field in export
2018-12-26 16:47:38 +09:00
nicolas.dorier
81c9ce7284 Limit the number of time the wallet need to export the xpub 2018-12-26 15:04:11 +09:00
nicolas.dorier
caa6978d80 Save the KeyPath of the WalletKeyPathRoot of the hardware wallet so we don't have to scan for it 2018-12-26 14:04:00 +09:00
Kukks
8e8615dab8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-21 11:51:13 +01:00
nicolas.dorier
4d7015294e Fix configuration of lnd rest 2018-12-20 20:12:36 +09:00
nicolas.dorier
e80593fb7b Expose LND's other macaroon if possible 2018-12-20 16:52:04 +09:00
nicolas.dorier
57324345ac Remove remaining of RestrictedMacaroon 2018-12-20 16:24:36 +09:00
rockstardev
365ee4cf0b Fixing CSV test now that we have new field / reorders 2018-12-18 12:35:59 -06:00
rockstardev
ec23eae21d Ensuding that payments are always ordered by time for consistency 2018-12-18 11:56:51 -06:00
rockstardev
7a9229628a InvoiceDue field in export 2018-12-18 11:56:12 -06:00
nicolas.dorier
9db5c0f375 Hack tests to make currency formatting work on linux 2018-12-19 00:28:06 +09:00
nicolas.dorier
998472e463 Fix symbol display on linux 2018-12-19 00:11:15 +09:00
nicolas.dorier
0ba96aa4b8 Fix export tests 2018-12-18 23:24:22 +09:00
nicolas.dorier
9ca85ed365 Change column order 2018-12-18 21:44:51 +09:00
nicolas.dorier
93113fd871 Fix payment exports to reflect correctly payment data, rename fields. 2018-12-18 21:35:52 +09:00
Andrew Camilleri
b5d360594a Merge remote-tracking branch 'origin/master' into feature/crowdfund 2018-12-18 13:29:22 +01:00
nicolas.dorier
d5ae79c38c Add more information about status in the CSV export 2018-12-18 19:33:14 +09:00
nicolas.dorier
7cf07b27e3 Invoice export should not prefix amounts with crypto code 2018-12-18 19:20:10 +09:00
Kukks
7fa1b65af0 initial commit 2018-12-11 16:36:25 +01:00
nicolas.dorier
0d06cf63b7 Use enum for invoice status and invoice exception 2018-12-10 21:48:28 +09:00
nicolas.dorier
058472d325 Show restricted macaroon for LND 2018-12-10 16:03:58 +09:00
nicolas.dorier
b5c9a03052 Can mark invoice as complete 2018-12-10 15:34:48 +09:00
nicolas.dorier
8afc103ae7 Show REST connection information for LND in a QR Code 2018-12-07 19:31:07 +09:00
nicolas.dorier
e836faf792 Stop setting BIP70 link info 2018-12-06 17:12:51 +09:00
nicolas.dorier
9209984a2f Remove useless argument from GetInvoice 2018-12-06 17:05:27 +09:00
nicolas.dorier
cad602ad14 Fix several issues in cart
* Fix: Only USD currency with 2 decimals were properly handled for tips
* Fix: All PoS apps would were sharing the same basket
* Fix: Currency formatting was not using server side information
* Fix: Various bug of formatting for decimal 0 and more than 2.
2018-12-04 13:04:26 +09:00
rockstardev
a89da1f705 Recoding test to respect new ordering in CSV 2018-11-30 04:34:18 -06:00
rockstardev
5b297e539a Additional fields and ordering based on feedback 2018-11-30 04:18:37 -06:00
rockstardev
7b47b96252 Always using quotes for CSV export 2018-11-30 03:15:23 -06:00
rockstardev
a4bec83ecc Fixing warnings on invariant culture, hate this for being so verbose 2018-11-30 02:51:23 -06:00
rockstardev
8e30b7430d Adding PaymentType and destination, CSV export 2018-11-30 02:04:26 -06:00
rockstardev
9235d32a45 Export of payments made on invoices 2018-11-30 01:22:39 -06:00
nicolas.dorier
0096ec1d12 bump nbxplorer 2018-11-21 20:41:51 +09:00
nicolas.dorier
4dccd0c733 Add better instruction on how to customize the theme 2018-11-17 12:43:11 +09:00
nicolas.dorier
4af5b94013 Add tooling which pull transifex translation automatically, add Slovenčina. (Close #386) 2018-11-14 16:48:25 +09:00
Andrew Camilleri
f23e2a3ec4 async i18n and json translation format (#369)
* start working on loading locales async and as json

* finish off langs and UI

* fix path

* fix tests
2018-11-09 16:48:38 +09:00
nicolas.dorier
0419a3c19a do not affect Buyer for every paymentid 2018-11-05 17:37:55 +09:00
nicolas.dorier
9fc7f287d2 Expose buyer object to conform to bitpay API 2018-11-05 17:02:12 +09:00
nicolas.dorier
15d9adfbf1 Fix rate fetching for kraken doge and dash 2018-11-05 12:14:39 +09:00
nicolas.dorier
9784a89112 limit apdu size to ledger 2018-11-04 00:36:48 +09:00
nicolas.dorier
05b0f6d0f7 Fix invoice search not working on transaction id 2018-11-02 14:26:13 +09:00
nicolas.dorier
c0174c0c2c inverse DASH rate 2018-11-01 16:33:53 +09:00
nicolas.dorier
fa8324c1f9 Fix DASH rate for kraken 2018-11-01 14:48:46 +09:00
nicolas.dorier
a82f181126 Reactivate cryptopia 2018-10-31 13:31:03 +09:00
nicolas.dorier
2be1f97419 Remove cryptopedia as direct provider, add estimated time to wallet rescan page, bump nbx 2018-10-30 15:40:27 +09:00
nicolas.dorier
c430d470c4 Fix warnings and bump nbxplorer 2018-10-26 19:06:06 +09:00
britttttk
1ff0a98d30 Adding Ukrainian Translation (#352) 2018-10-24 15:18:31 +09:00
britttttk
f0efd52cb7 Adding Kazakh Language (#350) 2018-10-24 15:17:09 +09:00
britttttk
bb8fa88688 Adding Vietnamese (#351) 2018-10-24 15:16:30 +09:00
Denny Biasiolli
a4fbb2de7e creating italian localization file (#310) 2018-10-14 21:34:15 +09:00
britttttk
9bec38559f Nepali Translation (#311)
* Nepali Language

* Delete Checkout.cshtml

* Delete LanguageService.cs

* add np.js

* Match Language File Style
2018-10-12 10:11:03 +09:00
britttttk
b3c4fc4003 Added Russian (#312) 2018-10-12 10:10:20 +09:00
Rockstar Developer
c2bbc04c4c Various bugfixes (#308)
* NotifyEmail field on Invoice, sending email when triggered

* Styling invoices page

* Exporting Invoices in JSON

* Recoding based on feedback

* Fixing image breaking responsive layout on mobile

* Reducing amount of data sent in email notification

* Turning bundling on by default
2018-10-12 10:09:13 +09:00
Sosthene
60707fdbd1 Add simplified chinese translation (#326)
* Add Chinese Simplified translation

* Add Chinese simplified translation
2018-10-11 14:25:16 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
nicolas.dorier
4c4b76e995 Remove Bitpay direct provider 2018-09-28 17:08:51 +09:00
nicolas.dorier
fed53661b3 Add btcpay.store.cancreateinvoice claim, and use that for the store 2018-09-08 14:53:41 +09:00
nicolas.dorier
b5efb8d2e6 Add exchange name to expired rate 2018-09-08 14:53:40 +09:00
nicolas.dorier
957d478865 Fixing coinaverage, ValidityTime was faster than the refresh rate 2018-08-25 21:49:20 +09:00
nicolas.dorier
6c51d83f61 Fix tests 2018-08-25 15:49:04 +09:00
nicolas.dorier
0edaedb6ab Report if BackgroundFetcherRateProvider has expired entry 2018-08-25 15:09:42 +09:00
nicolas.dorier
929a0c37bd Better handle errors on BackgroundFetcherRateProvider 2018-08-25 14:44:56 +09:00
nicolas.dorier
058ccf56d0 Fix uncaught exception on when getting rates of invoice 2018-08-25 14:44:55 +09:00
nicolas.dorier
29af07b3f9 Make sure we do not return outdated rates 2018-08-23 13:47:56 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
4f5a8f7953 Use direct provider for Kraken, update packages 2018-08-21 15:59:57 +09:00
nicolas.dorier
8728356698 Use HttpClientFactory for coinaverage 2018-08-21 14:33:13 +09:00
nicolas.dorier
29513d4ded Who network type in the conf file of gRPC, fix #246 2018-08-12 16:19:18 +09:00
nicolas.dorier
83304de1c6 Remove the concept of "Rate multiplier" and replace it with the concept of "Spread" 2018-08-01 18:38:46 +09:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
nicolas.dorier
52f60b0457 Can show the transaction list in wallet menu 2018-07-27 00:08:07 +09:00
nicolas.dorier
b0d6216ffc Better timestamp for invoice logs, fix bugs which can happen if invoice get deleted 2018-07-24 12:19:43 +09:00
nicolas.dorier
060876d07f Do not round satoshis to 8 decimal 2018-07-23 18:15:40 +09:00
nicolas.dorier
c2f282f85c Fix rounding bug 2018-07-23 17:59:12 +09:00
nicolas.dorier
6eb7bbf853 Fix some invoice failing to create because of rounding issues 2018-07-23 12:01:20 +09:00
nicolas.dorier
11a26c940d Do not expose the config secret in URL, and use {net.CryptoCode}.external.lnd.grpc argument 2018-07-23 11:54:33 +09:00
nicolas.dorier
57bb980526 Update packages 2018-07-23 00:21:40 +09:00
nicolas.dorier
022b4f115d Expose LND gRPC settings 2018-07-22 18:38:14 +09:00
nicolas.dorier
96721e95a2 Clean unreachable store if user is deleted 2018-07-20 15:24:19 +09:00
nicolas.dorier
883cd41232 Fix bug where store was not properly deleted 2018-07-19 22:46:55 +09:00
nicolas.dorier
3f48a478af Add delete button in update store settings 2018-07-19 22:23:14 +09:00
nicolas.dorier
8d3b45bdec Delete store if no owner 2018-07-19 21:38:55 +09:00
nicolas.dorier
bbd19a96ec Make sure we don't delete store on Sqlite 2018-07-19 21:32:33 +09:00
nicolas.dorier
ce17e3212a Can delete stores 2018-07-19 19:31:17 +09:00
nicolas.dorier
cd2fef0dab Add a error if the browser access BTCPay with the wrong url 2018-07-11 22:40:10 +09:00
nicolas.dorier
42d60ef84b Fix: Could not send money from wallet of a coin without segwit 2018-06-30 21:26:10 +09:00
nicolas.dorier
1eee31e9f1 Fix rate bug: Sometimes coinaverage is sending null bid and ask 2018-06-04 12:01:30 +09:00
nicolas.dorier
a97ef2eee8 MinerFee matching Bitpay API 2018-05-25 22:49:49 +09:00
nicolas.dorier
b98993f84b fix typo 2018-05-23 11:16:19 +09:00
nicolas.dorier
ba3d13d56c Make sure the rate of the merchant is using the ask of a divided exchange 2018-05-23 02:18:38 +09:00
nicolas.dorier
ead67887ab Enable SSL was ignored 2018-05-23 00:59:50 +09:00
nicolas.dorier
3cf3aa63f6 CurrencyNameTable can use fallback 2018-05-20 23:37:18 +09:00
nicolas.dorier
011dd5574f Add a fallback currency format info 2018-05-20 23:22:20 +09:00
rockstardev
fe5347aa86 Maintaining BitPay compatibility
Ref: https://github.com/btcpayserver/btcpayserver/issues/180
2018-05-20 17:00:54 +09:00
nicolas.dorier
eeb522fe7d Remove special case for showing crypto currency 2018-05-16 21:19:48 +09:00
nicolas.dorier
58b994e043 fix tests 2018-05-16 10:40:25 +09:00
nicolas.dorier
640ff36fa2 fix build 2018-05-16 10:26:45 +09:00
Nicolas Dorier
a1ffda0151
Merge pull request #168 from Kukks/feature/extended-invoice
[WIP] Feature/extended invoice
2018-05-16 10:21:52 +09:00
nicolas.dorier
ecf03f90aa Fix UriAttribute bug, and currency formatting crash 2018-05-16 02:24:59 +09:00
Andrew Camilleri
559f535257 add some coverage for bitpay fields 2018-05-15 16:18:37 +02:00
Andrew Camilleri
ad67f4ef18 update to use longs 2018-05-13 09:47:42 +02:00
Andrew Camilleri
2c0bcfc0ec Merge remote-tracking branch 'btcpayserver/master' into feature/extended-invoice 2018-05-13 08:34:36 +02:00
nicolas.dorier
f7fe855274 Do not roundup rates 2018-05-13 15:09:17 +09:00
nicolas.dorier
449738414b Add cryptopia 2018-05-12 19:37:32 +09:00
nicolas.dorier
26db946392 BTCPayRateProviderFactory is responsible for getting the supported exchange list 2018-05-12 00:54:17 +09:00
Andrew Camilleri
a37a8e8fcd Merge remote-tracking branch 'btcpayserver/master' into feature/extended-invoice 2018-05-11 16:46:38 +02:00
nicolas.dorier
af3dee95de round up rates sent back by the RateProviderFactory 2018-05-11 23:31:50 +09:00
nicolas.dorier
9afc143801 Use decimals and fix invoices 2018-05-11 22:38:31 +09:00
nicolas.dorier
8e4943df65 low-medium speed policy 2018-05-11 22:12:45 +09:00
Andrew Camilleri
ee4f83ddba small fixes 2018-05-11 12:21:25 +02:00
Andrew Camilleri
239a011e60 add new properties and change types to decimal 2018-05-11 11:31:21 +02:00
nicolas.dorier
66a68d6180 Rename LockSubscription, remove the link if not available 2018-05-10 16:02:49 +09:00
nicolas.dorier
6ca8ba9231 Allow signing on non segwit transactions via the ledger 2018-05-07 12:17:46 +09:00
nicolas.dorier
87e28b70fd cap MinimumTotalDue to 1 satoshi 2018-05-06 13:55:03 +09:00
nicolas.dorier
b96f464e39 Add "unusual:" filter to invoice list 2018-05-06 13:16:39 +09:00
nicolas.dorier
7872b3ec55 Add a new invoice event: expiredPaidPartial and fix some corner case for tolerance 2018-05-06 00:40:44 +09:00
Nicolas Dorier
27a0aebd12
Merge pull request #155 from Kukks/feature/order-tolerance
Payment Tolerance
2018-05-06 00:06:39 +09:00
nicolas.dorier
366490516e Can filter with "exceptionstatus:", show the exception status on invoice list page 2018-05-05 23:25:09 +09:00
Andrew Camilleri
9a92646d4d add test and refactor for PR 2018-05-05 16:07:22 +02:00
Andrew Camilleri
b002c49dac Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-05 16:04:59 +02:00
nicolas.dorier
744734a6a1 Returns fallback feerate for coins not supporting fee rate query in NBXplorer 2018-05-05 22:19:36 +09:00
Andrew Camilleri
af21f9f10c Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-05 08:49:16 +02:00
nicolas.dorier
efdc99b9d1 Do not spam the logs about failed mail 2018-05-05 01:42:42 +09:00
Andrew Camilleri
0fc770bbb1 extract logic of accounting to accounting and remove bitpay breaking changes 2018-05-04 17:47:33 +02:00
Andrew Camilleri
dfb79ef96e Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance 2018-05-04 17:46:39 +02:00
nicolas.dorier
4ebffc8d43 fix BIP70 bug 2018-05-05 00:44:02 +09:00
Andrew Camilleri
c3d73236e0 start work on payment tolerance feature 2018-05-04 16:15:34 +02:00
nicolas.dorier
8a4da361fd Fix bug about invoice URL 2018-05-04 22:05:40 +09:00
nicolas.dorier
57effe318b Fix missing URL for invoice 2018-05-04 21:41:50 +09:00
nicolas.dorier
e2533a93e3 Fix set email screen 2018-05-04 15:54:12 +09:00
nicolas.dorier
14360bde78 Use rate directly from some exchanges, fix bug in ServerSettings 2018-05-04 15:36:10 +09:00
nicolas.dorier
6dc4bfaefe Make rate calculation scriptable 2018-05-04 01:46:52 +09:00
nicolas.dorier
e57a488371 Refactor the RateProvider 2018-05-03 03:32:42 +09:00
nicolas.dorier
1fc9a1a54b Move to a Claim based security 2018-04-30 02:33:42 +09:00
2pac1
a6ef7387cf
Update LanguageService.cs 2018-04-28 18:12:11 +02:00
nicolas.dorier
07c2f6b810 Remove TokenRepository dependency from InvoiceControllerAPI 2018-04-28 02:51:20 +09:00
nicolas.dorier
8ff81f1648 Use claim based authentication 2018-04-28 02:09:24 +09:00
nicolas.dorier
d4935263da Update various packages 2018-04-26 11:45:09 +09:00
nicolas.dorier
16f1791a9a Invoice filter must work with duplicated filter 2018-04-26 11:03:02 +09:00
nicolas.dorier
a7ad71d492 CoinAverage credentials are now correctly passed 2018-04-23 17:21:50 +09:00
nicolas.dorier
18977f7265 Optimize number of requests sent to Quadrigacx 2018-04-23 17:06:22 +09:00
nicolas.dorier
8a88b44e98 Add special rate provider for qudrigacx 2018-04-23 16:44:59 +09:00
nicolas.dorier
c9e5fe42ba Set default AvailableExchanges inside CoinAverageSettings 2018-04-23 16:12:11 +09:00
nicolas.dorier
0e1fac3773 fix getting exchange rate of Coinaverage 2018-04-23 15:58:35 +09:00
lepipele
0934bebf7b Merge remote-tracking branch 'source/master' into dev-bootstrap 2018-04-19 11:45:30 -05:00
lepipele
8075273ec8 Refactoring pills navigation 2018-04-19 11:40:12 -05:00
lepipele
97b59be9bf Adding page for Theme settings 2018-04-19 11:39:51 -05:00
nicolas.dorier
3822358096 Show more info about bitcoin average quota 2018-04-20 01:01:39 +09:00
nicolas.dorier
10c981b2a0 Update NBXplorer 2018-04-19 16:54:25 +09:00
lepipele
3f85918a0c Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
#	BTCPayServer/Views/Invoice/Invoice.cshtml
2018-04-18 23:38:10 -05:00
nicolas.dorier
6936b034cb Add Bitcoin average quota 2018-04-18 18:23:39 +09:00
nicolas.dorier
73ed4003a3 Use a drop down for preferred exchange list 2018-04-18 16:38:56 +09:00
nicolas.dorier
5cb8cdd511 Refactoring: Do not query database when asking for Coinaverage rates, periodically get exchange list 2018-04-18 16:38:56 +09:00
lepipele
195b5fdd1a Adding overriding of CreativeStartUri, refactoring PoliciesSettings 2018-04-17 17:24:00 -05:00
Mário
d7719d25b4 Add Portuguese (Portugal) translation 2018-04-16 01:29:42 +01:00
nicolas.dorier
0723eec508 Fix rate handling 2018-04-15 21:21:57 +09:00
lepipele
18986faca8 Merge remote-tracking branch 'source/master' into dev-bootstrap
# Conflicts:
#	BTCPayServer/Controllers/ServerController.cs
2018-04-14 11:11:38 -05:00
nicolas.dorier
04c6107196 Can configure rate caching and bitcoinaverage API keys 2018-04-14 22:52:57 +09:00
lepipele
f869c06aee Adding Bootstrap theme uri field to settings 2018-04-13 15:42:34 -05:00
nicolas.dorier
2b11cc1077 Simplify root key path calculation 2018-04-12 11:48:33 +09:00
nicolas.dorier
9da6df50b7 Add DOGECOIN 2018-04-10 19:07:57 +09:00
nicolas.dorier
560c1c3dc0 do not use long cache provider 2018-04-03 17:56:55 +09:00
nicolas.dorier
ecc5032bb2 Fix error message if invalid input lightning max value / min value. Increase cache of currency to 15 min 2018-04-03 17:54:50 +09:00
nicolas.dorier
149c29963d Add Point of Sale feature to BTCPay 2018-04-03 16:58:47 +09:00
Saevar
2e555cac22 Add Icelandic 2018-03-29 08:19:07 +00:00
nicolas.dorier
c60966c725 Revert "Add temporary log for stufftech debug"
This reverts commit fb57d8c3ce.
2018-03-29 12:25:26 +09:00
nicolas.dorier
fb57d8c3ce Add temporary log for stufftech debug 2018-03-29 12:21:20 +09:00
nicolas.dorier
799ce74f65 Add temporary log for stufftech debug 2018-03-29 12:20:06 +09:00
nicolas.dorier
8e38d7ceb4 Revert "Add temporary log to debug stufftech"
This reverts commit a1c22e8071.
2018-03-29 12:17:03 +09:00
nicolas.dorier
a1c22e8071 Add temporary log to debug stufftech 2018-03-29 12:14:51 +09:00
nicolas.dorier
6d8acf54d6 Revert "Fix SQLite bug: New invoice repeating"
This reverts commit 9eb3aad072.
2018-03-29 12:10:03 +09:00
nicolas.dorier
a500a89138 Revert "add hack sqlite specific"
This reverts commit c6d44e7a89.
2018-03-29 12:09:57 +09:00
nicolas.dorier
c6d44e7a89 add hack sqlite specific 2018-03-29 12:02:13 +09:00
nicolas.dorier
9eb3aad072 Fix SQLite bug: New invoice repeating 2018-03-29 11:57:17 +09:00
nicolas.dorier
e23243565f Refactor CreateInvoiceCore to better give feedback on payment method errors to the merchant, be faster, and give NodeInfo 2018-03-28 22:37:01 +09:00
nicolas.dorier
5eac84d3a3 Fix bug: bitcoinAddress field of Invoice was showing ligthning BOLT11 address 2018-03-26 12:38:14 +09:00
Nicolas Dorier
8eee0dd14c
Merge pull request #81 from pajasevi/lang-CS
Czech language support
2018-03-26 09:46:59 +09:00
nicolas.dorier
7dd88d8d8f Can send max invoice value for lightning payments 2018-03-26 01:57:44 +09:00
Pavel Ševčík
56d1d3e645 Czech language support 2018-03-25 17:17:38 +02:00
nicolas.dorier
f533309b49 plug japanese translation 2018-03-24 23:02:41 +09:00
nicolas.dorier
a0d2790491 Activate spanish 2018-03-24 14:35:49 +09:00
nicolas.dorier
08d82390b0 Remove language not yet translated 2018-03-24 01:15:28 +09:00
nicolas.dorier
b845a545e2 Plug Dutch to LanguageService 2018-03-24 01:10:19 +09:00
nicolas.dorier
7266420eec Plug portugeuse to language service 2018-03-24 01:04:05 +09:00
nicolas.dorier
7d17bf7f2a Can set store default language 2018-03-23 17:27:48 +09:00
nicolas.dorier
39b34ff4ed Can invite user to manage your store 2018-03-23 16:24:57 +09:00
nicolas.dorier
806474c8c6 Allow account selection of the ledger 2018-03-18 14:15:23 +09:00
nicolas.dorier
acb2407654 Fix bug: Paying a lightning invoice might miss 1 satoshi due to rounding error 2018-03-18 02:26:33 +09:00
nicolas.dorier
09f97915d6 Fix charge listener bug, and decouple charge from clightning in test docker compose 2018-03-17 19:26:30 +09:00
nicolas.dorier
81328b2667 Update charge in tests and fix two build time warnings 2018-03-17 17:49:42 +09:00
nicolas.dorier
49cf804914 bump 2018-03-13 15:39:52 +09:00
nicolas.dorier
0f6ad75536 Remove internal exception thrown by NBitcoin 2018-03-13 15:28:39 +09:00
nicolas.dorier
303a617f9e Improve invoice.cshtml display if offchain payment is present 2018-03-06 16:37:25 -05:00
nicolas.dorier
b67a962d12 Make sure the txrelayfee is correctly set 2018-03-02 14:16:16 -05:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
5e452a679e simplify code 2018-02-20 14:23:50 +09:00
nicolas.dorier
0e1a1fd2cd Remove dependencies in StoreController to on chain payment specific stuff 2018-02-20 12:45:04 +09:00
nicolas.dorier
3f07010de8 Rename IPaymentMethodFactory to ISupportedPaymentMethod 2018-02-20 10:44:39 +09:00
nicolas.dorier
2e45c8b190 Isolate PaymentMethodId in its own class, generalise DerivationStrategy 2018-02-19 23:13:23 +09:00
nicolas.dorier
b4f4401cdc remove unused code, remove derivationscheme specific logic from InvoiceEntity 2018-02-19 22:41:47 +09:00
nicolas.dorier
2f3238c65e Use decimal for calculations instead of Money, and round due amount at ceil satoshi 2018-02-19 18:54:21 +09:00
nicolas.dorier
a634593903 Big refactoring renaming cryptoData => PaymentMethod 2018-02-19 15:09:05 +09:00
nicolas.dorier
af94de93d1 Add some comments 2018-02-19 11:31:34 +09:00
nicolas.dorier
35f669aa15 Isolating code of on chain specific payment in its own folder 2018-02-19 11:06:08 +09:00
nicolas.dorier
4795bd8108 Add some sanity check, make sure to use CrytpoDataId everywhere 2018-02-19 03:35:19 +09:00
nicolas.dorier
29aed99fd1 prevent a crash if the new property DerivationStrategies is notset at invoice level 2018-02-19 02:56:44 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00
nicolas.dorier
3bc232e1da Further isolate bitcoin related stuff inside BitcoinLikePaymentData 2018-02-18 02:35:02 +09:00
nicolas.dorier
a1ee09cd85 Further abstract payment data by encapsulating bitcoin related logic into BitcoinLikePaymentData 2018-02-18 02:19:35 +09:00
nicolas.dorier
b898cc030c general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00
nicolas.dorier
0602353dd2 fix bug happening if only btc is supported 2018-02-17 01:55:38 +09:00
nicolas.dorier
5de330b1f9 Refactoring to keep coin logic out of InvoiceWatcher 2018-02-17 01:34:40 +09:00
nicolas.dorier
c3684eb064 BTCPayWallet should be singleton per cryptcode 2018-02-15 15:17:12 +09:00
nicolas.dorier
cd1611dbcd make sure to not spam too much NBXplorer 2018-02-15 14:44:08 +09:00
nicolas.dorier
c17793aca9 do not freeze the stores page 2018-02-15 13:33:29 +09:00
nicolas.dorier
01d898b618 Caching GetCoins 2018-02-15 13:02:12 +09:00
nicolas.dorier
17069c311b Remove transaction cache 2018-02-15 12:42:48 +09:00
nicolas.dorier
6181e8b3e4 Refactor the code to prepare the group to support of another hardware wallet 2018-02-13 16:57:40 +09:00
nicolas.dorier
cd0a650df4 Ledger wallet support 2018-02-13 03:27:36 +09:00
nicolas.dorier
465fbdd47f Fix bug which can happen if parsing of CoinAverage decimal is on another culture 2018-02-10 22:03:33 +09:00
nicolas.dorier
db46ca87d7 do not share cache between long and short profile 2018-02-01 21:34:07 +01:00
nicolas.dorier
d873a1a545 Set a longer timeout for the cache for /rates, update NBXPlorer, bump 2018-02-01 21:24:13 +01:00
nicolas.dorier
ea4fa8d5d4 Mock rate provider 2018-01-20 12:30:22 +09:00
nicolas.dorier
69247dee8a Fix api/rates allow to scope by cyrptoCode and storeId 2018-01-19 18:11:43 +09:00
nicolas.dorier
7b9541b8e9 Do not crash if some of the altcoins are unavailable 2018-01-19 17:39:15 +09:00
nicolas.dorier
198e810355 Store can customize rate source 2018-01-19 16:00:20 +09:00
nicolas.dorier
1c0c8fece2 Change default speed to medium 2018-01-19 00:37:00 +09:00
nicolas.dorier
4b7b6c6327 debug 2018-01-18 18:33:26 +09:00
nicolas.dorier
726cd6fd49 Add badge if not on mainnet in the top bar 2018-01-17 16:34:01 +09:00
nicolas.dorier
5f6913b3a2 Can tweak the rate at store level 2018-01-17 15:59:31 +09:00
nicolas.dorier
3f9889d374 Update docker, remove tx cache, use new nbxplorer 2018-01-17 15:02:53 +09:00
nicolas.dorier
ba0e080816 Invoices has events recorded 2018-01-14 21:48:23 +09:00
nicolas.dorier
4a152e8ffc fix build 2018-01-13 17:32:08 +09:00
nicolas.dorier
d54a9474d1 Fixing exception thrown when invoice is paid and supporting only LTC 2018-01-13 17:23:09 +09:00
nicolas.dorier
099c9fa1f9 Fix balance calculation when there is unconfirmed tx 2018-01-13 12:53:56 +09:00
nicolas.dorier
5226b77ffc Fix bug happening when removing data of nbxplorer 2018-01-13 02:28:23 +09:00
nicolas.dorier
4f39a8060c Fixing bug of uncorrectly unassigned addresses 2018-01-13 01:48:19 +09:00
nicolas.dorier
88779e7129 Make sure websockets does not throw, fix annying warning of emails 2018-01-12 18:32:46 +09:00
nicolas.dorier
a1ebedc0d1 Fix unit test 2018-01-12 16:54:57 +09:00
nicolas.dorier
d5ad0cdb39 Fix a edge case "The instance of entity type 'HistoricalAddressInvoiceData'" 2018-01-12 16:42:10 +09:00
nicolas.dorier
39fb8dbb6a better handle case when BTC is not supported by a store 2018-01-12 16:30:34 +09:00
nicolas.dorier
b59021a0be Cleanup the design for multi currencies support, use a single nbxplorer instead of two 2018-01-12 11:54:57 +09:00
nicolas.dorier
8596e16feb make default configuration just work with multi chains 2018-01-11 22:52:28 +09:00
nicolas.dorier
223558c01d Adding transaction caching 2018-01-11 21:01:00 +09:00
nicolas.dorier
3a91965187 Some refactoring improving performance, and better tests for multiple currencies 2018-01-11 17:29:48 +09:00
nicolas.dorier
55d50af39d BTCWallet is single currency, introduce BTCWalletProvider 2018-01-11 14:36:12 +09:00