1
0
Commit Graph

15405 Commits

Author SHA1 Message Date
SomberNight
98bf974319 invoices: fix to_debug_json: LN r_tags might be missing
>           'r_tags': [ str((a.hex(),b.hex(),c,d,e)) for a,b,c,d,e in self._lnaddr.get_routing_info('r')[-1]]
        })
E       IndexError: list index out of range
2023-01-12 18:18:56 +00:00
Sander van Grieken
0bc8460005 qml: don't initialize instance variables on class scope for non-singletons
(this somehow escaped attention before, as most objects usually don't have multiple instances,
unless multiple wallets are open at the same time.)
Also, move all signal declarations, class constants and variables to the top of class definitions.
2023-01-12 13:09:21 +01:00
Sander van Grieken
58d25d4a5d qml: flake8 happifier 2023-01-10 17:32:20 +01:00
Sander van Grieken
78020e5cc9 qml: Only enable Invoices menu option when there is a wallet opened 2023-01-10 17:28:33 +01:00
Sander van Grieken
bc91732f22 qml: crash handler, move Exception_Hook to qeapp.py 2023-01-10 17:17:19 +01:00
Sander van Grieken
fa030b3fa5 qml: initial crash handler impl 2023-01-10 17:02:38 +01:00
Sander van Grieken
85718bda89 qml add richText property to MessageDialog.
TODO: now we need to handle clicks on link too
2023-01-10 17:02:38 +01:00
SomberNight
b0e2e89395 i18n: document not to use old-style (%) string formatting 2023-01-10 14:06:29 +00:00
ThomasV
63d801e363 Merge pull request #8136 from myxmaster/update-status-bar
Update status bar when preference "Zeros after decimal point" is changed
2023-01-10 14:30:36 +01:00
ThomasV
380b69e5b1 Merge pull request #8132 from myxmaster/space-between-piechart-and-balance
Space between pie chart and balance fix
2023-01-10 14:11:41 +01:00
myxmaster
e6cdcf7413 update status bar when setting "zeros after decimal point" is changed 2023-01-10 13:51:21 +01:00
ThomasV
d7dee45ee9 CLI: decode_invoice: show the last hop of routing hints 2023-01-10 11:57:59 +01:00
myxmaster
7dbf046b03 Space between pie chart and balance fix 2023-01-09 23:46:45 +01:00
Sander van Grieken
10e7d8d926 qml: styling main view 2023-01-09 18:17:17 +01:00
Sander van Grieken
32d60be90a qml: styling OpenWalletDialog 2023-01-09 18:17:17 +01:00
ThomasV
ca544518a8 Merge pull request #8130 from myxmaster/use-placeholder-for-better-translation
use placeholder for better translation
2023-01-09 17:56:39 +01:00
Sander van Grieken
34d483b365 qml: fix invoice amount editable when expired 2023-01-09 17:44:07 +01:00
Sander van Grieken
be371c8d88 qml: styling TxDetails 2023-01-09 17:38:07 +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
82458e7cf0 qml: use FormattedAmount in LightningPaymentDetails, formatter and fx now use millisats if available, else sats 2023-01-09 17:36:12 +01:00
myxmaster
4a0e337c6d use placeholder for better translation 2023-01-09 17:28:19 +01:00
Sander van Grieken
4071fe9726 qml: fix prev 2023-01-09 12:51:50 +01:00
Sander van Grieken
3e717f9da4 qml: show piechart legend and amounts 2023-01-09 12:48:39 +01:00
Sander van Grieken
281b9ddafb qml: don't create new QEAmount instances on query, re-use same instance 2023-01-09 12:31:07 +01:00
Sander van Grieken
becd46fbf6 qml: add show seed on WalletDetails.qml 2023-01-09 11:51:33 +01:00
Sander van Grieken
3271eadbd2 qml: remove electrum logo from top bar 2023-01-09 10:54:54 +01:00
ThomasV
abaa42eac0 make lnwatcher less spammy 2023-01-08 13:10:12 +01:00
Sander van Grieken
495f51e6ad don't log sensitive wizard values 2023-01-06 16:45:57 +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
881afa3b29 qml: underline selected qr type indicator 2023-01-06 14:23:57 +01:00
Sander van Grieken
8795bd6d85 qml: define address colors in Constants, change frozen address to blue 2023-01-06 14:16:07 +01:00
Sander van Grieken
971d7d4da6 qml: make app menu modal 2023-01-06 14:05:49 +01:00
Sander van Grieken
d32c907d3d qml: rename NetworkStatusIndicator to OnchainNetworkStatusIndicator 2023-01-06 14:05:26 +01:00
Sander van Grieken
0cfbbe3b1d qml: remove Wallets menu option, wallet selection is now shown when pressing topbar wallet name 2023-01-06 13:44:29 +01:00
Sander van Grieken
1887502151 qml: remove back button in top bar, move menu button to left
add AppController.isAndroid function to test for android platform. Disable fade in if not on android
2023-01-06 13:42:59 +01:00
Sander van Grieken
20eacc37e1 qml: allow delete wallet if has channels not in REDEEMED state but is channelbackup 2023-01-06 13:42:59 +01:00
ThomasV
a1716df115 follow-up 975cdca474 2023-01-06 13:18:27 +01:00
ThomasV
975cdca474 Qt coin control: allow to add/remove coins one by one.
Not many users know how to select multiple coins at once.
2023-01-06 11:45:14 +01:00
Sander van Grieken
6c410c0548 qml: make listmodel item count a property for channels and transactions 2023-01-06 10:58:47 +01:00
Sander van Grieken
3129fdb358 also build android x86_64 arch. update python-for-android to include x86_64 qt5 patch. 2023-01-06 10:44:48 +01:00
Sander van Grieken
a4a2134db5 better handle p4a parent qt5 recipe 2023-01-05 21:38:51 +01:00
Sander van Grieken
1e658b9b7f center electrum_presplash.png, reduce canvas to 512x512 2023-01-05 20:09:14 +01:00
Sander van Grieken
9704dab68b qml: remove qml splash, update python-for-android with splash support.
main.qml now shows black cover that fades out when app is ready.
2023-01-05 20:09:14 +01:00
ThomasV
07b86f39d9 fix race in address synchronizer (follow-up 29a0560f98) 2023-01-05 14:11:13 +01:00
Sander van Grieken
6a1f19fd86 update python-for-android to electrum_20210421d fb8f6fc44ef7465500c534186b0aba2a5e4ddc15
includes fixes for nativeSetenv
2023-01-05 14:06:42 +01:00
Sander van Grieken
d52afee635 qml: fix autoconnect/single server selection, tapping server selects. 2023-01-04 10:32:27 +01:00
Sander van Grieken
e59e1ec959 qml: change piechart item order, less chance of overlap 2023-01-03 22:53:02 +01:00
Sander van Grieken
02dce339cc qml: fix regressions after can_rbf removal, remove RbF checkboxes 2023-01-03 22:52:09 +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