Commit Graph

1822 Commits

Author SHA1 Message Date
tomFlowee a9b4f60f0b Follow API change in Flowee Libs 2024-09-07 19:53:27 +02:00
tomFlowee 0ed828c6e3 Simplify 2024-09-07 19:50:30 +02:00
tomFlowee f3c9576688 Add currency rules for Slovakia / Slovenia
THese two countries use the Euro, but unline most Euro
countries they put the currency indicator behind the
numbers.
With Slovenia even avoiding the euro-sign in most places.

This adds the specialization based on the phone set country.
2024-08-31 21:49:31 +02:00
tomFlowee 4550d3f512 Hungarian currency display update 2024-08-28 22:45:47 +02:00
tomFlowee 98906ac3e1 Make history return timestamp with price
this changes the call for historicalPrice() to now take the (int based)
timestamp as a ref and we change that to the actually found timestamp
upon success.
2024-07-05 13:05:40 +02:00
tomFlowee 238a5d3f40 Add indicator for price data being old.
When we start up we use the last known price information and also fetch
new data.
When the user shows the price details popup before the fetch has
completed, they may be mislead into thinking that they are looking at
current data while they are not.
So this shows a bouncy while we are fetching.
2024-07-05 12:40:16 +02:00
tomFlowee d89597d89a Remove unneeded bottom padding.
This is no longer needed after a typo fix in the popup ovelay class.
2024-07-03 23:06:45 +02:00
tomFlowee 58de1827e0 Improve display of tx-details
The popup showing details of a certain list-item had the down-side that
the list item we selected was made darker with the rest of the screen,
making it harder to understand the whole info.
This change repeats the clicked item inside the popup in a way that
makes it immediately clear which transaction we are showing details of.
2024-07-03 23:06:15 +02:00
tomFlowee e671d41a10 Skip fees when unknown
We can't calculate fees when we don't know all inputs. In that case we
simply return negative fees, which the UI then does not show.
2024-07-03 18:03:17 +02:00
tomFlowee 92e7da561e Improve logging for the indexer-service component 2024.07.0 2024-06-30 23:35:12 +02:00
tomFlowee 6950f641f2 Small clarification to docs 2024-06-30 23:33:55 +02:00
tomFlowee 1960bb6260 Improve the import screens a little.
This applies the knowledge learned from mobile to desktop too.
Also set the initially selected import year to 2023 and avoid
long imports for most people.
2024-06-30 23:26:25 +02:00
tomFlowee f31fcbac4d hide options irrelevant for a single-wallet user.
These two features are only relevant when there are multiple wallets
in the users app, so if that isn't the case we simply hide them.
2024-06-30 22:59:17 +02:00
tomFlowee 0c315370dd Fixes in CoinSelector
This (desktop only) component now works properly with:

