Commit graph

315 commits

Author SHA1 Message Date
SomberNight
1ebfcc0f36
kivy: "paste" button now works for transactions 2019-05-26 02:46:25 +02:00
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
3b445d7248
fix #5376 2019-05-25 05:13:57 +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
d2a80f15a1
kivy fx dialog: fix #5329 2019-05-13 20:05:01 +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
dd7b356fcc
kivy wizard: fix #5333 2019-05-11 19:36:57 +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
ThomasV
1b8673839a buildozer: add tests to exclude_dirs 2019-05-09 15:51:00 +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
fd09033890
kivy: fix a race at startup
on_history (fx) races with load_wallet
2019-05-06 21:10:52 +02:00
SomberNight
70fd716cbe
kivy: fix IPv6
closes #5176
2019-05-06 19:11:56 +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
6940c424d1
logging: cli options to filter for modules using -v
old style "-v" still works

filtering examples:
-v=debug,network=error,interface=error      // effectively blacklists network and interface
-v=warning,network=debug,interface=debug    // effectively whitelists network and interface
2019-05-02 15:19:10 +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
914d02ecd3
kivy tx dialog: allow removing local transactions
fixes #5156
2019-04-21 03:26:54 +02:00
SomberNight
8d0ec1dec0
kivy tx dialog: "action button" can have multiple options -> dropdown 2019-04-21 03:25:06 +02:00
SomberNight
2adabfd918
kivy: fix history tab fiat values
follow-up 46f1fca7c3
2019-04-21 01:55:46 +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
SomberNight
0c1ea909df
kivy: "server lagging" -> show number of blocks 2019-04-12 17:13:10 +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