Commit Graph

12 Commits (dependabot/github_actions/develop/actions/setup-python-7)

Author SHA1 Message Date
Steve Pinkham f49e5076b3 fix: send_arq_raw referenced a command class that doesn't exist
command_arq_raw.SendARQRawCommand isn't defined anywhere; the class is
ARQRawCommand. The always-503 busy bug hid this AttributeError, so the
endpoint can never have worked end to end.
2026-07-12 12:38:16 -04:00
Steve Pinkham 8def0df2ae fix: send_arq_raw busy check compared a threading.Event, not the ARQ state
POST /modem/send_arq_raw returned 503 Modem Busy on every request:
is_modem_busy is a threading.Event and the object is always truthy.
Use getARQ() like the beacon, message send and CQ handler do.

Note for later readers: is_set() would be inverted, since setARQ(True)
clears the event. getARQ() == True means busy.
2026-07-12 12:38:16 -04:00
as3ii f88f5fe2a3
Increased max line length to 120, reformatted everything
In practice, in this commit I've increased from 100 to 120 the maximum
allowed line length for python files and re-run ruff's formatter.
2026-01-10 19:11:26 +01:00
as3ii 4a458730ea
Removed unused imports
Ruff's rule F401
2025-11-13 20:12:55 +01:00
as3ii 6f7288335f
Switched from editing `sys.path` to proper PEP8 imports
See: https://peps.python.org/pep-0008/#imports

Here absolute imports have been used to avoid the error
`ImportError: attempted relative import with no known parent package`.
2025-11-13 19:49:38 +01:00
as3ii 66b2c6bf4e
Run `ruff format`
This applies mostly the same rules that `black` used.

This commit should not have introduced any logical or functional
changes, only fixing style consistency
2025-11-13 15:53:43 +01:00
DJ2LS feaaa699e8 adjustment to server soft restart 2025-05-15 09:12:49 +02:00
DJ2LS 55dbe63a04 more work 2025-04-29 10:50:58 +02:00
DJ2LS 653afee648 first commit containing introduction of context object 2025-04-28 21:43:29 +02:00
DJ2LS 93eb1d64ca cleaner session stopping 2025-03-18 09:14:43 +01:00
DJ2LS f65a64133e adjusted server restart 2025-02-20 11:08:42 +01:00
DJ2LS 5d601c3c5b organized api endpoints into subfolders 2025-02-19 09:46:22 +01:00