bug fixes and improvements

- aliases are now handled properly in ABCH
- removed final escargot leftovers (dev webconsole)
- OSCAR etc. logging was not at log level debug
- removed leftover debug code
This commit is contained in:
Athena Funderburg committed 2026-11-06 00:36:13 +00:00
1 parent 4bf878556b
commit 6451bb9426
46 files changed
+307 -541

No files matched your search

+3 -3
View File
@@ -33,7 +33,7 @@ class BARTFoodgroup:
@Subgroup(0x0002)
def upload_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
# BART__UPLOAD_QUERY: u16 type, u16 length, the item
self.logger.info('[Client] BART__UPLOAD_QUERY')
self.logger.debug('[Client] BART__UPLOAD_QUERY')
bart_type = message.read_u16()
data = message.read_bytes(message.read_u16())
client.ctrl.backend.loop.create_task(_upload(client, context, message.request_id, bart_type, data))
@@ -41,7 +41,7 @@ class BARTFoodgroup:
@Subgroup(0x0004)
def download_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
# BART__DOWNLOAD_QUERY: string08 whose, u8 command, then the BART ID
self.logger.info('[Client] BART__DOWNLOAD_QUERY')
self.logger.debug('[Client] BART__DOWNLOAD_QUERY')
name = message.read_bytes(message.read_u8()).decode('latin-1')
message.read_u8()
ids = _read_bart_ids(message.data, 1)
@@ -52,7 +52,7 @@ class BARTFoodgroup:
@Subgroup(0x0006)
def download2_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
# BART__DOWNLOAD2_QUERY: string08 whose, u8 count, then that many BART IDs
self.logger.info('[Client] BART__DOWNLOAD2_QUERY')
self.logger.debug('[Client] BART__DOWNLOAD2_QUERY')
name = message.read_bytes(message.read_u8()).decode('latin-1')
count = message.read_u8()
ids = _read_bart_ids(message.data, count)