Commit graph

2597 commits

Author SHA1 Message Date
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
Kevin Mulcrone
90852fe951 updated styles on user server page (#821)
* updated styles on user server page

* moved files out of bootstrap.css

* removed old css classes from initial commit

* move css changes to site.css

* add missing }
2019-05-28 21:40:10 +09:00
Nicolas Dorier
a2251d245f
Merge pull request #861 from rockstardev/extendconfcount
Extending invoice monitoring time if we haven't reached MaxTrackedConfirmation
2019-05-26 11:18:22 +09:00
rockstardev
112f9c4241 Adding invoice back to pending to track confirmations if less than max 2019-05-25 17:30:27 -05:00
rockstardev
b300404bc7 Extending invoice monitoring if max confirmation count not reached 2019-05-25 17:20:17 -05:00
nicolas.dorier
19161b52f5
Fiat denomination box disappeared from the wallet (fix #860) 2019-05-25 22:23:32 +09:00
nicolas.dorier
429170520e
Make sure fingerprint/hdpath are passed down to AddDerivationScheme.
Close ledger popup on account selection.

Add additional info after pairing
2019-05-25 12:53:03 +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
25b08b21fa Provide Pretty descriptions for payment methods from their handlers (#852)
* small cleanup

* Provide Pretty descriptions for payment methods from their handlers

* remove PrettyMethod()
2019-05-24 15:38:47 +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
Andrew Camilleri
9bee48c601 small cleanup (#851) 2019-05-24 15:11:38 +09:00
nicolas.dorier
961942ff6a
Merge branch 'posroot' 2019-05-24 15:08:49 +09:00
Rockstar Developer
de1c2b0150 Allowing for POS to be displayed at website root (#853)
* Allowing for POS to be displayed at website root

* Switching to asp attributes for form post action

* Applying default formatting rules on HTML
2019-05-24 15:07:09 +09:00
nicolas.dorier
5a73358bca
The destination pays mining fees => Subtract fees from amount 2019-05-24 14:28:09 +09:00
rockstardev
1812ea90b5 Applying default formatting rules on HTML 2019-05-23 10:36:23 -05:00
rockstardev
d98a416ed9 Switching to asp attributes for form post action 2019-05-23 10:35:57 -05:00
rockstardev
b947749382 Allowing for POS to be displayed at website root 2019-05-22 14:30:47 -05:00
nicolas.dorier
c4d0b061c9
bump 2019-05-21 19:06:27 +09:00
nicolas.dorier
3bada5d443
Fix multi send substract fees 2019-05-21 19:04:39 +09:00
nicolas.dorier
06a35787aa
Make WalletSend match exactly the design of before without additional destination 2019-05-21 18:44:49 +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
Andrew Camilleri
3d436c3b0e Add Eclair to connection string examples (#846)
* Add Eclair to connection string examples

* bump LN nuget
2019-05-20 10:13:11 +09:00
Rockstar Developer
b4bb44d3e6 Adding Paid filter, invoice confirmed/paid/complete (#849) 2019-05-20 10:02:57 +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
87df34e064
Can actually upload PSBT file in PSBT Combine and PSBT view.
Validate transaction before allowing any broadcast and show errors nicely.
2019-05-19 23:27:18 +09:00
nicolas.dorier
55a48ff84a
Add some notice in sign with seed 2019-05-17 14:42:28 +09:00
nicolas.dorier
aed98f16bb
Show fee rate in transaction detail review 2019-05-16 12:56:06 +09:00
nicolas.dorier
2926865c1b
bump 2019-05-15 22:57:14 +09:00
Rockstar Developer
20fb7fc188 Fixing bug induced with server converting UTC times to server local (#835) 2019-05-15 22:02:39 +09:00
Andrew Camilleri
461462eafc fix file timezone and isDownload for local files temp urls (#837)
closes #834
2019-05-15 22:02:03 +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
nicolas.dorier
210d680b21
nameofify 2019-05-15 01:07:46 +09:00
nicolas.dorier
8dc4acdc34
Make sure people does not use launchsettings by mistake 2019-05-15 01:06:26 +09:00
Andrew Camilleri
eb54a18fcd Wallet & PSBT: Sign with seed or key (#840)
* Allow signing a PSBT with an extkey/wif or mnemonic seed

* reword things

* small text
2019-05-15 01:03:48 +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