Commit Graph

2155 Commits

Author SHA1 Message Date
tomFlowee 646df54da9 Make clickable notifications auto hide
So when the user clicks it to open Pay, the notification doesn't need
attention later again.
2025.09.0
2025-09-16 13:54:21 +02:00
tomFlowee 20c9f49838 Import translations from CrowdIn 2025-09-15 23:28:20 +02:00
tomFlowee 5ed8db6dcd UX: one issue at a time.
We avoid repeat payments generating more than one notification
which would be confusing.
2025-09-15 21:59:03 +02:00
tomFlowee 2057e4035c Improving stability of background runner 2025-09-15 21:42:02 +02:00
tomFlowee 5a26e0b171 Add platform shutdown callback.
When the singleton shuts down, this now gives the platform specific code
an opportunity to do something too.

This avoids doing work after we shut down the application.
2025-09-15 21:42:02 +02:00
tomFlowee 9aa4028f37 Add log section to Android Log Bridge.
Android doesn't have a direct equivalent of our sections, and the tag is
really meant to be the same for the entire application.
As such this simply prefixes the section to our log message. Not ideal,
but at least the information is there.
2025-09-15 21:42:02 +02:00
tomFlowee e8e4a9a19b Avoid race conditions on startup
This makes sure we avoid trying to save the wallet lists while loading
all wallets, which in some cases might happen in a race.
2025-09-15 21:42:02 +02:00
tomFlowee 5a1e6828d6 Add Android Log Bridge
Tie the Android logging system (and transport) into the Flowee logging
system, allowing all C++ calls to end up in Androids LogCat.
This makes remote debugging even simpler by using their multiple
transports like wifi and usb and tools.
2025-09-15 21:42:02 +02:00
tomFlowee f1ba1b0401 Add support for opening the app on planned payments. 2025-09-15 21:42:02 +02:00
tomFlowee cfb23b58df Improve background notifications
This adds things like the notification being unique, avoiding many duplicates.
We add a title and the ability to click on the notification to open Flowee Pay.
2025-09-10 13:57:39 +02:00
tomFlowee da16eddea5 Cleanup old code 2025-09-10 13:57:39 +02:00
tomFlowee 89ce639070 Show notifications for repeat payments.
Repeat payments are handled in the background process and issues and
indeed successes need to be shared to the user via notifications.

We now have notifications for:
∙ successfully sending a repeat payment
∙ when a payment is due soon, but not approved.
∙ when a payment is due soon, but not enough funds are in wallet.
2025-09-09 20:22:57 +02:00
tomFlowee b36e3df6b2 New version 2025-09-05 17:38:31 +02:00
tomFlowee a35e6b167e Also notice changed comment 2025-09-05 17:36:24 +02:00
tomFlowee 2a387a72e7 Fix changing payment on finish-edit
When the user finishes with the comment edit field
we no longer change which amount is pinned
2025-09-05 17:31:07 +02:00
tomFlowee 182894e875 Whitespace 2025-09-05 17:29:11 +02:00
tomFlowee 2da83c9c9d Remove dead code 2025-09-05 16:30:54 +02:00
tomFlowee 4fff156631 Make more GUIs to use screenInsets
For Page inhering screens (BroadcastFeedback/UnlockApplication)
This changes the Page.hideHeader to now act like a full screen,
removing all insets from the Page object when enabled.
The insets are then re-added on the child pages, but
without affecting the background fields, so they cover the insets.

UnlockApplication is a simply full screen widget, we added the
insets to it too.
2025-09-05 12:44:35 +02:00
tomFlowee 82ee9d7be8 Update home site 2025-09-05 12:22:21 +02:00
tomFlowee c436b12bcb Fix Periodic to quit when done
The checkFinished slot is not executed based on a timer instead of based
on progress.
This avoids problems when the downloads were all done but we were still
waiting for something. Now we notice that all is done since we keep
calling the slot because it is on a timer.
2025-09-02 23:38:12 +02:00
tomFlowee dc094bcdea Separate features to avoid confusion
The net log is useful without the quick deploy and indeed the quick deploy
will create problems on first install, so according to the law of fewest
surprises these features should not be combined "magically".
2025-09-02 23:14:49 +02:00
tomFlowee 6dd411e49d Minor; fix whitespace. 2025-08-31 19:28:51 +02:00
tomFlowee 38f969629e From Android 15 we support Insets
The default changed there and the application at full screen is actually
fully full screen. Meaning we need to make space for the statusbar and
menu.

