Releases: UniversityOfHelsinkiCS/oodikone
Internal: Better logging and error handling for BullMQ jobs
If an error occurred during faculty or study programme refresh jobs, those errors were never sent to Sentry, only logged. This was because everything was inside try … catch
statements, so from BullMQ’s point of view those errors never happened and the jobs were completed successfully.
API routes for updating those stats still use try … catch
statements so there are no changes in their behavior (except correct HTTP status codes are now used instead of 200 if there’s an error).
Now we also get information about how long it took to complete a job in the logs.
Internal: Fix study programme graduation stats calculation
Graduation stats calculation failed for many programmes because there were graduations before year 2017. We now skip graduations from years that are not included in the graduationStats
object.
Semesters present in Close to graduation page fixed
Close to graduation
- Semesters present column only had gray squares even if the student had enrolled as present. This bug didn't have any effect on the exported Excel files
Custom population: More allowed separators for student numbers
Custom population
- New separators added for student numbers in the search form: commas, semicolons, newlines and spaces (or even a combination of these) are now allowed
Internal
- Fix Sentry settings for frontend (hopefully)
Internal: Use Sentry DSN environment variable
Previously Sentry DSN was hard coded, now it's an configurable environment variable.
Teachers: Fixed crashing
Teachers
- Fixed the application crashing if no teachers were found for a query
Internal
- Tons of refactoring and fixing internal issues
Bachelor Honours visibility fixed on Students page
Students
- Sometimes the Bachelor Honours section on the Students page wasn't displayed, even though it should've been. This has been fixed
Class statistics: Combined Excel removed
Class statistics
- Removed the "Combine Excel" button
- If you still need this functionality, please download the two separate Excel files and combine them manually
Internal
- Big refactor
- Language center
- Students
- Add compression to backend responses
- Fixed 20190821 kone-db migration
- Updated Axios from 0.21.4 to 0.28.1
Class statistics: Accepted grades included
Class statistics
- Accepted grades ("Hyv.") are now also included in the Courses table and the Excel sheet
Courses tab fixed
Class statistics
- Courses tab: Using the student number filter now correctly filters substitutions too
Study guidance groups
- Courses tab: fixed incorrect icons being displayed in the table