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

+5 -5
View File
@@ -27,7 +27,7 @@ class DirectoryFoodgroup:
@Subgroup(0x0002)
def info_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
self.logger.info('[Client] DIRECTORY__INFO_QUERY')
self.logger.debug('[Client] DIRECTORY__INFO_QUERY')
# the search kind follows from the TLVs:
# an e-mail address, an interest keyword, or a first or last name
@@ -52,7 +52,7 @@ class DirectoryFoodgroup:
# ODIR__INFO_REPLY: u16 status, u16 unknown, and with this status nothing else
reply.write_u16(SEARCH_NAME_MISSING)
reply.write_u16(0)
self.logger.info('[Server] DIRECTORY__INFO_REPLY')
self.logger.debug('[Server] DIRECTORY__INFO_REPLY')
client.send_snac(reply)
return
@@ -78,17 +78,17 @@ class DirectoryFoodgroup:
reply.write_u16(len(results))
for result in results:
reply.write_tlv_block(result)
self.logger.info('[Server] DIRECTORY__INFO_REPLY')
self.logger.debug('[Server] DIRECTORY__INFO_REPLY')
client.send_snac(reply)
@Subgroup(0x0004)
def interests_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
self.logger.info('[Client] DIRECTORY__INTERESTS_QUERY')
self.logger.debug('[Client] DIRECTORY__INTERESTS_QUERY')
# we don't yet have an interests directory, so the count stays zero.
response_msg = SNACMessage(0x000F, 0x0005, 0x0000, message.request_id)
response_msg.write_u16(1)
response_msg.write_u16(0)
self.logger.info('[Server] DIRECTORY__INTERESTS_LIST')
self.logger.debug('[Server] DIRECTORY__INTERESTS_LIST')
client.send_snac(response_msg)