* Refactor logic for calculating due amount of invoices
* Remove Money type from the accounting
* Fix tests
* Fix a corner case
* fix bug
* Rename PaymentCurrency to Currency
* Fix bug
* Rename PaymentCurrency -> Currency
* Payment objects should have access to the InvoiceEntity
* Set Currency USD in tests
* Simplify some code
* Remove useless code
* Simplify code, kukks comment
* Allow Payjoin for wallet receive addresses
* wip
* show bip21 and additional work
* style better
* add to docs
* pr changes
* remove from state when unreserved
* GreenField: Wallet API
* more work
* wip
* rough fiunish of transaction sending api
* Allow to create tx without broadcasting and small fixes
* Refactor Wallet Receive feature ad add greenfield api for address reserve for wallet
* add wallet api client
* add docs
* fix json converter tags
* fixes and add wallet tests
* fix tests
* fix rebase
* fixes
* just pass the tests already
* ugggh
* small cleanup
* revert int support in numeric string converter and make block id as native number in json
* fix LN endpoint
* try fix flaky test
* Revert "try fix flaky test"
This reverts commit 2e0d256325.
* try fix other flaky test
* return proepr error if fee rate could not be fetched
* try fix test again
* reduce fee related logic for wallet api
* try reduce code changes for pr scope
* change auth logic for initial release of wallet api
* Plugins flexibility PR
* Makes the BTCPayServerOptions.LoadArgs async to support Plugin hooks and actions
* relax the private set modifiers in the BTCPayNetwork
* Separate IPluginHookService from PluginService to reduce dependencies on DI
* fix some small bugs around image path
* Fix bug with new dbreeze migration where data dir was incorrect
* Update BTCPayServer/Plugins/PluginHookService.cs
Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
* Update BTCPayServer/Plugins/PluginHookService.cs
Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
Co-authored-by: rockstardev <5191402+rockstardev@users.noreply.github.com>
This allows external integrations ( btcpay docker fragments) to highlight specific plugins as recommended to be installed. Also moved the remote option to a config option instead of a url query param to avoid messy situations where users could get deceived with a generated url. The dockerfiles also have an additional csproj to build and the plugin dir was renamed correctly from extensions to plugins
* BTCPay Extensions Part 2
This PR cleans up the extension system a bit in that:
* It renames the test extension to a more uniform name
* Allows yo uto have system extensions, which are extensions but bundled by default with the release (and cannot be removed)
* Adds a tool to help you generate an extension package from a csproj
* Refactors the UI extension points to a view component
* Moves some more interfaces to the Abstractions csproj
* Rename to plugins
The liquid transactions list was showing all transactions to the wallet, even when it had nothing to do with the specific crypto code (e.g sending LBTC txs in USDT, LCAD in USDT, etc). This PR fixes that.
It also uses the previously introduced checkout decimal precision fix to the Wallets screen, specifically the balance amount on wallet llist and balance change on transaction list.
* 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
* 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