Commit Graph
100 Commits
Author SHA1 Message Date
Valtteri Kantanen 6f6b059d83 [Documentation] Change NATS to BullMQ in architecture graph 2025-03-10 15:04:30 +02:00
Valtteri Kantanen 2cc016e439 [Updater] Fix bug preventing insertion of attainments referencing non-existent modules into the db (#4761) 2025-03-10 13:39:08 +02:00
Valtteri Kantanen 0d2701269a [Updater] Update hourly job to also run on Saturdays and Sundays
This will decrease the number of students to be updated on Monday
2025-03-06 14:09:38 +02:00
Valtteri Kantanen 8c6a634df0 [Updater] Set timezone to Europe/Helsinki in all Dockerfiles 2025-03-06 14:03:30 +02:00
Valtteri Kantanen ede3748c09 [SortableTable] Remove unnecessary eslint-disable comments for hooks
These will be unnecessary after the waiting dependency update is merged.
2025-03-06 11:38:21 +02:00
Valtteri Kantanen c3e222c155 [Course statistics] Fix parsing of 'separate' query param to handle undefined values 2025-03-06 10:40:39 +02:00
Valtteri Kantanen e3e0a24b9a [Updater] Update scheduler's README to clarify update processes 2025-03-06 09:01:01 +02:00
Valtteri Kantanen 1a9759f77f [Documentation] Update READMEs of updater 2025-03-03 16:58:20 +02:00
Valtteri Kantanen b7a98483e4 [Updater] Include student in hourly updates if there are new enrollments and ignore study right primalities 2025-03-03 13:26:51 +02:00
Valtteri Kantanen 20c197f3a7 [Updater] Update job removal options in queue configuration to use age limits 2025-03-03 13:12:16 +02:00
Valtteri Kantanen d07ba795df [Updater] Log more info when a new job is started 2025-03-03 13:07:06 +02:00
Valtteri Kantanen b17b714be2 [Updater] Add missing models to tableToModel 2025-03-03 13:06:19 +02:00
Valtteri Kantanen 22a5e58fe3 [Updater] Remove unused env variables and define all env variables in the config file 2025-03-03 13:01:54 +02:00
Valtteri Kantanen 9a0fbd50bd [Updater] Remove postUpdate function and refactor updateMsgHandler to handle student updates directly 2025-03-03 12:53:47 +02:00
Valtteri Kantanen 51572ebeed Remove sis-updater-nats service from Docker Compose files 2025-03-03 12:05:40 +02:00
Valtteri Kantanen 139e253d6a [Updater] Uninstall node-nats-streaming 2025-03-03 12:04:26 +02:00
Valtteri Kantanen 0df918b47a [Updater] Remove NATS related code 2025-03-03 11:59:53 +02:00
Valtteri Kantanen dcdacc7187 [Updater] Remove unused dependency 2025-02-28 16:43:25 +02:00
Valtteri Kantanen 684a90c60c [Frontend] Make "Stop updating" section on Updater page clearer 2025-02-28 16:40:39 +02:00
Valtteri Kantanen 0c1a1e81cb [Backend] Return detailed response message from abortUpdate endpoint 2025-02-28 16:39:25 +02:00
Valtteri Kantanen 8c8eb34a05 [Frontend] Fix ExternalLink taking up full row by using inline-flex instead of flex 2025-02-28 16:37:39 +02:00
Valtteri Kantanen f1ebbeb0e9 [Updater] Fix error logging messages for prepurge and purge scheduling 2025-02-28 16:35:27 +02:00
Valtteri Kantanen c176552326 [Updater] Add sis_study_right_elements and sis_study_rights to purge tables 2025-02-28 16:34:21 +02:00
Valtteri Kantanen 7419cc169d [Updater] Fix sendToSlack call to await its completion 2025-02-28 16:33:51 +02:00
Valtteri Kantanen c21ffe9a74 [Updater] Implement reloading redis cache and removing waiting jobs with BullMQ 2025-02-28 15:59:53 +02:00
Valtteri Kantanen 2b15168342 [Updater] Implement updating meta and students with BullMQ 2025-02-28 15:03:22 +02:00
Valtteri Kantanen 3e296e33bd [Class statistics] Fix number of HOPS credits not showing in the Studens table 2025-02-28 13:21:41 +02:00
Valtteri Kantanen 37df5276f7 [Updater] Use REDIS_HOST env variable instead of REDIS_URI 2025-02-28 12:38:24 +02:00
Valtteri Kantanen 7a26501d72 [Updater] Use similar loggers in updater-scheduler and updater-worker 2025-02-28 10:47:00 +02:00
Valtteri Kantanen 561e41cab1 [Updater] Implement prepurge and purge logic with BullMQ 2025-02-28 10:45:10 +02:00
Valtteri Kantanen 4409f60195 Disable deprecated ESLint rule
See https://eslint.org/docs/latest/rules/no-return-await
2025-02-28 10:12:05 +02:00
Valtteri Kantanen 323aae2600 [Backend] Fix attempt number for BullMQ "started job" logs 2025-02-28 10:10:40 +02:00
Valtteri Kantanen fa28d86638 [Faculties] Initialize classSizes[level] correctly to prevent undefined property access 2025-02-27 19:24:00 +02:00
Valtteri Kantanen d016cec63c [Updater] Use BullMQ to schedule student updates 2025-02-26 18:02:09 +02:00
Valtteri Kantanen 74bfceaf72 [Updater] Add initial BullMQ setup 2025-02-26 17:27:15 +02:00
Valtteri Kantanen a549ae5095 [Updater] Make CHUNK_SIZE configurable via environment variable 2025-02-26 14:27:47 +02:00
Valtteri Kantanen 863cb9d134 [Backend] Make cron job schedule configurable 2025-02-26 14:27:02 +02:00
Valtteri Kantanen 99ff14b13f [Updater] Add REDIS_PORT env variable to updater-worker and updater-scheduler 2025-02-26 13:25:55 +02:00
Valtteri Kantanen 78719ee09a [Updater] Add new REDIS_HOST env variable to updater-worker and updater-scheduler 2025-02-21 13:41:08 +02:00
Valtteri Kantanen e66542fe89 [Updater] Add indexes to enrollment and studyplan tables to make updating students significantly faster 2025-02-21 13:38:05 +02:00
Valtteri Kantanen 7ebddf076f [Class statistics] Fix course queries being fired endlessly for users with only IAM rights 2025-02-20 15:03:08 +02:00
Valtteri Kantanen facbb2da44 [Filters] Update tooltip text for enrollment status filter (#4224) 2025-02-20 13:24:10 +02:00
Valtteri Kantanen cafc09f805 [Filters] Remove unused 'label' property from tool tip texts 2025-02-20 13:24:10 +02:00
Valtteri Kantanen c3a61ab7b3 [Filters] Remove future semesters from semester options 2025-02-20 13:24:10 +02:00
Valtteri KantanenandJoonas Ahovalli da973fe74a [Filters] Fix hover color on filter clear icon 2025-02-19 18:00:02 +02:00
Valtteri KantanenandJoonas Ahovalli 309d3128e4 [Backend] Remove unused dependency 2025-02-19 18:00:02 +02:00
Valtteri KantanenandJoonas Ahovalli 4add189096 [Filters] Fix ESLint warnings in tests 2025-02-19 18:00:02 +02:00
Valtteri KantanenandJoonas Ahovalli f5ddf6291b [Class statistics] Write tests for Bachelor + master view 2025-02-19 18:00:02 +02:00
Valtteri KantanenandJoonas Ahovalli 3989e0da94 [Documentation] Add instructions for reverting migrations locally 2025-02-19 18:00:02 +02:00
Valtteri KantanenandJoonas Ahovalli 9290fbf32b [Updater] Change included_modules column from varchar(255) to text[] in studyplan table 2025-02-19 18:00:01 +02:00
Valtteri KantanenandJoonas Ahovalli ffaa3eb05b [Students] Prevent crash when study rights lack semester enrollments 2025-02-19 18:00:01 +02:00
Valtteri KantanenandJoonas Ahovalli de5fdb7eaf [Class statistics] Make 'Show Bachelor + Master' toggle disabled if no programme is selected or the selected programme is not a bachelor's or master's programme 2025-02-19 18:00:01 +02:00
Valtteri KantanenandJoonas Ahovalli c35a632469 [Class statistics] Show more options in 'Study right status' filter if Bachelor + Master is selected 2025-02-19 18:00:00 +02:00
Valtteri KantanenandJoonas Ahovalli 691b6d6cb3 [Class statistics] Make header better if Bachelor + Master is selected 2025-02-19 18:00:00 +02:00
Valtteri KantanenandJoonas Ahovalli c8a69a15b4 [Close to graduation] Add 'Semesters used' column (#4491) 2025-02-19 18:00:00 +02:00
Valtteri Kantanen 5d69a9b53b [Filters] Fix hover color on filter clear icon 2025-02-13 16:40:38 +02:00
Valtteri Kantanen 5c0c267606 [Backend] Remove unused dependency 2025-02-13 16:21:41 +02:00
Valtteri Kantanen 00c7e45672 [Filters] Fix ESLint warnings in tests 2025-02-13 16:06:41 +02:00
Valtteri Kantanen b28d43c7f8 [Class statistics] Write tests for Bachelor + master view 2025-02-13 16:04:06 +02:00
Valtteri Kantanen 64240c9f6f [Documentation] Add instructions for reverting migrations locally 2025-02-13 12:00:20 +02:00
Valtteri Kantanen e2847a68ea [Updater] Change included_modules column from varchar(255) to text[] in studyplan table 2025-02-11 16:47:28 +02:00
Valtteri Kantanen 687e231e65 [Students] Prevent crash when study rights lack semester enrollments 2025-02-11 14:55:57 +02:00
Valtteri Kantanen ecbaa35802 [Class statistics] Make 'Show Bachelor + Master' toggle disabled if no programme is selected or the selected programme is not a bachelor's or master's programme 2025-02-10 16:57:48 +02:00
Valtteri Kantanen 732e14cb2d [Class statistics] Show more options in 'Study right status' filter if Bachelor + Master is selected 2025-02-10 16:49:53 +02:00
Valtteri Kantanen e98ef1b94f [Class statistics] Make header better if Bachelor + Master is selected 2025-02-10 16:47:53 +02:00
Valtteri Kantanen e254de4df3 [Close to graduation] Add 'Semesters used' column (#4491) 2025-02-10 12:52:23 +02:00
Valtteri Kantanen 93ed56dd38 [Class statistics] Add bachelor's and master's modes to "Graduated from programme" filter if "Show Bachelor + Master" is toggled on (#4718) 2025-02-03 18:58:57 +02:00
Valtteri Kantanen 54f47b8607 [Updater] Remove three attainments from excluded partial attainments CSV file that shouldn't be excluded (#4396) 2025-02-03 13:02:16 +02:00
Valtteri Kantanen db2649be6f [Filters] Fix programme filter to correctly check active study right (#4723) 2025-02-03 12:32:32 +02:00
Valtteri Kantanen 17a07de1f0 [Updater] Upgrade vulnerable @sentry/node version 2025-02-03 12:12:12 +02:00
Valtteri Kantanen 3aa6892bff [Frontend] Hide placeholder text for most column filters in material-react-table 2025-02-03 12:08:00 +02:00
Valtteri Kantanen 209feebb5d [Class statistics] Display "Show Bachelor + Master" to all users instead of just admins 2025-01-31 16:12:25 +02:00
Valtteri Kantanen 0fb7a94eb1 [Class statistics] Change "showFullStudyPath" to "showBachelorAndMaster" everywhere 2025-01-31 16:10:39 +02:00
Valtteri Kantanen e5a85500b3 Fix eslint errors 2025-01-31 13:21:07 +02:00
Valtteri Kantanen a4b8844c77 Upgrade package gelf-pro from version 1.3.12 to version 1.4.0 2025-01-31 13:14:21 +02:00
Valtteri Kantanen 7696e5bcd8 [Course statistics] Fix faculty statistics calculations 2025-01-31 12:53:43 +02:00
Valtteri Kantanen 486561789b Upgrade Redis image version in docker-compose files from 6.2.16 to 7.2.6 to match production version 2025-01-31 12:48:30 +02:00
Valtteri Kantanen 28fc185a2a Exclude Docker images from Renovate updates
We want the local Docker versions to match production versions as well as possible so automatic updates aren't good
2025-01-31 12:39:26 +02:00
Valtteri Kantanen 5ce3337977 Fix Markdown error in documentation 2025-01-22 15:15:34 +02:00
Valtteri Kantanen c5e24c7409 Add documentation for db schema updates 2025-01-22 14:58:30 +02:00
Valtteri Kantanen 96d316ebf5 [Frontend] Rewrite Updater page with MUI components 2025-01-13 15:43:32 +02:00
Valtteri Kantanen ee02d002ba [Course statistics] Fix tests 2025-01-10 13:16:22 +02:00
Valtteri Kantanen 34448d27d0 [Frontend] Remove unused components 2025-01-10 13:03:05 +02:00
Valtteri Kantanen 39ce64edce [Course statistics] Move minimum and maximum attainment date calculation to the backend 2025-01-10 13:02:46 +02:00
Valtteri Kantanen 0d210a607b [Course statistics] Fix a bug in the search form where every keypress triggered a new backend request 2025-01-10 13:01:23 +02:00
Valtteri Kantanen f1a6302928 [Course statistics] Use RTK Query for course search 2025-01-10 12:59:25 +02:00
Valtteri Kantanen 359db8f365 [Frontend] Add custom useDebouncedState hook 2025-01-10 12:58:12 +02:00
Valtteri Kantanen 387a3e0ef2 [Frontend] Refactor validateInputLength to always return a boolean 2025-01-10 12:56:47 +02:00
Valtteri Kantanen 4c957b347b Remove automerge from renovate config as it doesn't seem to work properly 2025-01-09 10:41:35 +02:00
Valtteri Kantanen 8c5d5f1ee9 [General tab] Move Bachelor/Master column more to the left 2025-01-07 15:13:31 +02:00
Valtteri Kantanen 80759cacee [Frontend] Fix key spread error on RangeSelector 2025-01-07 14:25:38 +02:00
Valtteri Kantanen 8b34f7a5f9 [Faculties] Use StyledTable instead of regular Table 2025-01-07 13:55:09 +02:00
Valtteri Kantanen e81d6eb877 [Faculties] Fix tests 2025-01-07 10:58:32 +02:00
Valtteri Kantanen 0c47d7c21c [Faculties] Combine 'Students by starting year' and 'Progress' tabs 2025-01-07 10:46:43 +02:00
Valtteri Kantanen 42409d555e [Students] Add better styles to study rights table 2025-01-02 16:14:52 +02:00
Valtteri Kantanen 23b1a02d42 [Filters] Fix Programme filter showing wrong numbers
This happened in those rare cases where a student had multiple study rights for the same programme
2025-01-02 15:51:20 +02:00
Valtteri Kantanen 1be53368c6 Delete old JS version of Routes 2024-12-19 16:35:23 +02:00
Valtteri Kantanen 52e0d28a4d Remove unused static text file 2024-12-19 16:25:33 +02:00
Valtteri Kantanen 83114a26f9 [Frontend] Simplify route handling 2024-12-19 15:56:01 +02:00
Valtteri Kantanen 6dd9679267 [Completed courses search] Delete old components 2024-12-19 15:07:28 +02:00