Commit Graph

1841 Commits

Author SHA1 Message Date
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
tomFlowee ad53051b3a Go with the times. 2024-05-05 20:53:19 +02:00
tomFlowee 84e72bc606 Move image from mobile to common. 2024-05-05 20:52:26 +02:00
tomFlowee 5d131178f2 Make the groupBox fall in line with the rest
This adjusts the colors and qt6 qml standards.
Also various small bugfixes for non-collapsable boxes.
2024-05-05 20:52:26 +02:00
tomFlowee 2a507a6a96 Move the TextPasteDecorator (and icon) to common
The widget actually is pretty useful on desktop too.
2024-05-05 20:52:26 +02:00
tomFlowee 16d52b9383 Make camera stuff available for desktop app
In case the configure step found the QtMultimedia libs, we also
include the camera / QR-scanner functionality in the desktop
app since users may use a laptop which contains a camera.
2024-05-05 20:52:26 +02:00
tomFlowee dbb399fc7a Simplify the CardTypeSelector
Make the selector more compact, Instead of showing empty space, make
the size just fit the actual content.
This makes it more usable on mobile layouts.

Also improve the UX of the NewAccount page on mobile, less implicit text
and more explicit intention based titles.

Last, make the title-label's font scale to fit the size it is given.
2024-05-05 20:52:26 +02:00
tomFlowee da8802c6d1 Re-do the 'import wallet' screen (mobile)
This completely re-designed the 'import wallet' screens on
mobile.
We use the various new features available now, most importantly the
ability to detect derivation and start-height from an electrum
indexing server.
2024-05-05 20:52:26 +02:00
tomFlowee cccdce7ba9 Make 'BigButton' a common widget 2024-05-03 22:40:09 +02:00
tomFlowee 46d73996d7 Make the ImportHandler & IndexerServices work together
We now get an actual endpoint from the IndexerServices which is handed
to the ImportHandler for remote services.

This also includes a bunch of bugfixes and basic 'make it work' stuff.
2024-05-03 11:53:08 +02:00
tomFlowee a0455ab414 UX fixes for TextField
Fix colors on disabled fields.

We now render the Placeholder as italic and in a more distinct color
to the main text.
2024-05-03 11:49:04 +02:00
tomFlowee bb7c082119 UX improvements for ComboBox
Fix ComboBox general colors to fit in the theme.
This also adds enabled usage, so the enabled comboboxes fall in
line with the textfield color settings, same for disabled ones.

We also added a focus indicator.
2024-05-03 11:49:04 +02:00
tomFlowee 9ec9632999 Add helper method FloweePay::addressForPrivKey
Also use the helper method in Flowee_utils:
static PrivateKey PrivateKey::fromBase58(std::string);
2024-05-01 22:19:14 +02:00
tomFlowee 49b10a6842 Add xpriv import and detection 2024-04-30 21:51:16 +02:00
tomFlowee 39b23f3725 Enhance the TestPasteDecorator
This moves the component out to its own file while fixing some UX
issues.

* It is now always visible for (UI) discovery purposes.
* When we paste when there is no matching text we show negative
feedback.
2024-04-30 21:51:16 +02:00
tomFlowee 25a2fce9f2 Add support for xpub strings.
This allows the xpub type strings to be identified and used. Nobody uses
it at this time, though.
2024-04-29 12:15:43 +02:00