Skip to content

3.0.1

Compare
Choose a tag to compare
@Pairman Pairman released this 09 Jun 19:56
· 39 commits to main since this release
6f5456c

Added

  • (Module) Add shortcuts xdcheckin.Chaoxing, xdcheckin.IDSSession, xdcheckin.Newesxidian, xdcheckin.locations, xdcheckin.server_routes, xdcheckin.create_server, xdcheckin.start_server and xdcheckin.solve_captcha for easier importing.
  • (Module) xdcheckin.Chaoxing now provides uid and fid attributes for access.

Fixed

  • Fix classroom livestream not available on webpage for some XDU(-related) students.
  • (Module) Fix wrong and missing comment headers.
  • (Module) Resource and session cleanup on APP exit is now properly handled.
  • Other minor fixes.

Removed

  • (Module) Remove obsolete xdcheckin.Chaoxing().login_username_v5() and xdcheckin.Chaoxing().login_username_v11() login methods.
  • (Module) Remove unused dependencies.

Changed

  • Optimize speed for activities fetching and checking in.
  • Optimize messages for check-in failure for better reading and parsing.
  • (APP/Module/Server) xdcheckin.Chaoxing, xdcheckin.IDSSession, xdcheckin.Newesxidian and vast majority of xdcheckin are now made async with asyncio and aiohttp for security and performance. Refer to source code for details.
  • (Module) Some attributes and methods of the classes are now made private for security.
  • (Module) Rename the logined attribute to logged_in of xdcheckin.Chaoxing, xdcheckin.IDSSession and xdcheckin.Newesxidian.
  • (Module) Replace some dependencies.
  • (Server) Change commandline messages.
  • Optimize secrets generation for Chaoxing CAPTCHAs.
  • Optimize webpage loading speed.