Commit graph

9328 commits

Author SHA1 Message Date
SomberNight
7939b32a1f minor kivy import fix 2018-03-24 23:51:35 +01:00
SomberNight
fa91cbf762 network - send_subscriptions: copy subscribed_addresses before iterating
see #4146
(this should at least avoid the RuntimeError)
2018-03-24 18:34:51 +01:00
SomberNight
502d72c167 ledger: send derivation for change output 2018-03-24 00:00:22 +01:00
SomberNight
9b7536e75c use explicit utf-8 encoding when opening files in text mode 2018-03-23 21:47:51 +01:00
ThomasV
382f69edd9
Merge pull request #4094 from SomberNight/labels_plugin_catch_exc
labels plugin: better exception handling
2018-03-23 19:48:03 +01:00
ThomasV
05342c5537
Merge pull request #4117 from SomberNight/pay_to_script
fix paying to script
2018-03-23 19:42:04 +01:00
Johann Bauer
8f31d224aa
email_requests: Catch all connection related exceptions
Closes: #4160
Closes: #4105
2018-03-23 15:17:31 +01:00
ThomasV
ba658180d9
Merge pull request #4166 from toxeus/master
electrum.desktop: improve user installation
2018-03-23 14:47:51 +01:00
Johann Bauer
14c45f0915
email_requests: Test connection and catch exceptions 2018-03-23 14:04:11 +01:00
Filip Gospodinov
24d0f3783b electrum.desktop: improve user installation
Before, the desktop entry file would only work correctly
if the user has added `$HOME/.local/bin` to his or her
PATH. The PATH variable is an implementation detail and
the user shouldn't be exposed to it.

Now, the shell is used to look for executables in the
aforementioned folder. System-wide installations remain
intact.
2018-03-23 13:05:06 +01:00
SomberNight
d146c369bf fix #4164 2018-03-22 21:48:51 +01:00
SomberNight
cd19f788cc fix ledger: nano s did not work reliably since last fw update
follow LedgerHQ/btchip-python@6e985b558f
2018-03-22 15:48:48 +01:00
SomberNight
db9cb63e79 ledger: mixed up error code..
follow-up 2ce2b36846
2018-03-22 15:46:23 +01:00
ThomasV
800c783580
Merge pull request #4115 from SomberNight/disallow_adding_requests_w_invalid_addresses
disallow adding receive requests without valid is_mine addresses
2018-03-22 15:34:05 +01:00
ThomasV
774b6ca30d
Merge pull request #4131 from yura-pakhuchiy/btc-desktop
Add testnet mode to .desktop file
2018-03-22 15:32:32 +01:00
ThomasV
858a39571e
Merge pull request #4121 from Chuongv/updateDocForOSX
Update doc for OSX build
2018-03-22 12:28:55 +01:00
ThomasV
bf67920f7f
Merge pull request #4133 from laseryuan/patch-1
Fix the error: locktime is always reset to zero when serialize the js…
2018-03-22 12:25:58 +01:00
ThomasV
f8f00188ed
Merge pull request #4148 from SomberNight/hw_wallet_output_ismine_der
trezor/keepkey/dbb: provide derivation info for all is_mine txn outputs
2018-03-22 12:18:59 +01:00
ThomasV
064fdaca2d
Merge pull request #4149 from toxeus/master
setup.py: fix icon path for user installation
2018-03-22 11:40:21 +01:00
SomberNight
c0a42b756b fix #4159 2018-03-22 08:18:27 +01:00
SomberNight
a00439b6f8 fix #4158 2018-03-22 07:27:18 +01:00
SomberNight
6ef921cbbe ledger hw1: testnet 'support' for security card 2fa; and minor clean-up 2018-03-20 17:07:55 +01:00
SomberNight
77c8010517 bitcoin.py: parameterise a few address-related methods with network 2018-03-20 17:02:49 +01:00
SomberNight
2d94491974 fix #4152. and clean up imports 2018-03-20 14:15:54 +01:00
Filip Gospodinov
1735978088 setup.py: fix icon path for user installation
Before, the user installation used the wrong directory
to store the application's icon resulting in the desktop
environment falling back to an ugly default icon. Now,
the correct icon is displayed in the menu.

