Commit graph

320 commits

Author SHA1 Message Date
bitromortac
750147d931 kivy: display warning when first channel is opened 2020-10-22 18:05:51 +02:00
bitromortac
bdca7be1c7 kivy: remove enable/disable button 2020-10-22 18:05:51 +02:00
bitromortac
42df51f2dd qt: remove node suggestion 2020-10-22 18:05:51 +02:00
SomberNight
914b606cb9
kivy: fix app not even starting
```
  File "/home/user/venvs/electrum37/lib64/python3.7/site-packages/kivy/lang/builder.py", line 654, in _apply_rule
    child = cls(__no_builder=True)
TypeError: __init__() got an unexpected keyword argument '__no_builder'
```

follow-up c70484455c
2020-10-20 14:55:39 +02:00
SomberNight
f125a06453
wallet: simplify get_wallet_delta 2020-10-18 20:37:29 +02:00
SomberNight
c70484455c
kivy: use our logger, not kivy's; and log more exceptions. 2020-10-16 17:55:40 +02:00
SomberNight
ef84716e8b
(trivial) kivy: rename title of DSCancelDialog
For an action called "Cancel transaction" it is confusing to have a "Cancel" button
that cancels the action... not sure how to fix -- this is perhaps the least intrusive change
2020-10-15 17:38:41 +02:00
ghost43
83143f421a
Merge pull request #6641 from SomberNight/202010_dscancel
wallet: implement cancelling tx by double-spending to self ("dscancel")
2020-10-13 17:42:10 +00:00
SomberNight
4b6c86ecbe
wallet: make labels private, and access to need lock
e.g. labels plugin iterated over wallet.labels on asyncio thread while user could trigger an edit from Qt thread
2020-10-13 18:57:55 +02:00
SomberNight
8eb4247ac4
kivy: allow setting password for watch-only wallets
closes #6622

