Commit Graph

55 Commits

Author SHA1 Message Date
ThomasV 9547a4e60c Qt: override 'persist_daemon' option if users exits from menu 2020-06-30 11:16:27 +02:00
SomberNight 24221f8fca plugins: fix labels plugin FIXME re "just enabled plugin" 2020-05-25 17:31:13 +02:00
SomberNight a4bec80efe (trivial) log Qt version at startup 2020-05-14 19:15:50 +02:00
ThomasV 8f41aeb783 Replace wallet backup with channel backups
- channels can be backed up individually
 - backups are added to lnwatcher
 - AbstractChannel ancestor class
2020-04-10 14:45:23 +02:00
SomberNight e6d43b60fa qt hww show_settings_dialog: don't scan devices in GUI thread
Just makes sense in general.
Also, previously, the GUI would freeze if right after startup the user
clicked the hww status bar icon (especially with multiple hww connected).
2020-04-01 21:09:06 +02:00
ThomasV 0d160cceea Qt: test if lightinng is running 2020-03-06 11:23:26 +01:00
ThomasV 62eceeb573 Save and read lighting backups (Qt) 2020-02-15 16:28:15 +01:00
ThomasV e1ce3aace7 Separate db from storage
- storage is content-agnostic
 - db and storage are passed to wallet contructor
2020-02-10 17:45:23 +01:00
SomberNight 94888739d3 try to fix "--offline" mode 2020-01-09 19:23:24 +01:00
ThomasV fc85dcead6 follow-up previous commit 2019-11-23 11:37:01 +01:00
ThomasV 6c62fb03ac fix #5733 2019-11-23 11:02:31 +01:00
ThomasV 90ce9f195b Allow user to enable lightning in the GUI. Make it a per-wallet setting. 2019-10-13 20:34:38 +02:00
ThomasV af4a3328f7 Qt: separate lightning and watchtower dialogs 2019-10-12 14:30:52 +02:00
SomberNight 04edad9984 config: no longer singleton. it is passed to Wallet.__init__
The few other cases that used SimpleConfig.get_instance() now
either get passed a config instance, or they try to get a reference
to something else that has a reference to a config.
(see lnsweep, qt/qrcodewidget, qt/qrtextedit)
2019-09-22 20:46:01 +02:00
SomberNight 1a08063928 config: remove 'open_last_wallet' side-effecting
related: #5629
2019-09-10 17:10:52 +02:00
SomberNight bcdb72ae93 qt: add some type hints 2019-09-09 22:19:36 +02:00
ThomasV 32e517f407 improve lightning_dialog GUI settings 2019-08-20 09:03:11 +02:00
ThomasV f5c58c5e19 lightning network dialog 2019-08-20 09:03:11 +02:00
ThomasV db60634774 use config instead of watchtower_window to decide if we close the app 2019-08-20 09:03:11 +02:00
Janus f5cee9ecf6 lightning: post-rebase fixes, read_QIcon and invalid import 2019-08-20 09:03:11 +02:00
ThomasV 19e60f00bb add watchtower_window 2019-08-20 09:03:11 +02:00
Janus 18963405ee lightning: remove hub based approach, port qt gui to lnbase 2019-08-20 09:03:09 +02:00
Janus d84eab0418 lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests 2019-08-20 09:03:09 +02:00
SomberNight f60f690ca9 change many str(e) to repr(e) as some exceptions were cryptic
it's often valuable to see the type of the exception
(especially as for some exceptions str(e) == '')
2019-07-17 20:12:52 +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 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 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 3385a94753 logging: basics 2019-05-02 15:19:03 +02:00
SomberNight 99f9a1b484 qt: warn user if in testnet mode
closes #5295
2019-04-28 06:31:01 +02:00
SomberNight d55a045405 qt wizard: minor clean-up 2019-03-04 02:20:34 +01:00
SomberNight 2da6692f73 wizard: some fixes
related: #5174
2019-03-04 02:08:23 +01:00
SomberNight 4b36114d0d small fixups 2019-02-28 09:02:58 +01:00
ThomasV 7f2083f667 separate storage and database (JsonDB) 2019-02-28 09:02:58 +01:00
ThomasV d5790ea109 wizard: do not use on storage object during wallet creation 2019-02-28 09:02:58 +01:00
SomberNight 026448837f no more "import *"
fixes #5101
fixes #5105
2019-02-11 20:21:24 +01:00
ThomasV 8f4967f7d0 qt wizard: select_storage 2019-02-08 09:10:07 +01:00
SomberNight 68cd37282e qt: set default "window icon" (only visible on Windows) 2019-02-04 20:27:02 +01:00
SomberNight 16bac5fd73 rm qt icons file
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons

based on electrumsv/electrumsv@bf8802c2ea
2019-02-01 20:15:28 +01:00
SomberNight d77e4d8f5d exception formatting: use repr(e) instead of str(e) in messages
repr(e) is more useful
2019-01-17 17:16:19 +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 https://github.com/Electron-Cash/Electron-Cash/commit/19a21eb08d4c3bb665d4a3b50daf38d51b6589b3)
2018-12-13 16:00:44 +01:00
SomberNight 363dd12a2a qt: try even harder not to crash whole app on first start 2018-12-11 21:29:23 +01:00
SomberNight 48e119b59e qt history: minor clean-up and sanity checking 2018-12-10 09:31:47 +01:00
ThomasV bd5c82404d do not block load_wallet with watching_only warning 2018-12-04 11:52:31 +01:00
ThomasV 04571d3b20 Merge pull request #4724 from un1t/master
use system language by default
2018-11-28 13:05:42 +01:00
SomberNight eba97f74b4 decorate some methods with @profiler to debug slow startup 2018-11-16 14:39:22 +01:00
ghost43 4d62963efe qt: count wizards in progress (#4349)
fixes #4348
2018-11-14 22:39:49 +01:00
SomberNight 361ffc0620 correctly handle bitcoin URIs if GUI is already running
see #4796
2018-10-25 00:18:14 +02:00
SomberNight 33d14e4238 some import clean-up in qt 2018-09-25 18:15:28 +02:00
Ilya Shalyapin 4c8103af3b move get_default_language to gui.qt.util 2018-09-23 14:11:50 +05:00