This code fetches the relevant insets from Android and the GUI honers
them in a couple of choice widgets.
2025-08-31 19:28:51 +02:00
tomFlowee 5fb7cd9256 Use Adaptive icons.
This replaces the bitmap logos with xml ones.
2025-08-29 14:42:16 +02:00
tomFlowee 409dc77abe Make sure we wait during tx broadcast in background.
Should we actively be broadcasting a new transaction this now waits for
it to reach the success (or reject) phase before we exit the background
runner.
2025.08.0
2025-08-14 10:41:30 +02:00
tomFlowee 2d32642677 Update translations 2025-08-13 16:38:35 +02:00
tomFlowee decee30dd5 Bugfixes and re-enable creating repeat payment
This fixes a bunch of little issues and possible issues, including the
ability to swipe horizontal the main transaction view before we have a
second tab to scroll to.

This also re-enables the adding of the action that turns a payment into
a repeat payment. Currently our only way to create them.
A bit hidden, but we expect that in future other methods will become
available that make more sense.
2025-08-13 16:37:58 +02:00
tomFlowee 231e618f23 Add various UX features for the payments list. 2025-08-12 22:39:42 +02:00
tomFlowee 767532939d Make approving next payment work. 2025-08-12 21:16:19 +02:00
tomFlowee cefa5f7def Refactor and re-enable editing the payment
The UI can now again click on the repeat payment and show / edit it.
The actual objects are now created elsewhere and the savedPaymentHandler
no longer owns them, vastly simplifying that class.
2025-08-12 16:29:26 +02:00
tomFlowee 884a7bf5d8 Redo the list of planned payments
This adds a proper list model for the list and refactors the rest a bit
around that.
2025-08-11 16:40:11 +02:00
tomFlowee ef2b1cb61e Make on-boot and reinstall (Android) work.
On those events we re-schedule the background runner properly now.
2025-08-08 19:38:09 +02:00
tomFlowee a572f031ac Avoid calling startNet twice on Android
On Android 'startNet' is called in a more complex way, based on the presence
of network interfaces.
On Android we also don't supply any command line arguments to avoid going
online.
So this is called in the FloweePay_android.cpp file, and it is the same for
foreground and background apps.

For Linux and other platforms the Periodic thus needs to call it manually.
2025-08-08 17:43:38 +02:00
tomFlowee a5d81b4288 Clear up usage and app-state
This introduces a new 'AppBackground' enum in order to make clear
that an app without GUI is possible too. Next to the foreground/hidden
states.
2025-08-08 17:43:38 +02:00
tomFlowee 4f934695c2 Fix unneeded copy of shared ptr 2025-08-08 16:54:30 +02:00
tomFlowee 19b98ca29e Fix start time of interval
Add the current time to the interval.
2025-08-08 15:00:56 +02:00
tomFlowee 1b158b53c0 Add logging 2025-08-03 22:39:46 +02:00
tomFlowee 05eb47be62 Make setting start date possible.
This additionally adds the ability for the calendarwidget (and the mini
one) to stop selecting dates older than a certain date. For instance
'today'.
2025-08-03 20:35:31 +02:00
tomFlowee bd7b50585d UX reviews. 2025-08-03 17:01:20 +02:00
tomFlowee fdad607f84 Small UX tweaks with colors. 2025-08-03 14:01:38 +02:00
tomFlowee 5eccc08efc Also add possible network logging to Periodic 2025-08-03 13:19:11 +02:00
tomFlowee 3ce0c4d8bc Add labels and docs 2025-08-02 15:04:47 +02:00
tomFlowee c9a1d89aa6 Update version to new month 2025-08-02 14:32:56 +02:00
tomFlowee f1b4fccbb5 Move to new build env docker 2025-08-02 14:32:31 +02:00
tomFlowee f2c11412d7 Merge branch 'master' into newQt683 2025-08-02 14:29:42 +02:00
tomFlowee fa600058db Update build env to latest Qt and Android NDK/SDK
This upgrades to the latest stable Qt (6.8.3) to my surprise the
translator patch still is required and they didn't fix that bug
for 2 bugfix releases now.
2025-08-02 13:45:24 +02:00
tomFlowee 085ce54a0b Make smaller 2025-08-01 18:42:37 +02:00
tomFlowee 288f927239 Fix positioning 2025-08-01 18:28:47 +02:00
tomFlowee 2192d3c1b4 WIP; new build env versions 2025-07-12 17:27:09 +02:00
tomFlowee 906f129687 Move gradient on Home tab for better UX.
As the current wallet value is the same color, a the default gradient in
the page header looks bad. So have one at the bottom of that balance
area.
2025.07.0
2025-07-12 17:24:22 +02:00