This has been only disabled for historical reasons: for a long time,
wallets in kivy were only keystore-encrypted, but watch-only wallets
do not have a keystore. Now they are storage-encrypted so passwords make sense.
2020-10-13 17:19:47 +02:00
SomberNight
67cd73cae0
kivy: implement dscancel 2020-10-09 19:01:48 +02:00
SomberNight
c4c22312c4
transaction: impl tx.to_qr_data(): move logic from GUI to tx class 2020-09-23 14:57:46 +02:00
MrNaif2018
6bd1a04aee
Pass wallet to invoice_status/request_status (#6595)
* Pass wallet to invoice_status/request_status

* Check for same wallet in qt gui

Co-authored-by: ghost43 <somber.night@protonmail.com>
2020-09-18 17:28:51 +00:00
Luke Childs
7b122d2679
Automated BIP39 Recovery, squashed 2020-08-20 17:50:39 +02:00
ThomasV
8703d10d65
Merge pull request #6395 from akshayaurora/patch-1
Re-size the wizard before next frame is displayed.
2020-07-29 17:58:59 +02:00
SomberNight
52f8aafb60
kivy: fix fx history rates defaults.
In kivy, if the user enabled fx rates but did not touch the fx history settings,
the GUI would show that history rates are enabled but in fact they would be disabled:
the GUI called fx.get_history_config(default=True) when displaying the checkbox,
but exchange_rate.py would not fetch history rates.
(it would only get fixed if the user touched the fx history checkbox)

Note: FxThread.run() calls fx.show_history(), which calls fx.get_history_config() without arguments.
2020-07-16 01:00:51 +02:00
SomberNight
67a5f2e09a
kivy: fix fiat balance str if there are channels
btc and fiat balance was not consistent
2020-07-15 23:48:45 +02:00
Akshay Arora
2b394f5f93
Size the wizard instantly, do not wait.
Fixes a UI issue in kivy Install Wizzard.
The Choices UI was displayed in a small vertical line for a split second, before being resized to correct size.
This fixes that by ensuring resizing is done before next frame is displayed https://kivy.org/doc/stable/api-kivy.clock.html#schedule-before-frame .
2020-07-15 22:57:24 +05:30
SomberNight
c66c54a254
android: handle on-chain/lightning URI on app open
fixes #6352
2020-07-08 04:16:30 +02:00
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
fixes #6276
2020-07-03 16:10:36 +02:00
ThomasV
9fd9703107 fix #6275 2020-06-26 10:07:51 +02:00
ThomasV
b0c390e231 wallet.clear_requests. fixes #6279 2020-06-26 09:47:16 +02:00
SomberNight
5f40414bd2
kivy: fix #6280 (share btn in qr_dialog) 2020-06-26 03:38:39 +02:00
SomberNight
b764d0f0bf
kivy: fix #6262 2020-06-26 03:25:36 +02:00
SomberNight
afbdacbe16
kivy: use on_release instead of on_press in buttons
I think on_release has better UX.
More importantly, on desktop linux with kivy 2.0.0rc2, on_press does not work for me.
(but on Android, with kivy 1.11.1, it does)
2020-06-25 21:55:59 +02:00
ThomasV
01202ed3eb fix amount_sat in kivy invoice/request dialogs. (follow-up d5f368c584) 2020-06-25 14:39:14 +02:00
SomberNight
d5f368c584
LN invoices: support msat precision
fixes #6250
2020-06-22 22:48:13 +02:00
SomberNight
b6db201570
util: small clean-up for format_satoshis 2020-06-22 02:46:16 +02:00
ThomasV
e30c752e19 kivy: improve channels list 2020-06-19 20:16:25 +02:00
SomberNight
182c192558
qt: easier import/export of channel backups 2020-06-19 04:48:20 +02:00
SomberNight
4c70956687
filter callbacks to wallet: channel, payment_succeeded, payment_failed
It is ugly that the 'channel' callback takes a wallet I guess,
but with channel backups in one wallet, and active channels in another,
it was causing problems... (when open simultaneously)
2020-06-19 04:11:35 +02:00
ThomasV
26ae6d68a3 add encryption version to channel backups 2020-06-18 15:03:16 +02:00
ThomasV
e99a38e538 on_payment_succeeded: show description 2020-06-17 10:37:22 +02:00
ThomasV
661ecb2cf5 add help text to channel backup QR code 2020-06-16 18:48:04 +02:00
ThomasV
485422b072 move android stuff to contrib/android 2020-06-12 20:57:22 +02:00
ghost43
947af92126
tx dialog: show various warnings if input amounts cannot be verified (#6217)
see #5749
2020-06-08 14:24:41 +00:00
ThomasV
4004b8085f kivy on_resume: check self.has_pin_code() 2020-06-06 13:34:40 +02:00
ThomasV
1429c5b2bf (minor) fix missing parameter to PincodeDialog 2020-06-06 13:19:00 +02:00
ThomasV
2464b3ab81 follow-up 88bb5309c4 2020-06-06 12:08:36 +02:00
ThomasV
88bb5309c4 Fix issue #6201:
- Pass a proper callback to WalletDialog
   (we used to call load_wallet_by_name recursively)
 - Do not cache PasswordDialog instances
2020-06-04 19:17:58 +02:00
SomberNight
309ba15745
invoices: follow-up fixes re clean-up
follow-up 6058829870 and related
2020-06-03 21:00:03 +02:00
ThomasV
8cb36cb969 fix #6194 2020-06-01 21:57:46 +02:00
ThomasV
6058829870 Use attr.s classes for invoices and requests:
- storage upgrade
 - fixes #6192
 - add can_pay_invoice, can_receive_invoice to lnworker
2020-06-01 21:02:45 +02:00
ThomasV
5f527720cf kivy: update devs list 2020-05-30 20:38:47 +02:00
SomberNight
d0e6747bb5
kivy: (fix) popups had white background with recent kivy
fixes #6191
2020-05-29 21:32:27 +02:00
SomberNight
f8530b1cda
android build: use python3.7 for now
see #6147
2020-05-29 21:15:05 +02:00
SomberNight
3e4ead446b
kivy: (trivial) fix typo in error msg 2020-05-29 20:53:12 +02:00
ThomasV
3bf2641ce8 kivy: remove test_seed and test_xpub. fixes #6146 and #5925 2020-05-29 08:59:14 +02:00
ThomasV
959af0065b follow-up previous commit: cleanup imports 2020-05-26 16:06:15 +02:00
ThomasV
1c436bbc22 move units and amount formatting to simple_config 2020-05-26 15:49:28 +02:00