Commit Graph
191 Commits
Author SHA1 Message Date
edouard d4d5a66aa1 gui: transitioning to ui crate 2023-03-27 19:53:49 +02:00
edouard 8d337eb7e1 ui: add support for legacy 2023-03-27 19:01:30 +02:00
edouard f3bf6fa589 gui: design system example 2023-03-27 19:01:30 +02:00
edouard 75c4109373 gui: filter unused events 2023-03-27 16:04:08 +02:00
edouard 76f3c1a876 gui settings: filter empty aliases in map 2023-03-27 13:18:10 +02:00
edouard 915bb18caa gui settings: truncate file 2023-03-27 13:08:43 +02:00
edouard a151fe3703 Merge #366: gui: separate settings panels
17815864cb gui settings: rename bitcoind for core (edouard)
f5394bf889 wallet settings: edit fingerprint aliases (edouard)
ae8df0dd4c gui: separate settings panels, add wallet settings (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 17815864cb

Tree-SHA512: 43d63bcc3137735afea4a3baf04fd572adc45add98335b5c90071f89bdc82e65b1ccc595b28436a68d896b7f5ad836c81ede1c756303fad3ecac0966e964ffab
2023-03-23 17:51:18 +01:00
Antoine Poinsot 2dea4b1a6c Merge #355: Clippification: a little bit of housekeeping
ebf5a294ad gui: fix some clippy warning (Antoine Poinsot)
cf3e9cafe0 ci: run clippy using Rust 1.67.1 (Antoine Poinsot)
8965758421 bitcoind: fix a clippy warning about lifetime ellision (Antoine Poinsot)

Pull request description:

  FIx clippy lints and bump the clippy version for the daemon. Also fix some lints for the GUI (there are some false positives that couldn't be fixed though).

ACKs for top commit:
  darosior:
    self-ACK ebf5a294ad -- trivial

Tree-SHA512: 3fccbce67637d417da1758584f1d4f027e1536054b21c7abafc2e6b70e65901abb373a1ffc7fc7efbbbdf5c504ccde9df75e477d72ecd46a8b7798ce7985f64d
2023-03-21 18:51:02 +01:00
edouard 17815864cb gui settings: rename bitcoind for core 2023-03-21 15:20:04 +01:00
edouard f5394bf889 wallet settings: edit fingerprint aliases 2023-03-21 15:20:04 +01:00
edouard ae8df0dd4c gui: separate settings panels, add wallet settings 2023-03-21 15:20:04 +01:00
edouard 9577e6a227 gui: make daemon config optional
If no daemon config path is present in the
gui config, gui will try first to connect
to the socket pat, either `daemon_rpc_path`
if present in configuration file or default
path.

close #147
2023-03-14 13:32:39 +01:00
edouard bda82fe83d gui: ignore hw apdu exchanges in log
A solution to keep it only for debug was
not found for now with tracing, but it could
be easily fixed if ledger_transport_hid use
debug instead of info as log level.
2023-03-08 18:22:37 +01:00
edouard a13bb0272b gui: add logger module and handle log file destinations
Installer has its own log file installer.log that is removed
after successful install.
When changing network, the destination log file change
to <datadir>/<network>/liana-gui.log
2023-03-08 16:12:19 +01:00
edouard 9ccb22b2ac Add panic_hook to gui 2023-03-07 14:17:44 +01:00
Antoine Poinsot 46a4da38f8 gui: update Liana to 0.3 and release 0.3 2023-02-27 16:57:49 +01:00
edouard ca5c368c07 Merge #353: gui: enumerate multiple ledger devices
e26a631318 gui: enumerate multiple ledger devices (edouard)

Pull request description:

  close #165

ACKs for top commit:
  edouardparis:
    Self-ACK e26a631318

Tree-SHA512: 6eee38e49d75215db78d350a8480766e62ba34c874e88a15f0d0bcd49b8f16834054fc2a5c18e1a248aae42619f1b42505accaa79ecafa09d0e1bbddfdebacb6
2023-02-17 14:02:50 +01:00
Antoine Poinsot ebf5a294ad gui: fix some clippy warning 2023-02-17 10:26:14 +01:00
edouard 8c11197b31 installer: use DescriptorMultiXKey without wildcard
close #350
2023-02-17 10:12:18 +01:00
edouard e26a631318 gui: enumerate multiple ledger devices
close #165
2023-02-16 16:37:52 +01:00
edouard 04eb511366 Merge #346: GUI: hot signer
26ad36f34e fix register descriptor prompt (edouard)
9fac6277f4 Sign with hot signer (edouard)
e76459d159 Load hot signer in Wallet (edouard)
ecb3e11486 installer: store mnemonic in datadir (edouard)
7a76754842 Add title to installer final step (edouard)
c70ac11476 installer: add recover seed step (edouard)
037c4d025d installer: add signer to participate wallet process (edouard)
233f9b1886 installer: add backup mnemonic step (edouard)
f8dcd1116d Add hot signer to create descriptor step (edouard)
1f09653198 Add signer module to gui (edouard)
f3f04a41b0 Use liana hot signer (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 26ad36f34e -- tested the branch merged on master.

Tree-SHA512: 578be77aff99c40aa21049bfccfb8d310d04ca48213f7af62ec8d5444e044a8375966568e496ff5443a48d2aac648387c410747d12ad15fa21a1bff613d17673
2023-02-16 15:09:08 +01:00
edouard 9535b80258 Add spent tag to confirmed broadcast tx
close #233
2023-02-16 10:49:22 +01:00
edouard 120f87462f Change pending label for unconfirmed
close #230
close #231
2023-02-16 10:41:29 +01:00
edouard 26ad36f34e fix register descriptor prompt 2023-02-16 09:59:57 +01:00
edouard 9fac6277f4 Sign with hot signer 2023-02-16 09:59:57 +01:00
edouard e76459d159 Load hot signer in Wallet 2023-02-16 09:59:57 +01:00
edouard ecb3e11486 installer: store mnemonic in datadir 2023-02-16 09:59:57 +01:00
edouard 7a76754842 Add title to installer final step 2023-02-16 09:59:57 +01:00
edouard c70ac11476 installer: add recover seed step 2023-02-16 09:59:57 +01:00
edouard 037c4d025d installer: add signer to participate wallet process 2023-02-16 09:59:57 +01:00
edouard 233f9b1886 installer: add backup mnemonic step 2023-02-16 09:59:57 +01:00
edouard f8dcd1116d Add hot signer to create descriptor step 2023-02-16 09:59:57 +01:00
edouard 1f09653198 Add signer module to gui 2023-02-16 09:59:57 +01:00
edouard f3f04a41b0 Use liana hot signer 2023-02-16 09:59:57 +01:00
edouard 4131ee529d installer: clean unwraps and add logs to final step
GUI should handle failure gracefully with logs
instead of crashing.
2023-02-09 17:29:23 +01:00
edouard 3f3e6fab03 installer: change message error 2023-02-08 12:25:00 +01:00
edouard aa7db15a64 gui: add error message to launcher 2023-02-07 17:17:50 +01:00
edouard 4c683993bc fix spend detail: wrong check ready 2023-02-06 14:39:47 +01:00
edouard f5de5e9734 gui: update liana#66e37a2 2023-02-06 12:08:25 +01:00
edouard 56d3522f8c gui: change path signature details 2023-02-06 11:09:30 +01:00
edouard 04862ec65d Merge #319: fix: drop connections to hws in share xpub panel
42940f6385 fix: drop connections to hws in share xpub panel (edouard)

Pull request description:

  Use needs to be able to start new connections
  in the register descriptor step.

ACKs for top commit:
  edouardparis:
    Self-ACK 42940f6385

Tree-SHA512: 01b146209cb74e5db7819e7249b51881e0f773d32ae2b1400914e0751f702325447b304eeca0f4eadf50113c4ea0535d24c73ef8b311c9de453877659933650f
2023-02-06 09:23:15 +01:00
Antoine Poinsot f545747080 gui: reword some warnings on invalid input 2023-02-05 15:48:48 +01:00
Antoine Poinsot c6127c41c9 gui: wording nit on missing feerate when creating a spend. 2023-02-05 15:48:47 +01:00
Antoine Poinsot a7f2ca1cbe gui: Remove redundant "or" when filling up xpub in installer. 2023-02-05 15:48:47 +01:00
edouard 42940f6385 fix: drop connections to hws in share xpub panel
Use needs to be able to start new connections
in the register descriptor step.
2023-02-04 18:27:07 +01:00
edouard c7dd94b748 fix gui: use address.is_valid_for_network
Use this nice helper from rust-bitcoin, instead
of wrong checks.
2023-02-04 14:12:47 +01:00
edouard 697fb16db9 Add more information and checkbox to register descriptor step
close #297
2023-02-04 12:32:33 +01:00
edouard 263f00150d fix: spend minimal amount in btc 2023-02-04 11:11:51 +01:00
edouard 90c2a04eb4 Merge #313: gui: fix hws list reloading
ea4f021728 fix hws list reloading (edouard)

Pull request description:

  I wanted the refresh button to add more harware wallet to the list without erasing the previous list
  in order to not cut the existing communication channels.

  But with the new display of "unsupported wallet" this behaviour can corrupt the list. An "unsupported wallet" can become "supported" because user switch app or unlock.

  It is preferable to reset the full list and drop the objects after a refresh.

ACKs for top commit:
  edouardparis:
    Self-ACK ea4f021728

Tree-SHA512: 530cf6e82f5bfd325e45c0eb19af94a58e930ecc15a692e0d545ceec2105122ed539a9f671449d2bc05e87c0ba562a1f192076a5cd1a2264f322b5a9094c1d9a
2023-02-03 21:09:18 +01:00
edouard ea4f021728 fix hws list reloading
I wanted the refresh button to add more harware wallet
to the list without erasing the previous list
in order to not cut the existing communication channels.

But with the new display of "unsupported wallet" this behaviour
can corrupt the list. An "unsupported wallet" can become
"supported" because user switch app or unlock.

It is preferable to reset the full list and drop the objects
after a refresh.
2023-02-03 19:42:23 +01:00