Commit Graph

333 Commits

Author SHA1 Message Date
Kashiko Koibumi
bc254a935e
eliminate semicolons 2024-05-18 11:12:49 +09:00
Kashiko Koibumi
8c2701c53b
Merge branch 'v0.6' into main 2024-05-18 10:41:05 +09:00
Kashiko Koibumi
74bb8763e9
fix small failures in migrating to Python3 + PyQt6 2024-05-18 10:24:00 +09:00
Kashiko Koibumi
97c9b7eaf6
Revert "run autopep8 on src"
This reverts commit 24b83aae2a.
2024-05-17 11:51:14 +09:00
Kashiko Koibumi
a02ef70607
Revert "fix complains from flake8"
This reverts commit 60af4109ab.
2024-05-17 11:51:12 +09:00
Kashiko Koibumi
60af4109ab
fix complains from flake8 2024-05-17 02:14:59 +09:00
Kashiko Koibumi
24b83aae2a
run autopep8 on src 2024-05-17 01:53:27 +09:00
Kashiko Koibumi
1b3ce71f19
use bytes for key of hashtable in replacement of hexlified string 2024-05-16 23:45:10 +09:00
Kashiko Koibumi
6a090e802e
fix some bugs related to the migration to Python3
Now getpubkey and one-to-one messaging works.
2024-05-16 02:56:36 +09:00
anand k
e571ba8a51
Replaced state.streamsInWhichIAmParticipating with pool.streams 2024-05-15 09:21:37 +05:30
Kashiko Koibumi
cdbe5f80e2
fix exception from network status 2024-05-15 12:41:50 +09:00
Kashiko Koibumi
4f0e34b4be
make message sending work in Python 3 2024-05-15 11:50:38 +09:00
Kashiko Koibumi
741f8dd461
fix some parts of inventory syncing
Remained works:
* Objects are not saved.
* Decryption does not work.
* Can not shutdown.
2024-05-14 23:28:16 +09:00
Kashiko Koibumi
16019d4083
enable TLS connection 2024-05-13 22:42:13 +09:00
Kashiko Koibumi
057e856925
try to migrate to Python3 + PyQt6; part 2
TLS is disabled
2024-05-13 12:47:42 +09:00
anand k
657c1de16b
Remove state.shutdown or replaced with self._stopped from some network thread 2024-05-13 07:23:11 +05:30
Kashiko Koibumi
6dfecbe361
try to migrate to Python3 + PyQt6 2024-05-13 08:06:24 +09:00
anand k
28355d70c7
Made BMConnectionPool as global runtime variable in connectionpool from singleton 2024-05-09 19:53:54 +05:30
anand k
95af3a859b
Renamed dandelion flag to dandelion_enabled 2024-04-22 08:59:00 +05:30
anand k
1c8ae8fef3
moved Dandelion in state - global runtime variable from singleton 2024-04-21 22:40:19 +05:30
anand k
5faef8d40e
moved inventory in state - global runtime variable from singleton 2024-04-19 08:21:19 +05:30
3ed84a5863
Start adding hashes with double SHA512 2024-04-13 03:17:39 +03:00
c7a3bfacfa
Move randomBytes to highlevelcrypto 2024-04-12 15:46:32 +03:00
13d090e344
Use protocol.decodeObjectParameters() for sending ACK - put it in the inventory 2024-04-05 00:38:30 +03:00
95659b6f6c
Fix bandit comments:
- suppress B301 in the single place where it appears,
  - fix placement of B607, B603 in proofofwork and B324 in bitmessagekivy.
2024-03-06 13:59:13 +02:00
anand-skss
6a33fe58e1
Code Quality 2024-03-04 15:37:03 +00:00
anand-skss
d33959defc
Code Quality 2024-02-29 17:49:43 +00:00
anand-skss
c734ac7b5f
Code Quality 2024-02-28 15:42:37 +00:00
anand k
dd64a7b507
Code Quality 2024-02-28 07:23:55 +05:30
anand k
e5e0f43b42
Code Quality 2024-02-26 13:18:02 +05:30
b66dfcaebb
Cast time as int before assembling addr message 2023-11-25 17:18:42 +02:00
0c07bb6257
Move all the network constants into the protocol, define also magic.
Closes: #1788.
2023-11-25 17:18:42 +02:00
b99670430f
Emphasize more magic imports in the network package 2023-11-25 17:18:42 +02:00
7f376b0203
Move the contents of network.assemble to protocol 2023-11-25 17:18:11 +02:00
8e46aecfb0
Fix closing inbound connections if sendoutgoingconnections is False 2023-09-18 15:42:26 +03:00
55b92dffbb
Wrap import of BMConnectionPool and AnnounceThread into try: .. except:
for partial testing on python3.
2022-09-17 04:19:43 +03:00
8fc42b758d
Make network insensitive to absence of onionhostname config option 2022-09-17 04:19:43 +03:00
6b90332730
Pass config and state to network.start(),
don't import announcethread in the network init, use dotted imports,

work around too-many-locals pylint warning
2022-09-17 04:19:42 +03:00
a3d0e24623
Move start of network threads to the network package,
reduce exported symbols and imports. Remove unused thread variables from state.
2022-09-17 04:19:42 +03:00
72fc95b806
Fix filter in TCPConnection.sendAddr() preventing from sending IPv6 addresses 2022-08-30 17:22:53 +03:00
eb5f791cb6
Finalize invalid stream handling:
- prioritize the check for invalid stream
 - use BMObjectInvalidError exception, remove unused classes
2022-08-01 00:19:40 +03:00
69e540b504
Define stream number validity 2022-07-31 19:54:37 +08:00
bb7d8018c6
Fix handling of objects from unwanted streams 2022-07-31 19:27:05 +08:00
93c283a467
Place obvious bandit nosec comments 2022-05-02 18:00:55 +03:00
a5773999fe
Refactor BMConfigParser as a Module variable 2022-02-15 17:12:43 +05:30
4302126b6c
kivy porting to python3 phase1 2021-11-11 09:58:02 +05:30
ec52d2dae6
Added ignore comments for bare except warnings 2021-10-06 12:35:46 +05:30
a7d6037fc5
Minimal useragent validation 2021-09-05 17:47:37 +03:00
ef01b56291
Updated binary operator line break code quality changes 2021-08-20 13:33:59 +05:30
f9c49fbeb3
Import queue from six.moves in the top level module 2021-07-28 14:33:41 +03:00