Commit Graph

3290 Commits

Author SHA1 Message Date
George McCandless 3b58e1f251
bootstrap: Respect 'onlynet=onion' and, when a trusted peer is set, connect only to that trusted peer. 2020-12-08 01:19:27 +00:00
George McCandless 7b168b7041
Closes #1538. Changes 'onionservicesonly=true' to 'onlynet=onion'.
Old-style 'onionservicesonly' is deprecated but still accepted.
The configuration option will be upgraded upon the first GUI settings update.
2020-12-08 01:19:27 +00:00
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 5eff9d6a04
Fixed CQ for tests.core module 2020-11-21 13:53:10 +05:30
navjot a9e9f25b5d
change helper_sent.insert methods 2020-11-21 13:53:10 +05:30
navjot 0ec15d1d4d
Test case for insert method default values 2020-11-21 13:53:10 +05:30
navjot 1bc3fe7b42
added checks in helper_sent module 2020-11-21 13:53:10 +05:30
navjot b7d920d529
Fixed CQ for test/core.py module 2020-11-21 13:53:10 +05:30
navjot 0023fc4b3d
Written test case for helper_sent.insert method 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
813492291816 601158f6fb
add pendingDownload to return of API clientStatus 2020-11-21 01:00:11 +00:00
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
Dmitri Bogomolov 695140d57d
Save exceptions in the main thread in excQueue 2020-11-04 16:24:52 +02:00
citizenaspirant 93bf7ad62c
Add apparmor config to data_files for Debian and Ubuntu 2020-11-04 15:47:46 +02:00
Dmitri Bogomolov 84b5f2982c
Allow running pybitmessage -t without tests package 2020-11-04 14:25:21 +02:00
Dmitri Bogomolov 8be89e9a25
Remove deb building overdocumentation 2020-11-04 14:25:21 +02:00
Dmitri Bogomolov d3fbf17acf
Remove unmaintained debian package 2020-11-04 14:25:20 +02:00
Dmitri Bogomolov d410cad4b6
stdeb config for building deb 2020-11-04 14:25:15 +02:00
Dmitri Bogomolov db11d6331f
Optimize setUpClass() and tearDownClass() in test_process 2020-11-03 17:14:00 +02:00
Peter Šurda 96a784b58b
Merged PeterSurda/teardown-test1:
- reset BMConfigParser before reading config file
  - enable threads name check on posix systems
  - check singleton.lock in TestProcessProto.setUpClass()
2020-11-03 17:14:00 +02:00
Dmitri Bogomolov b65f2d154a
Common basic cleanup procedure 2020-11-03 17:14:00 +02:00
Dmitri Bogomolov 1bcffd2853
Make TestLogger a subclass of TestProcessProto 2020-11-02 18:01:51 +02:00
Dmitri Bogomolov cf4e812334
Allow TestProcess subclasses set home dir, use mkdtemp for test_config 2020-11-02 18:01:51 +02:00
Dmitri Bogomolov affdb2fdc0
Solve problem with subprocess.call() on windows:
- uncomment console_scripts (only for windows) to get exe
 - replace call() with Popen() to avoid blocking
2020-11-02 18:01:50 +02:00
Dmitri Bogomolov 80831754b3
Fail in TestProcessProto.setUp if bitmessage process dies 2020-11-02 11:08:28 +02:00
navjot 6c5bb62123
replaced double quotes with Single quotes in class_singleWorker module 2020-10-31 13:07:51 +05:30
navjot a7c1018f47
fixed CQ for src.class_singleWorker module 2020-10-31 13:07:51 +05:30
navjot 30044f7516
implemented filter query in sent table on the bases of folder= 'sent' 2020-10-31 13:07:51 +05:30
Dmitri Bogomolov b650e97edc
Fix statuses for sendBroadcast 2020-10-28 15:25:46 +02:00
navjot c18b544732
fixed socket error on sendato #1583 2020-10-23 17:54:59 +05:30
navjot ec922adb36
fixed flake8 code quality issue 2020-10-12 16:44:49 +05:30
navjot 1ec0bd4c42
removed unnecessary import 2020-10-12 16:44:49 +05:30
navjot 263711a4d3
fixed unread trash message listing issue 2020-10-09 16:56:56 +05:30
Dmitri Bogomolov 6b65113bb4
Added missing msgid in HandleGetInboxMessageById() query 2020-10-04 17:24:45 +03:00
Dmitri Bogomolov 380530c839
Experimental APIError codes table 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 85f306e5f6
Covered more API commands by tests, listed uncovered in TODO 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov ef5593b3d5
Formatted lines for PEP8, handled pylint warnings, added docstrings 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 3a8e842e60
Use encodingType arg in sendMessage and sendBroadcast API commands 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 5b07d2de30
httplib status codes constants in response 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 6c85bdd498
Also check sent broadcast status and it's presence in sent messages 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov efff8f95ba
Prefix based command filter 2020-09-14 13:11:42 +03:00