Commit Graph

545 Commits

Author SHA1 Message Date
tomFlowee 66c8dbbd4c Fixes 2022.05.0 2022-05-03 21:33:35 +02:00
tomFlowee 03b8174d9f Prepare for release, set version 2022-05-03 19:49:26 +02:00
tomFlowee 3aeb074b8f Import translations from the community 2022-05-03 19:47:24 +02:00
tomFlowee 67bb23dd5a Make link on older systems. 2022-05-03 18:48:18 +02:00
tomFlowee c71066a168 Avoid opening multiple notifications due to async 2022-05-01 19:41:41 +02:00
tomFlowee 4a07261c31 Also count number of transactions. 2022-05-01 17:36:11 +02:00
tomFlowee b49bef36bf Avoid annoying notification 2022-05-01 17:36:00 +02:00
tomFlowee 3cb6e2e0f1 Remove manual testing setup. 2022-04-30 21:06:49 +02:00
tomFlowee 9cfe41c9bb Persist muting of block notifications. 2022-04-30 21:06:49 +02:00
tomFlowee 70d042fd05 Make notifications be in local currency.
This uses the current exchange rate to show the new transactions value.
2022-04-30 20:14:53 +02:00
tomFlowee 7a75d1b084 Move ownership of PriceDataProvider
it is now created and owned by the app singleton.
2022-04-30 19:44:06 +02:00
tomFlowee f5a386feca Cleanup PriceDataProvider class and API
fixed some typos and similar.
2022-04-30 15:01:45 +02:00
tomFlowee 250863740d Various fixes and basic notifications 2022-04-30 14:52:40 +02:00
tomFlowee cfc5a2c5bf Start adding notification support. 2022-04-29 22:43:46 +02:00
tomFlowee 23d4777053 Make fetching the price more robust
Detect failing better.
2022-04-29 15:18:01 +02:00
tomFlowee a9004af44f Cleanup code quality. 2022-04-15 18:09:02 +02:00
tomFlowee d9f4460de7 Sort generated transaction. 2022-04-15 18:09:02 +02:00
tomFlowee a4a0c902bf Be more lenient with pretty times
Take into account that miners play with block dates, so a block may come
in with a timestamp slightly in the future.
In that case we still want to show 'now' instead of the ISO date.
2022-04-15 18:09:02 +02:00
tomFlowee b7b191211d Fix removing of detail not changing validness
In case an incorrect payment got a detail removed, leaving us with a
fully correct payment we didn't validate it and 'prepare' would not be
made available.
2022-04-15 18:09:02 +02:00
tomFlowee b2ca1f0d31 Improve UTXO selection wrt Fusions
When the wallet contains fused transactions we select UTXOs a bit
different in order to maximize privacy.

Additionally this prefers an UTXO that is closest in value to the paid
amount.
2022-04-15 18:09:02 +02:00
tomFlowee 87cb792407 Make UI show wallet an address belongs to. 2022-04-14 21:06:01 +02:00
tomFlowee f786db4627 Find address info. 2022-04-07 18:16:03 +02:00
tomFlowee f1015a83fb Limit shared priv keys to bloom filter limits 2022-04-07 15:06:07 +02:00
tomFlowee 890f53ce4e Fix regression; show blockheights again. 2022-04-06 20:58:47 +02:00
tomFlowee 0b4cb86d66 Display 'new-tx' indicator on wallet listitem. 2022-04-06 20:52:07 +02:00
tomFlowee 6636b600df Show 'behind' on archived wallets.
This also moves the logic for the pretty strings out of the QML into the
CPP for better reusability.
2022-04-06 18:20:54 +02:00
tomFlowee 0f62fcd2d4 Skip balance counting for archived wallets. 2022-04-06 16:18:17 +02:00
tomFlowee 7069722173 Show a counter on the list of archived wallets. 2022-04-06 16:11:46 +02:00
tomFlowee 7e411ec828 When a wallet is archived, select prio wallet instead. 2022-04-06 16:03:24 +02:00
tomFlowee 608a9f8974 Remove conditional compile.
The lib is mandatory, so keep things simple.
2022-04-06 14:54:33 +02:00
tomFlowee 2aa3bf5ab6 Small bugfixes. 2022-04-06 14:50:05 +02:00
tomFlowee fc2eaa6f5e Don't leave the initial wallet name-less. 2022-04-06 14:45:46 +02:00
tomFlowee 63715be862 Avoid memory-management issues
FloweePay is an appliction singleton and as such a global that is
deleted outside of main().

The FloweePay app owns most of the data, including (implicitly) the
private keys. Private keys are managed with a LockedPoolManager in
order to enable page-locking and avoid them being swapped out.
LockedPoolManager is also a singleton, and so we make sure that it
is created _before_ FloweePay and as a result deleted after FP
releases the memory managed by the LPM.

Singleton interactions are always a bit messy.
2022-04-06 14:34:42 +02:00
tomFlowee f487060f47 Make sure we initialize this var. 2022-04-05 22:29:39 +02:00
tomFlowee 82cb29308b When unarchiving, assign peers.
This also makes the user-option of staying offline a bool on the FloweePay
app-instance, to make sure we honor that through the lifetime.
2022-04-05 21:42:02 +02:00
tomFlowee 565e3a5574 When pasting a payment url, parse out the amount. 2022-04-05 20:16:56 +02:00
tomFlowee 6a4882b820 Rename local var to not shadow global method. 2022-04-05 18:42:55 +02:00
tomFlowee ef83bfa6d0 Pick prettier color. 2022-04-05 18:34:01 +02:00
tomFlowee 82bd43102a Make disabled tabs look disabled too.
We pick a bit darker color for the text and the hover-indicator in order
to make more clear that the tabs are not clickable.
2022-04-05 18:28:06 +02:00
tomFlowee 03875d7f7b Make archived wallets take less space. 2022-04-05 17:52:03 +02:00
tomFlowee 55a334086d Show warning for archived wallets. 2022-04-05 17:39:19 +02:00
tomFlowee b2fd3964e8 Archived accounts have limited functionality
When an archived account is selected we disable access to the
send/receive tabs.
2022-04-05 17:20:52 +02:00
tomFlowee 2835684cf3 Allow a wallet to be 'archived'.
This moves it down to the bottom of the visual screen.
2022-04-05 16:38:21 +02:00
tomFlowee 09c7798045 [minor] fix indent 2022-03-23 00:02:05 +01:00
tomFlowee 7aacb9a0d0 Start the new feature to archive accounts 2022-03-23 00:00:57 +01:00
tomFlowee b77744e527 Update version number. 2022-03-22 23:21:31 +01:00
tomFlowee 70de505e9d Fix bug; show proper type 2022-03-22 23:17:35 +01:00
tomFlowee c9c7af5180 Add support for rendering p2sh addresses.
This makes our tx-details screen also show p2sh addresses.
2022-03-22 23:15:37 +01:00
tomFlowee c4bab66465 Fix typo in var name. 2022-02-19 11:10:11 +01:00
tomFlowee d0463e6b57 Make compile after upstream refactor. 2022-01-24 12:32:07 +01:00