Commit Graph

1756 Commits

Author SHA1 Message Date
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
tomFlowee bd3184f2d8 Port to Wayland: protect against null
On Wayland the mime can be a nullptr due to the different clipboard
strategy, we now check for null dereference.
2024-06-13 22:35:49 +02:00
tomFlowee 4f3d38b5de Make (desktop) app-icon work again
Qt uses the desktop file directly on Wayland and the windowIcon
concept is obsolete.
This makes the app-icon show properly on Wayland.
2024-06-02 20:29:49 +02:00
tomFlowee fcabe49d9b Fix colors and font-size 2024-05-28 23:39:08 +02:00
tomFlowee 3969cdcdcb Make the selection work again.
This fixes the regression on usage of the CardTypeSelector which changed
last release.
2024-05-28 23:31:23 +02:00
tomFlowee 3bcbf58b1d Fix color theme settings on Wayland
Seems that the problem we saw on Android is also present on
Linux and Wayland.
A lot of components no longer use the palette which makes it
not possible to use them as-is with our light/dark theme feature.

This changes the many components to the Flowee specific ones
where we already solved this for the Android UI.
2024-05-28 23:31:23 +02:00
tomFlowee 164256f696 Fix misuse of signal
Avoid warnings on changing theme.
2024-05-28 23:31:23 +02:00
tomFlowee 736ba60732 add user-friendly comment 2024-05-07 22:30:45 +02:00
tomFlowee dc3ebbcd09 Import translations from Crowdin 2024-05-07 21:06:47 +02:00
tomFlowee 9efafda55d Reuse the QRScanner widget on desktop.
"Desktop" in most people's cases means laptop, of which many have
a camera. So why not allow the camera to be used to scan things?
2024.05.0
2024-05-07 15:45:07 +02:00
tomFlowee 2d0647409d Print SSL warnings in -v mode
Various self-signed electrum cash nodes exists, this shows in the
debug output actual specific reason why they are rejected on connect.
2024-05-07 10:42:37 +02:00
tomFlowee 1e9cf9792b Fix importing a HD wallet from an exact height.
Now we actually start reading that exact block given.
2024-05-06 22:56:13 +02:00
tomFlowee 3926268b5d UX bugfix; only show instapay limit on payment scan
This makes sure that if we use the QR scanning page for scanning a
private key, this does not list our intapay limits.
2024-05-06 22:05:33 +02:00
tomFlowee bb9dfc9d41 Small UX fix 2024-05-06 22:05:33 +02:00
tomFlowee 97c1485560 Move the 'import' card up one. 2024-05-06 22:05:33 +02:00
tomFlowee cb6fdd412f New version 2024-05-06 22:05:33 +02:00
tomFlowee b0ca7d8f8d Re-do the 'import wallet' screen (desktop)
This follows the re-designed the 'import wallet' to
now have the same design and featureset from mobile also on
desktop.

The 'new-wallet' pages in general have also been changed as to
avoid wasting most of the space on the advertisment style
content and aim to have a vertical design so we avoid forcing
people having to scroll.
2024-05-05 20:53:19 +02:00