Commit Graph

123 Commits

Author SHA1 Message Date
tomFlowee e6bfa98090 Code readability 2025-10-12 23:10:59 +02:00
tomFlowee 45ab9b23bb Wrap Wallet in shared_ptr
The Wallet object used to have a guarenteed lifetime longer than the App
singleton, but then we started allowing people to delete their wallet
(argh!).
Also "external" modules, especially living outside of the main tree,
would be much more stable if they can avoid using raw pointers for core
concepts like the Wallet.
2025-10-08 22:54:27 +02:00
tomFlowee f7128de1c0 Make fetching with electronX handle lack of Internet
We notice a lack of DNS lookup and instead of trying all, we give up
quickly and realize that the most likely reason is that the Internet is
missing.
This avoids giving a punishment to all discovered peers.

Additionally, we recover better and show the password field in such
cases.
And on Mobile this adds a menu option to enable the password field for
better discoverability.
2025-09-22 23:19:36 +02:00
tomFlowee 82ee9d7be8 Update home site 2025-09-05 12:22:21 +02:00
tomFlowee 6dd411e49d Minor; fix whitespace. 2025-08-31 19:28:51 +02:00
tomFlowee ad62cd75e3 Whitespace 2025-07-10 16:31:23 +02:00
tomFlowee 046da7515d Fix spelling.
I just noticed I've been near consistently writing "anonimity" in Flowee Pay,
spellcheck tells me it should be "anonymity".

Word blindness is fun.
2025-06-19 15:09:36 +02:00
tomFlowee 32d886c53c hmm? 2025-06-16 22:30:49 +02:00
tomFlowee 41deb2b6dd Make transactions I send not show a notification.
The in-app notification is rather silly to show when
it is a user initiated action.
2025-04-23 17:52:09 +02:00
tomFlowee 6049d942e5 Ensure the transaction keeps broadcasting
If the user closes the UI before the broadcast has completed, we would
stop broadcasting. Which is unfortunate and not what users expect.
As such we simply hold on to the object for a while (10 min) before we
delete it when it is quite likely already sent.
2025-04-21 17:37:53 +02:00
tomFlowee 42608e8b00 Improve the wallet selection widget in wallet2wallet
This shows a selector with only relevant wallet choices and no unneeded
details.
2025-04-17 17:54:12 +02:00
tomFlowee 872e37b572 Make notes properties more declarative
This changes the notes property to be only set by the user of the
BroadcastFeedback.qml, and not from inside anymore which could break the
property binding causing strange things to happen.
2025-03-16 22:14:20 +01:00
tomFlowee d9991cace6 Prepare modules for i18n 2025-03-04 12:43:37 +01:00
tomFlowee 3ab63d6dc5 strings; Be much less technical 2025-03-03 17:01:29 +01:00
tomFlowee 21eeab2f98 Add offline checking for Android.
Add logic to notice that the device is offline and notify the
user of this fact on screen.
Repeat checking so we can notify the user that network is back.

