Commit Graph

818 Commits

Author SHA1 Message Date
Dmitri Bogomolov 341651973a
Reduced imports:
- exported from network package all objects used outside;
  - made all threads available in threads module.

Wrote some module docstrings.
2019-11-11 12:03:03 +02:00
George McCandless b42f536d23
Add a checkbox to the network settings tab that allows restricting outbound connections to onion services (i.e., hosts that end with '.onion'). 2019-10-21 00:03:41 +00:00
Dmitri Bogomolov 42a89ad367
Delete from addressbook by pressing DEL 2019-09-24 14:59:12 +03:00
Dmitri Bogomolov 7d0e23e31a
Delete from addressbook only by address (Fixes: #1484) 2019-09-24 14:59:12 +03:00
Dmitri Bogomolov 24ae91ad0a
Set dontconnect temporary, completely avoiding saving 2019-09-20 14:31:52 +03:00
Dmitri Bogomolov df66277e2d
state.resetNetworkProtocolAvailability() is obsolete 2019-09-20 14:31:51 +03:00
Dmitri Bogomolov 18392017c6
Do not propose user to restart Bitmessage
if network settings have changed, drop network connections instead
2019-09-20 14:31:51 +03:00
Dmitri Bogomolov 8a3074f3ff
ui-file based Settings dialog 2019-09-20 14:31:45 +03:00
Dmitri Bogomolov 709e194347
Fix #1504 (regression introduced in 0c1e516) 2019-08-16 12:32:16 +03:00
Dmitri Bogomolov e8bd427b9f
flake8 for bitmessageqt.safehtmlparser (with docstrings from #1368) 2019-08-13 10:57:52 +03:00
Dmitri Bogomolov e07cd1462e
Added address menu plugins to each popup menu except for Blacklist,
closes #819
2019-07-08 16:56:41 +03:00
Dmitri Bogomolov c9bc97f4b2
Set status icon color to yellow if last inbound connection is lost 2019-06-29 22:37:35 +03:00
Dmitri Bogomolov f7e1601185
flake8 imports in blacklist 2019-06-21 16:47:47 +03:00
Dmitri Bogomolov fbf5bcc74c
Blacklist object has no .statusBar() method - use UISignalQueue.put() 2019-06-21 16:47:42 +03:00
Dmitri Bogomolov a5300e8584
Took into account pylint undefined-loop-variable warnings 2019-06-08 11:22:03 +03:00
Dmitri Bogomolov 0c1e516921
Implemented folder and widget args in propagateUnreadCount(), removed the rest 2019-06-08 11:22:03 +03:00
Dmitri Bogomolov ffdd91b021
Fixed propagateUnreadCount() result when having unread messages in trash 2019-06-08 11:22:02 +03:00
Dmitri Bogomolov 3e800c72a0
Fix ternary operator use to translate "Copy subject to clipboard" 2019-05-23 10:21:28 +03:00
Dmitri Bogomolov 828f4d207f
Subject appeared to be str 2019-05-22 11:58:45 +03:00
Dmitri Bogomolov e3344ade59
Escape HTML in MessageList_SubjectWidget (fixes #1234) 2019-04-26 11:05:02 +03:00
Dmitri Bogomolov d2e4d068d4
Added the same "Send message to this address" item to subscription
context menu and ordered the menus in the same way.
2019-03-28 17:32:24 +02:00
Dmitri Bogomolov 34ceb98d34
Reused AccountMixin.accountString() in other methods of MyForm
and simplified manipulations with addressbook selection.
2019-03-28 17:32:24 +02:00
Dmitri Bogomolov 9a58af4de5
New method foldertree.AccountMixin.accountString():
composes the 'label <address>' string which is used in
MyForm.on_action_Send() instead of bare address.
2019-03-28 17:32:18 +02:00
Dmitri Bogomolov 5a9a2dd54c
Resolve pylint warnings 2019-03-25 18:48:03 +02:00
Dmitri Bogomolov 71e4c29419
"Send message to this chan" item in chan context menu (closes #1445) 2019-03-25 18:48:03 +02:00
sandakersmann 37489cf7fe
Changed http to https in about.io 2019-03-23 18:59:05 +01:00
sandakersmann fcc7a4e579
Update about.ui to 2019 2019-03-23 18:55:47 +01:00
Marius Kjærstad e0efb7fd2f
Merge branch 'v0.6' into v0.6 2019-03-23 15:14:56 +01:00
Dmitri Bogomolov c38d250389
Resolved pylint warnings and removed allThreadTraceback() entirely 2019-03-11 16:08:41 +02:00
Dmitri Bogomolov 3ec798bcfb
helper_generic is obsolete 2019-03-11 16:08:41 +02:00
Dmitri Bogomolov 87bf2ac1f5
Handled pylint warnings (closes #1436) 2019-03-11 14:32:32 +02:00
Dmitri Bogomolov d1c601e7ae
Added an option to reply on own messages i.e. send update 2019-03-05 19:13:21 +02:00
sandakersmann 6d31578976
Revert 2019 back to 2017 in about.ui 2019-02-05 15:44:35 +01:00
sandakersmann 8924d4be5c
Changed copyright year to 2019 2019-02-05 15:16:30 +01:00
Dmitri Bogomolov 5e0d168db6
Do not show context menu on 'sent' folder
because the 'sent' table have no column 'read'
2019-02-05 11:19:21 +02:00
GONQ b2af007280
PGP-signed spelling fix for the connection warning dialog. 2018-12-10 03:37:29 -06:00
coffeedogs 6d98a4ef44
Changes based on style and lint checks. (final_code_quality_17) 2018-11-26 14:58:16 +00:00
coffeedogs 0a30eb0225
Changes based on style and lint checks. (final_code_quality_7) 2018-11-12 14:21:56 +00:00
Dmitri Bogomolov ea38e91839
Fixing namecoin button again (broken in c7d3784):
* separate method MyForm.resetNamecoinConnection() - sets MyForm.namecoin
    to fresh instance of namecoin.namecoinConnection, tests it and shows or
    hides "Fetch Namecoin ID" button;
  * that method is called when MyForm initializes and when settingsDialog
    instance is accepted;
  * namecoin.namecoinConnection.query() checks found address and always
    prepends it with display name, if query result doesn't contain "name"
    field it will be the query string.
2018-11-07 15:54:14 +02:00
Peter Šurda 8ad064dcac
Fix: Shift handling when deleting from Sent
Due to the way Qt.KeyboardModifiers works, treating it as an integer results in
unexpected behaviour. As a result, When deleting from Sent, it always deleted
rather than moved an item to trash, when selecting "Move to Trash" from the
context menu. This fixes it.
2018-11-05 01:33:34 +01:00
Dmitri Bogomolov 9ef928b4a9
Removed extra call of shared.thisapp.cleanup() in bitmessageqt 2018-11-01 11:32:14 +02:00
Dmitri Bogomolov ff04bf072e
Allow re-call of MyForm.quit() if user selected to wait at first 2018-11-01 11:32:14 +02:00
Dmitri Bogomolov 4383b49be8
flake8 for bitmessageqt.MyForm.quit() 2018-11-01 11:32:14 +02:00
coffeedogs 10128b7560
Changes based on style and lint checks. (final_code_quality_2) 2018-10-31 17:06:26 +00:00
coffeedogs 78ddb2f2f2
Changes based on style and lint checks. (final_code_quality_12) 2018-10-31 16:20:42 +00:00
coffeedogs a72da271d5
Changes based on style and lint checks. (final_code_quality_1) 2018-10-31 12:37:10 +00:00
coffeedogs 7ed459b644
Changes based on style and lint checks. (final_code_quality_6) 2018-10-18 19:46:01 +01:00
Dmitri Bogomolov a1a8d3a05d
Fixed undesirable log_level replacement in depends 2018-07-30 11:48:11 +03:00
Dmitri Bogomolov 996a48f298
Confirmation for network switch 2018-07-22 12:10:13 +03:00
Dmitri Bogomolov ba5caf3fda
Sorted out configuration loading/updating a bit:
- used BMConfigParser.safeGet.. methods instead of try .. except
  - moved all config checks from class_sqlThread into helper_startup
  - commented out initialization of settings which are then rewritten
    by updateConfig()
2018-07-04 17:59:58 +03:00