Commit Graph
754 Commits
Author SHA1 Message Date
Aaro KoivukangasandAaro Koivukangas a8d7d90ef4 [Updater] Change error to warning with missing teacher credit_id 2026-09-21 15:24:21 +03:00
Aaro KoivukangasandAaro Koivukangas 9f2b378586 [UnitTests][Updater] Change courseProvider mapper share to be a reasonable value 2026-09-21 15:24:21 +03:00
Aaro KoivukangasandAaro Koivukangas 812e3de65d [Updater] Don't throw on credit with incorrect course_id, just log 2026-09-21 15:24:21 +03:00
Aaro KoivukangasandAaro Koivukangas 93538f3c11 [Updater][Scheduler] Fix error.message failing, error undefined 2026-09-21 15:24:21 +03:00
Aaro KoivukangasandAaro Koivukangas f5229ee678 [UnitTests][Updater] Add basic unit tests to updater 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas eabe1406be [Course rework] finishing touches, mainly programme courses 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas 359e23ef84 [Updater][bulkCreate] acually attempt to upsert every entity in failing batch 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas b09d9c204d [CreditMapper] attained modules: groupId -> id 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas 756338d15f [Updater][Studyplans] use ids instead of course codes 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas 96f8b43732 [WIP][Course refactor] backup working tree 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas 5bd7fb6792 [Updater] Add migration, update models 2026-09-21 15:24:21 +03:00
joonas-aandAaro Koivukangas b8e9d59217 [Updater] Rework course mapper
Add groupId and validityPeriod, create entries for all courseUnits for a
group rather than just one
2026-09-21 15:24:21 +03:00
Aaro Koivukangas 1da147503b [Winston] Remove winston-gelf-transporter override from package.jsons 2026-08-14 13:47:33 +03:00
Aaro Koivukangas cf003fd593 [Winston] Remove loggers to old server that will be deleted 2026-08-14 13:45:09 +03:00
Aaro KoivukangasandAaro Koivukangas 5054468710 [Updater] Change "weekly" to first schedule programmes, as that takes ages 2026-08-09 01:48:41 +03:00
joonas-a 5964247bd6 [Logger] fix warning not logged 2026-07-27 15:37:09 +03:00
joonas-a e79cc5f4ab [Chore] update dependencies 2026-07-24 12:52:37 +03:00
joonas-a 1c131fd9e2 [MADNESS] end SEKOILU with dev container permissions 2026-07-16 19:05:41 +03:00
joonas-a 2a89f37984 [Docker][Dev] fix permissions with node_modules................... 2026-07-16 16:32:20 +03:00
joonas-a 05a9c1f0d1 [Docker] madness. ubi9->ubi10. 2026-07-16 14:39:55 +03:00
Santeri Rajamäki 958258ce01 [Dockerfile] Use --include and --omit correctly 2026-07-15 16:03:03 +03:00
Santeri Rajamäki 3c5d76bc43 [UPDATER][WORKER] Strip initStartYearToSemesters 2026-07-13 15:41:10 +03:00
Santeri Rajamäki 6dba913e0c [UPDATER][WORKER] Cleanup initStartYearToSemesters 2026-07-13 15:38:52 +03:00
Santeri Rajamäki 8c7c130672 [Updater] Collapse if init 2026-07-13 13:26:45 +03:00
Aaro Koivukangas fbe6fd4315 [Updater][Worker] Update all students by default locally 2026-07-10 12:52:43 +03:00
Aaro Koivukangas 951948e26d [Dockerfile] Ensure devDependencies are downloaded in updater dev environment 2026-07-09 15:41:49 +03:00
Aaro Koivukangas 35872d6d26 [Updater][SubstitutionGroups] Remove possibly empty substitution groups 2026-07-09 15:41:48 +03:00
Aaro Koivukangas 130f38c171 [Updater][Worker] Add throws to all errors + add a proper wait when running in EXIT_AFTER_IMMEDIATES 2026-07-06 10:27:01 +03:00
Aaro Koivukangas f734c0db38 [DockerCompose] Add healthchecks for all applicable containers 2026-07-04 10:41:26 +03:00
joonas-a 63988f7d6a [Updater][StudyRightElements] new logic to combat corrupted "most recent" snapshots 2026-07-03 18:13:14 +03:00
joonas-a f81e8e59da [Scheduler] remove duplicate log entry
The exact same thing is logged two lines in a row
2026-07-03 12:40:05 +03:00
Aaro Koivukangas 369ff207cb [Dockerignore] Change to toska-standard .dockerignore files 2026-07-02 19:22:50 +03:00
joonas-a 5f31e03ae1 [Updater][StudyRightElements] Consider phase graduations earlier in the mankeli
Now it does not grant phase 2 elements before phase 1 graduation, and
does not allow modifying elements if there is a graduation already
2026-07-02 12:44:54 +03:00
joonas-a 70120f27bc [Updater][StudyRightElements] fix error when student has many phase 2 educations before phase 1 completion 2026-07-01 13:15:22 +03:00
joonas-a 0336c27aac [Updater] add logs for studyrightelementmapper errors 2026-07-01 12:40:16 +03:00
joonas-a 34cb0c83d9 [Update][Studyrights] prevent creating phase 2 elements before if there is no phase 1 graduation 2026-06-29 16:39:13 +03:00
joonas-a 418747e6c6 [Updater] Fix "ACTIVE" enrolments on "DELETED" CURs causing an error
There was no document_state check on CURs, and deleted CURs seem to set
validity period to year 1900 which is outside of DKN's semester logic ->
error
2026-06-26 12:54:23 +03:00
joonas-a 8e9b0f7844 [Updater] studyRightElement rework
Should fix bugs related to elements ending before their start date, and
dates being a mess in general.
2026-06-24 19:30:28 +03:00
joonas-a 5359eae68d [Updater] Fix studyplan curriculum periods
Previously shown was the hops creation date, not which curriculum the
hops for each "phase" shows
2026-06-12 18:11:12 +03:00
Santeri Rajamäki ea9b61d473 [Updater] Cleanup db connections 2026-06-10 13:53:56 +03:00
joonas-a a6d69cbff5 [Backend][Updater] Add way to flush redis completely in prod
Vastuuvapauslauseke: käyttö omalla vastuulla
2026-06-08 16:10:51 +03:00
joonas-a 33e8fb7a39 [Docker] Enable nodemon for dev-updater + fix error 2026-06-04 14:50:48 +03:00
joonas-a ed90d13846 [META] remove safechain in favor of npmrc in docker images 2026-06-01 13:13:39 +03:00
joonas-a 7731a4c699 [META] add npmrcs 2026-06-01 12:52:51 +03:00
Santeri Rajamäki 69365473a4 [META] Use node user in local dev environments to avoid root devour 2026-05-27 13:37:18 +03:00
Santeri Rajamäki 9d608dbbcc [META] Update docker dev builds 2026-05-27 13:09:02 +03:00
Aaro Koivukangas a8f48f24d1 [Meta] Add curl to alpine images 2026-05-24 22:31:34 +03:00
Aaro Koivukangas 0659d162b5 [Meta] Change alpine images to use ash instead of bash 2026-05-24 21:54:34 +03:00
Aaro Koivukangas 3e83b63324 [Meta] Add safe-chain to all actions and Dockerfiles 2026-05-24 21:34:23 +03:00
Aaro Koivukangas c1bacd11cc [Updater] Add hack fix to mainCourseCode being array 2026-05-12 11:36:46 +03:00