Commit Graph

3441 Commits

Author SHA1 Message Date
efff8f95ba
Prefix based command filter 2020-09-14 13:11:42 +03:00
fabbccbeac
Rewrote test_user_password() for xmlrpclib.ProtocolError:
it would be very difficult to return string from BMXMLRPCRequestHandler
2020-09-14 13:11:42 +03:00
06033ed96e
Fixed response for bad username or password and content-type header
(closes #244)
2020-09-14 13:11:42 +03:00
726986c1eb
Implemented JSON-RPC apivariant 2020-09-14 13:11:42 +03:00
6a089e0f88
Decoupled SimpleXMLRPCRequestHandler subclass
and added simple introspection
2020-09-14 13:11:42 +03:00
f4bf3bac2a
Used defusedxml to protect against XML vulnerabilities 2020-09-14 13:11:42 +03:00
2142888cbe
Inherited APIError from xmlrpclib.Fault.
From now on any errors are raised.
2020-09-14 13:11:42 +03:00
25abf66f1d
Reused _verifyAddress() in HandleDecodeAddress() 2020-09-14 13:11:41 +03:00
5925781b9a
Proper message for APIError 0 2020-09-14 13:11:41 +03:00
7cafe402be
Methods to form a dictionary for inbox and sent messages 2020-09-14 13:11:41 +03:00
45b0659e4c
Refactoring the API with metaclass and decorator 2020-09-14 13:11:35 +03:00
1571176082
fixed CQ for bitmessageqt.statusbar module 2020-09-09 12:12:52 +05:30
95fc981ae2
Finish timeOffsetWrongCount
- now notifies in status bar
- fixes #1433
2020-08-31 11:52:30 +02:00
39d28b9b0f
Downgrade pyinstaller for python 2.7 compatibility
- pyinstaller 3.6 is the last one supporting python 2.7 so we're forcing
it for 64bit windows builds
2020-08-28 13:52:31 +02:00
2c5d15e649
winebuid.sh code quality
- code quality only changes
2020-08-27 16:48:02 +02:00
245c8d20e1
Cert removal and pytools compatibility
- remove SSL certificate from winebuild.sh (was causing too many
problems, not worth the effort)
- set pytools version to 2020.2 in winebuild.sh, as that's the last one
to support python2
- fixes #1658
2020-08-27 16:13:20 +02:00
6486b0fc99
fixed CQ for bitmessageqt.safehtmlparser module 2020-07-24 21:04:25 +05:30
035fac1fc5
fixed CQ for bitmessageqt.messagecompose module 2020-07-22 14:08:05 +05:30
d56191ebba
Move knownnodes module into network package 2020-07-21 16:21:43 +03:00
b165a6b4ef
Do addKnownNode recursively for multiple streams 2020-07-21 16:21:43 +03:00
5805840613
A test case for protocol with the test for TCPConnection.local 2020-07-21 16:21:43 +03:00
f9dc8eaacf
Define len() for network.BMConnectionPool 2020-07-21 16:21:43 +03:00
1035d2aec4
Format network.tcp for flake8 2020-07-21 16:21:42 +03:00
54e44eac95
Add or update knownnode for connected Peer for both inbound
and outbound connections when fully established, update lastseen
before closing connection.
2020-07-21 16:21:42 +03:00
d9ddbe8d24
Do not update addrQueue if not added node to own knownnodes
and more checks in knownnodes.addKnownNode moved from bmproto.
2020-07-21 16:21:42 +03:00
0dd49761d0
Populate knownnodes from inventory when singleWorker starts 2020-07-21 16:21:42 +03:00
739ff7b439
Add knownnodes only by knownnodes.addKnownNode(),
now it can update lastseen.
2020-07-21 16:21:36 +03:00
1699c2b015
fixed CQ for bitmessageqt.addressvalidator module 2020-07-20 20:00:48 +05:30
859eeafcfe
fixed CQ for bitmessageqt.messageview module 2020-07-07 19:44:45 +05:30
217a5c0c5b
fixed CQ for bitmessageqt.settings module 2020-06-19 18:15:52 +05:30
277549cff1
fixed CQ for bitmessageqt.sound module 2020-06-18 11:30:33 +05:30
f03bdfb329
Dirty quickfix for #1633 2020-06-15 12:06:37 +03:00
731f75687e
Install needed packages and try to run Qt tests 2020-06-15 12:06:37 +03:00
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
ea109bc21e
fixed CQ for bitmessageqt.dialogs module 2020-06-08 17:07:40 +05:30
e237534335
fixed CQ for bitmessageqt.networkstatus module 2020-06-06 20:08:06 +05:30
e372459737
fixed CQ for bitmessageqt.languagebox module 2020-06-05 15:28:31 +05:30
b750b02963
Fix another unicode bug introduced in 3624234.
Temporary suppressed pylint no-member warning. Closes: #1633
2020-06-01 13:21:46 +03:00
5cfaa9b2fa
fixed CQ for address_dialog python file 2020-05-30 19:17:52 +05:30
lakshya
3f773c78f7
setting, openssl and bmproto quality fixes 2020-05-28 13:43:03 +05:30
c69decaab3
Fix unicode bug introduced in 045a2ef 2020-05-24 14:08:14 +03:00
87e3d63340
Minimal fix for #1449, if search line is empty 2020-05-22 13:17:44 +03:00
36242343c2
Style and formatting changes in support 2020-05-22 13:17:44 +03:00
15d44d85d4
Renamed application class and moved most of init statements to __init__ 2020-05-22 13:17:44 +03:00
7830ac8de5
RetranslateMixin is not needed in most of dialogs 2020-05-22 13:17:44 +03:00
f3e432140c
Proper quit sequence:
close MainWindow and quit the app instead of sys.exit()
2020-05-22 13:17:43 +03:00
08ff39e1ff
Moved myTableWidgetItem to foldertree.MessageList_TimeWidget 2020-05-22 13:17:43 +03:00
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
d15e614bb1
Fix streams decoding in BMProto.bm_command_version() 2020-05-22 12:58:04 +03:00
2a62fb79cc
Add test for decoding the version message 2020-05-22 12:58:00 +03:00