Commit Graph

1729 Commits

Author SHA1 Message Date
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
tomFlowee 4b47da747f Add QR for the xpub 2024-04-29 12:15:43 +02:00
tomFlowee d3baf2495a Add CliboardHelper support for privatekeys + seeds. 2024-04-29 12:15:43 +02:00
tomFlowee 0ac472f0af Allow override of the 'back' button 2024-04-29 12:15:43 +02:00
tomFlowee e7c937cae1 Integrate into the app singleton 2024-04-29 12:15:43 +02:00
tomFlowee 6b31d46892 Add IndexerServics to find electrum indexers
This does not hardcode any indexers, as that would be fragile as
well as painting a bulls-eye on the backs of the server operators
for ddos targets.

Instead this reuses the same concept from Satoshi's Bitcoin. We have
DNS feeds (currently only one) maintained by a crawler.
This finds us a handful of Electrum servers.
We connect to one of those to find more servers, notice that this is
not SSL encrypted because we only have an IP address at that time
while SSL wants a hostname.

This quick connection over plainnet is there just to fetch the
server list known to the server, we can then open an SSL connection
to any of those.
2024-04-29 12:15:43 +02:00
tomFlowee 7a5a9d8b41 Expand ImportHandler to support privkeys etc too. 2024-04-27 21:05:01 +02:00
tomFlowee 930bedfeaa Add copyright headers to new class 2024-04-23 12:58:01 +02:00
tomFlowee ab75ae136f Start new class ImportHandler.
ImportHandler can connect to an Electrum Server and
check different derivation paths etc for a given seed.
2024-04-23 12:55:51 +02:00
tomFlowee 8f26c086a5 Fix UX bug where clickable areas overlapped.
This makes more clear what happens when you click on the extend of the
zoom/scale row.
2024-04-23 09:59:15 +02:00
tomFlowee 5e89ba5d41 match comment to reality 2024-03-18 22:51:32 +01:00
tomFlowee dbed7c7a69 Reject transactions of v >= 10
This is purely a future-proofing measure, don't accept transactions that
are likely to be handled differently than todays transactions.
Since the May 2023 upgrade versions other than 1 or two are not allowed
on-chain, but before that some version 4 transactions were mined (and some
negative numbered ones longer ago).

Talks about a version 10 transaction has started, so make sure this software,
if it is still running at someone's machine, will already reject higher
version transactions because we can't know if they are compatible or not.
2024-03-13 17:03:37 +01:00
tomFlowee bde68cc7bc Reach balance; add CT icon
For inputs we added fusion icons, for outputs we now have
CashToken icons that show up when applicable.
2024-03-07 10:49:53 +01:00