2422 Commits

Author SHA1 Message Date
tomFlowee 2556b44d1d Update english translations 2022.08.0 2022-08-18 22:32:57 +02:00
tomFlowee f96a2530b4 Fix outdated values after decryption
Various values that we used to think of as "CONSTANT" no longer are due
to them simply not being available on a fully encrypted wallet.

This fixes the display of the various items on a change of wallet
encrytion status.
2022-08-18 22:25:26 +02:00
tomFlowee 3b5fb607e8 Make hiding the single wallet more consistent 2022-08-18 22:18:39 +02:00
tomFlowee cd20daf854 Hide actions when not on main view.
Things like 'decrypt' require us to be on the main view, so simply not
show this as it would not have any effect.
2022-08-18 21:52:51 +02:00
tomFlowee f97798cec3 On encryption dialog complete, go to overview tab. 2022-08-18 21:47:06 +02:00
tomFlowee 99eed340b2 Move button to be part of the layout. 2022-08-18 19:48:06 +02:00
tomFlowee 62b2d9bde1 Loosen keyboard focus for the CheckBox 2022-08-18 19:12:40 +02:00
tomFlowee 37ae9e2a03 Make single-wallet setup have encryption too
Now we provide the hamburger-menu style config option specially
for a single-wallet setup (the default when we start).
This makes available the 'encrypt' option and the 'details' option.
2022-08-18 19:08:08 +02:00
tomFlowee 1d22da834c Make spacing part of total-balance 2022-08-18 18:31:40 +02:00
tomFlowee b8ca411c9f Make CheckBox highlight consistent 2022-08-18 18:21:26 +02:00
tomFlowee 08b9088dc6 import some translations done on crowdin 2022-08-18 18:02:07 +02:00
tomFlowee c9c52ef886 Update to more common derivation path
Newly created wallets and the default path for imported wallets now use
m/44'/0'/0'
2022-08-18 16:58:48 +02:00
tomFlowee 9aa9945a70 Start new version 2022-08-18 11:26:48 +02:00
tomFlowee 08456dbcf9 Use setter to ensure it saves the name later. 2022-08-18 08:12:03 +02:00
tomFlowee 9f12a0a779 Only show owned wallets in the archived section. 2022-08-17 23:42:45 +02:00
tomFlowee 11952ee75b Auto-archive the initial wallet after a while.
In some cases the initially created wallet is left running and taking a
peer (in order to check if anything ever got deposited at the QR-code
shown address).
This now sunsets those wallets after 2100 blocks (over 2 weeks).
2022-08-17 23:42:19 +02:00
tomFlowee 3d9baf6410 Fix sending too much data
Make the re-sending of the filter happen once instead of inside the loop.
2022-08-17 19:56:45 +02:00
tomFlowee 68ae73973e Cleanup includes 2022-08-17 19:55:29 +02:00
tomFlowee 0f9ef1f158 Fix possible threading issue
This calls the safe method instead of the 'assumed to be on the same
thread as me' method.
2022-08-17 19:54:48 +02:00
tomFlowee b74bd2b7c1 This shows the xpub of a wallet in the details screen
Add xpub getters and property + show in details
2022-08-17 18:45:37 +02:00
tomFlowee ec0d10b28f Separate notification-string for sent tx 2022-08-17 16:54:50 +02:00
tomFlowee 94140b4a35 Fix a refactor 2022-08-16 00:30:42 +02:00
tomFlowee 1129e12dad Remove schnorr bool app-wide.
If its configurable, it should be per wallet. Not the whole app.
2022-08-15 23:59:12 +02:00
tomFlowee 55599c4708 Add 'new block notification' show/mute setting
Also clean up the settings menu a little and provide a new QML widget:
CheckBoxLabel
2022-08-15 21:16:33 +02:00
tomFlowee 8b81702cb1 remove extra char 2022-08-15 15:10:28 +02:00
tomFlowee ac9717491a Fix API naming
Rename a pure-bitcoin-cash based method naming to no longer
have the word 'price' in it since that is associated with conversion
to another money or currency.
2022-08-14 16:46:23 +02:00
tomFlowee 7f595a5ba4 Avoid lots of qml warnings in testnet4 2022-08-14 00:06:37 +02:00
tomFlowee 665347b9f8 Move balance section out of flickable. 2022-08-14 00:05:40 +02:00
tomFlowee 1dba6a114e Useragent for web requests is useful to have. 2022-08-13 23:22:49 +02:00
tomFlowee b6977642b6 Add an initial populate for the price history. 2022-08-12 23:47:12 +02:00
tomFlowee abe57bd142 Better 'mock' price.
When the user passes in '--offline' we now prefer to show the last known
price of Bitcoin Cash.
2022-08-12 23:47:12 +02:00
tomFlowee f27667c172 Integrate historical price module
For mined transactions we now use the historical fiat price of BCH
instead of the current.

