Commit graph

258 commits

Author SHA1 Message Date
SomberNight
c776af41f6
qt: allow QR codes to store a bit more data
by decreasing error correction (about ~26% larger max payload)
2019-05-26 02:13:02 +02:00
SomberNight
aec53ae6af
qt: "Help" and "?" buttons can show rich text
namely "Revealer" plugin uses rich text in its description
2019-05-26 01:27:27 +02:00
SomberNight
158090bf8b
util.parse_URI: more granular exceptions
related: #5376

first report in #5376 was generated with these changes;
before, the exception was caught and a toast displayed "Not a Bitcoin URI"
2019-05-25 04:55:36 +02:00
SomberNight
db9a9bbf25
qt settings: restart needed after toggling log_to_file 2019-05-21 20:57:29 +02:00
SomberNight
d3f65e24e1
kivy: warn user during "Send" if high fee (change condition)
Specifically, warning was previously triggered if fee > 1 mBTC;
now it is unified with Qt, warning is triggered if feerate > 600 sat/byte.
2019-05-17 20:10:10 +02:00
SomberNight
e415c0d930
wallet: (fix) synchronizer would also resub closed wallets...
network cb was not removed, so Synchronizer and the wallet itself was
kept in memory; and Synchronizer kept working
2019-05-14 17:04:03 +02:00
SomberNight
7aaac2ee30
qt wizard: change wizard_dialog semantics to raise exceptions
Specifically GoBack and UserCancelled will not be suppressed anymore.
Previously, if 'run_next' raised GoBack, that would propagate out fully,
while if 'func' itself raised it would be suppressed. This was confusing.

somewhat related: #5334
2019-05-14 15:31:33 +02:00
SomberNight
099315013e
(trivial) qt main_window: rm unnecessary indendation 2019-05-14 00:03:50 +02:00
SomberNight
f6dfcccf8c
qt: factor out util.MessageBoxMixin.msg_box into function and use it
so these dialogs also get our custom default settings applied,
e.g. their text is selectable by mouse
2019-05-13 23:59:29 +02:00
SomberNight
4db1535bce
qt wizard: catch wallet/bitcoin exceptions (regression)
fix #5342
2019-05-13 22:56:38 +02:00
SomberNight
a59e3efd3e
qt send tab: fix tx_size and fee calc in case of payment requests
do_update_fee() was always setting
`outputs = self.payto_e.get_outputs(...)`
but this only works `if not self.payment_request`