"By default, apps should look in $HOME/.icons (for backwards
compatibility), in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps
(in that order)."
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
2018-03-20 12:25:04 +01:00
SomberNight
7d11812f55 trezor/keepkey/dbb: provide info for all is_mine txn outputs 2018-03-20 02:04:41 +01:00
SomberNight
800ea1e300 typos in gui/qt/main_window.py 2018-03-20 00:54:29 +01:00
ThomasV
35ae2a0064
Merge pull request #4143 from SomberNight/wallet_file_exception
Catch wallet file related exceptions in Qt wizard
2018-03-19 11:57:24 +01:00
SomberNight
5fef1e7980 close #4125
perhaps not proper fix but at least more descriptive exception text
2018-03-19 01:26:57 +01:00
SomberNight
36d52dfd5a fix #4129 2018-03-19 01:04:02 +01:00
SomberNight
22061b4555 transaction.get_address_from_output_script now handles witness version > 0 2018-03-18 06:18:48 +01:00
SomberNight
85b36e027f fix a bug with hw devices.
if a device is unplugged and then replugged before we notice (via scan_devices) then it will get into an unusable state, throwing all kinds of low level exceptions when we don't expect it. affects ledger, keepkey, dbb, but for some reason not trezor.
2018-03-18 03:54:28 +01:00
SomberNight
2ce2b36846 ledger: newer fw throws different exception when not in bitcoin mode 2018-03-18 02:14:47 +01:00
SomberNight
ee3ab5361e dbb: handle password prompt cancellation better 2018-03-18 01:55:15 +01:00
SomberNight
3fb75bc606 dbb: do show_address in different thread 2018-03-18 01:46:09 +01:00
SomberNight
45b03d930d make ExceptionWindow inherit from MessageBoxMixin
the stack trace from the report is now user selectable
2018-03-18 01:13:02 +01:00
SomberNight
61a45edee0 Catch wallet file related exceptions in Qt wizard. 2018-03-17 22:56:20 +01:00
SomberNight
680df7d6b6 trezor: move the transport-related reimplemented parts into a separate module. disable the bridge transport.
The bridge transport uses requests.post, which uses socket.getaddrinfo under the hood, which on some OSes (MacOS, Windows) in CPython takes a lock. The enumerate method for the bridge transport can block for 10-30 seconds while waiting for this lock.
2018-03-16 23:19:52 +01:00
SomberNight
c79de3ab3c fix #4139 2018-03-16 22:06:38 +01:00
Laser Yuan
8a5d27dcf4
Fix the error: locktime is always reset to zero when serialize the json data
The "lockTime" field in the json object was ignored due to the wrong attribute name "locktime" was called.
2018-03-16 12:06:33 +08:00
SomberNight
c0ae266d39 DeviceMgr: scan_devices can work without hid 2018-03-16 00:55:45 +01:00
SomberNight
aabd9f01ee wizard hw devices: only scan once 2018-03-15 20:03:12 +01:00
Yura Pakhuchiy
9eb04fac1a Add testnet mode to .desktop file
Easy way to start testnet version from linux DE
2018-03-16 01:40:34 +07:00
SomberNight
afa4cbfcbb fix #4082 2018-03-15 18:34:30 +01:00
SomberNight
71dff2a06e fix #4128 2018-03-15 14:17:27 +01:00
Johann Bauer
a02bd2c183
Travis: Make Windows build more reliable by trying different key servers 2018-03-15 14:00:02 +01:00
SomberNight
38d94bfa7a fix #4082 2018-03-15 13:06:21 +01:00
SomberNight
1bc5640636 qt main_window change_password_dialog: catch InvalidPassword instead 2018-03-15 08:25:31 +01:00
Jason Bruderer
9837a02c95 Fix "same wallet can be opened multiple times via InstallWizard" (#4076)
* Fix #4073

* Account for if the wallet is already in the daemon

* Only start a new thread if it doesn't exist

* Modify run_and_get_wallet to not return duplicate wallets

* Inform user if encrypted wallet is already open in memory
2018-03-15 06:46:23 +01:00
SomberNight
8dd19a5920 wizard: remove unused method 2018-03-15 06:14:57 +01:00