Commit Graph

1144 Commits

Author SHA1 Message Date
Dennis Reimann
78d191f7d8 Incorporate code review feedback 2020-05-18 16:51:21 +02:00
Dennis Reimann
3b6dbe76c5 Add sync state 2020-05-18 16:02:15 +02:00
Dennis Reimann
e3b348b55c GreenField: Add Server Info API basics 2020-05-18 15:29:04 +02:00
Nicolas Dorier
8d1ff01ee8 Adapt payjoin implementation to the BIP (#1569) 2020-05-17 05:07:24 +09:00
Andrew Camilleri
8ca2824b00 Open wallet with BIP21 links (#1565)
* Open wallet with BIP21 links

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

* remove debugger;

* Move to settings
2020-05-12 22:32:33 +09:00
Nicolas Dorier
5a9d1e3257 Merge pull request #1560 from Kukks/archive-pr
Archive Payment reqeusts
2020-05-10 00:51:59 +09:00
Nicolas Dorier
9cc9a16bb9 Merge pull request #1556 from Kukks/invoice-archive
Archive Invoice
2020-05-10 00:51:11 +09:00
Kukks
8fa65408ed Archive Payment reqeusts
closes #1588
2020-05-08 12:33:47 +02:00
Andrew Camilleri
2bc7fa0316 Show warning when enabling Payjoin but supported payment methods are not using a hot wallet (#1545)
* Show warning when enabling Payjoin but supported payment methods are not using a hot wallet

https://i.imgur.com/RXBhr0n.png fixes #1474

* expose p2p port
2020-05-08 05:37:10 +09:00
Andrew Camilleri
aff91f49ef Make fee rate options pretty (#1554) 2020-05-08 05:34:39 +09:00
Kukks
e5a3ef3e22 Archive Invoice 2020-05-07 12:50:07 +02:00
nicolas.dorier
87352f0b62 Make sure wallet support decimal fee, and allow user to select different fee rate based on expected confirmation time 2020-05-05 19:10:53 +09:00
Andrew Camilleri
67da6ee379 Decimal precision and filter valid transaction (#1538)
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.
2020-05-04 01:04:34 +09:00
Andrew Camilleri
9c9c102e74 fix PadRight formatter 2020-05-03 09:32:10 +02:00
Andrew Camilleri
2bb4dd5d01 Fix decimal points shown in Checkout UI based on currency ( always showed btc decimal precision before) (#1529)
* Fix decimal points shown in Checkout UI based on currency ( always showed btc decimal precision before)

* cleanup ShowMoney
2020-05-03 01:28:35 +09:00
nicolas.dorier
b8202da7aa Fix tests 2020-05-02 00:59:36 +09:00
Nicolas Dorier
edfc82ac75 Merge pull request #1522 from Kukks/view-seed
Add View seed to wallet settings
2020-05-01 21:36:27 +09:00
nicolas.dorier
b28fc85974 Fix: Do not returns HTML content if authentication to API fails 2020-05-01 21:33:42 +09:00
Nicolas Dorier
5443ac4688 Merge pull request #1531 from Kukks/api/store/prep
GreenField: Prep store for more data
2020-05-01 18:49:29 +09:00
Kukks
85517b0344 GreenField: Prep store for more data
refactored things around a bit to make it cleaner for when we add more properties to the store model
2020-04-30 16:43:16 +02:00
Kukks
53b0e675c3 Tag payjoin for sender too 2020-04-29 09:09:16 +02:00
Kukks
d323bb35cc Add View seed to wallet settings 2020-04-29 08:28:13 +02:00
Nicolas Dorier
47408498b9 Revert "View seed option if available (#1518)" (#1521)
This reverts commit e75b4ec6bf.
2020-04-29 00:57:41 +09:00
Andrew Camilleri
e75b4ec6bf View seed option if available (#1518) 2020-04-29 00:55:53 +09:00
nicolas.dorier
519f4af867 Bump pj original tx broadcast timeout 2020-04-29 00:23:51 +09:00
Andrew Camilleri
3a2970a495 Label Factory (#1516)
* Label Factory

* fix typo and format
2020-04-28 16:53:34 +09:00
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
Andrew Camilleri
c784144a07 Greenfield: Add update store API (#1495)
* Greenfield: Add update store API

* update update store model

* change greenfield controller name to stop conflict
2020-04-27 20:13:20 +09:00
Kukks
e49074d797 fix bip21 + coinselection combo bug in wallet send 2020-04-27 12:12:01 +02:00
Remco
d4dbe6fe17 Typo fix (#1503) 2020-04-27 05:18:36 +09:00
nicolas.dorier
79c70b31a3 Fix tests 2020-04-26 01:47:47 +09:00
Andrew Camilleri
92c58eea7f Fix: Sign with NBX option not present after decoding PSBT (#1497) 2020-04-23 22:02:26 +09:00
Nicolas Dorier
7adaa146dc Merge pull request #1471 from dennisreimann/api-health-endpoint
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Kukks
297b84a18b add request name validation 2020-04-22 15:05:13 +02:00
Kukks
34c1a304a9 Add Create Store 2020-04-22 15:05:13 +02:00
Kukks
4f1ae4733c remove store api 2020-04-22 15:05:13 +02:00
Kukks
e009c1a25a Fixing CheckNoDeadLink test now that btse blocks our call from circleci 2020-04-22 15:05:13 +02:00
Kukks
79f12a7058 fix client 2020-04-22 15:05:13 +02:00
Kukks
deb197cfa5 GreenField: Get Stores 2020-04-22 15:05:13 +02:00
Kukks
2710130667 add error message instead of 500 status
fixes #1494
2020-04-22 14:18:36 +02:00
Kukks
a6a56e4791 fix controller 2020-04-21 17:09:17 +02:00
Dennis Reimann
22e39998e2 Updates from code review
Thanks @kukks!
2020-04-21 16:43:14 +02:00
Dennis Reimann
70d1056d48 API: Health endpoint returns synchronized state 2020-04-21 16:29:54 +02:00
Dennis Reimann
3bd5c3e1b5 API: Add health check endpoint 2020-04-21 14:59:33 +02:00
Kukks
bf45edb5d8 Fix: Payment request redirects to non-existing (404) URL after payment completed
fixes #1479
2020-04-19 13:12:07 +02:00
nicolas.dorier
2f0e9569a1 Fix build error 2020-04-13 15:57:57 +09:00
Nicolas Dorier
511a0efa89 Merge pull request #1465 from Kukks/hot-wallet-policy
add additional server policy for hot wallet RPC import
2020-04-13 15:51:01 +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
Umar Bolatov
5ae18cf21f Make sure mnemonic phrase doesn't blend into background 2020-04-13 08:05:44 +02:00
nicolas.dorier
9efe6267d3 Do not ask for address confirmation if a new wallet is generated 2020-04-13 13:03:55 +09:00