UQComputingSociety / uqcsbot-discord

:mortar_board: UQCSbot: Our friendly little Discord bot
https://discord.uqcs.org
MIT License
20 stars 20 forks source link

Whatsdue: fixed to work with the new JAC system #207

Closed 49Indium closed 4 months ago

49Indium commented 4 months ago

Recently (semester 2 2024) UQ has changed their ECP management from ECPS to JAC. This means that many of the ECP related functions stopped working (as they were based off a old service started in 2006).

This PR rewrites most of these to work with the new system, letting whatsdue work again. There are some slight stylistic changes made to the output, due to certain links no longer being available, and the due dates for many courses actually being descriptions. ECPs from before sem 2 2024 will no longer be able to be processed, as these should no longer be needed.

There might also be some future potential to include hurdle warnings in whatsdue, as these are in the current ECP assessment tables, but are ignored in this PR.

Please review harshly, as I have done a somewhat quick job at this.

49Indium commented 4 months ago

Thanks for catching all of that. I completely forgot about the doc strings.