Commit graph

111 commits

Author SHA1 Message Date
Andrew Camilleri
b31fb1a269
Auto label utxos based on invoice and payjoin (#1499)
* 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
2020-04-28 15:06:28 +09:00
Kukks
02d26467f9 remove fake bundle 2020-04-27 12:04:18 +02:00
Dennis Reimann
8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Nicolas Dorier
aae0086e68
Merge pull request #1443 from dennisreimann/wallet-view-improvements
Wallet view improvements
2020-04-08 21:25:31 +09:00
Dennis Reimann
5a841216b8
Add checkbox coin selection (js version) 2020-04-08 13:29:16 +02:00
Dennis Reimann
d6d58a98db
Improve non-js coin selection 2020-04-08 13:15:03 +02:00
Dennis Reimann
6a0cda69c9
Wallet view improvements
As brought up by @kukks with [this comment](https://github.com/btcpayserver/btcpayserver/pull/1434#issuecomment-609724703). These improvements can be applied across themes, so these fixes are separated from the originating PR.
Pure visual finetunings for the Coin Selection form and amount/fee rate links.
2020-04-08 12:38:26 +02:00
Dennis Reimann
829b0dd5e2
Fix transaction dropdowns
As brought up by @kukks with [this comment](https://github.com/btcpayserver/btcpayserver/pull/1434#issuecomment-609720019). The problem exists across themes, so the fix is separated from the originating PR.
2020-04-06 18:16:41 +02:00
Kukks
16e35e8b55 update html styles 2020-04-06 11:51:01 +02:00
Kukks
8278926e42 change wallet send buttons 2020-04-06 11:51:01 +02:00
Kukks
65c99ead1d cleanup 2020-04-06 11:51:00 +02:00
Kukks
2693dacae6 Scan address/bip21 with camera 2020-04-06 11:51:00 +02:00
Nicolas Dorier
963c69a0e0
Merge pull request #1321 from Kukks/bpu
BIP79
2020-04-05 12:10:55 +09:00
Kukks
9e1ae29600 change broadcast button style 2020-03-31 14:57:24 +02:00
Kukks
a408541eb3 Fix coin selection filter bug 2020-03-31 11:07:57 +02:00
Kukks
4d2e59e1a1 Change flow of payjoin in wallet + fix tests 2020-03-30 13:27:04 +02: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
23b2f55b47 use nameof 2020-03-27 10:45:13 +01:00
Kukks
89da4184ff BIP79 Support 2020-03-27 10:45:12 +01:00
Kukks
69482eb4fb Allow wallet receive to generate new addresses 2020-03-25 17:24:41 +01:00
Kukks
d0a95f5a69 fix coin selection 2020-03-25 14:11:38 +01:00
nicolas.dorier
805e1f53b3
Test Wallet Receive, Send with NBX, Coin selection 2020-03-23 15:46:54 +09:00
Kukks
517c65f1fc make no js version a littler better 2020-03-19 10:08:33 +01:00
Kukks
8f18be727b add clear option 2020-03-19 10:02:31 +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
Umar Bolatov
d9bdb46033
Prettify wallet receive tab screen 2020-03-03 21:15:27 -08:00
Andrew Camilleri
db6a4687d2
Wallet prep work for BPU (#1331)
* Wallet prep work for BPU

This PR prepares the wallet for #1321. It makes transfers from the vault and ledger to go to their own post actions for processing (not particularly useful in this PR but is needed in BPU to propose a new tx)  It also makes the Sign with seed consistent with redirect to /psbt/ready after signing which it did not do (it stayed on the seed route)

* fix test

* add assert
2020-02-13 22:06:00 +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
nicolas.dorier
78d8f4e011
Fix rescan wallet link 2020-01-21 20:54:45 +09:00
Andrew Camilleri
8e6f43cd3a Sign with NBX Seed (#1218) 2020-01-21 17:33:12 +09:00
nicolas.dorier
a2be7ee471
Fix statusMessage handling for the Receive wallet page 2020-01-18 15:32:01 +09:00
Andrew Camilleri
025da0261d new feature: Wallet Receive Page (#1065)
* new feature: Wallet Receive Page

closes #965

* Conserve addresses by waiting till address is spent before generating each run

* fix tests

* Filter by cryptocode before matching outpoint

* fix build

* fix edge case issue

* use address in keypathinfo directly

* rebase fixes

* rebase fixes

* remove duplicate code

* fix messy condition

* fixes

* fix e2e

* fix
2020-01-18 14:12:27 +09:00
nicolas.dorier
ef20a03b95
Fix send from ledger and send from vault 2020-01-17 21:38:27 +09:00
Kukks
b7503c994c fix broken links 2020-01-14 12:46:07 +01:00
Kukks
fa916d4862 Liquid: Show limited wallet pages 2019-12-29 17:08:30 +01:00
nicolas.dorier
de2e222ae5
Improve signing vault UI 2019-12-10 18:58:12 +09:00
nicolas.dorier
e70d5ceb08
Fix JS error on WalletSendVault after PIN is asked (#1210) 2019-12-04 12:52:54 +09:00
nicolas.dorier
df38b84bbb
Fix alignment in psbt review 2019-12-03 14:30:29 +09:00
Nicolas Dorier
db56c2b106
Merge pull request #1202 from pavlenex/create-wallet
Change create with connect in wallet page
2019-12-02 18:27:40 +09:00
pavlenex
91f83d751f Connect wallet clarification 2019-11-30 18:15:28 +01:00
nicolas.dorier
5afa847e6e
Fix sign transaction 2019-11-21 16:38:43 +09:00
nicolas.dorier
1a8d6e5c05
Implement BTCPayServer vault derivation scheme import 2019-11-21 14:06:16 +09:00
nicolas.dorier
71a6ffac2e
Adjust status message for WalletTransactions 2019-11-18 21:47:09 +09:00
nicolas.dorier
0fcfe0e977
Can prune wallet transaction history 2019-11-17 17:13:09 +09:00
Dennis Reimann
bc56cab488
Fix colors in wallet send view 2019-11-14 18:44:13 +01:00
Dennis Reimann
205fd3c9ce
Use grid consistently 2019-11-14 18:42:49 +01:00
Dennis Reimann
50bf55cbdf
Unify section headings 2019-11-14 18:42:48 +01:00
nicolas.dorier
5b37a9df0b
Make sure we don't pass the psbt in GET url 2019-11-08 21:21:23 +09:00
nicolas.dorier
d66e8f2d13
Removing obsolete StatusMessage 2019-10-31 15:19:38 +09:00