Commit Graph

890 Commits

Author SHA1 Message Date
Dmitri Bogomolov 1a203dd2a2
Sorted imports in __init__ and removed import from debug 2021-03-03 18:28:49 +02:00
Dmitri Bogomolov 68d24a1969
Fix tray icon changing upon notification 2021-03-03 18:28:49 +02:00
Dmitri Bogomolov f12022614c
Removed unused resources in ui-files 2021-03-03 18:28:49 +02:00
Dmitri Bogomolov 6817d8d030
Don't close BitmessageQtApplication.server in __del__() 2021-03-03 18:28:49 +02:00
Dmitri Bogomolov 61f9b2eaf7
Explicitly set wordWrap property to false in STableWidgets
on tabs "Send", "Blacklist" and "Network Status":
in qt5 it's probably true by default.
2021-03-03 18:28:48 +02:00
Dmitri Bogomolov 973ef47549
PyQt5 based qtpy fallback 2021-03-03 18:28:48 +02:00
Dmitri Bogomolov f4eae01886
Handled pylint warnings in bitmessageqt, qidenticon, depends,
resolved pylint redefined-variable-type warnings,
marked autogenerated modules for skipping by pylint and flake8
2021-03-03 18:28:48 +02:00
Dmitri Bogomolov da940d9895
QWheelEvent.orientation() is obsolete, used angleDelta() instead 2021-03-03 18:28:48 +02:00
Dmitri Bogomolov c1b3154728
fromAddress - str, subject - unicode
(for simple encoding like for extended)
2021-03-03 18:28:48 +02:00
Dmitri Bogomolov a8c7edef89
QComboBox.findData() compatible with pyside 2021-03-03 18:28:48 +02:00
Dmitri Bogomolov 64bd64eea2
Better formatting of connections table header 2021-03-03 18:28:47 +02:00
Dmitri Bogomolov f3b54cea75
Module support rewrite:
- added Qt API string into support request
  - finished flake8 formatting
2021-03-03 18:28:47 +02:00
Dmitri Bogomolov 39a1d69b5d
Changes for pyside:
customwidgets in ui-files and QtGui.QPen instantiation
2021-03-03 18:28:47 +02:00
Dmitri Bogomolov 51b5e64f34
Initial support for PyQt5 (main window shown) using QtPy package.
QtPy is a compatibility layer which allows to use the code written for
PyQt5 with any python Qt binding: PyQt4, PyQt5, pyside or pyside2.

Main differences in PyQt5:

  - all widget classes are now in QtWidgets package, not QtGui;
  - QString obsoleted by unicode (sip API 2);
  - changed the way of signals connection.

Closes: #1191
2021-03-03 18:28:47 +02:00
Dmitri Bogomolov d7c9eac8e7
Prepare newchandialog module for using qtpy 2021-03-03 18:28:47 +02:00
Dmitri Bogomolov 6f9b66ddff
Qt test for UDP setting 2021-03-01 19:55:48 +02:00
Dmitri Bogomolov 8ff8e0e2cb
Make it possible to disable UDP announcing in settings 2021-02-22 19:56:23 +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
Dmitri Bogomolov 2f5d6214ff
Move addressbook test to bitmessageqt.tests because it uses Qt 2021-02-11 17:07:48 +02:00
navjot 9c5d329c90
replace print with logger and remove unused file 2021-01-18 23:31:45 +05:30
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 124e6d9b32
fix for #1656 issue 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
Dmitri Bogomolov caf3a3fbbc
A test for updateStatusBar command 2020-11-04 16:24:58 +02:00
navjot 263711a4d3
fixed unread trash message listing issue 2020-10-09 16:56:56 +05:30
coolguy-cell 1571176082
fixed CQ for bitmessageqt.statusbar module 2020-09-09 12:12:52 +05:30
coolguy-cell 6486b0fc99
fixed CQ for bitmessageqt.safehtmlparser module 2020-07-24 21:04:25 +05:30
coolguy-cell 035fac1fc5
fixed CQ for bitmessageqt.messagecompose module 2020-07-22 14:08:05 +05:30
Dmitri Bogomolov d56191ebba
Move knownnodes module into network package 2020-07-21 16:21:43 +03:00
coolguy-cell 1699c2b015
fixed CQ for bitmessageqt.addressvalidator module 2020-07-20 20:00:48 +05:30
coolguy-cell 859eeafcfe
fixed CQ for bitmessageqt.messageview module 2020-07-07 19:44:45 +05:30
coolguy-cell 217a5c0c5b
fixed CQ for bitmessageqt.settings module 2020-06-19 18:15:52 +05:30
coolguy-cell 277549cff1
fixed CQ for bitmessageqt.sound module 2020-06-18 11:30:33 +05:30
Dmitri Bogomolov f03bdfb329
Dirty quickfix for #1633 2020-06-15 12:06:37 +03:00
Dmitri Bogomolov d6953eb450
New package: bitmessageqt.tests
any test cases from it will be added to tests.core test suite if possible,
e.g. PyQt is functional. TestSupport - minimal test case for support module
to reproduce #1633.
2020-06-15 12:06:31 +03:00
coolguy-cell ea109bc21e
fixed CQ for bitmessageqt.dialogs module 2020-06-08 17:07:40 +05:30
coolguy-cell e237534335
fixed CQ for bitmessageqt.networkstatus module 2020-06-06 20:08:06 +05:30
coolguy-cell e372459737
fixed CQ for bitmessageqt.languagebox module 2020-06-05 15:28:31 +05:30