Commit Graph

681 Commits

Author SHA1 Message Date
nicolas.dorier
fb530f2b34
fix build 2019-06-07 13:46:02 +09:00
nicolas.dorier
281280d3ec
Fix crash which can happen during export if someone remove support for a network, inject Network inside paymentdata 2019-06-07 13:31:11 +09:00
nicolas.dorier
01787e2662
Refactor: Remove PrepareInvoiceDTO 2019-06-04 10:11:52 +09:00
nicolas.dorier
0b257b98f5
Move back ToPrettyString() in PaymentMethodId to fix crash if a payment method as been disabled 2019-06-04 01:06:03 +09:00
nicolas.dorier
898c672193
decrease number conf funding channel required for lightningd 2019-06-03 15:53:26 +09:00
nicolas.dorier
18a7bc9278
Decrease number of confirmations requires for channels of lnd in tests 2019-06-03 15:51:13 +09:00
nicolas.dorier
5441ae537a
Fix docker-entrypoint for tests 2019-06-03 15:36:50 +09:00
nicolas.dorier
a3b914d8b4
Remove code 2019-06-03 15:32:46 +09:00
nicolas.dorier
39f75d3742
Refactor test run by circleci 2019-06-03 15:32:20 +09:00
nicolas.dorier
120fce0288
fix test container 2019-06-02 17:41:34 +09:00
nicolas.dorier
aa57531ed7
fix test container 2019-06-02 17:37:44 +09:00
nicolas.dorier
4fe480ee55
Fix selenium test 2019-05-31 15:40:59 +09:00
nicolas.dorier
d70e120acc
Fix test 2019-05-31 12:17:47 +09:00
nicolas.dorier
19bc511f39
Can update PSBT, fix the PSBT review page 2019-05-30 23:16:05 +09:00
Andrew Camilleri
916323bb3b [WIP] Further abstractions to Payment Handlers (#867)
* mark items to abstract


wip


wip


wip


wip


wip


wip


wip


cleanup


parse other types


compile and fix tests


fix bug 


fix warnings


fix rebase error


reduce payment method handler passings


more cleanup


switch tests to Fast mode 


fix obsolete warning


remove argument requirement 


rebase fixes


remove overcomplicated code


better parsing


remove dependency on environement


remove async

* fixes and simplification

* simplify

* clean up even more

* replace nuglify dependency

* remove extra space

* Fix tests

* fix booboo

* missing setter

* change url resolver

* reduce payment method handlers

* wrap payment method handlers in a custom type

* fix tests

* make invoice controller UI selectlist population cleaner

* make store controller use payment handler dictionary

* fix ln flag

* fix store controller test

* remove null checks on payment handlers

* remove unused imports

* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork

* some type fixes

* fix tests

* simplify fetching handler in invoice controller

* rename network base and bitcoin classes

* abstract serializer to network level

* fix serializer when network not provided

* fix serializer when network not provided

* fix serializer when network not provided

* Abstract more payment type specific logic to handlers

* fix merge issue

* small fixes

* make use of repository instead of direct context usage

* reduce redundant code

* sanity check

* test fixes
2019-05-30 16:02:52 +09:00
Andrew Camilleri
81dae7d350 BTCPay Abstractions: Move PaymentMethod specific logic to their handlers (#850) 2019-05-29 23:33:31 +09:00
Andrew Camilleri
d3e3c31b0c Btcpay abstract BTCPayNetwork -- Alternative PR to #865 (#868)
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork

* some type fixes

* fix tests

* simplify fetching handler in invoice controller

* rename network base and bitcoin classes

* abstract serializer to network level

* fix serializer when network not provided

* fix serializer when network not provided

* fix serializer when network not provided

* try fixes for isolating pull request
2019-05-29 18:43:50 +09:00
Andrew Camilleri
5571413a78 Put Ledger Wallet pairing in a popup, prepare code for Trezor pairing (#836)
* Allowing for POS to be displayed at website root

* Switching to asp attributes for form post action

* Applying default formatting rules on HTML

* The destination pays mining fees => Subtract fees from amount

* small cleanup (#851)

* Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies (#567)

* Part 1: OpenIddict - Minor Changes & Config prep

* Part 1: OpenIddict - Minor Changes & Config prep

* Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies

* pr changes

* pr changes

* fix merge

* pr fixes

* remove config for openid -- no need for it for now

* fix compile

* fix compile #2

* remove extra ns using

* Update Startup.cs

* compile

* adjust settings a bit

* remove duplicate

* remove external login provider placeholder html

* remove unused directives

* regenerate db snapshot model

* Remove dynamic policy

* Provide Pretty descriptions for payment methods from their handlers (#852)

* small cleanup

* Provide Pretty descriptions for payment methods from their handlers

* remove PrettyMethod()

* integration with trezor

* rough load xpub from trezor

* update deriv scheme trezor

* move ledger import to dialog

* add import from hw wallet dropdown

* Support temporary links for local file system provider (#848)

* wip

* Support temporary links for local file system provider

* pass base url to file services

* fix test

* do not crash on errors with local filesystem

* remove console

* fix paranthesis

* work on trezor.net integration

* pushed non compiling sign wallet code

* comment out wallet code

* abstract ledger ws in add deriv

* Auto stash before merge of "trezor" and "btcpayserver/master"

* final add changes

* cleanup

* improve connectivity and fix e2e tests

* fix selenium

* add experimental warning for trezor

* move import button to right and convert to text link

* switch to defer and async scripts in add deriv scheme

* make defer not async

* more elaborate import trezor dialog

* Fix small issues

* hide trezor for now
2019-05-25 11:45:36 +09:00
Nicolas Dorier
512ee16620
Refactor invoice entity to not have to inject the NetworkProvider (#858) 2019-05-24 22:22:38 +09:00
Nicolas Dorier
15dc0d60db
Split projects (#857) 2019-05-24 18:42:22 +09:00
Andrew Camilleri
d86cc9192e Support temporary links for local file system provider (#848)
* wip

* Support temporary links for local file system provider

* pass base url to file services

* fix test

* do not crash on errors with local filesystem

* remove console

* fix paranthesis
2019-05-24 15:44:23 +09:00
Andrew Camilleri
ef9c2e8af1 Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies (#567)
* Part 1: OpenIddict - Minor Changes & Config prep

* Part 1: OpenIddict - Minor Changes & Config prep

* Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies

* pr changes

* pr changes

* fix merge

* pr fixes

* remove config for openid -- no need for it for now

* fix compile

* fix compile #2

* remove extra ns using

* Update Startup.cs

* compile

* adjust settings a bit

* remove duplicate

* remove external login provider placeholder html

* remove unused directives

* regenerate db snapshot model

* Remove dynamic policy
2019-05-24 15:17:02 +09:00
nicolas.dorier
c4d0b061c9
bump 2019-05-21 19:06:27 +09:00
Andrew Camilleri
88c931ec13 Make wallet able to send to multiple destinations (#847)
* Make wallet able to send to multiple destinations

* fix tests

* update e2e tests

* fix e2e part 2

* make headless again

* pr changes

* make wallet look exactly as old one when only 1 dest
2019-05-21 17:10:07 +09:00
nicolas.dorier
39157e6883
Fix tests 2019-05-20 00:06:03 +09:00
nicolas.dorier
9b6b9e6113
Fix build 2019-05-19 23:33:32 +09:00
nicolas.dorier
7aa6d1a8d7
fix test on Circle CI for selenium 2019-05-15 19:27:30 +09:00
nicolas.dorier
d914fe2f48
Make sure that the accountkey can sign a transaction 2019-05-15 19:00:26 +09:00
nicolas.dorier
e100edce24
Add selenium test for the manual seed signing 2019-05-15 16:00:03 +09:00
nicolas.dorier
a68915d6cf
WalletPSBTReady show the summary of the transaction, signing with the seed respect the keypath of the wallet settings 2019-05-15 15:00:09 +09:00
Andrew Camilleri
cf436e11ae Part 1: OpenIddict - Minor Changes & Config prep (#566)
* Part 1: OpenIddict - Minor Changes & Config prep

* add missing nuget

* pr changes

* pr fixes

* remove config for openid -- no need for it for now

* remove unused extension

* Add tests

* use pay tester http client

* check redirecturl in tests
2019-05-15 00:46:43 +09:00
nicolas.dorier
e22b7f74c7
Increase test coverage of selenium 2019-05-14 23:33:46 +09:00
nicolas.dorier
f8fca7434c
Hack selenium again 2019-05-14 22:29:05 +09:00
nicolas.dorier
66d303c4ba
Install chrome driver on alpine 2019-05-14 19:58:28 +09:00
nicolas.dorier
186ed8beb2
Hack selenium 2019-05-14 19:27:26 +09:00
nicolas.dorier
fac546cc0b
Print sources if Selenium test fail 2019-05-14 19:19:23 +09:00
nicolas.dorier
9d2d2d0d64
Catch errors in AssertNoErrors 2019-05-14 19:13:55 +09:00
nicolas.dorier
f58043b07f
dump logs of selenium before failiing test 2019-05-14 19:09:26 +09:00
nicolas.dorier
00e24ab249
Make sure BTCPay is operational before starting tests 2019-05-14 18:35:22 +09:00
nicolas.dorier
12507b6743
Add some logs related to selenium 2019-05-14 17:34:19 +09:00
nicolas.dorier
3750842833
Show in logs where the btcpay tester is binding 2019-05-14 16:56:03 +09:00
nicolas.dorier
1dcec3e1fb
bind to all interface if inside the test container 2019-05-14 16:13:55 +09:00
nicolas.dorier
d8e1edd6d3
bump nbx in tests 2019-05-14 16:07:46 +09:00
nicolas.dorier
a1f1e90626
Make selenium work on CI 2019-05-14 16:06:51 +09:00
nicolas.dorier
522d745883
Update NBXplorer and NBitcoin 2019-05-14 16:06:43 +09:00
nicolas.dorier
8ffb81cdf3
Refactor Selenium tests to properly cleanup resources 2019-05-13 18:42:20 +09:00
nicolas.dorier
ae5254c65e
disable selenium test for a while 2019-05-13 18:14:31 +09:00
nicolas.dorier
9d53888524
fix typo 2019-05-13 18:03:41 +09:00
nicolas.dorier
cd6dd78759
Click around in selenium, and do not forget to run the selenium tests on circleCI 2019-05-13 17:59:15 +09:00
nicolas.dorier
27fd49e61c
Add --allow-admin-registration, useful for tests 2019-05-13 17:00:58 +09:00
nicolas.dorier
d1556eb6cd
bump 2019-05-13 08:55:26 +09:00
nicolas.dorier
702c7f2c30
Fix tests 2019-05-13 00:35:06 +09:00
nicolas.dorier
bf37f44795
Add Wallet settings menu, do not rebase keypaths when create the PSBT 2019-05-13 00:13:55 +09:00
britttttk
698033b0cf Selenium Chrome Tests 2019-05-12 18:49:28 +09:00
nicolas.dorier
3011fecf0f
Add tests for PSBT 2019-05-12 14:51:24 +09:00
nicolas.dorier
541c748ecb
WalletSendLedger and LedgerConnection only depends on PSBT 2019-05-11 20:02:32 +09:00
nicolas.dorier
79d26b5d95
Push rebase keypath and min fee logic down nbxplorer 2019-05-10 19:30:10 +09:00
nicolas.dorier
602625fc17
Fix tests 2019-05-09 19:14:01 +09:00
nicolas.dorier
51faa39636
Add some tests to check that AccountKeyPath and RootFingerprint are taken into account during PSBT creation 2019-05-09 18:58:14 +09:00
nicolas.dorier
f37bfbf9f9
Add more tests 2019-05-09 18:38:25 +09:00
nicolas.dorier
ba9928831e
Fix tests 2019-05-09 18:11:39 +09:00
nicolas.dorier
2b6bd3d751
Assume ElectrumMapping of BTC if not specified 2019-05-09 17:51:46 +09:00
nicolas.dorier
e96ca21c89
Small refactoring for tests 2019-05-09 17:21:51 +09:00
Kukks
bb3a087d39 Move ElectrumMapping to BtcPayNetwork 2019-05-09 17:16:17 +09:00
nicolas.dorier
5a92fe736f
Fix: Uploading coldcard in derivation scheme would forget to remember some data 2019-05-09 16:11:09 +09:00
nicolas.dorier
f2da64adad
Add parsing of cold card wallet 2019-05-09 00:55:48 +09:00
nicolas.dorier
3a05f7e294
PSBT export support in send from wallet screen 2019-05-08 14:40:16 +09:00
nicolas.dorier
5a46d0e80d
Add cmd tools to generate blocks 2019-05-08 12:19:16 +09:00
Andrew Camilleri
be844978c1 Allow cancelling a non paid pending invoice in payment requests (#815)
* allow cancel on un paid new invoices in payment requests

* start work on cancel pr payment

* finish up cancel action

* final touch and add tests
2019-05-07 17:26:40 +09:00
nicolas.dorier
93f50451e6
bump deps 2019-05-07 17:05:45 +09:00
nicolas.dorier
d32a24004e
Fix test 2019-05-03 12:59:11 +09:00
nicolas.dorier
1f04e4e6be Add rpcport for bitcoin-cli 2019-05-03 11:10:01 +09:00
nicolas.dorier
778dcf97b1 update docker compose for bitcoin 2019-05-03 11:04:19 +09:00
nicolas.dorier
957fbdb907 Update NBitcoin, NBXplorer, Bitcoin Core 2019-05-03 10:18:08 +09:00
nicolas.dorier
7fadb4c5ad Remove some annoying warnings 2019-05-02 21:38:39 +09:00
nicolas.dorier
a20db7f341 bump nbx 2019-05-02 21:35:28 +09:00
Andrew Camilleri
b5f4739ae5 Allow invoice creation to only allow specific payment methods in UI (#792)
* allow invoice creation to only allow specific payment methods

* add test

* reuse existing feature

* final fixes
2019-05-02 21:29:51 +09:00
Andrew Camilleri
19a990b095 Add U2f Login Support (#787)
* init u2f

* ux fixes

* Cleanup Manage Controller

* final changes

* remove logs

* remove console log

* fix text for u2f

* Use Is Secure instead of IsHttps

* add some basic u2f tests

* move loaders to before title

* missing commit

* refactor after nicolas wtf moment
2019-05-02 21:01:08 +09:00
nicolas.dorier
87a4f02f18 bump NBXplorer 2019-05-02 20:46:27 +09:00
nicolas.dorier
4a9eadf71a Bump NBXplorer 2019-05-02 17:28:54 +09:00
nicolas.dorier
b8f6cf4f23 Execute ExternalIntegration tests after 2019-05-02 15:31:51 +09:00
nicolas.dorier
86af585df3 bump nbx in tests 2019-04-29 12:31:21 +09:00
nicolas.dorier
9670f11554 Fix HTTP 500 errors if querying the website in tests 2019-04-28 23:11:24 +09:00
rockstardev
64e7324285 Fixing CanUsePoSApp test 2019-04-26 22:00:12 -05:00
rockstardev
d5bd0ee781 Filtering invoices by StartDate and EndDate
Now it's required to separate parameters with comma. Forced to do
this because dates have spaces between date and time part
2019-04-26 22:00:12 -05:00
nicolas.dorier
098dfacce8 Remove segwit limitation for rescan 2019-04-24 22:40:35 +09:00
Andrew Camilleri
44d1419af9 Add itemCode to Invoice Response (#784)
closes #779
2019-04-24 22:36:35 +09:00
nicolas.dorier
dc04839fab Run Azure tests in CircleCI 2019-04-22 17:19:04 +09:00
nicolas.dorier
5100c36c06 Uncomment google/amazon code, just disable it in the service registration 2019-04-22 16:45:50 +09:00
Andrew Camilleri
b184360eb7 Abstracted cloud storage - Amazon/Google/Azure/Local (#708)
* wip

* add in storage system

* ui fixes

* fix settings ui

* Add Files Crud UI

* add titles

* link files to users

* add migration

* set blob to public

* remove base 64 read code

* fix file query model init

* move view model to own file

* fix local root path

* use datadir for local storage

* move to services

* add direct file url

* try fix tests

* remove magic string

* remove other magic strings

* show error message on unsupported provider

* fix asp net version

* redirect to storage settings if provider is not supported

* start writing tests

* fix tests

* fix test again

* add some more to the tests

* more tests

* try making local provider work on tests

* fix formfile

* fix small issue with returning deleted file

* check if returned data is null for deleted file

* validate azure Container name

* more state fixes

* change azure test trait

* add tmp file url generator

* fix tests

* small clean

* disable amazon and  google


comment out unused code for now


comment out google/amazon
2019-04-22 16:41:20 +09:00
nicolas.dorier
f7c8a989b6 bump lnd 2019-04-17 13:51:43 +09:00
nicolas.dorier
4067d4b00f Remove the Facade concept 2019-04-11 23:55:20 +09:00
nicolas.dorier
66e7777b1a bump nbx 2019-04-08 22:26:52 +09:00
nicolas.dorier
adc42cbba4 Put timeout on tests 2019-04-05 16:28:18 +09:00
nicolas.dorier
35db6d4a8b Fix test CanScheduleBackgroundTasks 2019-04-05 15:32:30 +09:00
nicolas.dorier
c3a7ab647c Increase reliability of test CanScheduleBackgroundTasks 2019-04-05 15:16:36 +09:00
nicolas.dorier
92da0ec2d2 fix tests 2019-04-05 14:59:46 +09:00
nicolas.dorier
73d5415ea9 Use NBitcoin's socks implementation 2019-03-31 13:16:05 +09:00
nicolas.dorier
e5a26cfca8 Update dependencies 2019-03-31 12:08:08 +09:00
nicolas.dorier
1a122726b7 Add more timeout for lightning tests 2019-03-27 18:57:51 +09:00
nicolas.dorier
3cce7b8b35 Refactor the lightning listener, some users complain payments are not detected (should fix #676) 2019-03-27 15:53:38 +09:00
nicolas.dorier
e79334a6f6 Fix: if anyone can create invoice and /invoices has storeId parameters, then it should be allowed 2019-03-25 12:59:42 +09:00
nicolas.dorier
be90172840 bump Microsoft.AspNetCore.App 2019-03-20 14:13:12 +09:00
nicolas.dorier
b85ee895f5 Update nbxplorer in the tests 2019-03-20 14:08:25 +09:00
nicolas.dorier
abbdbda03a Add Bitbank provider 2019-03-20 00:49:44 +09:00
nicolas.dorier
014d08f38a Add socks support on BTCPay Server to query onion endpoints 2019-03-18 00:03:02 +09:00
nicolas.dorier
ea02d77e69 Parse torrc file to know virtual port of hidden services 2019-03-17 20:49:26 +09:00
nicolas.dorier
23f296ef34 The store owner can define default currency pairs when using rate API without parameter 2019-03-11 18:39:21 +09:00
nicolas.dorier
cd6ce401e1 Fix logs getting spammed by HTTP requests 2019-03-07 19:41:19 +09:00
nicolas.dorier
067dbad546 Fix build 2019-03-05 17:29:52 +09:00
nicolas.dorier
522970fdb9 Fix build 2019-03-05 17:21:44 +09:00
nicolas.dorier
051248f2fc Add CancellationToken to GetRatesAsync and propagate it from the controllers to the rate fetcher 2019-03-05 17:09:17 +09:00
nicolas.dorier
9a239f99f4 Add bylls as supported exchange 2019-03-05 16:07:23 +09:00
nicolas.dorier
420115c54d bump nbx 2019-03-03 01:37:34 +09:00
nicolas.dorier
312e961098 Update c-lightning, nbxplorer and lightning libs 2019-03-02 23:38:26 +09:00
nicolas.dorier
d898f716d1 Add some tests on externalConnectionString 2019-03-01 14:33:32 +09:00
nicolas.dorier
d818baa6d1 Fix crowdfund test 2019-02-25 17:56:29 +09:00
Kukks
ad25a2ed08 Add payment requests 2019-02-25 17:56:28 +09:00
nicolas.dorier
d99774f8d9 fix tests 2019-02-22 22:52:43 +09:00
nicolas.dorier
d563a2ec89 Fix tests 2019-02-22 22:48:39 +09:00
nicolas.dorier
6ba17e8e30 Can filter supported payment methods for an invoice 2019-02-21 19:34:11 +09:00
nicolas.dorier
15094436fd bump lnd 2019-02-20 21:29:16 +09:00
nicolas.dorier
119f82fd4e Properly aggregate contributions amount 2019-02-19 16:15:14 +09:00
nicolas.dorier
3bbf4de5d2 Fix live update of crowdfunding, add tests, consider payments as confirmed if invoice is confirmed 2019-02-19 16:01:28 +09:00
nicolas.dorier
cc444811db Rename CrowdfundHubStream to AppHubSteamer 2019-02-19 13:18:30 +09:00
nicolas.dorier
aedad497e8 Rename AppsHelper to AppService 2019-02-19 13:04:58 +09:00
nicolas.dorier
b1b231e645 Add tests on tagging 2019-02-19 12:59:12 +09:00
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
nicolas.dorier
0eee8e7464 Returns Access-Control-Allow-Origin * on all Bitpay GET and post requests. 2019-02-02 16:12:51 +09:00
nicolas.dorier
6725be8145 Remove warnings 2019-01-29 18:35:27 +09:00
nicolas.dorier
f5b693f01b Disable quadricagx tests because exchange is down 2019-01-29 18:34:30 +09:00
Andrew Camilleri
0c5b5ff49c Add link to no stores error (#558)
* add link

* safer status message

* refactor

* small view cleanup
2019-01-29 16:44:46 +09:00
Andrew Camilleri
30bdfeee37 Enhance PosData Viewer & add cart to posdata in POS app (#559) 2019-01-26 13:26:49 +09:00
nicolas.dorier
24c8c076d5 Add taxIncluded field in invoice 2019-01-24 20:53:29 +09:00
nicolas.dorier
49643cb00e Make CanScheduleBackgroundTasks more robust 2019-01-19 21:19:15 +09:00
nicolas.dorier
d85f03ba20 Remove HangFire dependency 2019-01-16 19:15:09 +09:00
nicolas.dorier
c9d778c94b Bump nbitcoin and nbxplorer 2019-01-16 15:16:41 +09:00
Nicolas Dorier
8f896de794
Merge pull request #516 from Kukks/feature/crowdfund
Crowdfund Bug fixes
2019-01-15 23:57:29 +09:00
nicolas.dorier
c333902468 Round up invoice price 2019-01-15 22:12:29 +09:00
Kukks
f2630df387 dispose streamer properly 2019-01-14 08:21:27 +01:00
Andrew Camilleri
a87c2a3374 Merge remote-tracking branch 'origin/master' into feature/crowdfund 2019-01-10 09:50:22 +01:00
nicolas.dorier
82d286dc6f Fix test 2019-01-10 14:00:26 +09:00
nicolas.dorier
afc90f32c9 Fix tests 2019-01-10 13:47:21 +09:00
Kukks
561ec57cc8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 11:13:02 +01:00
Nicolas Dorier
3cefd7bd1e
Merge pull request #467 from Kukks/feature/coinswitch
CoinSwitch Integration
2019-01-07 19:11:55 +09:00
Kukks
c63feb488c Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 10:58:52 +01:00
nicolas.dorier
4b982f815c Renaming 2019-01-07 15:35:18 +09:00
Nicolas Dorier
d4d3346b6d
Merge pull request #463 from sipsorcery/455-disablereg
Set disable registration as default true
2019-01-07 15:20:04 +09:00
Aaron Clauson
6010a103e0 Added new disable-registration command line option. 2019-01-06 16:43:55 +01:00
Kukks
20a6b3fc33 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-06 10:25:24 +01:00
Nicolas Dorier
540414d8f5
Merge pull request #495 from Kukks/crowdfund-part-3
Enhance Invoice Events
2019-01-06 18:14:56 +09:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +01:00
nicolas.dorier
42892e24f4 Remove uneeded database call during derivation scheme registration 2019-01-06 17:58:11 +09:00
Kukks
e6357d2ac8 fix build 2019-01-06 09:29:21 +01:00
Kukks
1eecd85ceb Merge branch 'master' into feature/crowdfund 2019-01-06 09:26:58 +01:00
nicolas.dorier
88150b6535 Improve IPN tests 2019-01-06 15:04:30 +09:00
Kukks
6e7f1151bc bug fixes and optimizations 2019-01-05 19:47:39 +01:00
Kukks
fb6d852827 switc back to regtest 2019-01-05 10:18:01 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
Kukks
2ccf007b9a fix permissions 2019-01-05 09:38:27 +01:00
nicolas.dorier
0f175174f6 Rename TxFee to NetworkFee and save the Network Fee of each payment under PaymentEntity 2019-01-05 13:31:05 +09:00
Kukks
493466683c start adding UTs 2019-01-04 16:42:35 +01:00
Kukks
26f0c488e5 hook up proper payments to events and super crazy ux shit 2018-12-28 23:12:16 +01:00
Kukks
444e761d41 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-28 12:33:55 +01:00
nicolas.dorier
e08710a19c Fix tests 2018-12-27 16:11:58 +09:00
Mario Dian
c7e90cd7df New PoS design 2018-12-27 12:57:31 +08: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
a63ed4d3b4 bump 2018-12-21 16:45:05 +09:00
Kukks
fc9cd5bdf0 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-20 17:57:04 +01:00
nicolas.dorier
d0f585df9d fix tests 2018-12-20 21:34:09 +09:00
nicolas.dorier
bac2db5cda Add timeout to lightning tests 2018-12-20 21:27:08 +09:00
nicolas.dorier
c35bf2f483 fix docker compose 2018-12-20 21:23:24 +09:00
nicolas.dorier
2e04c5e39c Update docker-compose test 2018-12-20 21:20:30 +09:00
nicolas.dorier
9dcf16e819 Add xunit diagnostic message 2018-12-20 21:00:06 +09:00
nicolas.dorier
5f16fb4668 report slow tests 2018-12-20 18:44:39 +09:00
nicolas.dorier
4bf2228675 Show test logs in CircleCI 2018-12-20 18:35:32 +09:00
Kukks
3e2ff55954 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-19 10:41:36 +01:00
rockstardev
365ee4cf0b Fixing CSV test now that we have new field / reorders 2018-12-18 12:35:59 -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
660f43e3b7 Add fast test for JPY formatting 2018-12-18 23:26:35 +09:00
nicolas.dorier
0ba96aa4b8 Fix export tests 2018-12-18 23:24:22 +09:00
nicolas.dorier
d85247d2ad Run tests inside container 2018-12-18 22:35:58 +09:00
nicolas.dorier
bb0f986b0c Add additional test on euro formatting 2018-12-18 19:09:55 +09:00
nicolas.dorier
2c2a85327f Add test logs 2018-12-18 01:02:27 +09:00
nicolas.dorier
7a4dee3d38 Point of Sale returns correct currency information (#450) 2018-12-18 00:25:17 +09:00
britttttk
864e84706a check for disable flag 2018-12-11 22:18:17 -07:00
Kukks
c00c95efcf initial coinswitch work 2018-12-11 12:47:38 +01:00
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
David
861150971f bump 2018-12-01 10:15:57 +00:00
nicolas.dorier
705dbf12d7 Change translation of the expiration screen 2018-12-01 13:19:35 +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
c25831316e bump nbx 2018-11-26 12:02:50 +09:00
nicolas.dorier
60b72aabe8 fix test 2018-11-24 13:38:23 +09:00