Commit Graph

1457 Commits

Author SHA1 Message Date
tomFlowee 02bf2ab1df Translations update 2023-09-06 16:21:09 +02:00
tomFlowee 02288299fc Improve BIP activation on startup
For desktop we now properly support starting a payment when
the user clicks on a bitcoincash link in a browser.

For Android the activation logic _should_ work, except that the
Android specific way has yet to be tied to our app.
2023-09-05 20:45:32 +02:00
tomFlowee e06438d60f Avoid warning during startup. 2023-09-05 18:48:22 +02:00
tomFlowee 69e0fe8869 Finish up BIP70 feature
Squash of 12 commits, this makes the UX actually useful and
we detect errors and show errors and warnings to the user.
This also adds an 'editable' bool to OutputDetail in order to
disable editing of a payment request address.
Additionally, this introduces the ability for a Payment to carry
a raw script instead of an address. So op-return or more complex
payment requests will be sent just fine.

Fun fact is that our broadcast is INV/SendData, which is two
roundtrips and thus slow, which is needed to be sure we get proper
rejection messages.
The sending of the transaction via BIP70 causes the network to
already know about the tx because the server we send it to has
likely much better Internet than we do.
So confirmation from the payment provider is used to show success
instead of the normal way.
2023-09-05 13:38:24 +02:00
tomFlowee fcf8e82511 Implement BIP70 (protocolbuffers) payment protocol
This adds the basic support of bip70 style payments.
Some todos are left which are mostly about interaction with
other parts of the app and require bigger changes to make
it work smoothly.
2023-08-31 23:39:35 +02:00
tomFlowee bc459f74d5 PaymentProtocol abstraction
The PaymentProtcol class now handles the pasting of a payment uri,
like bip21.

Additionally this adds the feature where we pass in the payment uri on
the commandline which then results in an auto-opened payment screen.
2023-08-30 23:46:00 +02:00
tomFlowee 56ff8fcff7 Make distclean not delete the blockchain data
Makes little sense to delete it only to instantly download
it again.
2023.08.0
2023-08-30 18:11:25 +02:00
tomFlowee b671dfc3a7 Allow showing address in more cases.
The QR scan page now also allows showing the destination address
while the number keypad is up, being smarter with the layout of
the various lines in order to fit the important info on screen.

Additionally we require the user to first enable the 'edit amount'
option before we make available the option to 'send all'.
2023-08-30 12:50:40 +02:00
tomFlowee d1e5c99f1b Limit swipt-for-menu to the main screen.
This makes sure we stay consistent and the UX doesn't need complicated
code to make sure all user-actions are accounted for.
2023-08-28 22:15:49 +02:00
tomFlowee 40aaa635fa fetch updates from Crowdin 2023-08-28 21:05:23 +02:00
tomFlowee 6cd8061762 Add the gradle file to git
This file gets auto-generated if we don't have it by the Qt tools
so we didn't really need it before.
This changes the default to now set the targetSdkVersion to 33,
as required by the Android Play store.
2023-08-28 20:47:35 +02:00
tomFlowee d9ce8f4b6e Add feature; drag to open menu.
People that only use one hand will no longer need to use the other to
reach the button at the top for the menu.

Instead we now allow a swipe in the bottom left corner, swiping to the
right will make the menu open.
2023-08-28 18:41:08 +02:00
tomFlowee 1ff6b61b05 New version 2023-08-28 12:20:11 +02:00
tomFlowee ba08f1e39a Work around QTBUG-116527 2023-08-28 12:04:51 +02:00
tomFlowee 31a3715315 Upgrade to Qt6.5.2 2023-08-28 11:49:30 +02:00
tomFlowee 735c2b0265 fixlet 2023-08-27 23:12:07 +02:00
tomFlowee 1bf4b8b493 Support more local currencies and fix ARS
This adds support for a convert-from-usd second feed which is advertised
by locals as the correct (non government sanctioned) conversion.
2023-08-27 23:11:58 +02:00
tomFlowee 5fbd7a3f0d Show instant pay threshold on QR scan page 2023-08-27 20:39:46 +02:00
tomFlowee 632223d0f0 Fix layout of warning 2023-08-27 20:36:30 +02:00
tomFlowee 73d89ec1b9 Avoid issues on non-camera holding hardware
Avoid setting a format that is null, seems Qt doesn't like it if you do.
2023-08-27 20:05:48 +02:00
tomFlowee 1b82e3f4f9 fix typo 2023-08-27 19:55:13 +02:00
tomFlowee fe5d819234 Mention the new translators in the credits.
Also remove the beta-testers, we've been out of Beta for AGES now :-)
2023-08-27 19:09:43 +02:00
tomFlowee 9b5381a11d Cleanups of old CMake stuff 2023-08-27 18:48:30 +02:00
tomFlowee ae9bb0827d Fix typed characters showing twice. 2023-08-27 18:46:13 +02:00
tomFlowee 97f4599464 move copy line to the sign script 2023.07.2 2023-08-18 11:01:17 +02:00
tomFlowee ea04836b45 increase minor version for Android too 2023-08-18 11:01:15 +02:00
tomFlowee 2b3feb6df6 increase minor version 2023-08-17 21:57:03 +02:00
tomFlowee ac12a688a1 Import translations from Crowedin
This enables 2 new languages:

