2525 Commits

Author SHA1 Message Date
edouardparis
91ed79cb55 make remove_tab safer 2025-07-04 16:45:14 +02:00
edouardparis
5587b5cb8d simplify logger_setup 2025-07-04 16:45:14 +02:00
edouardparis
fd858d2b4a Close tabs of deleted wallet 2025-07-04 16:45:14 +02:00
edouardparis
8dce52e22d Make sidebar responsive 2025-07-04 16:45:14 +02:00
edouardparis
2866b8ea18 Add grid with split button 2025-07-04 16:45:14 +02:00
edouardparis
9f1de060eb Add pane tabs
User can add and remove wallet with tabs
2025-07-04 16:45:13 +02:00
edouardparis
e771a42f45 Change log destination for a file in the liana directory
For simplicity in case of multiple wallets running,
all the logs are stored in an unique file
in the liana directory
2025-07-04 16:44:16 +02:00
edouardparis
cdc2b56a3b Detach tab from the gui general scope 2025-07-04 16:44:16 +02:00
edouardparis
ce38ea1881 Migrate gui to its own module 2025-07-04 16:44:16 +02:00
edouardparis
c9cc6514cf
Merge #1760: Improve timelock duration selection and display
749be2ec9eac16f2596a7bdf57f5ecbb82ab5465 refacto: sequence duration formatting (Thomas Ballivet)
7251c098adfbdbd2cad4e16af10a3ae0ac4da761 feat: add monthly granularity to timelock slider (Thomas Ballivet)

