Commit Graph

869 Commits

Author SHA1 Message Date
c79636863d
If tray is not available, disable settings group "Tray"
and related checkboxes; set checkBoxMinimizeToTray to false by default
2019-12-20 11:25:15 +02:00
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
42a89ad367
Delete from addressbook by pressing DEL 2019-09-24 14:59:12 +03:00
7d0e23e31a
Delete from addressbook only by address (Fixes: #1484) 2019-09-24 14:59:12 +03:00
24ae91ad0a
Set dontconnect temporary, completely avoiding saving 2019-09-20 14:31:52 +03:00
df66277e2d
state.resetNetworkProtocolAvailability() is obsolete 2019-09-20 14:31:51 +03:00
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
8a3074f3ff
ui-file based Settings dialog 2019-09-20 14:31:45 +03:00
709e194347
Fix #1504 (regression introduced in 0c1e516) 2019-08-16 12:32:16 +03:00
e8bd427b9f
flake8 for bitmessageqt.safehtmlparser (with docstrings from #1368) 2019-08-13 10:57:52 +03:00
e07cd1462e
Added address menu plugins to each popup menu except for Blacklist,
closes #819
2019-07-08 16:56:41 +03:00
c9bc97f4b2
Set status icon color to yellow if last inbound connection is lost 2019-06-29 22:37:35 +03:00
f7e1601185
flake8 imports in blacklist 2019-06-21 16:47:47 +03:00
fbf5bcc74c
Blacklist object has no .statusBar() method - use UISignalQueue.put() 2019-06-21 16:47:42 +03:00
a5300e8584
Took into account pylint undefined-loop-variable warnings 2019-06-08 11:22:03 +03:00
0c1e516921
Implemented folder and widget args in propagateUnreadCount(), removed the rest 2019-06-08 11:22:03 +03:00
ffdd91b021
Fixed propagateUnreadCount() result when having unread messages in trash 2019-06-08 11:22:02 +03:00
3e800c72a0
Fix ternary operator use to translate "Copy subject to clipboard" 2019-05-23 10:21:28 +03:00
828f4d207f
Subject appeared to be str 2019-05-22 11:58:45 +03:00
e3344ade59
Escape HTML in MessageList_SubjectWidget (fixes #1234) 2019-04-26 11:05:02 +03:00
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
34ceb98d34
Reused AccountMixin.accountString() in other methods of MyForm
and simplified manipulations with addressbook selection.
2019-03-28 17:32:24 +02:00
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
5a9a2dd54c
Resolve pylint warnings 2019-03-25 18:48:03 +02:00
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
c38d250389
Resolved pylint warnings and removed allThreadTraceback() entirely 2019-03-11 16:08:41 +02:00
3ec798bcfb
helper_generic is obsolete 2019-03-11 16:08:41 +02:00
87bf2ac1f5
Handled pylint warnings (closes #1436) 2019-03-11 14:32:32 +02:00
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
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
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
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
9ef928b4a9
Removed extra call of shared.thisapp.cleanup() in bitmessageqt 2018-11-01 11:32:14 +02:00
ff04bf072e
Allow re-call of MyForm.quit() if user selected to wait at first 2018-11-01 11:32:14 +02:00
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
a1a8d3a05d
Fixed undesirable log_level replacement in depends 2018-07-30 11:48:11 +03:00
996a48f298
Confirmation for network switch 2018-07-22 12:10:13 +03:00
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
2504c80da6
Fix an issue from #1153 for setup without plugins package 2018-07-01 12:18:12 +03:00
c7d3784b80
No need to import namecoin early because it's really used only in Qt UI 2018-06-30 16:11:11 +03:00
65b7079895
Merge branch 'v0.6' into codeQ-2805 2018-06-26 15:15:58 +02:00
da8e7a246e
Returning bitmessageqt package back to normal
reverting all changes to __init__
2018-06-26 13:34:29 +03:00
coffeedogs
e5e9f70c2a
Fixed: Code style and lint issues 2018-06-15 12:54:41 +01:00
coffeedogs
d9f0a8708b
Fixed: Chan-provided diff to revert changes from boolean operators to any()/all(). Closes #1277. 2018-06-15 12:25:10 +01:00
coffeedogs
6f5c261fb4
Merge branch 'v0.6' into codeQ-2805 2018-06-12 00:24:48 +01:00
coffeedogs
759b760977
Fixed: Style and lint violations for three more of the worst violating files 2018-05-28 14:35:30 +01:00
coffeedogs
9263026bc8
Fixed: Addressed issues raised in PR 2018-05-17 10:51:21 +01:00
coffeedogs
da87ae24ee
Fixed: Style and lint violations in src/bitmessageqt/__init__.py 2018-05-15 16:20:53 +01:00
6eb2155497
Another unicode -> str bug (#1194) 2018-04-03 15:11:46 +03:00
2268413cd0
Do not try to connect namecoin if dontconnect set in config (#1146) 2018-03-26 16:47:22 +03:00
d7ac440a04
Merge branch '1172' into upstream-v0.6 2018-03-22 16:12:53 +01:00
9ccd3a0989
Prevent settingsDialog from setting dontconnect = false
if "Work offline" was checked in the ConnectDialog
2018-03-22 17:10:29 +02:00
6cefaf87e9
Module foldertree: changed subclassing order to reuse common code 2018-03-22 14:55:30 +02:00
90eca36b5d
Module foldertree: simplified a bit and did flake8 2018-03-22 14:55:25 +02:00
72299483c4
Do not duplicate avatar in address column of Address book 2018-03-14 16:34:03 +02:00
3850a920c9
Do not add gui.menu plugins with prefix 'address' to "All accounts" item 2018-03-13 13:46:47 +02:00
08a2115412
Properly renamed qrcode plugin module and made menu available
for all address entries except for addressbook and blacklist
2018-03-13 13:46:47 +02:00
1e4400a207
Remove obsolete code
- PendingDownload and PendingUpload in inventory.py are obsolete
- the replacement functions only provide lengths and are in
  network/stats.py
2018-03-13 07:32:23 +01:00
616920e21a
Minor UI fixes
- typo in UTF conversion
- update status message correct matching (does not show all messages as
changed status, for example)
- add newly sent messages to global sent folder if selected
2018-02-18 19:39:26 +01:00
a3436fef9c
Quick fix for refactoring artifact in blacklist module (#1138) 2018-02-17 14:36:09 +02:00
c050ef0814
Messagetype attack mitigation
- temporarily restrict messagetypes
- use a new "Contact support" address
2018-02-13 23:33:12 +01:00
6bcbad63b9
Marked folder names for translation 2018-02-12 21:10:10 +02:00
2bc2b6bc5b
Typo 2018-02-12 14:49:43 +01:00
eefc967737
Pluralisation 2018-02-12 14:10:51 +01:00
a69daa13b9
Pluralisation 2018-02-12 13:48:59 +01:00
cf8ed36240
Windows Qt refactoring fix 2018-02-09 11:11:48 +01:00
066b419e16
Bugfixes
- typo in dandelion
- stealth ackdata fix for broadcasts and mailing lists
2018-02-09 00:49:08 +01:00
bbb5e5d99b
Fixed trailing '>' in message view which appeared after HTLM rendering 2018-02-08 12:58:38 +02:00
f870bcc6f7
More lightweight URI regexp
- the old one can take a lot of resources and be misused for a DoS
- this still nees to be tested if it is flexible enough
- also fix link click popup
2018-02-08 06:52:33 +01:00
c6834093ee
QT sqlite conversion fix
- QByteArray will be stored as str in the db
2018-02-06 23:55:41 +01:00
d083c53e1b
New button "Clear" on tab "Send" to clear all fields (#919) 2018-02-06 21:07:01 +02:00
6269e45a47
Merge branch '1117' into v0.6 2018-02-06 18:21:33 +01:00
3b3e4de9d7
Zero Inventory().numberOfInventoryLookupsPerformed before update started
because "Inventory lookups per second" is calculated by /2 (for 2 sec)
2018-02-06 17:33:19 +02:00
4a3f8f4806
Change unread status of message in "All Accounts"
when it changed in "Chans" and vice versa (#1044, #884)
2018-02-06 15:48:56 +02:00
85cce42de0
Update "Network Status" information only when the tab selected 2018-02-05 14:39:32 +02:00
ec30472dd8
AboutDialog formatting fix (hope) 2018-02-02 18:31:53 +02:00
b0271e51ff
Set fixed size for simple dialogs 2018-02-02 18:31:07 +02:00
25a9e5ea45
Fixed errors I introduced in commit 4115540 after rebase 2018-01-31 20:12:04 +02:00
9807d3e4b4
Don't complain about being disconnected if in offline mode 2018-01-30 17:42:10 +01:00
c92c2aebc2
Blank title of RegenerateAddressesDialog also 2018-01-30 17:27:01 +02:00
afcd83a434
This is probably the right way to handle modal dialogs 2018-01-30 17:27:01 +02:00
41155406d6
Simplified showing statusbar messages:
- Use MyForm.statusbar set in __init__ instead of MyForm.statusBar()
 - MyForm.updateStatusBar() to show the message in MyForm methods
 - queues.UISignalQueue.put(('updateStatusBar', msg)) in dialogs
2018-01-30 17:27:01 +02:00
ece5ad9113
Separated dialogs which deal with addresses into address_dialogs module 2018-01-30 17:27:00 +02:00
c699f6d872
Got rid of wildcard imports in bitmessageqt.__init__ 2018-01-30 17:27:00 +02:00
641db73614
Removed unused _encoding and _transalate 2018-01-30 17:27:00 +02:00
25876ded2b
Removed unused import of inventory.Inventory 2018-01-30 17:27:00 +02:00
cd88d063a1
Imported NewChanDialog into dialogs module 2018-01-30 17:26:59 +02:00