Commit Graph

1160 Commits

Author SHA1 Message Date
SomberNight
bd1f7b539e
qt: don't import PyQt5.Qt
related #4960
2018-12-26 03:58:50 +01:00
SomberNight
ccec45a564
qt: fix address list context menu race
closes #4961
2018-12-24 19:03:10 +01:00
SomberNight
0bce96d2de
qt crash report: fix formatting
follow-up 5dc240d4ed
2018-12-24 18:52:03 +01:00
ThomasV
5469e3668e fix #4958 2018-12-23 10:02:19 +01:00
SomberNight
dac5af8eca
trustedcoin: friendlier error msg for invalid otp when signing 2018-12-22 09:06:30 +01:00
ThomasV
30845ee776 prepare release 3.2.2 2018-12-21 22:41:12 +01:00
SomberNight
5dc240d4ed
qt: show_message and friends display plaintext by default 2018-12-21 20:46:47 +01:00
SomberNight
5248613e9d
gui: prepend broadcast_transaction errors with explanatory message 2018-12-21 20:44:38 +01:00
SomberNight
b491a30dd9
kivy network dialog: update server and proxy properly
Previously "proxy" would only get updated when closing and reopening
the network dialog. "server" would only get updated after successful
connection establishment to specified server.
2018-12-21 16:59:43 +01:00
SomberNight
744bfc1eeb
util.profiler: simplify
follow-up 6192bfce46
closes #4904
2018-12-20 17:09:58 +01:00
ghost43
7773443c17
network: put NetworkTimeout constants together (#4945)
* network: put NetworkTimeout constants together

* fix prev
2018-12-20 16:49:17 +01:00
SomberNight
43461a1866
qt history: fix exporting history
closes #4948
2018-12-20 16:46:58 +01:00
ThomasV
85b712967f prepare release 3.3.1 2018-12-20 13:24:35 +01:00
ThomasV
b1b6b250d1 kivy: do not request PIN for watching-only wallets 2018-12-20 13:23:46 +01:00
ThomasV
2e078493a7 kivy: improve context menu 2018-12-20 12:43:31 +01:00
ThomasV
96b66b7e4f kivy: use on_state instead of on_release 2018-12-20 12:19:54 +01:00
ThomasV
58a9fa0ad5 kivy: use default scroll_distance and scroll_timeout 2018-12-20 11:32:01 +01:00
ghost43
8e5331e5b2
Merge pull request #4932 from SomberNight/revealer_cleanup_20181215
revealer: clean-up, allow restoring v0
2018-12-20 04:24:21 +01:00
SomberNight
caae9f8a6a
revealer: warning re version 0 now includes URL 2018-12-20 04:21:40 +01:00
SomberNight
1b7672f70e
qt: fix invoices tab
closes #4941
2018-12-20 01:09:16 +01:00
SomberNight
d5591da682
qt history: consider column is hidden in context menu 2018-12-19 17:01:20 +01:00
SomberNight
f0f73380a2
qt history: fix refresh bug ("verified"/fee histogram interplay) 2018-12-19 16:47:26 +01:00
SomberNight
ba33bc4ad8
plugins: fix hook/attr name collision in close()
Revealer plugin has method "password_dialog"
"password_dialog" is also a hook name, but revealer.password_dialog is not a hook
2018-12-19 02:10:47 +01:00
SomberNight
8f5f0e46aa
keystore: fail sooner if unsupported version
follow-up #4937
2018-12-18 19:57:58 +01:00
SomberNight
0c9a03ac54
keystore: revert KDF change from #4838
making the KDF expensive is blocked on #4909
2018-12-18 15:37:29 +01:00
SomberNight
c59ac49fea
fix greenaddress plugin: follow-up 75f6ab9133 2018-12-17 13:41:00 +01:00
SomberNight
f0868f5a51
revealer: warning re version 0 vulnerability 2018-12-15 09:26:54 +01:00
SomberNight
e7e9f8e7f2
revealer: fix unlucky hex seed causing crash 2018-12-15 09:05:12 +01:00
SomberNight
f969edcf50
revealer: split some core parts out into separate file
for easier testing
2018-12-15 08:52:00 +01:00
SomberNight
94afd7a9ea
revealer: clean-up noise-generation. support regeneration of v0 again 2018-12-15 08:13:30 +01:00
SomberNight
91ef367176
revealer: fix path madness
don't use translated strings in file system paths!
2018-12-15 01:12:59 +01:00
SomberNight
e1ba962fe1
revealer: clean-up prev and fixes 2018-12-15 01:07:35 +01:00
tiagotrs
ff2cdf9f16
small fixes, simplification/improvement of texts 2018-12-15 00:48:44 +01:00
tiagotrs
b41a83ceda
new hook/interface ref #4540 2018-12-15 00:48:40 +01:00
SomberNight
0657bb1b36
test_wallet_vertical: add segwit 2fa test 2018-12-14 23:01:52 +01:00
SomberNight
664b0c234e
wizard: fix imported address wallets
assertion added in 9350709f13 was failing
2018-12-14 22:50:25 +01:00
ThomasV
27caa683fe kivy: show synchronization status in the balance field 2018-12-14 08:27:03 +01:00
ThomasV
75f6ab9133 rm requests from greenaddress plugin 2018-12-14 07:41:26 +01:00
SomberNight
8b775fd24a
contrib: import 'requests' in try-except 2018-12-13 23:25:52 +01:00
SomberNight
78f5afff74
use certifi directly instead of requests 2018-12-13 23:11:59 +01:00
SomberNight
c09ac41b27
ssl: use certifi explicitly for aiohttp and electrum-server connections
fixes ssl issues on Android
2018-12-13 22:54:53 +01:00
ThomasV
7a4270f5a4 Qt: camera icon 2018-12-13 17:21:56 +01:00
SomberNight
67b2aebed6
android build: use rebased p4a fork
86eeec7c19
2018-12-13 16:23:58 +01:00
Calin Culianu
14363f8f2f
[Qt] Got rid of qt.util.Timer class and instead replaced the functionality with the more efficient QTimer. Also added disconnection from the timer on window close.
(cherry picked from 19a21eb08d)
2018-12-13 16:00:44 +01:00
ThomasV
3184d6f369 simplify previous commit 2018-12-13 12:10:36 +01:00
SomberNight
ef94af950c
wallet: try detecting internal address corruption 2018-12-12 20:50:53 +01:00
SomberNight
9bbfd610be
qt: don't flash QWidgets on startup before main window is visible
Consider wallet without password set. Using Qt GUI.
When starting the app, before the main window appears, small artefacts
("minimised" windows?) would appear very briefly and then disappear.
2018-12-12 19:58:13 +01:00
SomberNight
363dd12a2a
qt: try even harder not to crash whole app on first start 2018-12-11 21:29:23 +01:00
ThomasV
dd848304e6
Merge pull request #4880 from spesmilo/2fa_segwit
2fa segwit (from ghost43's PR)
2018-12-11 18:33:41 +01:00
ThomasV
4681ac8c23 CLI deserialize: always force full parse 2018-12-11 13:58:05 +01:00
ThomasV
502a4819b6 trustedcoin: do not set wallet.plugin in constructor 2018-12-11 13:08:10 +01:00
ThomasV
467e40b555 trustedcoin: serialize using PARTIAL_TXN_HEADER_MAGIC 2018-12-11 11:46:31 +01:00
ThomasV
040b5b3f88 trustedcoin: fix get_xkeys 2018-12-11 09:59:39 +01:00
SomberNight
84519752c3 trustedcoin: fix prev. remove temp xpubs. 2018-12-11 09:28:35 +01:00
ThomasV
852f2a0d65 trustedcoin: do not require wallet file upgrade 2018-12-11 09:28:35 +01:00
SomberNight
7b90d69443 trustedcoin: p2wpkh billing addresses 2018-12-11 09:28:35 +01:00
SomberNight
eeea4fcb31 rename 2fa non-segwit type to "legacy 2fa" and make segwit the default 2018-12-11 09:28:35 +01:00
ThomasV
df59a43300 fix test 2018-12-11 09:28:35 +01:00
ThomasV
5a93bf054e 2fa segwit (from ghost43's PR) 2018-12-11 09:28:35 +01:00
SomberNight
0ec7005f90
qt history: data() should return QVariant
the docs says so,
and also HistoryList.create_menu() was crashing sometimes re "Copy {}"
2018-12-10 19:42:31 +01:00
SomberNight
4e7b2f3ea3
qt history: use IntEnum for column indices 2018-12-10 19:25:38 +01:00
ghost43
53b64a6367
Merge pull request #4915 from spesmilo/qabstractitemmodel
use QAbstractItemModel in History tab
2018-12-10 18:10:00 +01:00
SomberNight
0ddccd56c7
interface: fix only-genesis regtest case 2018-12-10 17:46:37 +01:00
SomberNight
4791c7f424
qt history: fix toggling fiat capital gains 2018-12-10 16:53:46 +01:00
SomberNight
b0631f90f8
qt history: fix slowness
arghhhhh finalllllllllllly figured it out...
2018-12-10 16:48:55 +01:00
ThomasV
e35ed17200 remove call to undefined method refresh_headers 2018-12-10 13:07:03 +01:00
ThomasV
059fb51893 reintroduce profiler 2018-12-10 10:18:24 +01:00
SomberNight
ca1043ffda
qt history list: hide columns sooner
while wallet was starting up "hidden columns" were visible
2018-12-10 09:31:53 +01:00
SomberNight
5be6966462
qt history list: allow filtering by (partial) txid 2018-12-10 09:31:52 +01:00
SomberNight
0d755b86ab
qt address dialog: HistoryModel needs reference to correct HistoryList
refresh() was hiding/showing the headers of the main HistoryList
2018-12-10 09:31:52 +01:00
SomberNight
a99b92f613
qt history list: optimise fee histogram induced refresh 2018-12-10 09:31:51 +01:00
SomberNight
696db310a5
qt history list: optimise update_item (tx mined status) 2018-12-10 09:31:50 +01:00
SomberNight
b1e15751d6
qt history list: "status"-based sort should also tie-break on height 2018-12-10 09:31:50 +01:00
SomberNight
65e8eef87f
qt history list: use OrderedDictWithIndex for txns 2018-12-10 09:31:49 +01:00
SomberNight
8bb930dd04
fix OrderedDictWithIndex
setitem() would modify the dict of the class. oops.
2018-12-10 09:31:49 +01:00
SomberNight
3c3fac7ca4
qt history list: fix shortcut in refresh() 2018-12-10 09:31:48 +01:00
SomberNight
5e61ad09c1
qt addresses list: fix filtering 2018-12-10 09:31:48 +01:00
SomberNight
48e119b59e
qt history: minor clean-up and sanity checking 2018-12-10 09:31:47 +01:00
SomberNight
e023d8abdd
qt history list: sorting of first column now considers txpos
same block txns were in unnatural order, maybe sort is not stable?
2018-12-10 09:31:47 +01:00
SomberNight
1c0c21159b
qt history list: performance optimisations 2018-12-10 09:31:46 +01:00
Janus
d2ddb255ef
QAbstractItemModel: Release Notes and Address List fiat bug fix 2018-12-10 09:31:46 +01:00
Janus
3960070a50
QAbstractItemModel: fix sorting, QAbstractItemDelegate usage, QVariant usage 2018-12-10 09:31:45 +01:00
Janus
4eb4b341db
QAbstractItemModel: initial version, filter not done 2018-12-10 09:31:39 +01:00
SomberNight
5b9b6a931d
qt network dialog: fix NodesListWidget if there is fork
undo part of 5473320ce4
2018-12-10 08:04:54 +01:00
SomberNight
9607854b67
network: fix switching interface (restart old one)
follow-up b3ff173b45
connection_down was killing the already restarted old interface
2018-12-10 08:03:42 +01:00
SomberNight
62e352a2a8
network: don't let _maintain_sessions die from CancelledError
as then the network would get paralysed and no one can fix it
2018-12-09 20:04:42 +01:00
SomberNight
b3ff173b45
interface: change close() implementation
was getting on lightning branch in some circumstances
RecursionError: maximum recursion depth exceeded while calling a Python object
2018-12-09 20:02:00 +01:00
benma
6c20340338 bitbox: fix seed command (#4906)
Entropy required to be 64 bytes.
2018-12-08 17:02:24 +01:00
SomberNight
0294844c11
labels plugin qt: only update corresponding window; disconnect signal 2018-12-08 06:56:18 +01:00
SomberNight
258b504000
qt main window: unregister network callbacks 2018-12-08 06:31:28 +01:00
SomberNight
c9482b5ea2
fix prev 2018-12-07 20:59:19 +01:00
SomberNight
c017f788ac
wallet: TxMinedInfo (merged TxMinedStatus and VerifiedTxInfo) 2018-12-07 20:47:28 +01:00
Janus
e1f4865844 digitalbitbox, trustedcoin: proxied http client
use common cross-thread HTTP method, which is put in network.py,
since that is where the proxy is. TrustedCoin tested successfully,
but DigitalBitbox can't be tested completely due to #4903

before this commit, digitalbitbox would not use any proxying
2018-12-07 19:19:40 +01:00
Janus
0169ec880c digitalbitbox: make constant strings 2018-12-07 19:18:33 +01:00
Janus
9a3f2e8fcc digitalbitbox: fix stretch_key bytes/str confusion 2018-12-07 18:41:40 +01:00
SomberNight
8c3920a0db
hw: check_libraries_available now gets version of incompatible libs
previously we would return early and the user would
just see "missing libraries"
2018-12-06 19:39:58 +01:00
ghost43
1546d65ebe
Merge pull request #4875 from matejcik/trezor-0.11
WIP: Trezor 0.11
2018-12-06 19:38:51 +01:00
SomberNight
20fa7fc2f7
trezor: fix sign_transaction prev_tx 2018-12-06 19:37:12 +01:00
SomberNight
9e86bc586c
trezor: only confirm passphrase when creating wallet
but not when decrypting
2018-12-06 19:37:11 +01:00
SomberNight
605982a2b7
android build: less verbose buildozer logs 2018-12-06 17:25:00 +01:00