Pull request description:

  The first commit adds monthly steps to the timelock selection slider and adapts time estimation precision.
  The second is a tiny GUI improvement.

  Here few examples :

  ![Capture d’écran du 2025-06-29 19-22-16](https://github.com/user-attachments/assets/3d037390-f22e-4213-8210-c9daa3c882a8)
  ![Capture d’écran du 2025-06-29 19-22-12](https://github.com/user-attachments/assets/ceaff667-8066-4ef6-8ade-51a0828fbb44)
  ![Capture d’écran du 2025-06-29 19-22-01](https://github.com/user-attachments/assets/aa9fd978-08c9-4cd7-99cd-532b648f1add)
  ![Capture d’écran du 2025-06-29 19-21-56](https://github.com/user-attachments/assets/cffa46a2-d320-4b69-91e1-7afd14ffdb54)
  ![Capture d’écran du 2025-06-29 19-21-34](https://github.com/user-attachments/assets/1abe5639-04ab-4ac8-aa3c-5e581071dd7f)

ACKs for top commit:
  jp1ac4:
    tACK 749be2ec9eac16f2596a7bdf57f5ecbb82ab5465. Thanks!

Tree-SHA512: 21ddb173a84fe10323cb0841c346184acb5a7805799f2c2bbc0d538e194d42a017c15f203534b7eb651a00138a615557643818f37c842efb2324c168b796f49f
2025-07-04 11:25:25 +02:00
edouardparis
c466feb195
Merge #1761: Add tiny-skia feature to iced dep
0fb1f3c1edb1a93b8e491d769497a618d9c06511 Add tiny-skia feature to iced dep (edouardparis)

Pull request description:

  tiny-skia is an other renderer that does not
  rely on wgpu. Iced uses it as a fallback in case
  of wgpu problems.

  The feature can be tested with:
  `ICED_BACKEND=tiny-skia cargo run --release --bin liana-gui`

  close #1676

ACKs for top commit:
  jp1ac4:
    tACK 0fb1f3c1edb1a93b8e491d769497a618d9c06511.

Tree-SHA512: 681a11e334759f4ef28ca95f08bfee2e898ad3be1af5d4fc6a78f6a499bb1b7e3b7d5e747b3207f758770437d2c83a8f8f1a6ef536a08c37ddc1b73618c963f4
2025-07-04 09:40:23 +02:00
Thomas Ballivet
749be2ec9e refacto: sequence duration formatting 2025-07-02 15:42:43 +02:00
Thomas Ballivet
7251c098ad feat: add monthly granularity to timelock slider 2025-07-02 15:33:24 +02:00
edouardparis
0fb1f3c1ed Add tiny-skia feature to iced dep
tiny-skia is an other renderer that does not
rely on wgpu. Iced uses it as a fallback in case
of wgpu problems.

The feature can be tested with:
`ICED_BACKEND=tiny-skia cargo run --release --bin liana-gui`

close #1676
2025-06-30 16:25:27 +02:00
edouardparis
b9c2ac93b5
Merge #1737: Update mod.rs
c1a882a7c7bb79c608e454234e9784e2462d5f9e Update mod.rs (deerwhisper2310)

Pull request description:

  add period

ACKs for top commit:
  edouardparis:
    ACK c1a882a7c7bb79c608e454234e9784e2462d5f9e

Tree-SHA512: 2edea077af0809fc9867ec7aa0a381e44534b99539bd5b33d614cbae821edbc407e9a80ba6ac771ad830d432f9fddac92c3f3eb11d93ab96c8891ff7add733b6
2025-06-25 15:39:57 +02:00
edouardparis
eff5894da6
Merge #1756: Add an option for add a descriptor from file/backup for liana-connect
31798b7e4317125e671e2d52e28e9ddc16815bf0 export: allow to import a backup from a simple descriptor (pythcoiner)
54c83615b070a982ec99f3c58278ecabba8a264e export: add test cases for import_descriptor() (pythcoiner)
d66b596cf930597254b1e48426c9488fd77d210d import: allow to import a descriptor from a backup in export::import_descriptor() (pythcoiner)
53839e92744b24e1365c3b57108b350c729b17b5 gui: add a spacer below the main column at Add wallet step in liana-connect flow (pythcoiner)
4bb4269975e0469205c96751bcbf24311177d53d gui: add import descriptor from file feature in liana-connect flow (pythcoiner)

Pull request description:

  This PR closes #1751:
   - add the option to import a descriptor from a file.
   - add a spacer at the bottom of the screen.
   - add the possibility to import also a descriptor from a backup file.

ACKs for top commit:
  edouardparis:
    ACK 31798b7e4317125e671e2d52e28e9ddc16815bf0

Tree-SHA512: 7e5ae0f3bbc4af1d779e1cd97e9cadceabe62317f857c895d9f5de49ed84f81c1da1df8df4d935ff0b1c2a040e1fa03f598bbdc6d64e82b225089c884c774743
2025-06-25 15:38:42 +02:00
pythcoiner
31798b7e43
export: allow to import a backup from a simple descriptor 2025-06-25 02:02:12 +02:00
edouardparis
4b6811bae0
Merge #1758: Add minimal nix development shell option
b7ca309af740b41e543cc4c2b1b7a3395a876c13 Add minimal nix development shell option (Edouard Paris)

Pull request description:

  ## Summary
  - Add minimal nix development shell option that provides only essential development dependencies
  - Enables faster development environment setup for contributors who prefer minimal tooling

  🤖 Generated with [Claude Code](https://claude.ai/code)

ACKs for top commit:
  edouardparis:
    ACK b7ca309af740b41e543cc4c2b1b7a3395a876c13

Tree-SHA512: 15bc6a80c685e5e0e29b8b85317a8f378bdacaf5568f40a3ed18901756a7752b82db3f0a350093713bc0baf51c3dfacd3fb2782fe34ab985745850c7354e13f0
2025-06-24 17:21:39 +02:00
pythcoiner
54c83615b0
export: add test cases for import_descriptor() 2025-06-24 17:21:09 +02:00
Edouard Paris
b7ca309af7 Add minimal nix development shell option
- Refactor flake.nix to use shared commonBuildInputs for all shells
- Add minimalShell without Rust toolchain accessible via `nix develop .#minimal`
- Keep default shell with full Rust development environment
- Maintains backward compatibility while providing minimal shell option

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 02:33:13 -07:00
pythcoiner
d66b596cf9
import: allow to import a descriptor from a backup in export::import_descriptor() 2025-06-23 18:48:07 +02:00
pythcoiner
53839e9274
gui: add a spacer below the main column at Add wallet step in liana-connect flow 2025-06-23 18:48:07 +02:00
pythcoiner
4bb4269975
gui: add import descriptor from file feature in liana-connect flow 2025-06-23 18:47:22 +02:00
edouardparis
e6dcfc4f74
Merge #1748: installer: reuse existing accounts
e5a68c359f7fc7833fded7f802802f91829f401f installer: reuse existing accounts (edouardparis)

Pull request description:

  ![20250616_17h18m34s_grim](https://github.com/user-attachments/assets/04c93b3a-b880-4f07-a099-667e895de9f6)

ACKs for top commit:
  edouardparis:
    Self-ACK e5a68c359f7fc7833fded7f802802f91829f401f

Tree-SHA512: 84551f8d5be6806efbfb1a46b5822029be6341f0b1801a9dbc8ed7677da5083f54cd203b69414cd4a3bec16c25b477a56f452ddd527cf8a7d3c87ca5636c84e2
2025-06-19 14:37:05 +02:00
edouardparis
e5a68c359f installer: reuse existing accounts 2025-06-19 13:24:19 +02:00
edouardparis
ad75d77e94
Merge #1749: refac: remove patch field from Version
fef70879b9507e0429a8a0a5211ba0547b68cc92 refac: remove patch field from Version (edouardparis)

Pull request description:

  The Version struct is used across the software
  to display the release version. A release version
  does not include patch number as we increment
  only the major and the minor during a new release.

  For very small patch that does not change the
  API and does not require a new release, then the crates Cargo.toml version patch number will be incremented.

ACKs for top commit:
  jp1ac4:
    tACK fef70879b9507e0429a8a0a5211ba0547b68cc92.

Tree-SHA512: 1a4e94c156377e810e15ba93267e6eddd0a273de48b18d0722f9e879eceb9b6ce8cb5f1347c075c1c17a47278b5fd6a64b51ad244cf15f390250d267cd8e23c7
2025-06-17 11:14:19 +02:00
edouardparis
fef70879b9 refac: remove patch field from Version
The Version struct is used across the software
to display the release version. A release version
does not include patch number as we increment
only the major and the minor during a new release.

For very small patch that does not change the
API and does not require a new release, then the crates
Cargo.toml version patch number will be incremented.
2025-06-16 18:48:31 +02:00
edouardparis
467556d2b2
Merge #1746: fix checks for whether wallet uses managed bitcoind
f8fcf7100b43e98398254d5c846ec9a8a96a1c74 fix checks for whether wallet uses managed bitcoind (Michael Mallan)

Pull request description:

  This fixes a couple of checks for whether the wallet uses a managed bitcoind.

ACKs for top commit:
  edouardparis:
    ACK f8fcf7100b43e98398254d5c846ec9a8a96a1c74

Tree-SHA512: e15cffc10cbe06b4769c65900befdb903109518059f03d31aac10e6ee91a0a9179d45e27eb22a0216b8b1d9ee073564bfb9839de890d32c148c4b243143f4b71
2025-06-16 10:18:02 +02:00
Michael Mallan
f8fcf7100b
fix checks for whether wallet uses managed bitcoind 2025-06-13 13:35:23 +01:00
edouardparis
04fac45943
Merge #1589: allow to connect to an electrum server w/ a self signed certificate
df1fb7f8f574b7f80f772c0eb4450fc9128e67e5 allow to connect to an electrum server w/ a self signed certificate" (pythcoiner)

Pull request description:

  This PR reintroduce the option to connect to an electrum server that use a self signed certificate

  Note: ssl://testnet.aranguren.org:51002 electrum server can be used to test this PR

ACKs for top commit:
  jp1ac4:
    tACK df1fb7f8f574b7f80f772c0eb4450fc9128e67e5.

Tree-SHA512: 0386ba7d2de37e3d62c8366ffe93df55d6f47e04f71fef241304f3d7f36b64b39bb6e6c573e06983b084003b1d72fa3dbc2a30236658c18b9fd92fab576090ad
2025-06-12 11:20:15 +02:00
edouardparis
173ab23b8c
Merge #1744: fix: use correct path to daemon.toml in settings
7785cbad28c476154499c931aab3ec7cb6d99650 fix: use correct path to daemon.toml in settings (Michael Mallan)

Pull request description:

  This fixes #1743 by using the correct daemon config file path of the current wallet.

ACKs for top commit:
  edouardparis:
    ACK 7785cbad28c476154499c931aab3ec7cb6d99650

Tree-SHA512: 3e0f16d68cb7a67b4ce82295cb32fb230f7cb6ba4889f5c3aeb40f80cc2a0488e4d3bff0ea26a5b397ef0639b1e95c98a7779075dbfdc2cf49a224e8e1a1c51d
2025-06-12 10:38:04 +02:00
Michael Mallan
7785cbad28
fix: use correct path to daemon.toml in settings 2025-06-11 16:05:17 +01:00
pythcoiner
df1fb7f8f5
allow to connect to an electrum server w/ a self signed certificate"
This reverts commit b7b52d73bec0522af6dd08e9018868841b9363ca.
2025-06-11 12:19:23 +02:00
edouardparis
b4e43dbac2
Merge #1734: minor doc improvements for nix/nixos users
3dd14224b9201dfbeca5d77f3aeb2e252c7615ca docs: try liana quickly from source for nix/nixos users (VzxPLnHqr)
2de330e7c1047590092a99cccc9bbaa85a54a603 docs: build notes for nix/nixos users (VzxPLnHqr)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK 3dd14224b9201dfbeca5d77f3aeb2e252c7615ca

Tree-SHA512: 1f5c9d9f318b7facd694616dd1aa15df82ab5499e10424e19c86e69b5fa3028760759c70f0a73eff4aa2afe0eb2c23ebc50288eb845650525e9d1c01ed13f088
2025-06-11 10:29:11 +02:00
edouardparis
019f03dbb7
Merge #1741: bump bdk_electrum to latest commit
dd864905cd0a27a661e7e274c599672093755e34 bump bdk_electrum to latest commit (Michael Mallan)

Pull request description:

  This bumps the bdk_electrum dependency to the latest commit of our "release/1.0.0-alpha.13" branch, which will enable the resolution of #1300.

ACKs for top commit:
  edouardparis:
    ACK dd864905cd0a27a661e7e274c599672093755e34

Tree-SHA512: 4a2fca7cd6084ae4772914c32f746e8d6946701dfd790c0aae62d7062071e6ab23557b240612f7b259ae95c78187098845ebb11c54b4cea1dd89d33eb8caec08
2025-06-10 11:54:09 +02:00
Michael Mallan
dd864905cd
bump bdk_electrum to latest commit 2025-06-09 14:23:25 +01:00
edouardparis
f19917e5cb
Merge #1701: refactor: response has not succeed and add missing checks
efba78844396ae9ccbf520f328783b44b367333e refactor: response has not succeed and add missing checks (Thomas Ballivet)

Pull request description:

  This should resolves #1679

ACKs for top commit:
  jp1ac4:
    tACK efba78844396ae9ccbf520f328783b44b367333e.

Tree-SHA512: 69bc94c8a5528b941e7796b4cf53a7945de8b1bbfc76954f65dce410be059b601e6b31d70790e04dd02dc6dc13a17600a4cc878d64de8deb89ce343bff101ac6
2025-06-09 10:51:36 +02:00
deerwhisper2310
c1a882a7c7
Update mod.rs
add period
2025-05-30 15:21:42 -04:00
VzxPLnHqr
3dd14224b9 docs: try liana quickly from source for nix/nixos users 2025-05-28 20:21:59 +00:00
VzxPLnHqr
2de330e7c1 docs: build notes for nix/nixos users 2025-05-28 20:20:20 +00:00
edouardparis
7d89bc70ff
Merge #1733: flake.nix: devshells include toolchain
52d6e03d75f35118adb919347950592d59dd628b flake.nix: devshells include toolchain (VzxPLnHqr)

Pull request description:

  on x86_64-linux, this was necessary to get cargo into the path so as to be able to execute things like `cargo build ...`.

  When trying to test out the latest release candidate from NixOS (x86_64-linux), running `nix develop` did not drop me into a devshell with cargo available. The fix here may not have been the best way to remedy that, but it did work, and then I was able to test the latest code by:
  1. `nix develop` to get into the devshell
  2. `cargo build --release`
  3. `target/release/liana-gui --datadir ./test_alice`

ACKs for top commit:
  edouardparis:
    ACK 52d6e03d75f35118adb919347950592d59dd628b

Tree-SHA512: 2e2570e230e296d10a3b8be96c580afd91f6b135d0bc6a57c0d587cf7ad159d740769370cf6bcad9a0c551b65af12905d7e08b5fbc21989ac513b379e7e83c4c
2025-05-28 15:05:07 +02:00
VzxPLnHqr
52d6e03d75 flake.nix: devshells include toolchain
on x86_64-linux, this was necessary to get cargo into the path so as to be able to execute things like `cargo build ...`
2025-05-27 19:30:46 +00:00
edouardparis
7d6da7e0ef
Merge #1731: Forgot to update liana-gui::VERSION
9cc20e4d8888fd4e814bfc9517750ebeb4179813 Forgot to update liana-gui::VERSION (edouardparis)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK 9cc20e4d8888fd4e814bfc9517750ebeb4179813

Tree-SHA512: 11fa763ca993f29d29e63ff1d6603c5a503b156fa87f305e7517c1ebba58007ee50f320d5ac96d2286831db94c3f0f5df9a52a778a05f795beea26d02399eae9
2025-05-27 15:48:21 +02:00
edouardparis
9cc20e4d88 Forgot to update liana-gui::VERSION 2025-05-27 15:22:53 +02:00
edouardparis
6aae522ce0
Merge #1729: fix update wallet alias in wallet settings
546ac29587e831abbe79e66d23cac9683467a842 fix update wallet alias in wallet settings (edouardparis)

Pull request description:

  L522 the wallet was populated with its new alias
  and the check L567 was always false.

  wallet_alias is None if we do not have to update it, so better pass the variable directly.

ACKs for top commit:
  edouardparis:
    Self-ACK 546ac29587e831abbe79e66d23cac9683467a842

Tree-SHA512: 971e441eb67cdc20aea7e2631bf74b568ce216e2a4d86a292d5f6d04bcfef37c3180c2df2510a150bc13ef605ab60bea40a8a7e8683f020b01f84aae9dd08098
2025-05-27 13:23:38 +02:00
edouardparis
546ac29587 fix update wallet alias in wallet settings
L522 the wallet was populated with its new alias
and the check L567 was always false.

wallet_alias is None if we do not have to update it,
so better pass the variable directly.
2025-05-27 10:39:21 +02:00
edouardparis
3b20dca815
Merge #1727: Changelog for v11
53df4ed9692a62ddf8f9f0da27e0dbe7706510d7 CHANGELOG for v11 (Michael Mallan)
33a0e147b4f49c6f230c0e8234e4b01dded0d88d revert change to CHANGELOG (Michael Mallan)

Pull request description:

  This adds the CHANGELOG for v11.

  I also reverted an accidental change made recently.

ACKs for top commit:
  edouardparis:
    ACK 53df4ed9692a62ddf8f9f0da27e0dbe7706510d7

Tree-SHA512: 3c7517c3784dd02af31c2a7d8d8d12220638430d1e307b8f0135a3baf16d65b0e9b18f926b15892c4c21a538fda1a028dc866252733e966bd9315b7b44226242
2025-05-26 13:39:01 +02:00
edouardparis
638dc6e9ff
Merge #1726: Prepare v11.0-dev
a9d417bc39fd86e4d7338361d1ef8011a32f3575 Prepare v11.0-dev (edouardparis)

Pull request description:

ACKs for top commit:
  jp1ac4:
    ACK a9d417bc39fd86e4d7338361d1ef8011a32f3575.

Tree-SHA512: ab72ed6c69d523f4259874d4ab0fd3f703ebd0a550fe362bb32d371f728c508dcbbc810526b4037911facbf4ee8c7511e86f6c2e3dcb0afbf509cc40243843ca
2025-05-26 13:38:13 +02:00
Michael Mallan
53df4ed969
CHANGELOG for v11 2025-05-26 11:55:23 +01:00
Michael Mallan
33a0e147b4
revert change to CHANGELOG
This reverts a change from 9411017da5dd775fe358e16c4ad9545343422c44.
2025-05-26 11:55:17 +01:00