775 Commits

Author SHA1 Message Date
edouard
3eb81980ef gui: new dark theme 2023-04-18 13:48:24 +02:00
edouard
2e75d4b602 ui: introduce dark theme colors 2023-04-13 13:15:31 +02:00
edouard
ff38b58ede
Merge #438: gui: add font and text helpers to design system
b8d8306e74092b19a12b24c81620de5a6a6983a8 gui: add default font and text size (edouard)
34b475a7c8b3f34a2874677c730d090a6592cdaa ui: use text size helpers in components (edouard)
84fb6819ef24e5f7294f9f3e562fd1c5265a0ec7 ui: change text size with 1.2 ratio (edouard)
5bd88863f34c0b246527532b4cb020a538734d2e ui: add heading and body text helpers (edouard)
920e8bc3300beb0b89c9d93b9701e7eee8e79288 gui: change font for IBM Plex Sans (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK b8d8306e74092b19a12b24c81620de5a6a6983a8

Tree-SHA512: 2e48cede823864d1872d74c8f294fc0fcff254572e0e1d728ddcd67d9a7f879aa21fed6fe9e8cc0725d099c61d19364ad63979c4fb26bc4b4aa2e15eb0c62976
2023-04-13 10:52:29 +02:00
edouard
b8d8306e74 gui: add default font and text size 2023-04-13 10:28:13 +02:00
edouard
34b475a7c8 ui: use text size helpers in components 2023-04-13 10:28:13 +02:00
edouard
84fb6819ef ui: change text size with 1.2 ratio 2023-04-13 10:28:13 +02:00
edouard
5bd88863f3 ui: add heading and body text helpers 2023-04-13 10:28:13 +02:00
edouard
920e8bc330 gui: change font for IBM Plex Sans 2023-04-13 10:28:13 +02:00
edouard
f0e5960688
Merge #410: gui: add button to get next receive address
e892a7a39f03642aec5cac6fe80a93c19eb03a41 gui: add button to get next receive address (jp1ac4)

Pull request description:

  This aims to resolve #114.

  I've added a "Next" button to the Receive screen, which gets a new address. I'm not sure if I've done this the right way and will be happy to make any changes as required.

  I compared several addresses against those returned by `bdk-cli` and they matched.

  Thank you.

ACKs for top commit:
  edouardparis:
    ACK e892a7a39f03642aec5cac6fe80a93c19eb03a41

Tree-SHA512: ad84d5cc41822c8100668fb2e4aa78eb0fbd4c97263b2e980dda17326240b5a730442537c36511214c5294f64398fabc5554e100bda264849b058f5ffee1f81e
2023-04-13 10:07:58 +02:00
jp1ac4
e892a7a39f
gui: add button to get next receive address 2023-04-13 08:19:20 +01:00
Antoine Poinsot
2bffc6efe2
Merge #435: Add Xcode_12.2.xip to .gitignore
ca3e9f21e167eddecea6f6c031a568366a4f3634 Add Xcode_12.2.xip to .gitignore (edouard)

Pull request description:

  It simplifies a little bit my life when doing `VERSION=0.4 ./contrib/release/release.sh`

ACKs for top commit:
  darosior:
    utACK ca3e9f21e167eddecea6f6c031a568366a4f3634

Tree-SHA512: bb3753a87165d225d81d71f1189556c2e12db48ddf46ae556ce3cd820fb747176d67978580aa249fed398b6eb15e72c280583b23a2fddaf6744ee71bb1dc7cae
2023-04-13 08:49:04 +02:00
edouard
4064e92200
Merge #422: gui: display if signer signed in modal
1a6221bbf022b934c2ac89bcea536478c47cbcbb gui: display if signer signed in modal (edouard)

Pull request description:

  close #349

ACKs for top commit:
  edouardparis:
    Self-ACK 1a6221bbf022b934c2ac89bcea536478c47cbcbb

Tree-SHA512: ed7220374dd6c022daf39ac2f0137fce3c81a3b4bd99e9250a61438b42fbeaaff24e4cdbf604004a06b58c57ed1f3e9f28f7475f0c4d487856e14975e2472449
2023-04-12 16:23:59 +02:00
edouard
b1fbecdfd9
Merge #444: gui: reduce granularity of slider
dd84e76c82b0426daa21ebf913d9dccef65e8079 gui: reduce granularity of slider (jp1ac4)

Pull request description:

  This is to resolve #420.

  I've added a step of 144 to the slider.

ACKs for top commit:
  edouardparis:
    ACK dd84e76c82b0426daa21ebf913d9dccef65e8079

Tree-SHA512: 158a34371f6a64a7de5ec6ffdd9ae385cfbf1e85c4fc6cb353d5a70f4a64d6a83b24eb4b30e440539a698d86f7d9153afaef51af5f6726a5eedeff93ddc6a195
2023-04-12 15:43:45 +02:00
jp1ac4
dd84e76c82
gui: reduce granularity of slider 2023-04-12 12:10:52 +01:00
edouard
0b5c92e007
Merge #432: Add scrollable to descriptor in wallet settings
1a251008efa72908fc5a7ffe008e23fe7a47ac39 Add scrollable to descriptor in wallet settings (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 1a251008efa72908fc5a7ffe008e23fe7a47ac39

Tree-SHA512: bf5edb63f49377b17521c223a1aefa4fbd46c0de7f61b25b9168fc69268e99c8c73d8e4117e823deb0519de3491d71763e2fa3c550d33d2629277affccc805e2
2023-04-12 10:03:27 +02:00
edouard
0aa5a39475
Merge #434: gui: fix wrong jsonrpc delspendtx request
499f792685bddee651002953f736924d679c7fc6 gui: fix wrong jsonrpc delspendtx request (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 499f792685bddee651002953f736924d679c7fc6

Tree-SHA512: 1701ec698ea76c226fcca4e39836d1eec6a26216920511ecd933e68d9547649ad7ec7956628d6fe3baa78d7d611999a81c5c669e790941b0e8de00f7ddfc96cf
2023-04-11 18:32:00 +02:00
edouard
ca3e9f21e1 Add Xcode_12.2.xip to .gitignore 2023-04-11 16:50:39 +02:00
edouard
499f792685 gui: fix wrong jsonrpc delspendtx request 2023-04-11 14:55:10 +02:00
edouard
1a251008ef Add scrollable to descriptor in wallet settings 2023-04-11 10:16:55 +02:00
Antoine Poinsot
46efdd3664
Merge #424: gui: bump to 0.4
fe52fbaa49096d1b1beffee09d56f5cc8272a585 gui: bump to 0.4 (Antoine Poinsot)

Pull request description:

  This bumps the GUI to 0.4, using the 0.4 branch from lianad.

ACKs for top commit:
  darosior:
    self-ACK fe52fbaa49096d1b1beffee09d56f5cc8272a585

Tree-SHA512: 9f3ab6e45587ebc5e9f70f67bb30265a34d712bb04e71270cafa271c00bdba54c65bca7bcd0f7af008627e9d9b6e14b1621351280e72e9d4928ce8801e14c603
2023-04-10 13:39:51 +02:00
Antoine Poinsot
fe52fbaa49
gui: bump to 0.4 2023-04-10 13:29:26 +02:00
Antoine Poinsot
81b81b2f78
Merge #423: Bump lianad to 0.4
929f0f98007cd4c5a4c771b48b92902c034fd3fd README: adapt to 0.4 (Antoine Poinsot)
baf68e8224f756068346c4ff1e4bab5c1411c866 lianad: bump version (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 929f0f98007cd4c5a4c771b48b92902c034fd3fd

Tree-SHA512: 717233875be48960c3b2db5fa43c7a787942b55af589426230e9bc331eeadf3ede3fcd5c807ebd2e1fdb7f6c51eed2af75fb7244590979cd11f6dbc41f209f2a
2023-04-10 11:37:39 +02:00
Antoine Poinsot
929f0f9800
README: adapt to 0.4 2023-04-10 11:23:55 +02:00
Antoine Poinsot
baf68e8224
lianad: bump version 2023-04-10 11:23:55 +02:00
Antoine Poinsot
e8a0d39cd6
Merge #404: Release notes for 0.3.1 and 0.4
df5c4ee85d2f138f180842df6aa09d73c663d51d doc: remove mentions of experimental Ledger apps (Antoine Poinsot)
c3d7039d910f5ea24115cf57bab827436421abe3 CHANGELOG: 0.4 release notes (Antoine Poinsot)
b6f13932d19286716d76b4aa52726484183f19dc CHANGELOG: 0.3.1 release notes (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK df5c4ee85d2f138f180842df6aa09d73c663d51d

Tree-SHA512: 4d0a91ba7af42ed48e2217f10ef11299bb4cb49977c44d80ff0c838596e0c1b8150ff14ef062dd00cabeecba06108c0bb264446ed70ad221b8cf2bf5c6058528
2023-04-10 11:18:23 +02:00
Antoine Poinsot
df5c4ee85d
doc: remove mentions of experimental Ledger apps
It's not needed anymore
2023-04-10 11:17:20 +02:00
edouard
1a6221bbf0 gui: display if signer signed in modal
close #349
2023-04-07 17:21:38 +02:00
edouard
e55432d2d6
Merge #421: Add alias to hotsigner component
997829bdfe30a950ca40412fc1d273c2f1ca7e43 fix unregistered hardware wallet view (edouard)
53d32085147fe6f8c0094c26008314eddfcc3bd0 Add alias to hot signer (edouard)

Pull request description:

  When a hot signer is suggested to user and an alias was entered then the alias must be displayed with the "This computer" label as signer kind.

ACKs for top commit:
  edouardparis:
    Self-ACK 997829bdfe30a950ca40412fc1d273c2f1ca7e43

Tree-SHA512: 68cd8f6ca8bdbd439f6392fddf4f34f1d8a1a8b312003f219e20519dabff43b95af496051eef857fed132f80b3b49ee5cd3034361f0af7fdfe9ef666b2c16c2e
2023-04-07 16:52:06 +02:00
edouard
997829bdfe fix unregistered hardware wallet view
close #417
2023-04-07 14:33:30 +02:00
edouard
53d3208514 Add alias to hot signer 2023-04-07 14:33:30 +02:00
Antoine Poinsot
e11b68f427
Merge #419: gui: fix a misleading tooltip on hw connection error
3314b7e597a11b5c6fa653ec9c18058aff64adde gui: fix a misleading tooltip on hw connection error (Antoine Poinsot)

Pull request description:

  The error may not be due to an unsupported version. For instance the device may just be locked. In these cases telling the user to update their device is very misleading.

  Fixes #418.

ACKs for top commit:
  edouardparis:
    ACK 3314b7e597a11b5c6fa653ec9c18058aff64adde

Tree-SHA512: fc1627d10e071b0be7d8879455d40dd1969a1d8f4ca850dc5348b921817f103c2fa0c059cfeeddea4a636e7c0de61dd1b2509bdc3470a6a0f3fb200d7fc66e80
2023-04-07 13:46:05 +02:00
Antoine Poinsot
c528338e75
Merge #416: gui creates datadir for fresh install
9dccc273bfe1e9513881b2cfa95a9e0caa3882eb gui creates datadir for fresh install (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 9dccc273bfe1e9513881b2cfa95a9e0caa3882eb -- tested with a relative datadir (`--datadir ./test`) and everything worked smoothly.

Tree-SHA512: 19ce785b95d53ba12f83780eb5a9f9fdc5bc00b27385e8859ece029669ae954083234561c607b7a29acc5ab2a9e62f715904144ab618bae4653bf1eba562c8d2
2023-04-07 13:45:09 +02:00
Antoine Poinsot
3314b7e597
gui: fix a misleading tooltip on hw connection error
The error may not be due to an unsupported version. For instance the
device may just be locked. In these cases telling the user to update
their device is very misleading.

Fixes #418.
2023-04-07 13:09:08 +02:00
edouard
9dccc273bf gui creates datadir for fresh install 2023-04-07 12:53:28 +02:00
Antoine Poinsot
c3d7039d91
CHANGELOG: 0.4 release notes 2023-04-07 11:41:34 +02:00
edouard
fb6433439c
Merge #415: fix gui jsonrpc client: wrong createspend args
54fd0d8f50836d5d414dc43de88cfd86d3a210de fix gui jsonrpc client: wrong createspend args (edouard)

Pull request description:

  Wrong order.
  We should find a way to test the jsonrpc client agains the liana rpc api.

ACKs for top commit:
  edouardparis:
    Self-ACK 54fd0d8f50836d5d414dc43de88cfd86d3a210de

Tree-SHA512: 47da8c14b071121ab605ecf81265df77b4110dad3224f93c7af5053ca173a9dfb3ff4f289ae8ac8ce879b87155433739acb53b7d9377071c3a0df0fbbe0adafa
2023-04-06 16:26:32 +02:00
edouard
54fd0d8f50 fix gui jsonrpc client: wrong createspend args 2023-04-06 16:09:56 +02:00
edouard
0420e41c2e
Merge #413: Check for same sequence in recovery paths
9c30c0dff2dab6251a8c462f7a38c884318942c9 Check for same sequence recovery paths (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 9c30c0dff2dab6251a8c462f7a38c884318942c9

Tree-SHA512: 65fae3f119c0873ee523aa7974b1d221b682c264559ccb7267c53913a33461d12f4c60346f3cbaa6ea5e356f64b18a2471ad8461a2a3e369a65d0029366e0713
2023-04-06 14:19:02 +02:00
Antoine Poinsot
aa415570b8
Merge #393: Backward compat functional test
6cc4efd303bb5e5cc5a1d50a4925428429f93ab9 ci: run the backward compat functional test (Antoine Poinsot)
96ff447fc98d50f72142abe1f1619bade768c8ec tests: add a datadir migration functional test (Antoine Poinsot)

Pull request description:

  Based off #392.

  This introduces a backward-compatibility functional test. For now it really is targeted at testing the DB migration from 0.3 to the upcoming 0.4, but the concept is also useful more generally to automatically test backward compatibility between our releases.

ACKs for top commit:
  darosior:
    self-ACK 6cc4efd

Tree-SHA512: cb52a5de2de73d1e5b0bce51bbc7f586b63e1b67fdd95026be09134ab764d047ab33f0965f28700a2fef13108e9637937860edac03c49a7392f0cd71c3d03657
2023-04-06 14:02:17 +02:00
Antoine Poinsot
6cc4efd303
ci: run the backward compat functional test 2023-04-06 13:41:57 +02:00
edouard
9c30c0dff2 Check for same sequence recovery paths 2023-04-06 13:40:33 +02:00
edouard
468e794875
Merge #412: bump async-hwi 0.05
9250f7d735649bed70f2099cc08a4c95bf0cd7db bump async-hwi 0.05 (edouard)

Pull request description:

  fix the unsupported ledger version `2.1.2-rc`

ACKs for top commit:
  edouardparis:
    Self-ACK 9250f7d735649bed70f2099cc08a4c95bf0cd7db

Tree-SHA512: b7897ef947535f422c0f9722c6dc562b8d1ee072a1fe2fbf307cf1e1cc84d42d0ba7c627354734b452e918a4de5187722b8c6edbfb508a261cdbeb2095e24a13
2023-04-06 12:17:28 +02:00
Antoine Poinsot
80c01510f4
Merge #411: tests: fix a race in the reorg exclusion test
e8186eeaa967a169d94c2d851d5ec7ab371f3074 tests: fix a race in the reorg exclusion test (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK e8186eeaa967a169d94c2d851d5ec7ab371f3074

Tree-SHA512: a18c88b488d0882a949ff49113cdf3549474448a12a764729b1308589302b36e630f74540bcf2f3733ee30cd9dbc05b833f387eb2ff32dd21907e2c71d814d8c
2023-04-06 11:50:28 +02:00
edouard
9250f7d735 bump async-hwi 0.05 2023-04-06 11:34:07 +02:00
Antoine Poinsot
e8186eeaa9
tests: fix a race in the reorg exclusion test 2023-04-05 19:17:06 +02:00
edouard
9fc9bd6958
Merge #409: Gui order spend transactions
75527ab145d0189dc6efad809c6b28a75e85eb28 gui: fix list spend transactions ordering (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 75527ab145d0189dc6efad809c6b28a75e85eb28

Tree-SHA512: 2b711d527eab41c5776a1050014742a356fe32fed099e254701a825721632e067f9980f03f600cf2c31699532aee337da3da41fe2efe64ed889d7d06a1b3951b
2023-04-05 18:05:38 +02:00
edouard
75527ab145 gui: fix list spend transactions ordering
Spend transactions are first ordered by status
in the following order: pending, broadcast, spent,
deprecated, then by `updated_at` field with last
updated tx first.

close #281
2023-04-05 17:36:46 +02:00
Antoine Poinsot
96ff447fc9
tests: add a datadir migration functional test
This is currently to test database migrations at the functional level, but
is also more generally useful to test backward compatibility.
2023-04-05 17:30:01 +02:00
Antoine Poinsot
76deaab988
Merge #392: Store in DB the time a Spend transaction draft was last updated
f262ca2d1ca864e37704ab2a35d9426f85a31c6c tests: reduce the number of workers for the executor (Antoine Poinsot)
104c6e1a093238045cad0c149f61f424ac0a9dc7 commands: add an 'updated_at' field to listspendtxs entries (Antoine Poinsot)
6b666e75c0fc306dc58574a48346af0bc958a153 db: unit test the migration from v0 to v1 (Antoine Poinsot)
29ae0a4a5e5e17ae0ca4951ed3b4e7043803c683 db: add a new 'updated_at' column to Spend transactions (Antoine Poinsot)

Pull request description:

  This is an alternative to #390.

  We add a new column in the `spend_transactions` SQLite table, and as such introduce a straightforward migration system. This field is in turn always set in `updatespendtx` when we store the new PSBT, and listed in `listspendtxs` entries. It is useful for instance to sort spend transactions on the GUI (#281).

ACKs for top commit:
  darosior:
    ACK f262ca2d1ca864e37704ab2a35d9426f85a31c6c -- i've tested it both manually and with #393, and Edouard too with the GUI

Tree-SHA512: 44d3309fcc83069125ab74a20a6eb2c7c662df30fe0da4b90e5f74ca57f26e76c604453bf040f1bf2718e123350d3c42b946755c1650a84ee1beb69913bff856
2023-04-05 17:29:37 +02:00
edouard
cbff93e25f
Merge #408: Gui fix minor style
291895e5ff7a64541bfe5a09ad3d57f1ce7c53f6 fix progress bar background (edouard)
85f6849242ae3fc6f869c3407ec6d68ad277264c fix spend step foreground color (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 291895e5ff7a64541bfe5a09ad3d57f1ce7c53f6

Tree-SHA512: b51bf64a670cc00fdaa950929823cf52346f8d6cb866d5651df36d3ed77de198414f052860cfc21982cdc34945dc576101df4789cb1ba5a3fa747fa701a5d5dc
2023-04-05 13:21:45 +02:00