Commit Graph

649 Commits

Author SHA1 Message Date
Dmitri Bogomolov cc2fa62b90
Moved most of frequently used SQL-queries to helper_db module. 2021-02-26 22:01:09 +02:00
Dmitri Bogomolov d35c284e13
Move desktop plugin initialization to updateStartOnLogon(); Fixes: #1735 2021-02-15 14:00:52 +02:00
Dmitri Bogomolov c51108e867
Entry point 'desktop' for plugins managing desktop environment;
desktop_xdg will do it with pyxdg. Fixes: #857
2021-02-12 21:16:19 +02:00
navjot f146500b58
written test case for addressbook 2021-01-14 15:43:30 +05:30
navjot 42037502ab
fixed Own address should not save in address book issue
- removed redundant code

- written test case for address book own address saving

- fixed CQ issues

- added helper_addressbook module

- Fixed CQ issue of src.helper_addressbook module

- fixed travis-ci checks failing issue
2021-01-14 15:43:30 +05:30
navjot 9265235053
fixed network issue when it is set offline 2020-11-23 17:52:20 +05:30
navjot 1c304125e8
fixed CQ issues 2020-11-21 13:53:10 +05:30
navjot 4681d37377
validate address in insert method and improve test cases 2020-11-21 13:53:10 +05:30
navjot 360539b320
Fixed CQ of class_objectProcessor, bitmessagecurses and bitmessageqt module 2020-11-21 13:53:10 +05:30
navjot 61f7f32dfc
removed unused code and return ackdata from inset method insted of msgid 2020-11-21 13:53:10 +05:30
navjot beaece254c
omitted unused code and optimized it 2020-11-21 13:53:10 +05:30
navjot 89254064f6
fixed default variables in insert method 2020-11-21 13:53:10 +05:30
navjot a9e9f25b5d
change helper_sent.insert methods 2020-11-21 13:53:10 +05:30
navjot e60d12ddbf
Refactord the uuid creation code and placed it in helper_sent.insert method
refactored on the bases of comments

Fixed CQ of src.helper_sent module

fixed CQ for helper_sent module
2020-11-21 13:53:10 +05:30
navjot 881351033f
replaced insert into sent query with helper_sent.insert method and also replaced empty msgid with uuid 2020-11-21 13:53:10 +05:30
Dmitri Bogomolov cb0710e454
Fix updateStatusBar wrong args order 2020-11-04 16:24:58 +02:00
navjot 263711a4d3
fixed unread trash message listing issue 2020-10-09 16:56:56 +05:30
Dmitri Bogomolov c69decaab3
Fix unicode bug introduced in 045a2ef 2020-05-24 14:08:14 +03:00
Dmitri Bogomolov 87e3d63340
Minimal fix for #1449, if search line is empty 2020-05-22 13:17:44 +03:00
Dmitri Bogomolov 15d44d85d4
Renamed application class and moved most of init statements to __init__ 2020-05-22 13:17:44 +03:00
Dmitri Bogomolov f3e432140c
Proper quit sequence:
close MainWindow and quit the app instead of sys.exit()
2020-05-22 13:17:43 +03:00
Dmitri Bogomolov 08ff39e1ff
Moved myTableWidgetItem to foldertree.MessageList_TimeWidget 2020-05-22 13:17:43 +03:00
Dmitri Bogomolov aa333a66a6
Minor style changes:
- removed list <-> set conversion in __init__
  - tuples instead of lists if changes aren't needed
  - removed unnecessary variable redefinition in utils
  - rewrote languagebox module a bit
2020-05-22 13:17:43 +03:00
Dmitri Bogomolov aba61e57a8
flake8 and style fixes and docstrings in helper_search 2020-05-11 13:39:13 +03:00
Dmitri Bogomolov ef6be53702
Do not convert search option because helper_search compares it
to the result of _translate()
2020-05-11 13:39:13 +03:00
Dmitri Bogomolov 045a2ef443
Update messagelist also if search line cleared 2020-05-11 13:38:16 +03:00
Dmitri Bogomolov 280095b08f
Moved state.openKeysFile() into bitmessageqt where it's used 2020-05-05 17:30:23 +03:00
Dmitri Bogomolov 185ad66ea5
Moved most of variables from shared elsewhere (mostly to state) 2020-05-05 17:27:38 +03: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 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 e07cd1462e
Added address menu plugins to each popup menu except for Blacklist,
closes #819
2019-07-08 16:56:41 +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 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
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
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
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