mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:30:04 +00:00
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:
1 parent
4bf878556b
commit
6451bb9426
46 files changed
+307
-541
No files matched your search
@@ -49,7 +49,7 @@ class AdminFoodgroup:
|
||||
|
||||
@Subgroup(0x0002)
|
||||
def info_query(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
|
||||
self.logger.info('[Client] ADMIN__INFO_QUERY')
|
||||
self.logger.debug('[Client] ADMIN__INFO_QUERY')
|
||||
|
||||
user = context.user
|
||||
tlvs = unmarshal_tlvs(message.data)
|
||||
@@ -65,7 +65,7 @@ class AdminFoodgroup:
|
||||
|
||||
@Subgroup(0x0004)
|
||||
def info_change_request(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
|
||||
self.logger.info('[Client] ADMIN__INFO_CHANGE_REQUEST')
|
||||
self.logger.debug('[Client] ADMIN__INFO_CHANGE_REQUEST')
|
||||
|
||||
user = context.user
|
||||
tlvs = unmarshal_tlvs(message.data)
|
||||
@@ -99,7 +99,7 @@ class AdminFoodgroup:
|
||||
|
||||
@Subgroup(0x0006)
|
||||
def account_confirm_request(self, client: OSCARClient, context: OSCARContext, message: SNACMessage) -> None:
|
||||
self.logger.info('[Client] ADMIN__ACCT_CONFIRM_REQUEST')
|
||||
self.logger.debug('[Client] ADMIN__ACCT_CONFIRM_REQUEST')
|
||||
|
||||
# ADMIN__ACCT_CONFIRM_REPLY: u16 status, then a TLV (empty here); confirmation mails come from the website
|
||||
status = CONFIRM_ALREADY_CONFIRMED if getattr(context.user, 'account_verified', False) else CONFIRM_SERVER_ERROR
|
||||
|
||||
Reference in new issue
Block a user