Spanish for mobile
German for mobile and desktop
2023-08-17 21:51:38 +02:00
tomFlowee 19008819dc ARS does not use digits behind the separator. 2023-08-17 20:11:02 +02:00
tomFlowee a12eba7c6d Avoid sending duplicate filters.
The backend will tell us that there is good reason to believe the remote
needs to get a new bloom filter, which is causing a lot of extra traffic
if there actually is no change in the utxo of the wallet.

This introduces a bool to mark changes that would affect the bloom
filter to be send, and only upload a new one when that bool is true.
2023-08-17 20:10:12 +02:00
tomFlowee ccbeea0486 Skip modules reporting when mobile is not built. 2023-07-26 10:14:49 +02:00
tomFlowee d109e0b987 Avoid weird rounding error.
Parsing the amount
  0.00522325
caused the double to have a 49999 at the end instead of that 5.
This now will be rounded back up the the proper sats value.
2023-07-19 16:23:22 +02:00
tomFlowee f741f317e8 Cleanup old files 2023-07-08 08:38:26 +02:00
tomFlowee 00bb3906be New release number 2023.07.1 2023-07-07 10:54:52 +02:00
tomFlowee f649d8e39a Fix crash on pay-to-many-addressses.
Hide target address if there is more than one.
2023-07-07 10:54:38 +02:00
tomFlowee a56e762853 After hiding on Android for some minutes we lock again
The Android design is that you can "close" the app while it is not
actually killed. It stays frozen but in the background.
This makes Pay check the clock on 'wake up' and if 10 minutes has passed
it will lock again.
2023.07.0
2023-07-06 11:23:08 +02:00
tomFlowee 337f93e44e Improve the UX on the broadcast screen
This adds some new fields and fixes various small UX issues.
2023-07-05 17:04:14 +02:00
tomFlowee 4eb0053042 A litheny of UX-bugfixes. 2023-07-05 12:24:31 +02:00
tomFlowee 89ce6fcf53 Comment out the not yet supportd part
Lets move the UI / UX for encrypting wallets to a future release.
2023-07-04 23:25:18 +02:00
tomFlowee 2fc269a5cf Add the new module type to the GUI.
This shows an icon that indicates that the module will be made
available in the menu, if that module is able to do that.
2023-07-04 23:16:35 +02:00
tomFlowee bc2fa0132f Import translations from Crowdin.
This includes new Polish translations from Karol!
2023-07-04 22:35:58 +02:00
tomFlowee 7f5e4130ad Move the Netview to a module of its own: Peers-view 2023-07-04 22:35:58 +02:00
tomFlowee f68d6a2a1c Add a readme for the modules 2023-07-04 21:53:32 +02:00
tomFlowee dd33a32c9d Fix missing property
this makes it work again.
2023-07-04 20:50:39 +02:00
tomFlowee 85e2b7ebbd Fix regression in Qt651, combobox background color. 2023-07-04 20:43:46 +02:00
tomFlowee aaf8ab380f new release version 7.0 2023-07-04 20:27:10 +02:00
tomFlowee 0b911143e9 Remove hack and just use FocusScope items 2023-07-04 20:24:26 +02:00
tomFlowee bff9cd5dc2 Introduce app-level password feature and more.
We already allowed individual wallets to get PIN-to-Open/PIN-to-Pay
but that is too advanced for most users. Not to mention that encrypted
private keys means a slower payment process and certain types of
features become impossible. Like auto-invoicing (incasso).

The gap, for mobile, is a simple not-encrypting password on startup
of the app which is likely what 80% of the privacy / security minded
people on mibile will be more than happy with.

This adds this mode and additionally streamlines the encrypted modes
of wallets.
2023-07-04 18:39:16 +02:00
tomFlowee 3ec9a5cb4d [UX] Cleanup the NewAccount page sources.
Also add a little spacing.
2023-07-03 12:24:55 +02:00
tomFlowee b2a1b31efb Fixlet in error-message
Fix grammar of the exception message.
2023-07-03 12:24:22 +02:00