This will give us a much more stable and historically accurate view of
our transactions.

Fixes: #7
2022-08-12 23:46:18 +02:00
tomFlowee cbef771107 Various fixes 2022-08-12 19:41:46 +02:00
tomFlowee 58dd0a5f60 Add bool to disable processLog 2022-08-12 16:01:59 +02:00
tomFlowee bbef1aab6c Implement TODOs and average over a day.
This replaces the simple version with a proper averaging implementation
that takes all the price measurements and returns a single value per
day which is the average of all the measured ones.
2022-08-12 15:41:57 +02:00
tomFlowee 5eda36008d Add some more functionality to the price history 2022-08-11 13:48:59 +02:00
tomFlowee b81910226d Start new class 2022-08-02 21:49:30 +02:00
tomFlowee 0245577674 Fix a corneracse UX issue
When you open a pin-to-pay wallet AND within the timeout (200s) convert
it into a pin-to-open wallet AND you open it again, you might get
surprised to see it close automatically after some timeout.

Well, got to love testers to find this well hidden critter.
2022-07-22 11:46:26 +02:00
tomFlowee 07f35fbba4 Make the links a section of their own 2022-07-21 18:24:14 +02:00
tomFlowee bb45a9cf09 Avoid ret-dot on closed wallet appearing. 2022.07.0 2022-07-21 16:37:18 +02:00
tomFlowee 004787cada Various fixes after user-testing session. 2022-07-21 16:09:08 +02:00
tomFlowee fff90de695 Fixlets and simplification in unit unit test
This reflects that we no longer have a 3-state but that a wallet is
either open or closed.
2022-07-21 14:21:31 +02:00
tomFlowee 3608940ad8 Small changes to he readme 2022-07-21 13:37:41 +02:00
tomFlowee e1cb6d3c40 Make connection between payment request & wallet more robust
As they have a pointer to each other we have to be a bit smart about how
removing works and how deletion works. Because otherwise we'll end up
with calling a deleted object.
2022-07-21 13:10:44 +02:00
tomFlowee 1971b57264 Fix error showing up and make sure we echo bullets here 2022-07-21 11:48:03 +02:00
tomFlowee c050569672 Make decrypt entry have initial focus. 2022-07-21 11:40:33 +02:00
tomFlowee 91dbd1cb2d Add 'open' context menu on account list item
To get us to a password-entry dialog.
2022-07-21 11:38:52 +02:00
tomFlowee 9c451ba242 Allow setting even a saved request to have no parent. 2022-07-20 20:32:57 +02:00
tomFlowee c1f386b311 Fix the showing of the transactions.
This finally fixes the odd case where a default wallet that is fully
encrypted did not show any transactions directly after the user typed
the password.
Turns out this is some weird cornercase in Qt/QML and removing some
code fixes this.
The downside; we now show a qml warning on startup. 🤷
2022-07-20 20:32:57 +02:00
tomFlowee 489e2e1464 Make payment request act on wallets opening/closing 2022-07-20 18:38:56 +02:00