Commit Graph

2391 Commits

Author SHA1 Message Date
tomFlowee b42c5c3aaf Fix regression; on instapay
InstaPay should not be enabled when the user is supposed to type their
own amount.
2025-05-20 20:44:58 +02:00
tomFlowee 83695dc051 Import English "translations".
This is quite minimal, obviously. But plural forms etc go through
the translation system.
Where the source says "Your transactions got mined" it then is split
into plural and singular (one transaction), as long as the translations
are actually provided of both forms.
2025.05.0
2025-05-08 12:48:55 +02:00
tomFlowee 8bf8550e60 Handle fallback more proper
When no fiat price is shown, also for the bch price remove the minus
in front of an amount that is stated to have been sent.
2025-05-07 18:50:35 +02:00
tomFlowee d87ae8a813 Ensure same time source
Make sure all places use the same source of time for
storage and comparison, avoiding timezone and other
such issues.
2025-05-07 18:50:35 +02:00
tomFlowee e21f0eb17d Fix dates not being translated.
People will now have proper localized months and mostly localized
formats.
2025-05-07 18:50:35 +02:00
tomFlowee cb521f4108 Import Polish translation update from crowdin 2025-05-07 18:50:35 +02:00
tomFlowee 176ea40ee6 Make sure we realize a series of transactions types
We no longer throw away details when a longer list of transactions is
combined into one. This means that we can easily detect anonimity
transactions even if we get more then one coming in, which makes the
notification text more appropriate as a result.
2025-05-07 18:50:35 +02:00
tomFlowee e02ff80a94 Import German translations from crowdin 2025-05-06 15:16:14 +02:00
tomFlowee d49acd1d08 Play with starting fiat feed downloads
We move the starting of the download optimistically to be earlier in the
boot process.
This also moves the actual action out of the singleton, which gives more
control over when to call it based on how the app is started.

Specifically the headless way of running Pay now waits for the price
feed to have been updated before starting the p2p net interactions,
ensuring that any new transactions will be able to be shown to the user
including the fiat price.
2025-05-05 14:08:50 +02:00
tomFlowee 842e31aa09 Import Dutch translations from Crowdin 2025-05-04 22:36:44 +02:00
tomFlowee 448de93ac3 Add explanation for translator 2025-05-04 22:36:02 +02:00
tomFlowee c8eac60e49 Fix linter issue; tr() needs to be in own class.
Otherwise the translations extractor doesn't know what to do with it.
2025-05-04 22:18:41 +02:00
tomFlowee c7c4d7d35f UX tweak, make animation faster. 2025-05-04 22:07:15 +02:00
tomFlowee 58239488c7 Minor language fix. 2025-05-04 22:01:09 +02:00
tomFlowee 81360632ba Make card behavior more smooth on device.
With some delays we allow the user interface to show up so the checkbox
actually is pained to be 'on' when the user gets a question from the OS
about allowing it.
2025-05-04 21:59:47 +02:00
tomFlowee 4b143fc0c3 Show user the concept of background updates. 2025-05-04 19:59:28 +02:00
tomFlowee d2d95fa842 Fix close icon color
For most places we want it to actually follow the dark/light skin
2025-05-04 19:42:50 +02:00
tomFlowee 2924d3cca9 UX tweak; make filter icon fade 2025-05-02 22:26:58 +02:00
tomFlowee 25e91abca9 New month, new version 2025-05-02 22:18:33 +02:00
tomFlowee 5f1b91de65 Increase install date default 2025-05-02 22:17:43 +02:00
tomFlowee fc5aa9dc42 drop support for Qt6.3
This feature was added in 6.4, which is already very old.
2025-05-02 22:14:50 +02:00
tomFlowee 40a52b6abf Move 'xpub' out from the backup page.
The xpub is not a backup detail, as such it is better to let it
live on its own, maybe sharing a better mental model.
2025-05-02 20:13:09 +02:00
tomFlowee ca08b9d284 Move notifications to background page
Since notifications no longer make any sense for non-background
running situations, the setting should move too.
2025-05-02 19:33:19 +02:00
tomFlowee ef674547f3 Make the on background service restart on reboot.
The on boot complete android feature is tricky, it allows
very little in the actual callback and the strategy that works
best now is to make that callback schedule a single background
run, which will in turn plan the normal schedule.
Or insta-exit if the user had no wish to do background running.