- Showing the CF-logo for approriate coins.
- Clicking on a locked coin no longer selects it.
2024-06-30 22:50:16 +02:00
tomFlowee 3a6e0470a5 Move processing out of UI thread
Processing can take several seconds on a mobile, so we should do that in
its own thread in order to make the progress icon continue rotating.
2024-06-30 22:27:58 +02:00
tomFlowee a291826f8b New Android version 2024-06-30 17:16:28 +02:00
tomFlowee 845bdbab89 Improve for smaller screens 2024-06-30 16:47:08 +02:00
tomFlowee c6a4b200c7 Update to newer blockheaders
This moves the blockheaders we ship to actually be for 2024 :-)
2024-06-30 15:45:38 +02:00
tomFlowee c7f1fec322 Import translations from crowdin 2024-06-30 12:45:51 +02:00
tomFlowee 8776e5763a Make 'back' button do what we'd expect. 2024-06-29 12:15:30 +02:00
tomFlowee 59949ebe47 Add the ability to restart download
This adds a label showing the download failed and adds a retry button to
start it again.
2024-06-29 12:15:30 +02:00
tomFlowee b073a6ab64 Fix regression, handle the checkbox in all cases. 2024-06-29 12:15:30 +02:00
tomFlowee f34bd4e52a Redo out-of-bounds check
This changes us to no longer use the exception to find out the
time is before the checkpoint, but instead checks directly.
This was needed since upstream changed to no longer throw since that's
still a bad practice in C++
2024-06-29 12:15:30 +02:00
tomFlowee 05732c1998 Set timeouts on network
Make requests fail on no network activity for some time. We should then
allow the user to try again.
2024-06-29 12:15:30 +02:00
tomFlowee 7cab767283 Allow the download to be restarted.
We check the first block to figure out if the download is actually the
same one we are about to start, and if it is then Pay will not re-
download the part that is already on disk.
2024-06-29 12:15:30 +02:00
tomFlowee 19efc6575f Split processing and update UI
We set the UI to change from 'downloading' state to 'processing' state,
and now we give the UI the processor time to actually show this new
state on the screen before we start that processing step.
2024-06-29 12:15:30 +02:00
tomFlowee bfa373dc99 Update basic description of the Blocks module
This also adds an icon.
2024-06-26 23:39:30 +02:00
tomFlowee c371d3b47a Import translations from Crowdin 2024-06-26 22:06:15 +02:00
tomFlowee c9d3e5ade4 Fix replacement headers on Android
seems renaming a file that is mapped is not possible on Android, but
remove is. This code now removes the original static headers after we
get an approval of the downloaded file.
2024-06-26 21:30:03 +02:00
tomFlowee c8023e5e11 Start new version 2024-06-26 19:40:19 +02:00
tomFlowee 1bcabee85e Add a basic info screen to the 'blocks' module. 2024-06-26 17:58:28 +02:00
tomFlowee e2d1251fc3 Move the UI to allow imports only from 2011 2024-06-26 17:55:53 +02:00
tomFlowee 9bbc82686b Add helpful debug message 2024-06-25 23:50:35 +02:00
tomFlowee 74b387e43e install desktop file without x flag 2024-06-25 10:05:36 +02:00
tomFlowee 7ba275fd53 On resolve start-date, show it in the UI
We use the same header-heights lookup table to show the actual month to
the user on resolve.
The resolve is the fetch of first-use of an address or seed, this
returns a blockheight from elecrum servers only and that isn't very
user-friendly. As such this now fills the comboboxes with the proper
month/year for better understanding.
2024-06-24 22:33:53 +02:00
tomFlowee 92be995fdd Hide 'blocks' module from user for now
There isn't yet any user interface they can see, so no point in showing
it to the user in the 'explore' part of the app.
2024-06-23 19:55:11 +02:00
tomFlowee 074c79d042 Change overwrite policy of static headers (Android)
As we start to ship headers based on a checkpoint, the earlier code
to overwrite an existing static-headers file when the new delivable
is larger is no longer useful.
This is because just being larger doesn't mean the checkpoint it
extends will stay the same.

We simply won't overwrite a static headers file anymore.
2024-06-23 19:37:58 +02:00
tomFlowee 40dce2a91b Minor text improvement. 2024-06-23 19:37:58 +02:00
tomFlowee 7ee064dd59 Add assert detecting misuse. 2024-06-23 19:37:58 +02:00
tomFlowee a4d394aca1 Re-order and cleanup the import (seed) page.
This makes the language simpler and makes clear that the password field
is related to the import. Second, the name-field is now moved closer to
the big 'start' button and has a more obvious title.
2024-06-23 19:37:58 +02:00
tomFlowee 7005507041 Help resolve blockheight
This is the import page, it will certainly be possible for a
user to import a wallet that is older than the headers on their
device. In that case using the headers to resolve the height can't
work.
Circular dependency: Need headers to know which headers to download...

So, we hardcode the historical blockheights here for each month that
the user can select.
Notice that the dates are the first of each month, at the UTC-16
time-line.
2024-06-23 19:37:58 +02:00
tomFlowee 47f991a36e Make the DownloadChecker.qml actually functional.
The ImportWalletPage now loads the QML provided by the module,
exposed via the metadata of modules.
The module gets just a blockheight property and then will do
"its thing".
This will either instantly close when there is nothing to do
and continue instantly to the actual import.

Or the module will check the server, initiate download and when
all is setup and done THEN close the popup and continue with
the actual import.
2024-06-23 19:37:58 +02:00
tomFlowee 56f6fcf43c Add QML properties 2024-06-23 19:37:58 +02:00
tomFlowee 6d1cc00eeb Finish the basic functionality of the checker. 2024-06-23 19:37:58 +02:00
tomFlowee ef462fb9df Give some meat to the BlockHeadersChecker
This actually checks the need for downloading more headers,
then decides on which headers to download (from which known checkpoint,
really) and downloads them to a file.
2024-06-23 19:37:58 +02:00
tomFlowee 491af94040 Provide another plugin integration.
Plugins can be plugged into the main menu and the send menu already,
this adds the ability for a (section of a) plugin to be loaded as
custom component in the main app, among others.
2024-06-23 19:37:52 +02:00
tomFlowee 6c54a74eaa Start new module 2024-06-23 19:35:32 +02:00
tomFlowee b5eaf1534f Use smaller static file 2024-06-23 16:52:13 +02:00
tomFlowee c857259cb1 Import Spanish from crowdin 2024-06-13 22:35:49 +02:00
tomFlowee 6365d03233 Add docs. 2024-06-13 22:35:49 +02:00