This shows in the UI (of the mobile form factor) that the device
is offline and we avoid starting the p2p layer until network
is detected to be there again.
2025-03-02 19:57:02 +01:00
tomFlowee 3d821d4be4 Add NewIndicator on socialFeedModule 2025-02-25 19:38:39 +01:00
tomFlowee 7b693e9a60 Add priority to modules for display purposes. 2025-02-25 17:04:13 +01:00
tomFlowee 3ee2663241 Make broadcastfeedback work on instaPay payments too. 2025-02-17 16:23:24 +01:00
tomFlowee 99c0b20171 Add even/odd background colors to the social feed. 2025-02-17 12:17:03 +01:00
tomFlowee 6420523847 Port asio to stop using deprecated methods. 2025-02-11 19:52:03 +01:00
tomFlowee 63385c8a8c Follow upstream; port asio usage 2025-02-08 21:16:12 +01:00
tomFlowee c4cea6ce61 Improve the BroadcastFeedback page 2025-02-04 22:33:08 +01:00
tomFlowee 30ccadb026 Unify the broadcast feedback screen.
This avoids duplication in the send-sweep module.
2025-02-04 21:20:35 +01:00
tomFlowee 2d4eeeeaa7 Add QR scanner option to a destination 2025-02-04 18:36:35 +01:00
tomFlowee 89e8ba602f Split big file 2025-02-04 18:22:59 +01:00
tomFlowee 35d8d6752d Make work better
This uses a nicer filename with context.
We also build the user agent more correctly.
Last, this makes work the usage of HEAD to keep up to date without full
download.
2025-02-03 13:09:59 +01:00
tomFlowee c78e44f0f6 Add display 2025-02-01 15:39:44 +01:00
tomFlowee 37c1dc044d Starting new data provider
This reads the social data from a dedicated json file on our
webserver and provides this to QML
2025-02-01 14:07:22 +01:00
tomFlowee 6c9f1c4651 Merge all the instances of QNetworkAccessManager
Instead of all places having their own copy and being wasteful
in that way, we move ownership of an app wide version to the
application singleton.
2025-02-01 11:33:54 +01:00
tomFlowee 68a69c61d5 Start new social-feed module 2025-01-29 17:05:57 +01:00
tomFlowee b339648338 In this module we use rand, make sure to seed
To make this not depend on another part of Pay doing this already.
2025-01-27 13:19:54 +01:00
tomFlowee 8865a51b8b Redo all the strings.
This upgrades the initial ideas and texts of this module to the latest
insight and designs to be coherent and more easy to understand.
2025-01-09 20:06:18 +01:00
tomFlowee aceb0387a1 Send on tx swipe now works in either direction 2025-01-09 19:52:51 +01:00
tomFlowee 6caf9d6e28 Add anonimity. 2025-01-09 19:47:37 +01:00
tomFlowee b83e19b33b Make possible to use for single-address wallets.
This uses the strategy to create one transaction per utxo instead of one
per address which makes this module actually provide some usefullness to
such wallets.
2025-01-09 19:17:49 +01:00
tomFlowee 02efe2dcd1 minor issue. 2025-01-09 18:30:13 +01:00
tomFlowee 150088b1a8 BigTransfer: allow splitting.
This shows the amount of coins stored on a single address, which we
sweep in one transction by default for privacy reasons.

This adds the ability of the user to specify how many outputs a single
transaction should have when we create it.
2025-01-09 18:22:44 +01:00
tomFlowee da74669dbe Refactors and cleanups. 2025-01-06 23:29:17 +01:00
tomFlowee f06afc5351 Move allocation of target addresses
Instead of pre-allocation, this moves it to just before we actually
broadcast.
This solves a possible failure of detecting target funds in case the
number of transactions is larger than the gap and the user sends only
one or two of the later once instead of all.
2025-01-06 18:00:20 +01:00
tomFlowee 7d5686b427 Forward the broadcast status to the UI
When a transaction has been created by the plugin, this stores it also
on our UI classes and forwards the broadcast status for the front end
to use in some animation.
2025-01-01 17:36:58 +01:00
tomFlowee c2c39683db Add more checks and avoid surprises 2024-12-31 15:57:17 +01:00
tomFlowee 837bad6a13 Add Module section type; other-default
This section type means that the module will have it's icon shown in
the 'Explore' tab always, it can not be disabled by users and as such
it just becomes an overflow of the main app avoiding worry about a
module not being found.
2024-12-31 15:57:17 +01:00
tomFlowee ec32cb5f8f fix grammar 2024-12-31 15:57:17 +01:00
tomFlowee 8af9c8eac7 Make functional and not too bad looking
This is probably a good first milestone, the UX is pretty decent
and the wanted functionality is there.
Various todo's are still there which mostly of the cleanup type.
2024-12-31 15:57:17 +01:00
tomFlowee 3ccd90cc4b Add most of the workflow to the bigtransfer module
We don't actually send any transactions yet.
2024-12-26 23:41:39 +01:00
tomFlowee 533a20c769 Follow property rename in Flowee qml widget. 2024-12-26 18:42:46 +01:00
tomFlowee 94da00709d Start new module 2024-12-25 13:12:38 +01:00
tomFlowee 46c33bb4d1 Correct QtCreator's handling of cmake.
Move the added files to be in the list instead of in the call.
2024-12-24 14:49:23 +01:00
tomFlowee e200766dda Split camera and intent out of the handling pages
In the send-sweep module as well as in the PayWithQR this removes
the UserIntent handling and instead moves that to the main.qml
exclusively.
Additionally in the send-sweep module the camera work is split
into its own page, like in the other parts of the app. This helps
us avoiding hacks when we want the main functionality without the
camera.

This is the last of the series of reworks, we should have all
former functionality working again.
2024-12-23 18:36:36 +01:00
tomFlowee 3721573253 Make example module show up in the explore tab 2024-12-22 22:18:56 +01:00