Commit graph

2224 commits

Author SHA1 Message Date
Aareon Sullivan
e64a1bc73b Fix undefined __version__ variable in setup.py
Replace exec() call with direct string parsing to read version from
RNS/_version.py. This resolves the Pylance "reportUndefinedVariable"
error while maintaining single-source-of-truth for version management.

- Remove exec(open("RNS/_version.py").read()) pattern
- Add simple string parsing: f.read().split('=')[1].strip().strip('"')
- Eliminates scope issues with version variable access
2025-06-10 13:32:47 -05:00
Aareon Sullivan
6989948c40 Fix undefined Reticulum variable reference in Link.py
Resolve Pylance error where "Reticulum" is not defined on line 195.
The variable should be referenced as RNS.Reticulum since only the RNS
module is imported, not the Reticulum class directly.
2025-06-10 13:28:13 -05:00
Aareon Sullivan
db7c5ef475 build: migrate from deprecated setup.py to modern pyproject.toml
- Replace setup.py install with standards-based pyproject.toml configuration
- Add explicit Python 3.7-3.13 support in classifiers
- Maintain all existing console scripts and dependencies
- Use dynamic versioning from RNS._version.__version__
- Add project URLs and improved metadata
- Resolve setuptools deprecation warnings for 2025-Oct-31 deadline

This addresses the "setup.py install is deprecated" warnings and follows
PEP 518/621 standards for modern Python packaging.

Fixes: Multiple SetuptoolsDeprecationWarning messages
2025-06-10 13:25:20 -05:00
Aareon Sullivan
6330e61bce Add Python virtual environment and cache files to .gitignore
- Add .venv/ to ignore Python virtual environment directory
- Add __pycache__/ to ignore Python bytecode cache files
2025-06-10 13:01:01 -05:00
Aareon Sullivan
0c49d65c89
Fix exit method to use sys.exit for proper cleanup
Change `RNS.__init__.py` exit method from `os._exit` to `sys.exit` to allow proper cleanup and exception handling. Keep `panic` method using `os._exit` for immediate termination in unrecoverable scenarios.