This additionally also triggers on the my-package-replaced
signal in order to ensure that an upgrade doesn't disrupt the
background running schedule.
2025-05-01 21:40:24 +02:00
tomFlowee b527b2bf1d Improve look of fiat rendering
In the case of AlwaysAddSign, the plus or minus is now always the first
character of the string. Which is more in line with bookkeeping
standards.
2025-04-24 19:46:58 +02:00
tomFlowee d692c31a5b Fixes to make the android notifications work. 2025-04-24 19:09:24 +02:00
tomFlowee 31a8abce10 Tie tx-notifications to Android system.
We re-introduced a checkbox to enable notifications.
We now have a second type of notification, one for incoming transactions
that may happen when the app isn't in the foreground.
2025-04-24 11:29:29 +02:00
tomFlowee e162bd5f80 Improve text for notification of new transactions
The text now special cases several common occasions that gave confusing
texts.
We additionally fix the position of the "+" sign to be behind the
currency symbol, like it was always supposed to be.
2025-04-23 17:52:09 +02:00
tomFlowee b12cc10a31 Reorder header file into groups.
The public methods have been changed to group the types of method
together.
There is a group for transaction properties, a group of other
properties, a group of utility functions and a group of wallet
management functions (for things like private keys and the like).
2025-04-23 17:52:09 +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 a1b18d3f02 Replace block notifications with confirmations
We remove the block notification feature, as that was nice but useless.
This instead introduces a way for a transaction we created to be marked
as needing monitoring and when a block comes in we create a notification
explaining it has been mined.
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 da5ad4d9d0 Improve notifications
Notifications are now filtered better to avoid showing events on
transactions that came in which are filtered from view.
2025-04-19 17:27:18 +02:00
tomFlowee 2a713bcd45 Remove null flag enum value. 2025-04-19 17:24:10 +02:00
tomFlowee 4fa68be699 Make edit button UX a big better
This makes the label a bit shorter to avoid it overlapping the fiat text
in more cases.
We also now place the edit widget on top of the pencil button to get as
much space for editing as we can get.
2025-04-18 19:03:17 +02:00
tomFlowee a81267153f Move placeholder text to live elsewhere
On Android the placeholder text is very unfortunately positioned that
most people will consider a bug.
So we stop using that and instead put the text just above the actual
widget, fading the text when the user starts typing.

As this is on mobile, we also add a blinking fake cursor in the text
field to make it super clear what the intention there is.
The alternative would be to give focus to the field and have the real
blinking cursor, but that would open the virtual keyboard and hide the
big close button.
So fake blinking cursor it is.
2025-04-18 18:47:41 +02:00
tomFlowee 1ab3607900 Make notification manager aware of being visible
Notifications should have the opportunity to skip the OS layer and
simply be shown in-app instead in case the application has the users
attention anyway.

While knowing a notification should be sent to the system tray
otherwise.
2025-04-17 20:30:53 +02:00
tomFlowee e96a9fe129 Fix sometimes not showing the right text
When a new transaction is sent and edited directly in the backend
we expect that the item is re-created and thus the on-initial-
construction method to be called.
But, QML caches and thus our smart solution doesn' work.
2025-04-17 19:25:51 +02:00
tomFlowee 337fb4d6e0 Fixlet for testnet4 2025-04-17 18:08:21 +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 664e38c705 Use more local variables.
This avoids the linter complaint of having defined the same variable
twice.
2025.04.0
2025-04-15 12:50:38 +02:00
tomFlowee 50b4ba57aa Make finding electron servers more agressive.
This moves the fetching (by dns) of the servers to the launch of Pay
instead of at the start of the module.

This periodically removes punishment scores in order to reassess remotes
and have long health guarentee.

This also works harder to find any servers even if all have a higher
punishment somehow.
2025-04-13 13:00:03 +02:00
tomFlowee b450d613bc New version 2025-04-08 13:01:26 +02:00
tomFlowee fab99d8390 Update German translations from Crowdin 2025-04-08 13:00:08 +02:00
tomFlowee dffcda40d8 Use a serious name 2025-04-08 12:17:21 +02:00
tomFlowee 18b446d6e0 Don't request permissions unless needed 2025-04-08 12:15:56 +02:00
tomFlowee 58f2f8dd18 not a foreground service afterall 2025-04-08 12:13:18 +02:00
tomFlowee fc9f6f2658 Fix java string compare
Probably the oldest gotcha on Java, strings can not be compared with
the == sign.
It's been several decades, so I have a bit of an excuse ;-)
2025-04-08 12:00:05 +02:00
tomFlowee 3090b74e4f Update amountToString to remove the stringBuilder
This cleans up the code even more, unifying the different cases
into one simple approach.

Added a unit test to verify the result.
2025-04-07 20:59:40 +02:00
tomFlowee b0c4545b09 Improve typing/pasting of seedphrase
This adds the ability to paste an almost correct seed phrase, for
instance when the last word is cut off.

We also provide a new UI to propose words while typing the seed,
allowing the user to tap on the words instead of having to finish typing
them.
2025-04-07 15:35:44 +02:00