Commit Graph

170 Commits

Author SHA1 Message Date
nicolas.dorier
8472bfe90d Add test for bad bitid signature 2018-12-07 14:34:07 +09:00
nicolas.dorier
6e27233be8 Remove BIP70 support 2018-12-06 17:08:28 +09:00
nicolas.dorier
9209984a2f Remove useless argument from GetInvoice 2018-12-06 17:05:27 +09:00
rockstardev
a89da1f705 Recoding test to respect new ordering in CSV 2018-11-30 04:34:18 -06:00
rockstardev
7b47b96252 Always using quotes for CSV export 2018-11-30 03:15:23 -06:00
rockstardev
8509a0de18 Basic export CSV and JSON tests 2018-11-30 02:34:43 -06:00
Mario Dian
1831692761 Enable shopping cart, add items to cart, enable tips (#410)
Modal cart, remove items, checkout

Fix removal and adding of cart items

Improve cart UI

Add cart bundle, remove unused js files from the view when cart isn't used

Do not enable cart by default

Do not put modal into the view when the cart is disabled

Escape js properties

Work with amounts as cents

Make animation speed look constant

Enable tips in the cart

Fix cart UI
2018-11-27 15:14:32 +09:00
Andrew Camilleri
e144d2479b Add POS Data to Invoice UI (#409)
* Add POS Data in Invoice UI

* fix build

* extract in helper and add UTs

* add in unit test coverage through mvc view too
2018-11-27 15:13:09 +09:00
nicolas.dorier
60b72aabe8 fix test 2018-11-24 13:38:23 +09:00
nicolas.dorier
1aaa55dc62 Make test less flaky 2018-11-23 13:09:30 +09:00
nicolas.dorier
0096ec1d12 bump nbxplorer 2018-11-21 20:41:51 +09:00
Rockstar Developer
9d21c89151 Preserving title with custom amount (#403)
* Preserving title with custom amount

* Custom button texts for complete localization

* Update tests, now checking custom amount description and button text

* Support for Custom CSS in POS
2018-11-17 11:39:43 +09:00
nicolas.dorier
24a8c4015c Bump 2018-11-17 11:35:20 +09:00
nicolas.dorier
36f486e91b Add test for the parser 2018-11-17 01:45:59 +09:00
nicolas.dorier
401d9c8565 DerivationSchemeParser should not override a label 2018-11-17 01:21:34 +09:00
Andrew Camilleri
c9c7316b7d Logs UI in Server Admin (#374)
* add in ui

* add in logging viewer

* Revert "add in ui"

This reverts commit 9614721fa8.

* finish basic feature

* clean up

* improve and fix build

* add in debug log level command option

* use paging for log file list, use extension to select log files, show message for setting up logging

* make paging a little better

* add very basic UT for logs

* Update ServerController.cs
2018-11-07 22:29:35 +09:00
nicolas.dorier
15d9adfbf1 Fix rate fetching for kraken doge and dash 2018-11-05 12:14:39 +09:00
nicolas.dorier
b423b4eec1 Do not allow rescan of wallet which are not segwit 2018-11-04 14:59:28 +09:00
nicolas.dorier
05b0f6d0f7 Fix invoice search not working on transaction id 2018-11-02 14:26:13 +09:00
nicolas.dorier
bc0acf5701 make test more reliable 2018-10-31 16:57:31 +09:00
nicolas.dorier
a82f181126 Reactivate cryptopia 2018-10-31 13:31:03 +09:00
nicolas.dorier
d3b3198b68 For lightning payments tests, add small delay after creating the invoice before sending the payment 2018-10-29 00:22:30 +09:00
nicolas.dorier
c1f17ff63b Add some test logs to flaky test 2018-10-28 23:43:48 +09:00
nicolas.dorier
254db22063 Change test trait name 2018-10-28 22:51:02 +09:00
nicolas.dorier
8be4256278 Fix unreliable tests 2018-10-28 22:46:03 +09:00
nicolas.dorier
4625ff92f1 Run unreliable tests, attempt to make them a bit more reliable 2018-10-28 22:10:37 +09:00
nicolas.dorier
7f16aa8c7e Run only fast tests on CI 2018-10-28 20:59:59 +09:00
nicolas.dorier
2896a9b26f Add ScanUTXOSet support 2018-10-26 23:07:39 +09:00
Andrew Camilleri
4b976c13c1 Changelly v2 (#343)
* Disable shapeshift and use changelly

* UI to manage changelly payment method

* wip on changelly api

* Add in Vue component for changelly and remove target currency from payment method

* add changelly merhcant id

* Small fixes to get Conversion to load

* wip fixing the component

* fix merge conflict

* fixes to UI

* remove debug, fix fee calc and move changelly to own partials

* Update ChangellyController.cs

* move original vue setup back to checkout

* Update core.js

* Extracting Changelly component to js file

* Proposal for loading spinner

* remove zone

* imrpove changelly ui

* add in changelly config checks

* try new method to calculate amount + remove to currency from list

* abstract changelly lofgic to provider and reduce dependency on js component

* Add UTs for Changelly

* refactor changelly backend

* fix failing UT

* add shitcoin tax

* pr changes

* pr changes

* WIP: getting rid of changelly dependency

* client caching, compiling code, cleaner code

* Cleaner changelly

* fiat!

* updat i18n, css and error styler

* default keys

* pr changes part 1

* part2

* fix tests

* fix loader alignment and retry button responsiveness

* final pr change
2018-10-24 14:52:19 +09:00
nicolas.dorier
e1751c4d91 [Fix] Querying rate with authenticated request should be successfull 2018-10-15 18:11:20 +09:00
nicolas.dorier
3cff8261ae Set the id for apps only to 20 bytes, and output the Id in the controller so we can use it in tests 2018-10-09 23:38:56 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
rockstardev
e39d9067f2 Updating Unit tests 2018-09-08 14:53:41 +09:00
nicolas.dorier
f5d81334f8 Remove Lightning Specific logic from BTCPay, and use BTCPayServer.Lightning packages instead 2018-08-30 12:24:00 +09:00
nicolas.dorier
6c51d83f61 Fix tests 2018-08-25 15:49:04 +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
214b2d1c1c Fix SSH fingerprint checking 2018-08-13 09:43:59 +09:00
nicolas.dorier
39b018fdf3 fix test 2018-08-01 18:42:28 +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
7a32f692d1 Add test for Disabling PaymentMethod 2018-07-31 00:18:58 +09:00
nicolas.dorier
3775317047 Fix CanGetRates test, and fix #178 2018-07-30 23:22:26 +09:00
Andrew Camilleri
faabd68f6f Merge remote-tracking branch 'origin/master' into feature/bitpayrates 2018-07-27 11:16:52 +02:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
Andrew Camilleri
f3edaf5160 Merge remote-tracking branch 'btcpayserver/master' into feature/bitpayrates 2018-07-27 05:57:25 +02:00
nicolas.dorier
1ee4bd9c92 Fix tests, and make sure Listen does not block for LND 2018-07-19 14:49:30 +09:00
nicolas.dorier
0c8925d2a2 Correctly dispose the session when listening lightning invoices 2018-07-14 01:45:14 +09:00