Minor refactor to re-use logic instead of duplicating code.
2019-05-13 02:52:22 +02:00
SomberNight
22c08f1522
qt dark: fix2 "In History tab, labels while edited were being clipped"
follow-up 3ed502a728
from Electron-Cash/Electron-Cash@cddde8d21b
2019-05-11 02:17:35 +02:00
SomberNight
f6a7e6ec7d
logging: don't log to file by default
Leaking addresses/pubkeys/txids is a privacy leak...
but with lightning, logging should be enabled by default, as otherwise
issues would be sometimes impossible to debug...
Well, disable it for now.
2019-05-08 16:52:04 +02:00
SomberNight
3ed502a728
qt dark: fix "In History tab, labels while edited were being clipped" 2019-05-08 16:31:56 +02:00
SomberNight
0e6cf153d7
synchronizer: show progress in GUI 2019-05-07 17:58:06 +02:00
SomberNight
7a99fdc275
kivy: fix crash in logging.py; platform.platform() not available 2019-05-06 19:10:29 +02:00
SomberNight
b11cb11d95
qt console: failed to print certain objects with custom __eq__ 2019-05-05 17:59:45 +02:00
SomberNight
00b2fee461
qt dark style: fix padding of PayToEdit
based on Electron-Cash/Electron-Cash@7e69f0e6ea
see ColinDuquesnoy/QDarkStyleSheet#159
2019-05-05 02:14:07 +02:00
SomberNight
c80c3596a7
logging: expose 'disablefilelogging' option in Qt preferences 2019-05-04 18:30:26 +02:00
SomberNight
e361a8549c
qt paytoedit: enable up/down keys
useful if multiline, and no harm(?) otherwise
2019-05-04 04:42:39 +02:00
SomberNight
aac9826e1b
qt paytoedit: better height adjustment
was sometimes weird...
e.g. pasting several lines of outputs would leave the textedit single line
2019-05-04 04:39:59 +02:00
SomberNight
163a814dc4
logging: log exceptions caught by crash reporter 2019-05-02 15:19:11 +02:00
SomberNight
a7b13f4876
logging: make console log lines shorter 2019-05-02 15:19:11 +02:00
SomberNight
3385a94753
logging: basics 2019-05-02 15:19:03 +02:00
SomberNight
28d70963ec
qt txdialog: word-wrap blockhash 2019-05-02 12:05:27 +02:00
SomberNight
19ced234aa
qt: maybe batch do_update_fee() on network fee update 2019-05-02 03:09:47 +02:00
SomberNight
15dda65c52
qt network dialog: "use Tor proxy" cb would get auto-checked incorrectly 2019-05-02 01:20:14 +02:00
SomberNight
19d7784616
qt tx dialog: show block height and block hash 2019-04-29 02:48:40 +02:00
SomberNight
205c437d9a
wallet: get_tx_info now returns NamedTuple instead of abomination 2019-04-29 02:32:15 +02:00
SomberNight
271d1a3f1d
qt tx dialog: two columns for tx stats
also show "RBF", and fix "date"
2019-04-29 01:19:06 +02:00
SomberNight
99f9a1b484
qt: warn user if in testnet mode
closes #5295
2019-04-28 06:31:01 +02:00
ghost43
a6762ffebc
Merge pull request #5272 from SomberNight/issue_4638_2
sweep/import key: disallow uncompressed segwit
2019-04-25 14:25:46 +02:00
SomberNight
2b717a8cef
minor fix re translated string 2019-04-21 03:31:37 +02:00
SomberNight
8ad0c248a5
cpfp: include fee already paid by parent tx in calculation
fixes #5244
2019-04-20 02:09:45 +02:00
SomberNight
46a236f167
qt tabs: restore filter state after refresh 2019-04-19 19:12:42 +02:00
SomberNight
a1d98d4331
sweep/import key: show error in Qt GUI to user as tooltip 2019-04-19 00:15:45 +02:00
ThomasV
9b4e490e3c leave max_button pressed (fix #5251) 2019-04-17 14:18:36 +02:00
Abdussamad Abdurrazzaq
ffe676bc28 Strip whitespace from amounts when copying. Fix bug in request list where address was copied instead of column specific data (#5228) 2019-04-05 15:59:14 +02:00
SomberNight
441da52b51
fix more DeprecationWarnings 2019-03-27 19:27:45 +01:00
SomberNight
199199421d
follow-up prev 2019-03-26 20:42:24 +01:00
SomberNight
beacf88420
qt invoice list: fix #5222 2019-03-26 16:38:32 +01:00
zebra-lucky
df6cba5af8 fix sign message not accept rich text (#5210)
* fix sign message not accept rich text

* set no rich also to signature/encrypt msg/encrypted fields
2019-03-20 00:46:19 +01:00
SomberNight
3b7b81d82b
qt Coins tab: better tooltip for frozen items 2019-03-11 19:03:32 +01:00
SomberNight
95965c8ef4
qt Coins tab: add "Copy ..." option to context menu 2019-03-11 18:55:49 +01:00
SomberNight
24b0943266
qt Coins tab: reorder columns so that outpoint is first 2019-03-11 18:53:53 +01:00
SomberNight
752c518bdc
add option to freeze individual UTXOs
based on cculianu's work in Electron-Cash/Electron-Cash@fd910cffc8
2019-03-11 18:46:29 +01:00
SomberNight
cd40f2c9b7
trivial wallet clean-up 2019-03-10 18:47:23 +01:00
SomberNight
790c889483
qt network dialog: increase min size 2019-03-07 16:33:30 +01:00
SomberNight
12b98fa251
wizard: fix regression: unencrypted wallets were not getting upgraded
fixes #5177
2019-03-04 17:23:43 +01:00
SomberNight
bf1c1c2a11
qt qrcodewidget: on MacOS, was grabbing whole screen
from Electron-Cash/Electron-Cash@61d46989e6
2019-03-04 04:24:45 +01:00