* Rename user param to userId in API key redirect
This way it is clearer what to expect and it also make the parameteer easier to consume.
* Post redirect: Allow form url and prettify page
- Form URL as alternative to controller/action for external URLs
- Making it look nice and add explanation for non-JS case
* APIKeys: Minor view updates
fix
* APIKeys: Use POST redirect for confirmation
fix
* UI: Minor update to confirm view
Tidies it up and adapts to the newly added ConfirmAPIKeys view.
* APIKeys: Update delete view
Structures the information in title and description better.
* APIKeys: Distinguish authorize and confirm (reuse)
* Upgrade ChromeDriver
* Test fixes
* Clean up PostRedirect view
By adding missing forgery token
* Re-add tests for callback post values
* Rename key param to apiKey in API key redirect
* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Use DEBUG conditional for postredirect-callback-test route
* Remove unnecessary ChromeDriver references
* Add debug flag
* Remove debug flags
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Auto label utxos based on invoice and payjoin
This PR introduces automatic labelling to transactions.
* If it is an incoming tx to an invoice, it will tag it as such.
* If it was a payjoin tx , it will tag it as such.
* If a transaction's inputs were exposed to a payjoin sender, we tag it as such.
* wip
* wip
* support in coinselection
* remove ugly hack
* support wallet transactions page
* remove messy loop
* better label template helpers
* add tests and susbcribe to event
* simplify data
* fix test
* fix label + color
* fix remove label
* renove useless call
* add toString
* fix potential crash by txid
* trim json keyword in manual label
* format file
* Part 1 & Part 2 squashed commits
pr changes
pr fixes
remove config for openid -- no need for it for now
Part 1: OpenIddict - Minor Changes & Config prep
Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies
pr changes
fix merge
fix compile
fix compile #2
Part 1: OpenIddict - Minor Changes & Config prep
add missing nuget
Part2: Openiddict: Init OpenIddict & Database Migration & Auth Policies
* Part3: OpenIddict: Add Flows Event Handlers
* pr changes
* fix merge
* fix rebase
* fix imports
* cleanup
* do not allow u2f enabled accounts to log in
* start better tests for flows
* add tests
* fixes
* reintroduce dynamic policy as policies on jwt do not work without it
* reduce logs
* fix incorrect endpoint definitions
* Add implicit flow e2e test
* add code flow and refresh flow
* do not allow jwt bearer auth for all requests( only those under /api)
* remove commentedt code
* make sure authorize attr is marked with scheme
* remove dynamic policy and set claims in jwt handler
* cleanup
* change serversettings policy to not need a claim
* Add test to checkadmin verification
* revert server setting claim removal
* fix test
* switch back to claim
* unit test fixes
* try fix build with weird references to csprojes
* start fixing rebase
* remove https requirement to handle tor
* reformat tests correctly
* fix csproj
* fix ut formatting
* PR Changes
* do not show selenium browser
* 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
* 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