Commit Graph

22 Commits

Author SHA1 Message Date
Mark Qvist
494ebb29fb Remove unused importlib.metadata for Python 3.7+ compatibility 2023-05-11 20:18:28 +02:00
Aaron Heise
44dacb3eb3
Fix tests after switching to new Channel 2023-02-28 09:01:02 -06:00
Aaron Heise
458a2391df
Add tests for and fix #14 2023-02-22 21:16:41 -06:00
Aaron Heise
a07ce53bf9
Remove service name from aspects #12; minor tweaks
- Remove service name from RNS destination aspects. Service name
  now selects a suffix for the identity file and should only be
  supplied on the listener. The initiator only needs the destination
  hash of the listener to connect.
- Show a spinner during link establishment on tty sessions
- Attempt to catch and beautify exceptions on initiator
2023-02-22 19:58:03 -06:00
Aaron Heise
07cf0e3d05
Retry with Packet.resend() instead of Packet.send() for #8 2023-02-19 06:45:58 -06:00
Aaron Heise
acc217df90 Upgrade rns and remove hacks for previous version 2023-02-18 07:44:24 -06:00
Aaron Heise
1f31307307 Test improvements 2023-02-18 07:39:00 -06:00
Aaron Heise
2b3089ddd5 Try running process tests in build after daemon threads fix. 2023-02-18 07:15:52 -06:00
Aaron Heise
8edb4020b1 Got the new protocol working. 2023-02-18 00:09:28 -06:00
Aaron Heise
0ee305795f Added a new message-based, packet-ready protocol layer with test suite for #4 2023-02-17 10:48:16 -06:00
Aaron Heise
3b3cee73bb Add some additional tests for #3 2023-02-16 07:03:57 -06:00
Aaron Heise
ebdcb50265 Support for pipes. #3
Connects pipes on the listener child process the same way they are connected on the initiator--any combination of stdin, stdout, and stderr could be connected to a pipe. Any one of those not connected to a pipe will be connected to a pty.
2023-02-16 00:18:34 -06:00
Aaron Heise
27664df0b3 Several test-driven fixes
- Improved test suite exposed several issues with the handling of
command line arguments which are now fixed
- Fixed a race condition that would cause remote characters to be
  lost intermittently when running remote commands that finish
  immediately.
- Added automated testing that actually spins up a random listener
  and initiator in a private Reticulum network and passes data
  between them, uncovering more issues which are now fixed.
- Fixed (hopefully) an issue where `rnsh` doesn't know what
  version it is.
2023-02-14 15:42:55 -06:00
Aaron Heise
a9f8ede4fe Allow retry timer callback to signal complete 2023-02-14 03:53:28 -06:00
Aaron Heise
d76b36cd63 Performance and stability improvements. 2023-02-12 22:34:36 -06:00
Aaron Heise
5e755acad4 Performance and stability improvements. 2023-02-12 22:29:16 -06:00
Aaron Heise
0b7fd9cedd Revert "Trying to allow process tests to run on build server after some tweaks."
This reverts commit 22f5b76927.
2023-02-11 22:04:29 -06:00
Aaron Heise
22f5b76927 Trying to allow process tests to run on build server after some tweaks. 2023-02-11 22:03:18 -06:00
Aaron Heise
da3b390058 Protocol versioning, announce period option, old API workaround 2023-02-11 21:57:13 -06:00
Aaron Heise
f86acc3f08 Improvements to TTY attribute handling 2023-02-11 11:50:13 -06:00
Aaron Heise
ef6a4ebb25 Set up some tests to be skipped in CI builds 2023-02-11 11:22:03 -06:00
Aaron Heise
86906fd8f4 Add test suite 2023-02-11 11:09:22 -06:00