Ian Renton and Claude Sonnet 5
e33eecbc4e
Fix mojibake in DX cluster and RBN spot comments
...
Both providers always decoded telnet bytes as Latin-1, which silently
mangles nodes that send UTF-8 (Latin-1 decode never raises, so mixed
encodings across cluster nodes went unnoticed). Added a shared
decode_telnet_bytes() helper that tries UTF-8 first and falls back to
Latin-1, since a byte stream that happens to be valid multi-byte UTF-8
is essentially never accidental Latin-1 text.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-20 19:08:05 +01:00
Ian Renton
1b41520f7c
Merge branch 'main' into 147-sig-activity-changes
...
# Conflicts:
# core/constants.py
# pyproject.toml
2026-09-20 09:51:29 +01:00
Ian Renton
f45b7d51b0
Give threads less time to shut down gracefully. Attempt shutdown() rather than stop() on the telnet connections to see if that improves things
2026-09-19 15:07:31 +01:00
Ian Renton
59d5f61d90
Potential fix for an issue where the telnet client was reconnecting right at the same time we try to shut down spothole, causing the stop() method to close one telnet object but then a new one is created and read from anyway.
2026-09-19 07:55:12 +01:00
Ian Renton
1a1743d11c
ruff fixes
2026-09-18 18:38:35 +01:00
Ian Renton
29d8654234
Use _stop_event consistently across all threads as the way to signal that it should stop. Add thread joins with timeouts to allow the program to exit cleanly
2026-09-18 09:21:38 +01:00
Ian Renton
f346444ec3
Defensive coding improvements
2026-08-22 08:08:27 +01:00
Ian Renton
c5d6a65786
Bug fixes and minor doc clarifications
2026-08-20 07:30:21 +01:00
Ian Renton
38bc03a603
Improve checking callsign validity by regex, and fix passing v1 type credentials into v2 APIs
2026-08-17 16:30:24 +01:00
Ian Renton
7220a0f58d
ruff format && ruff check --fix
2026-08-16 14:11:45 +01:00
Ian Renton
a6e54f524d
More ruff linter fixes
2026-08-15 08:43:19 +01:00
Ian Renton
dd89ff4af7
Replace root logger calls with module-specific loggers
2026-08-15 08:35:06 +01:00
Ian Renton
af3f82c14d
Use ruff linter to fix issues and provide consistent formatting
2026-08-15 08:25:54 +01:00
Ian Renton
7391c28cd0
flynt pass to provide consistency to string formatters and concatenation
2026-08-15 07:55:32 +01:00
Ian Renton
9cd6d9c177
Better logging on telnet disconnect
2026-08-15 07:11:45 +01:00
Ian Renton
62b3414d29
Refactor of caching & data storage part 17 #118
2026-08-04 22:11:34 +01:00
Ian Renton
2157bf114e
Refactor of caching & data storage part 9 #118
2026-08-02 09:06:10 +01:00