Resolves https://github.com/markqvist/Reticulum/issues/822
2025-06-08 18:29:55 -05:00
Aareon Sullivan
1db7ff42c5
Fix exit method to use sys.exit for proper cleanup
Change RNS.__init__.py exit method from os._exit to sys.exit to allow
proper cleanup and exception handling. Keep panic method using os._exit
for immediate termination in unrecoverable scenarios.
2025-06-08 18:28:34 -05:00
Mark Qvist
799bcfc7aa Updated version
Some checks failed
Build Reticulum / test (push) Has been cancelled
Build Reticulum / package (push) Has been cancelled
Build Reticulum / release (push) Has been cancelled
2025-05-26 19:08:03 +02:00
Mark Qvist
045cb662ef Removed legacy AES-128 handlers 2025-05-26 19:04:30 +02:00
Mark Qvist
51e3983bf8 Updated readme
Some checks failed
Build Reticulum / test (push) Has been cancelled
Build Reticulum / package (push) Has been cancelled
Build Reticulum / release (push) Has been cancelled
2025-05-17 10:39:52 +02:00
Mark Qvist
95fdc41845 Updated readme 2025-05-17 10:39:30 +02:00
Mark Qvist
d795fbeaf3 Updated documentation 2025-05-17 10:37:11 +02:00
Mark Qvist
13037d68ed Updated documentation 2025-05-17 10:35:49 +02:00
Mark Qvist
6da5df9f21 Merge branch 'master' of github.com:markqvist/Reticulum 2025-05-17 10:25:24 +02:00
Mark Qvist
8128f573ef Updated manual 2025-05-17 10:25:09 +02:00
markqvist
accf104553
Update FUNDING.yml 2025-05-17 10:24:38 +02:00
Mark Qvist
5387264dcb Updated changelog
Some checks failed
Build Reticulum / test (push) Has been cancelled
Build Reticulum / package (push) Has been cancelled
Build Reticulum / release (push) Has been cancelled
2025-05-15 22:24:33 +02:00
Mark Qvist
308a6906db Updated manual
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-15 15:32:31 +02:00
Mark Qvist
96ce7e3f47 Updated changelog 2025-05-15 15:32:20 +02:00
Mark Qvist
f186b6266b Implemented dynamic keepalive and link timeout calculation 2025-05-15 12:50:16 +02:00
Mark Qvist
756029e5af Added option to specify shared instance type
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-15 01:14:55 +02:00
Mark Qvist
c1673f39b6 Updated changelog
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-13 19:46:18 +02:00
Mark Qvist
30a08c4192 Updated manual 2025-05-13 18:01:13 +02:00
Mark Qvist
d680f4d411 Cleanup 2025-05-13 17:59:26 +02:00
Mark Qvist
29a52e19cf Cleanup
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-13 17:25:00 +02:00
Mark Qvist
11511168dc Cleanup 2025-05-13 13:32:35 +02:00
Mark Qvist
d4ea698236 Cleanup 2025-05-13 13:29:20 +02:00
Mark Qvist
11e06b477e Cleanup 2025-05-13 13:26:26 +02:00
Mark Qvist
4e4c68071f Removed legacy encryption modes. Default to AES-256 for links and packets. 2025-05-13 13:18:44 +02:00
Mark Qvist
5f502746a4 Updated tests 2025-05-13 13:16:37 +02:00
Mark Qvist
17bbb9c0b4 Updated docs
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-12 20:20:29 +02:00
Mark Qvist
8b13d6e08b Fixed announce handlers not triggering after shared instance disappearance/reappearance
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-12 11:41:06 +02:00
Mark Qvist
efa512be32 Cleanup 2025-05-11 16:40:14 +02:00
Mark Qvist
594f5fba1e Added ability to return file resources for request responses. Added option to specify request response auto-compression limits. 2025-05-11 16:37:57 +02:00
Mark Qvist
2912fb2184 Added option to specify resource auto-compression limits 2025-05-11 16:37:19 +02:00
Mark Qvist
02496f39f7 Removed completed tasks from roadmap
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-11 11:30:06 +02:00
Mark Qvist
4e31f113c6 Optimised hardware MTU autoconfig 2025-05-10 23:15:43 +02:00
Mark Qvist
9aded3e1da Updated readme
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions
2025-05-10 23:09:21 +02:00
Mark Qvist
3337d18e9a Added allow overwrite option to rncp 2025-05-10 21:44:42 +02:00
Mark Qvist
2cb6d019f9 Improved rncp memory utilisation and performance 2025-05-10 21:19:57 +02:00
Mark Qvist
3dc260a300 Updated link tests 2025-05-10 20:59:23 +02:00
Mark Qvist
4d7f5b8ca6 Let shared instance handle packet hashlist 2025-05-10 20:58:54 +02:00
Mark Qvist
48be5f65d8 Faster link cleanup on close 2025-05-10 20:58:01 +02:00
Mark Qvist
b5d854a55c Resource performance and memory optimisations 2025-05-10 20:57:32 +02:00
Mark Qvist
552663c625 Fixed offset 2025-05-10 17:00:27 +02:00
Mark Qvist
e6f0b92464 Updated example 2025-05-10 17:00:02 +02:00
Mark Qvist
08a6820aa0 Updated descriptions 2025-05-10 15:42:22 +02:00
Mark Qvist
cc1faa55be Updated readme 2025-05-10 15:39:51 +02:00
Mark Qvist
840966f3e6 Updated version 2025-05-10 15:38:28 +02:00
Mark Qvist
763078a1ae Added ability to include metadata on resource transfers 2025-05-10 15:38:06 +02:00
Mark Qvist
5fb6abd019 Added resource example 2025-05-10 15:32:06 +02:00