Commit Graph

47 Commits

Author SHA1 Message Date
Sander van Grieken
6e8f97d36a qml: add config option WALLET_FREEZE_REUSED_ADDRESS_UTXOS 2025-04-07 19:48:20 +02:00
ThomasV
8a96c88615 remove config vars WALLET_BIP21_LIGHTNING and WALLET_BOLT11_FALLBACK (see #9580) 2025-02-26 11:41:59 +01:00
Josh Geden
6331448860 qml: add config setting for max brightness on qr display 2025-01-22 09:47:10 +01:00
Sander van Grieken
082cf6677e qml: expose LIGHTNING_PAYMENT_BUDGET_FEE_MAX_MILLIONTHS in preferences 2024-05-09 12:31:51 +02:00
SomberNight
0dae17339d qml: add config setting to allow screenshots
On Android, we disallow screenshots on screens where the seed is visible.
(The seed is extremely sensitive data that should not be stored digitally without
significant precautions but it's also cumbersome to write down or memorise, so
some people instinctively just try to take a screenshot of it when creating a wallet.)
We do this by using the built-in OS mechanism of setting FLAG_SECURE on the window.
However, on some devices with custom ROMs (one report from LineageOS, one from /e/OS),
unsetting FLAG_SECURE crashes the application for some reason.

As a workaround, this commit adds a config setting into the Preferences,
to disable this mechanism and just always allow screenshots.
(note that you can get into the qml Preferences before creating/opening any wallet)

ref https://github.com/spesmilo/electrum/issues/8522
2023-12-27 07:28:39 +00:00
Sander van Grieken
8b567ae447 qml: remove all QML imports version numbers 2023-11-07 10:17:08 +01:00
Sander van Grieken
583afefe33 qml: add deadzones on the edge of the screen to work around android back gesture unintended click events 2023-07-28 14:47:40 +02:00
Sander van Grieken
b6863b4854 qml: add LabelSync toggle 2023-07-11 12:51:37 +02:00
ThomasV
5e29b94561 qml MessageDialog: split messages into title and header message. hide header if it is empty. 2023-04-18 14:07:41 +02:00
Sander van Grieken
62af3265cb qml: disable menu option associated with current page 2023-04-17 15:36:13 +02:00
Sander van Grieken
93ef013111 qml: fix recoverable channels setting 2023-04-17 11:40:09 +02:00
ThomasV
f562ad38cf qml: add confirm dialog before disabling recoverable channels (similar to trampoline) 2023-04-14 14:18:49 +02:00
Sander van Grieken
75f63a4666 qml: remove yesClicked signal, use accept()/accepted signal in MessageDialog. 2023-04-11 10:22:48 +02:00
ThomasV
337d2a32d8 qml PIN: do not lock inactive app, and remove timeout
- the activity callback does not work properly on android
  (does not work on my phone). Also, it duplicates the lock
  screen function of most phones.

- if we do not lock inactive app, then the PIN feature does
  not need a timeout, and is easier to understand without it.

- in Preferences, explain what it does
2023-03-16 09:37:43 +01:00
ThomasV
4e2b7c6ab3 qml: remove requestExpiry from preferences dialog (redundant) 2023-03-16 05:51:57 +01:00
Sander van Grieken
d717471389 qml: move PIN one section up in Preferences 2023-03-09 15:38:29 +01:00
Sander van Grieken
db467ff1f7 qml: remove not implemented new version check option in Preferences 2023-03-09 10:01:06 +01:00
Sander van Grieken
ba888fc9fa qml: background flatbuttons within pages 2023-03-03 15:50:13 +01:00
Sander van Grieken
41f0f73bed qml: PIN enable/disable/change more in line with other preferences items 2023-03-03 10:41:06 +01:00
Sander van Grieken
e91c45e611 qml: text change 'Change' to 'Modify' 2023-02-28 16:20:18 +01:00
Sander van Grieken
adf23f602d qml: don't show option Never for expiry combobox when in preferences 2023-02-24 20:24:51 +01:00
Sander van Grieken
264cb7846f qml: add language selection to qeconfig.py/Preferences 2023-01-30 14:12:46 +01:00
Sander van Grieken
fd11b9189e qml: really disambiguate text prefs item onchain fallback address 2023-01-26 12:59:31 +01:00
Sander van Grieken
5977386697 qml: disambiguate text prefs item onchain fallback address 2023-01-17 16:45:25 +01:00
Sander van Grieken
f7ac768744 qml: messagedialog No now maps to rejected signal 2023-01-09 17:37:23 +01:00
Sander van Grieken
7f0f09a90b qml: cleanup prev commit, add default icons to MessageDialog, add question icon 2023-01-06 14:57:37 +01:00
Sander van Grieken
99951a437c qml: make trampoline vs gossip routing a switch, and ask confirmation for selecting gossip mode 2023-01-06 14:40:39 +01:00
Sander van Grieken
3a31c0df1b qml: fix Switch layout issues and add section headings to preferences 2023-01-03 18:22:59 +01:00
ThomasV
e1dc7d1e6f Set the RBF flat to all transactions, and remove the 'use_rbf'
preference from the GUI, because the mempoolfullrbf option in
Bitcoin 0.24 makes RBF signaling pretty meaningless. Fixes #8088.

Note: RBF remains disabled for channel funding transactions.
In that case, the flag is actually only used as a semaphore
between different instances of the same wallet.
2022-12-10 18:58:15 +01:00
Sander van Grieken
3a8cfcd5b8 qml: add total balance, fix initialization of create recoverable channels setting 2022-10-17 17:24:46 +02:00
SomberNight
34b594ea40 android: add setting to enable debug logs
If enabled, we log to stderr, which can get inspected via logcat.
Not user-friendly at all - but previously there was no way to get logs from a release build.

closes https://github.com/spesmilo/electrum/issues/7409
2022-10-07 20:28:52 +00:00
Sander van Grieken
685f32750c qml: ui 2022-10-05 18:00:51 +02:00
Sander van Grieken
dff435a745 qml: expose use_recoverable_channels in config/preferences 2022-10-04 14:20:46 +02:00
Sander van Grieken
e5951bbd2d qml: expose RbF in config/preferences 2022-10-04 14:14:03 +02:00
Sander van Grieken
ae15c0527b qml: expose bolt11_fallback in preferences 2022-09-29 13:18:13 +02:00
Sander van Grieken
5f9068d7b0 add default request expiry to preferences/config 2022-09-28 18:21:07 +02:00
Sander van Grieken
27999a9583 qml: clean up, generalize plugin gui base, enumerate plugins in gui
(still quite crude impl, dynamic enable/disable plugin gui is misaligned
with backend)
2022-09-08 15:15:46 +02:00
Sander van Grieken
32a81d8ee7 qml: initial plugin support, with labelsync mostly implemented 2022-09-08 12:19:38 +02:00
Sander van Grieken
c90504986c qml: use custom combobox so we have more control over cropping and styling
enable lightning routing choice combobox
2022-07-22 14:08:00 +02:00
Sander van Grieken
2a13212ded implement auth by PIN and allow auth override to wallet password
by passing method='wallet' to auth_protect
2022-07-07 18:30:20 +02:00
Sander van Grieken
6a1c39728f add 'spend unconfirmed' config option 2022-07-07 18:30:20 +02:00
Sander van Grieken
5889c92e81 improve network status display and states of items when no wallet loaded 2022-07-07 18:29:01 +02:00
Sander van Grieken
81b1f774e2 expose more trampoline boilerplate
allow delegation of make_tx and accept/send
2022-07-07 18:29:01 +02:00
Sander van Grieken
b2f2dfc44f historic rates 2022-07-07 18:29:01 +02:00
Sander van Grieken
d3e2737308 complete and refactor Fx preferences and use in Send/Receive tabs 2022-07-07 18:29:01 +02:00
Sander van Grieken
5d77daa5e3 add currencies to preferences 2022-07-07 18:29:01 +02:00
Sander van Grieken
3d0fbe5f21 add initial Preferences page 2022-07-07 18:28:00 +02:00