Commit Graph

635 Commits

Author SHA1 Message Date
Andrew Camilleri
e75b4ec6bf
View seed option if available (#1518) 2020-04-29 00:55:53 +09:00
Andrew Camilleri
3a2970a495
Label Factory (#1516)
* Label Factory

* fix typo and format
2020-04-28 16:53:34 +09:00
Kukks
4e09bb0b01 add additional server policy for hot wallet
So that if you enable hot wallets for all, you can still not allow them to import to your RPC
2020-04-13 08:48:35 +02:00
Andrew Camilleri
e183714475
Add Tor Http Client Factory (#1445)
* WIP: Add Tor Http Client Factory

This PR adds a Tor Http Client Factory so that we can do HTTP requests over socks5( which we usually use tor's socks5).
Using it for payjoin when possible.

Currently have an issue where a 503 is always returned.  Must be something wrong with my tor config or the socks proxy lib Im using

* fix

* remove external dependency

* make payjoin client use tor client if available

* fix docker test

* use tor client only if available and necessary

* remove bip 79 mention
2020-04-08 22:40:41 +09:00
nicolas.dorier
4c966e2a09
Refactor the detection of the payjoin payment 2020-04-05 22:44:34 +09:00
Nicolas Dorier
963c69a0e0
Merge pull request #1321 from Kukks/bpu
BIP79
2020-04-05 12:10:55 +09:00
Kukks
4d2e59e1a1 Change flow of payjoin in wallet + fix tests 2020-03-30 13:27:04 +02:00
rockstardev
ee0ef2881a Removing extra setting, depending on Custom CSS for bundled themes 2020-03-28 14:10:18 -06:00
Kukks
065be9be64 Revert back to original transaction if payjoined tx does not work 2020-03-27 10:45:13 +01:00
Kukks
10fcfab233 remove bpu TempData 2020-03-27 10:45:13 +01:00
Kukks
d90ffb2254 move payjoin settings to store settings from checkout experience 2020-03-27 10:45:13 +01:00
Kukks
89da4184ff BIP79 Support 2020-03-27 10:45:12 +01:00
rockstardev
a6ac67963e Adding setting to CheckoutExperience to pick checkout theme 2020-03-26 19:49:00 -05:00
Kukks
77588182b9 Make validation uniform 2020-03-24 23:44:26 -05:00
Kukks
36bd76248b Allow Pay Button to work on Apps
This PR allows you to use the pay button generator to create buttons that target apps. This means that you can generate an invoice that is linked to an item on the POS/Crowdfund (targeting the item is optional). The POS/Crowdfund item amount -> invoice creation amount validation works too so that the user cannot modify the amount of a perk using just html ( fixes #1392 )
2020-03-24 23:43:47 -05:00
Nicolas Dorier
40953ef2c6
Merge pull request #1399 from Kukks/coin-selection
New feature: Coin Selection
2020-03-23 14:05:11 +09:00
Kukks
517c65f1fc make no js version a littler better 2020-03-19 10:08:33 +01:00
Kukks
d6c66d0c03 New feature: Coin Selection
This opt-in feature allows you to select which utxos you want to use for a specific transaction.
2020-03-19 09:44:47 +01:00
Kukks
e99767c7e2 Greenfield API: Create User
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
Nicolas Dorier
ef52d6b4c7
Merge pull request #1352 from Kukks/changelly-fiat
remove changelly fiat option
2020-03-02 18:10:50 +09:00
Nicolas Dorier
99f47e2848
Merge pull request #1360 from Kukks/pay-button-modal
Modal option for Pay Button
2020-03-02 18:10:14 +09:00
Nicolas Dorier
991daefd85
Merge pull request #1359 from Kukks/cf-fixes
Use proper divisibility for payments in crowdfund and do not show too…
2020-03-02 18:04:14 +09:00
rockstardev
fca6b39681 Revert "Remove the next address to pay to from Invoice details page (Fix #1056) (#1283)"
This reverts commit 6848482999.
2020-02-28 16:30:57 -06:00
Kukks
c3bfce7656 Modal option for Pay Button
closes #796
2020-02-28 16:01:44 +01:00
Kukks
c607696230 Use proper divisibility for payments in crowdfund and do not show tooltip if identical data
fixes #1037 and fixes #1003
2020-02-28 12:51:15 +01:00
Kukks
e7eea1036b make api key delete use confirm page 2020-02-26 10:26:38 +01:00
Kukks
b71fd1653e remove changelly fiat option
closes #728
2020-02-25 16:44:19 +01:00
Andrew Camilleri
1d61db4758
Add text customization for pay button (#1346)
* Add text customization for pay button

https://i.imgur.com/nFxscOZ.gifv

* pr changes
2020-02-24 21:29:29 +09:00
hannes
f097ecdc80
fix: remove ipn via email #1241 (#1337)
* fix: remove ipn via email #1241

* fix: remove ipn via email #1241
2020-02-24 21:21:03 +09:00
Andrew Camilleri
d31bff7070
BPU Prep Work Part2 (#1340)
* BPU Prep Work Part2

* Adjust tests to use the hot wallet when registering deriv scheme
* Add amount to payment data view for onchain payments
* Make zone limits higher when in dev mode (for tests in next PR)
* Make IPaymentMethodDetails serialize/deserialize through payment type using the network
* Allow named settings through settings repo
* Refactor some extensions for next PR

* pr changes

* use json convert for now
2020-02-19 17:35:23 +09:00
Andrew Camilleri
07f0d95f56
BIP21 Support for Wallet spending (#1322)
* BIP21 Support for Wallet spending

* extract bip21 loading to method

* add bip21 parsing test
2020-02-13 17:18:43 +09:00
Andrew Camilleri
06f1c17a5f Make unused assets in store settings collapsed (#1310) 2020-01-26 19:45:24 +09:00
Lucas Cullen
56d8c033d7 Update display text on the view model. 2020-01-24 15:45:35 -06:00
rockstardev
a83edce4dc Updating idents, code formatting 2020-01-23 20:19:24 -06:00
Andrew Camilleri
8e6f43cd3a Sign with NBX Seed (#1218) 2020-01-21 17:33:12 +09:00
Nicolas Dorier
6848482999
Remove the next address to pay to from Invoice details page (Fix #1056) (#1283) 2020-01-21 16:53:24 +09:00
nicolas.dorier
ff11e6e032
Remove CoinAverage RateSource enum 2020-01-17 14:51:07 +09:00
nicolas.dorier
9b165de5e6
Remove CoinAverage integration 2020-01-17 14:29:22 +09:00
nicolas.dorier
7d545ca682
Remove ability to set custom cache, fix coinaverage not really using coinaverage 2020-01-17 14:16:12 +09:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Kukks
58d9a48787
CoinGecko Rate Provider
The CoinGecko rate provider is similar to the bitcoin average one, in that you can ask it for a rate from its aggregated sourcing or you can get rates from specific exchanges. I've added support for both.
I haven't integrated it or replaced coinaverage just to see if we should use it as the default and switch everyone to it or what other action to take.
2020-01-13 20:20:00 +09:00
nicolas.dorier
d3408b91be
bump libraries 2020-01-12 15:32:26 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
Andrew Camilleri
4d7480db15 Liquid & Liquid Assets Support (#1118) 2019-12-24 16:20:44 +09:00
nicolas.dorier
656ff7029e
Do not show on screen seed passphrase in sign with seed 2019-12-23 22:32:33 +09:00
nicolas.dorier
47eb087d1b
Rename CanGenerateWallet to CanUseHotWallet, small refactoring on generatewallet 2019-12-18 22:28:03 +09:00
Kukks
6706658377 add policy to restrict generate wallet usage 2019-12-16 09:32:43 +01:00
nicolas.dorier
540cb912f3
Can display address on device at confirmation screen 2019-12-10 21:22:46 +09:00
Matt Pazar
eb85b1a7b4 Fixing sats exchange rate display
Fixed #1147
2019-12-04 14:21:33 -06:00
Nicolas Dorier
f94daed06d
Merge pull request #1184 from bolatovumar/fix-1182
[Wallet] Specify validation range for wallet send amount
2019-12-02 18:29:45 +09:00
Nicolas Dorier
c6671f7122
Merge pull request #1200 from pavlenex/ipn-notification
Re-name the Invoice e-mail notification field
2019-12-02 18:27:52 +09:00
pavlenex
2d168e1d9b Re-name the Invoice e-mail notification field 2019-11-30 11:45:06 +01:00
Umar Bolatov
84bbbcbe10
[Wallet] Specify validation range for wallet send amount
fix #1182
2019-11-21 18:47:10 -08:00
nicolas.dorier
1a8d6e5c05
Implement BTCPayServer vault derivation scheme import 2019-11-21 14:06:16 +09:00
nicolas.dorier
81843fb609
Do not delete the password from the seed 2019-11-18 17:00:54 +09:00
nicolas.dorier
8ebac28ccf
Fix tests 2019-11-16 15:07:02 +09:00
nicolas.dorier
4e5001d7ef
Delete password from the lnd seed backup 2019-11-16 14:07:43 +09:00
nicolas.dorier
c004065eea
Apply some lipstick on the lnd seed backup 2019-11-15 17:55:55 +09:00
rockstardev
7bce316e78 Merge branch 'master' into feature/lndseedbackup 2019-11-14 21:02:56 -06:00
Nicolas Dorier
5394e0a4a0
Merge pull request #1143 from Kukks/bugfix/ln-sats
Display proper rate for ln sats feature
2019-11-12 14:01:13 +09:00
Nicolas Dorier
0f0b846e04
Merge pull request #1032 from bolatovumar/fix-1029
Retain store ids when filtering invoices
2019-11-11 21:00:42 +09:00
Kukks
621a7d998d Display proper rate for ln sats feature
fixes #1128
2019-11-10 18:49:24 +01:00
rockstardev
9c165d84ef Removing LND seed information from walletunlock.json 2019-11-10 06:12:32 -06:00
rockstardev
58b834fe9d Displaying information from walletunlock.json if file is present 2019-11-10 06:12:32 -06:00
rockstardev
2b1aac9aa9 Service page for LND Seed Backup 2019-11-10 06:12:32 -06:00
nicolas.dorier
563e95df7c
Fix tests 2019-11-08 21:42:34 +09:00
nicolas.dorier
5b37a9df0b
Make sure we don't pass the psbt in GET url 2019-11-08 21:21:23 +09:00
Umar Bolatov
0f7458254e
Retain store ids when filtering invoices 2019-11-07 18:14:38 -08:00
nicolas.dorier
aab7c08500
Unify StatusMessage handling 2019-11-07 18:59:51 +09:00
nicolas.dorier
d37abb53f0
Fix status message when a model is passed 2019-11-07 18:20:17 +09:00
Umar Bolatov
0a9290a980
Make recommended fee confirmation target configurable
Address #1110
2019-11-06 16:21:33 -08:00
nicolas.dorier
2d80dbfa8f
Custom logo and custom url for checkout page should accept any string (relative path) (Fix #1124) 2019-11-06 12:02:13 +09:00
rockstardev
a126ec1718 Renaming to LndServiceViewModel, used both by grpc and rest 2019-11-03 13:18:09 -06:00
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
nicolas.dorier
eac4c91820
Move Bitpay authentication class in BTCPayServer.Security 2019-10-19 00:54:20 +09:00
nicolas.dorier
8643c04a39
Additional fixes for 3.0 2019-10-18 21:46:34 +09:00
Umar Bolatov
c908301b84 Add option to show recommeded fee on checkout invoice
Address #1036
2019-10-14 10:09:26 -07:00
nicolas.dorier
281a2461ad
Refactor authorizations 2019-10-14 00:24:41 +09:00
rockstardev
7282199c31 Cleanup U2F namespace to correspond to folder path 2019-10-02 12:32:41 -05:00
Andrew Camilleri
3366c86b16 Authorize granular permissions (#1057)
* granular scope permissions for api

* final fixes and styling

* prettify code

* fix missing policy
2019-09-29 16:23:31 +09:00
nicolas.dorier
9e107b1eb1
Try to read the authorized keys file from the configuration 2019-09-20 18:51:14 +09:00
nicolas.dorier
a2cb6178b8
Can edit authorized_keys in SSH Services, remove download keyfile support 2019-09-19 19:17:20 +09:00
Andrew Camilleri
7208e63155 Excerpts from #971 (manual PR) (part1 ) (#1006)
* Excerpts from #971

Relating to selenium tests + small renamings

* fix build
2019-09-03 20:11:36 +09:00
Andrew Camilleri
d99beb9811 New feature: Apps limited inventory (#961) 2019-09-02 22:37:52 +09:00
nicolas.dorier
f257f9f91d
[Refactor] Move SQL classes in their own assembly 2019-08-30 18:22:13 +09:00
Andrew Camilleri
c5227d9996 Request consent from user before giving application access to the user's data & services. 2019-08-29 16:25:16 +09:00
nicolas.dorier
9688798a4a
Asyncify SSH access, do not show SSH service if ssh is not well configured 2019-08-27 23:30:25 +09:00
Andrew Camilleri
9a9e31c759 Split Bitcoin/LN to partial defined in payment handler and convert checkout to Vue (#996) 2019-08-27 11:31:15 +09:00
Andrew Camilleri
43ee22f965 Allow overriding UI of checkout in payment handler (#992) 2019-08-25 22:50:11 +09:00
Andrew Camilleri
664b920a39 Make invoice payments view modular per payment handler (#991) 2019-08-24 23:10:13 +09:00
Lucas Cullen
7ea3312534 Add display attributes. Fix #98 (#990) 2019-08-24 23:06:34 +09:00
Umar Bolatov
13f2be7811 Add bigger than zero validation for payment request amount (#981)
fix #844
2019-08-21 23:05:06 +09:00
Andrew Camilleri
72d519bb45 Add description and embedded css to POS (#970)
* Add description and embedded css to POS

* wrap embedded css props in <style> before Safe.raw
2019-08-19 14:13:42 +09:00
nicolas.dorier
63df6ac5eb
Make sure EmbeddedCSS is CSS 2019-08-10 14:53:24 +09:00
Nicolas Dorier
be5597085b
Use Safe.Raw and Safe.Json instead of Html.Raw and the JsonHelper, move sanitization at the View level (#960) 2019-08-10 14:05:11 +09:00
nicolas.dorier
d79fda166f
Can attach labels and comment to transaction in the wallet 2019-08-03 00:43:19 +09:00
badev
21556d4c07 added View App button to POS settings (#947)
* added View App button to POS settings

updated POS settings form group buttons to match Crowdfund settings from group buttons, addressing #854

* added View App button to POS settings #947

Fixed "Save Settings" Redirect
2019-08-01 15:55:41 +09:00
Andrew Camilleri
89a7166c1b More options to Custom Amount Pay button (#948)
* Start adding more options to Custom Amount Pay button

This allows you to simplify the custom amount pay button to remove the big + & - buttons along with set a min, max and step amounts. There's also an option to fit the button next to the input amount to have it more condensed(not finished)

* make fit button inline work nicely

* make currency dropdown more obvious

* fix space
2019-07-31 22:58:04 +09:00
nicolas.dorier
63472d54d7
Can configure multiple dynamic dns 2019-07-25 18:29:18 +09:00
nicolas.dorier
8896d89908
Add Dynamic DNS support 2019-07-24 17:59:30 +09:00
Rockstar Developer
4716b704d4 Paging on List Users page for big hosting providers like Esky (#905) 2019-07-19 16:50:17 +09:00
nicolas.dorier
8d3cdd39ca
Fix "Configure Email Settings warning link not working" (Fix https://github.com/btcpayserver/btcpayserver/issues/906) 2019-07-14 22:54:27 +09:00
Kukks
11670d0c0f make checkout param more generic and add it to pay button generator 2019-06-25 21:01:37 +02:00
Andrew Camilleri
b808aa4971 allow language parameter in pay button endpoint 2019-06-18 18:31:20 +02:00
nicolas.dorier
c877937fdf
Show the inputs of the PSBT in the review screen 2019-05-31 00:23:23 +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
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
5a73358bca
The destination pays mining fees => Subtract fees from amount 2019-05-24 14:28:09 +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
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
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
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
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
8b348ade75
Can select the signing key in WalletSettings 2019-05-13 00:30:28 +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
nicolas.dorier
6da0a9a201
Can combine PSBT 2019-05-12 13:13:52 +09:00
nicolas.dorier
cb9130fdf9
Can broadcast PSBT, can decide to export something signed by the ledger via PSBT 2019-05-12 00:05:30 +09:00
nicolas.dorier
541c748ecb
WalletSendLedger and LedgerConnection only depends on PSBT 2019-05-11 20:02:32 +09:00
nicolas.dorier
e853bddbc8
Add utility tool to decode PSBT 2019-05-11 00:29:29 +09:00
nicolas.dorier
79d26b5d95
Push rebase keypath and min fee logic down nbxplorer 2019-05-10 19:30:10 +09:00
nicolas.dorier
01e5b319d1
Save the fingerprint of the root of LedgerWallet, and use it. Simplify HardwareWallet 2019-05-10 01:05:37 +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
Kukks
538eb66672 Allow import of coldcard wallet 2019-05-09 12:48:11 +09:00
nicolas.dorier
d7fc079376
RBF on by default, can disable it in Wallet Send /advanced settings. 2019-05-08 15:24:20 +09:00
nicolas.dorier
2a145f4350
Replace noob button in wallet send by an advanced settings accordion 2019-05-08 12:34:33 +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
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
rockstardev
4bc03fbf06 Code coloring invoice states 2019-05-02 21:11:56 +09:00
rockstardev
6918b8a291 Extracting payment details population, refactoring invoice data load 2019-05-02 21:11:56 +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
Andrew Camilleri
fcb1de8a86 Show email warning on apps when settings are not complete (#794)
* Show email warning on apps when settings are not complete

closes #693

* refactor email warning logic
2019-04-28 15:27:10 +09: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
d0d077642d Make sure we returns only one token in GetTokens 2019-04-23 16:05:11 +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
Kukks
6f7e0205f8 Fix dynamic crowdfund labelling
closes #760
2019-04-13 13:22:19 +02:00
nicolas.dorier
4067d4b00f Remove the Facade concept 2019-04-11 23:55:20 +09:00
Nicolas Dorier
265b7364e8
Merge pull request #756 from Kukks/invoice-auto-redirect
Allow POS to redirect invoices automatically after paid
2019-04-11 19:10:21 +09:00
Kukks
d7ada4d493 add redirect automatically to checkout experience/ store settings 2019-04-11 11:53:31 +02:00
Kukks
1cf17872ab Allow POS to redirect invoices automatically after paid
closes #730
2019-04-11 11:08:42 +02:00
britttttk
54f07139db Improve default payment method dropdown text 2019-04-11 00:41:30 -06:00
Ludovic
449066449b Add a new Pay Button Type : Slider 2019-04-04 20:56:12 +02:00
Ludovic
184c797b0e Add a new Pay Button Type : Custom amount 2019-04-03 21:43:53 +02:00
Nicolas Dorier
05da63f2a5
Merge pull request #721 from Kukks/expose-notif-to-pos
add notif Email to crowdfund and pos + add notif url to pos
2019-04-02 17:34:56 +09:00
Kukks
6db9061dd1 add coinswitch shitcoin tax 2019-03-31 18:55:14 +02:00
Kukks
275b590e80 add notif Email to crowdfund and pos + add notif url to pos
closes #720
2019-03-29 07:51:00 +01:00
Kukks
5e76d4bfc1 remove template max length in pos app
closes #704
2019-03-22 09:14:27 +01:00
nicolas.dorier
abbdbda03a Add Bitbank provider 2019-03-20 00:49:44 +09:00
nicolas.dorier
c2754b324d Show other tor services 2019-03-18 16:45:46 +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
4769b1d452 Show tor services inside hidden directories in Server Settings/Services 2019-03-17 13:01:47 +09:00
rockstardev
5261cfcdd3 Allowing for lightning payment amounts to be displayed in Satoshis 2019-03-15 22:43:57 -05: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
7497865d1f Pay button was not working properly if the server was not en-US (Fix #638) 2019-03-09 23:40:22 +09:00
nicolas.dorier
75974037bc Fix SignalR paths if RootPath is used 2019-03-09 16:08:31 +09:00
nicolas.dorier
7dad814f19 Fix some checkout page if RootPath is set (#659) 2019-03-09 00:48:33 +09:00
Andrew Camilleri
0c0809101d Datetime picker and small edit UI changes (#647)
* do not allow negative amounts for crowdfund and payment requests

* remove currency placeholder in payment requests

* Improve date picker ui 

Clear button only appears when a value is set. If no value is set, display a placeholder indicating it. closes #625
2019-03-07 14:29:29 +09:00
Andrew Camilleri
2b567de5c1 Allow sounds and animation colors in crowdfund to be configured (#653)
closes #652
2019-03-07 14:25:09 +09:00
nicolas.dorier
1c9b05d992 Fix: Payment requests and crowdfund were estimating current contributions based on the current rate 2019-03-05 13:54:34 +09:00
rockstardev
3fdfd0adfd Removed exponentiation on invoice request amount
Fixes #620
2019-03-03 17:44:28 -06:00
Kevin Mulcrone
0263a2950c added enabled to ViewCrowdfundViewModel, added warning on preview page 2019-03-03 17:39:53 -06:00
Will Caldwell
e232dd7d7e Add a space between "Test" and "Email" in the UI. 2019-03-03 17:38:57 -06:00
nicolas.dorier
1d3f144d21 Support relative path for external services, simplify the code in Services 2019-03-01 13:20:21 +09:00
Kukks
249b8abf03 deduct network from contributions + removed unsued Enabled properties 2019-02-25 17:56:29 +09:00
Kukks
c134277514 remove creating state from payment requests 2019-02-25 17:56:29 +09:00
Kukks
ad25a2ed08 Add payment requests 2019-02-25 17:56:28 +09:00
Mario Dian
1e7a2ffe97 Enable/Disable tips and discount. Fix custom amount. (#612) 2019-02-25 15:11:03 +09:00
nicolas.dorier
b5d55a2066 Add RTL support 2019-02-22 15:06:52 +09:00
nicolas.dorier
2e1d623755 fix https://github.com/btcpayserver/btcpayserver/issues/596 2019-02-21 21:30:30 +09:00
nicolas.dorier
6ba17e8e30 Can filter supported payment methods for an invoice 2019-02-21 19:34:11 +09:00
nicolas.dorier
ac3432920a Fix build 2019-02-21 18:42:12 +09:00
nicolas.dorier
63c88be533 Use CreateInvoiceRequest instead of NBitpay Invoice type 2019-02-21 18:40:27 +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
50c8525012 Moving CrowdfundSettings in its own file 2019-02-19 13:07:10 +09:00
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
rockstardev
b03d89c190 Different message for admin deletion, check not to delete last admin
Ref: #549, #550
2019-02-15 10:05:29 -06:00
BenSanex
2b7006a14c add asterisk, revert primary currency error message, remove the 2019-02-11 21:53:45 -06:00
BenSanex
8f5f07882f Custom validation message for Crowdfund form primary currency 2019-02-07 20:27:26 -06:00
nicolas.dorier
585efa3ff5 Fix: Default payment method should not return a disabled one 2019-01-31 22:03:28 +09:00
nicolas.dorier
cf6b17250a Can set lightning network as default payment method (close #290) 2019-01-31 19:07:38 +09:00
Andrew Camilleri
51a5d2e812 Refactor XFrames Attribute & simplify pos settings page (#576)
* Enable better error when invoice cannot be created on crowdfund

Closes #572

* Allow all public apps in iframe

* cleanup pos page dev info
2019-01-31 16:56:21 +09:00
nicolas.dorier
1a98bfba36 Fix formatting of currencies in Invoice detail page 2019-01-30 19:18:44 +09:00
nicolas.dorier
6725be8145 Remove warnings 2019-01-29 18:35:27 +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
nicolas.dorier
02d227ee02 Fix connection to checkout backend (bad links) 2019-01-28 16:24:11 +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
575b6ca222 Improve error messages when the store has no payment method configured 2019-01-18 19:15:31 +09:00
Aaron Clauson
a4792f54a7 Added bootstrap paging buttons to the invoice list page and fixed paging buttons. 2019-01-16 21:33:04 +01:00
nicolas.dorier
e620fc0283 Add expert mode to BTCPay with No Change UTXO option 2019-01-15 23:50:45 +09:00
Kukks
9f4226bf0f remove inline styles and fix checkbox setting text 2019-01-10 14:19:06 +01:00
Kukks
c32c3bb62b add contribution ranking 2019-01-09 12:22:36 +01:00
Kukks
94fb738c67 fix choice key and currency data 2019-01-08 15:49:07 +01:00
Kukks
95a90c410e Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-08 15:10:13 +01:00
Kukks
59fc371cd5 perk count + img fixer 2019-01-08 15:10:05 +01:00
Kukks
8b686f0b12 fix coin switch issues 2019-01-08 11:27:37 +01:00
Kukks
d1d03c98ba pr changes 2019-01-07 14:39:04 +01:00
Kukks
3e48a54ab5 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2019-01-07 14:25:41 +01:00
Kukks
f6e389ff62 fix issues 2019-01-07 14:25:35 +01:00
Nicolas Dorier
63c309bd12
Merge pull request #499 from Kukks/node-info-page
Add Node Info Page
2019-01-07 22:04:08 +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
12c418d84d Add Node Info Page 2019-01-07 09:52:27 +01:00
Kukks
b633206b45 add helpful texts 2019-01-06 14:28:53 +01:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +01:00
Kukks
1eecd85ceb Merge branch 'master' into feature/crowdfund 2019-01-06 09:26:58 +01:00
Kukks
6e7f1151bc bug fixes and optimizations 2019-01-05 19:47:39 +01:00
Kukks
ba17612461 Link to associated invoices 2019-01-05 10:17:52 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
Kukks
5341da28d9 add date time picker 2019-01-04 12:58:29 +01:00
Kukks
7768f41849 add reset every x amount of time feature 2019-01-04 11:42:37 +01:00
Kukks
e4b9895ba7 add rich text and options 2019-01-02 12:47:06 +01:00
Kukks
5a3f7b5b70 add in more info and simplify backend model 2019-01-02 10:41:54 +01:00
Kukks
2aa097be46 fix cache expiration time 2019-01-02 09:45:04 +01:00
Kukks
2245027ca3 ux fixes 2018-12-31 12:34:27 +01:00
Kukks
3dc250f801 Add Disqus & fix ux 2018-12-31 11:38:05 +01:00
Kukks
6eb36abe2e start contrib perks 2018-12-29 11:52:07 +01:00
Kukks
35f4ea29f9 more integration 2018-12-28 17:38:20 +01:00
Kukks
444e761d41 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-28 12:33:55 +01:00
Kukks
c7e2f979dd Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-27 20:19:29 +01:00
Mario Dian
f87339f9fa Change CustomTipPercentages type to int[] 2018-12-27 12:57:31 +08:00
Mario Dian
c7e90cd7df New PoS design 2018-12-27 12:57:31 +08: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
8c00a2359e better layout 2018-12-22 15:43:40 +01:00
Kukks
d1ff34d16d add minimal crowdfund system and UI 2018-12-22 15:02:16 +01:00
Kukks
8e8615dab8 Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund 2018-12-21 11:51:13 +01:00
Kukks
fc9cd5bdf0 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-20 17:57:04 +01:00
nicolas.dorier
9c99ffae57 Lightning charge integration 2018-12-20 22:40:32 +09:00
nicolas.dorier
e80593fb7b Expose LND's other macaroon if possible 2018-12-20 16:52:04 +09:00
nicolas.dorier
73e280157d Show the gRPC cypher suites for gRPC consumption 2018-12-20 14:16:23 +09:00
Kukks
3e2ff55954 Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch 2018-12-19 10:41:36 +01:00
Kukks
40c645e433 coinswitch integration 2018-12-18 20:14:59 +01:00
Kukks
2b4603a234 coinswitch integration 2018-12-18 19:01:58 +01:00
Andrew Camilleri
27bde55f54 work on building the viewmodel for crowdfund 2018-12-18 16:27:03 +01:00
Andrew Camilleri
b5d360594a Merge remote-tracking branch 'origin/master' into feature/crowdfund 2018-12-18 13:29:22 +01:00
nicolas.dorier
7a4dee3d38 Point of Sale returns correct currency information (#450) 2018-12-18 00:25:17 +09:00
nicolas.dorier
a341d4f800 Show Spark QR Code pairing 2018-12-14 13:12:27 +09:00
nicolas.dorier
475ea68696 Can attach external spark 2018-12-12 18:19:13 +09:00
Kukks
7fa1b65af0 initial commit 2018-12-11 16:36:25 +01:00
Kukks
c00c95efcf initial coinswitch work 2018-12-11 12:47:38 +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