602 Commits

Author SHA1 Message Date
jp1ac4
6c5f83ce15
gui: fix displayed feerate estimate 2024-07-04 10:35:26 +01:00
edouardparis
3ee7a5bb99 gui: fix clippy warning 2024-07-03 15:13:13 +02:00
edouardparis
5c59c4f5de Add interrupt method to state trait
Before changing panel, the previous state
may need to release a harware connection
for example.
In order to achieve this we introduce an interrupt method
that is used to drop action state.

close #1162
2024-07-01 14:01:59 +02:00
Antoine Poinsot
973938fb20
gui: bump version to v6 2024-06-28 14:19:20 +02:00
edouardparis
4f41276fbb
Merge #1141: installer: add a warning if remote adress is not loopback
3d55616b66e8a0995e2ef9e4ad6d294bf23fe6a7 installer: add a warning if remote adress is not loopback (pythcoiner)

Pull request description:

  This PR is a variant of #1137, it add a warning under text input field if user try to connect to a non-loopback address & use RPCAuth:

  ![image](https://github.com/wizardsardine/liana/assets/124568858/f925f9e1-d212-4b1e-9e58-d40f7633f026)

  It also add a check on address + RPC user/password/cookie:
  Check connection button is greyed out until address is valid + user and password are filled (if RPCAuth selected)

  Closes https://github.com/wizardsardine/liana/issues/1059

ACKs for top commit:
  jp1ac4:
    Tested ACK 3d55616b66.

Tree-SHA512: a48efe85ee178a4bf216a9cc60b03cbb705c6337b1ce21a49bd031a032e2e81e70428fa4cd76c5ee297b428912dc64f51ffc8ce8dfa928b000dcff412ca530db
2024-06-27 09:41:01 +02:00
pythcoiner
3d55616b66 installer: add a warning if remote adress is not loopback 2024-06-27 09:23:47 +02:00
edouardparis
c289186803 check validity of user form for psbt update 2024-06-26 10:52:31 +02:00
edouardparis
b70d83ec29 gui: non regression test for psbt update 2024-06-26 10:52:31 +02:00
edouardparis
5a31324358 bump async-hwi for hw serial connection fix 2024-06-25 14:29:47 +02:00
edouardparis
ea5d9de54b gui: fix large enum variant clippy error 2024-06-25 12:55:31 +02:00
pythcoiner
a8e256eb6b clippyfy 2024-06-25 03:01:29 +02:00
edouardparis
93dbf6e2f6
Merge #1124: replace the descriptor by template in descriptor registration step
40f9dd9bc43bac0c966585ac2770a02aa4c92765 replace the descriptor by template + key vector in descriptor registration step (pythcoiner)

Pull request description:

  This PR replace the descriptor displayed in the installer descriptor registration step, by the wallet policies template + its keys, as almost (all?) signing devices displays the discriptor in this way for registration.

  ![image](https://github.com/wizardsardine/liana/assets/124568858/ac4d6dee-dbe9-448e-b89f-1d4cc6710676)

  closes #727

ACKs for top commit:
  jp1ac4:
    Tested ACK 40f9dd9bc43bac0c966585ac2770a02aa4c92765.

Tree-SHA512: 396d20d766b89b93d3f598b3168311dfa693fcd83efe02e0515ee6428e006a5e2db4f502e3b21f50a085f37e44a1049bbfa3e4e09719a6101396012b80486cea
2024-06-21 10:23:12 +02:00
pythcoiner
40f9dd9bc4 replace the descriptor by template + key vector in descriptor registration step 2024-06-20 11:40:08 +02:00
edouardparis
610a95bf3b
Merge #1116: Set minimum window size
3bca6faffe6f1802e08471af05548f355804767c set minimum window size (pythcoiner)

Pull request description:

  fixes #506
  i put ~~800x800~~ as default size, feel free to told me if you think something else more appropriate.
  edit: i change to 1000x800 so we can also close #507 (i do not have strong opinion, 1000 looks a bit large to me, but if we decide less than 1000 i think we shouls close #507 also)

ACKs for top commit:
  edouardparis:
    ACK 3bca6faffe6f1802e08471af05548f355804767c

Tree-SHA512: 673e40304c9070777ebcc539975fdc28b14df559330b68dd8f6b23f7ab09dee22364a037967604ab70e1ca9596ecc028930dbb80878faadd085f11e47d3fa491
2024-06-19 15:12:29 +02:00
edouardparis
b36220504f
Merge #1121: fix outdated gui/shell.nix
d919d92cc0b1c90b0ad01bc5a41898c119fef5a1 fix shell.nix (plebhash)

Pull request description:

  fix #1120

ACKs for top commit:
  edouardparis:
    ACK d919d92cc0b1c90b0ad01bc5a41898c119fef5a1

Tree-SHA512: 29d946f4ffab5cf114e01abfc75eeafc925214cff7efe2c6e57cb085dcfd066beca60a31576b672e4ec5258afc2746774cba8c6ddb24fff58c1c13844ab31c5e
2024-06-17 11:11:49 +02:00
plebhash
d919d92cc0
fix shell.nix 2024-06-16 16:02:07 +02:00
pythcoiner
3bca6faffe set minimum window size 2024-06-11 13:04:13 +02:00
edouardparis
dddd62b31e
Merge #1113: Remove ui example
64370af843a6e7442b1c1813fc22c34be68a43d8 remove ui example (pythcoiner)

Pull request description:

  closes #1072

ACKs for top commit:
  jp1ac4:
    ACK 64370af843.

Tree-SHA512: 6efa8d95a16060db5efcfcdc466dfaa41dab583f4faeb5ce7a3f3fd072da11139cbbb9447a6b78813d65f6a48c5b400a0bca1f8cdb4993ad8af560340101bba0
2024-06-10 16:23:59 +02:00
pythcoiner
64370af843 remove ui example 2024-06-10 02:56:46 +02:00
edouardparis
8921140f6b Revert "add specter support for tap-miniscript"
This reverts commit 876d83af6518a3e4ae45e156ef2952a7e67affc1.

TAP_KEY_SIG was in fact not implemented by specter version 1.9.0
db3ce3e918
2024-06-07 12:10:58 +02:00
edouardparis
3e853dddb6
Merge #1103: Add specter support for tap-miniscript
876d83af6518a3e4ae45e156ef2952a7e67affc1 add specter support for tap-miniscript (pythcoiner)

Pull request description:

  This pr enable specter support for tap-miniscript.
  tested:
  - descriptor registration
  - spend trough internal key path
  - spent trough taptree path

ACKs for top commit:
  edouardparis:
    utACK 876d83af6518a3e4ae45e156ef2952a7e67affc1

Tree-SHA512: 98d2596fe4c19c05ebcdc4e7d1d4123088ed8869de31c3b0635d652501f2484eecb16dae405d8b2a42321c11a9ea65a9cf91411413a85ab9cc5e86b55dbcef0b
2024-06-06 17:15:50 +02:00
pythcoiner
876d83af65 add specter support for tap-miniscript 2024-06-06 15:51:06 +02:00
edouardparis
a9cfe45c0a fix ui: wrong usage of widget state
In a previous PR #1096, we made usage
of the widget state instead of the component state to
set the collapsed value when the widget is created.
But the widget is reset at each refresh of the interface,
instead the component state does not change.

This commit makes the distinction between the two by
having the widget state as an initial state and the component
one as a capture of the user clicks.
2024-06-06 13:36:03 +02:00
edouardparis
c0e7b63809 fix launcher wording 2024-05-30 10:47:45 +02:00
edouardparis
977d8fa2dd Create datadir before install to store installer.log
Launcher is not skipped anymore if no datadir exists
the code in main.rs line 138 to create the datadir
needs to be duplicated in this case.
2024-05-30 10:30:24 +02:00
edouardparis
dee083c6d1 Add blue banner for testing network 2024-05-30 10:30:24 +02:00
edouardparis
be343aec37 Add previous button to installer first page 2024-05-30 10:30:24 +02:00
edouardparis
9ae33408cb Move all network setup in launcher 2024-05-30 10:30:24 +02:00
jp1ac4
3b604093ce
gui: fix rbf feerate input form
This will make it possible to edit a single-digit feerate,
for example, by deleting the existing value and then entering
a new one.
2024-05-28 12:29:10 +01:00
edouardparis
a12d7f5788
Merge #1096: Add a warning in installer if mainnet wallet already exists
d770e62e19687a4e6357ac24f899653d922d9293 Collapse advanced settings menu and grey-out `Next` button in installer if mainnet wallet already exists (pythcoiner)

Pull request description:

  this PR fixes #1039, it add a warning in the installer if an wallet already exists on mainnet & grey-out `Next` button if the network  is not valid.

  ![image](https://github.com/wizardsardine/liana/assets/124568858/87b5017d-f44b-47d2-b3bc-77babc0e7cdf)

ACKs for top commit:
  edouardparis:
    ACK d770e62e19687a4e6357ac24f899653d922d9293

Tree-SHA512: c756804fb89aa9cc8bc1009517f88745521580c8d3128ebfdd5b364280fd56dbdbc7490680e0e7208b6c0e1fb55279ce357f46ad2c312311c5cb6e941d27a214
2024-05-27 16:41:20 +02:00
pythcoiner
d770e62e19 Collapse advanced settings menu and grey-out Next button in installer if mainnet wallet already exists 2024-05-27 15:39:27 +02:00
pythcoiner
a913a02646 replace AboutSection -> EditWalletSettings 2024-05-26 01:45:44 +02:00
edouardparis
6531cc293d fix local date time and bump chrono
close #1057
2024-05-24 12:03:04 +02:00
edouardparis
99e4af84ff bum async-hwi 0.0.18
Include coldcard 0.12.2 that fixes the
nightly build on MacOS
2024-05-24 11:39:56 +02:00
edouardparis
570f0af35b installer: refresh hw list only if modal is open 2024-05-06 14:50:45 +02:00
edouardparis
6b0c93c5c3 Add jade hardware wallet 2024-05-06 14:50:45 +02:00
edouardparis
b7a72e064d
Merge #1084: Remove legacy harware_wallets field from gui config
45c7b850a64318152e245b269ffef25d63033384 Remove legacy harware_wallets field from gui config (edouardparis)

Pull request description:

  Ledger hmacs, wallet name and fingerprint labels where moved one year ago in the settings.json file.
  Here the commit of the new settings module:
  bf1e9e4b80

  A second commit in v4 checked that settings.json is present otherwise it does the migration from the gui configuration file to the settings file:
  3eeba08248

  We remove the legacy field from the config field so the wallet module does not depend on the config module anymore to load hardware wallet information.

  Tested on gui.toml config with legacy field hardware_wallets and it does not fail to launch.

ACKs for top commit:
  jp1ac4:
    ACK 45c7b850a6.

Tree-SHA512: a13c042c3842c732117ee8099d5a90d28462c5916408edb9fcee5518427acca5b737cd6e1ebe77a94e7d8dabf7a6bdd124ddf927ed850c58b5f980c6efe4f391
2024-05-03 18:05:31 +02:00
edouardparis
9cd36a76d0 gui: enable advanced text shaping
enable text shaping and font fallback,
It allows emojis
2024-05-03 14:48:24 +02:00
edouardparis
acea67bc35 Remove transaparency from PickList for tiny-skia 2024-05-03 12:27:12 +02:00
edouardparis
7801d8cb1f Change descriptor view in installer behind scrollable
View is broken because of the long line of text of the
descriptor, current fix is to put it behind a scrollable
until we find a better way to display it to the user.
2024-05-03 12:27:12 +02:00
edouardparis
c39d544566 Use wgpu with tiny-skia fallback
to enable the fallback:
ICED_BACKEND=tiny-skia cargo run
2024-05-03 12:27:12 +02:00
edouardparis
4920291d04 fix ui button and badge width 2024-05-03 12:27:12 +02:00
edouardparis
de37111637 Change text size 2024-05-03 12:27:12 +02:00
edouardparis
fdcc302367 gui: iced-0.12 2024-05-03 12:27:12 +02:00
edouardparis
45c7b850a6 Remove legacy harware_wallets field from gui config
Ledger hmacs, wallet name and fingerprint labels where
moved one year ago in the settings.json file.
Here the commit of the new settings module:
bf1e9e4b80

A second commit in v4 checked that settings.json is present
otherwise it does the migration from the gui configuration file
to the settings file:
3eeba08248

We remove the legacy field from the config field so the wallet module
does not depend on the config module anymore to load hardware wallet
information.
2024-05-02 15:31:51 +02:00
edouard
64a626d7e8 gui: bump iced 0.10 2024-05-02 14:46:31 +02:00
edouardparis
8991210573 Add macos arm64 binary to bitcoind download 2024-05-02 12:21:41 +02:00
edouardparis
c21004badb bump ahash dependency to fix macos build 2024-05-02 12:07:08 +02:00
edouardparis
9aa0b990a3 Add nixGL to gui/shell.nix
Nixos 23.11 comes with libc 2.38, this version of libc may not be compatible
with some drivers. For now the hack found is to user a community wrapper that
detects the requirements and do the link (https://github.com/guibou/nixGL).
usage:
nixGL cargo run
2024-04-23 14:28:43 +02:00
edouardparis
687e6d1860
Merge #1021: bump clippy rust toolchain to 1.76.0 for gui + fix new clippy warnings
70058e6af056721abff7a5bbdc6e97427b32dc18 bump rust toolchain to 1.76.0 for gui + fix new clippy warnings introduced by 1.76.0 (pythcoiner)

Pull request description:

  bump rust toolchain to 1.76.0 for gui + fix new clippy warnings introduced by 1.76.0

ACKs for top commit:
  edouardparis:
    ACK 70058e6af056721abff7a5bbdc6e97427b32dc18

Tree-SHA512: f640606496e5b5de51618dad115de06023502e2b6980413a4e67f1041147a9347188a3042f1f382a3cc72c3a1e2edecd563012ab4dc10c5a4b616b40631dd26f
2024-04-22 15:18:38 +02:00