Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

WS 18/19 🎉-Release

Compare
Choose a tag to compare
@kesselb kesselb released this 26 Mar 17:18
· 173 commits to master since this release
9da18cf

Upgrade from 0.8.4 to 0.8.5

  • MediaController vulnerabilities #1196 requires database migration

docker-compose run --rm api node migrate.js --up 20190323-course-media

Changelog

Added

  • Translatable SnackBarService. #922
  • ProgressController GET unit tests & access denial tests in general. #1116
  • UnitController GET & DELETE route unit tests for status code 200. #1190
  • UnitController status code 403 (not authorized to view / edit course) unit tests for all routes. #1190
  • WhitelistController status code 403 unit tests for all routes. #1192
  • Sticky header for course view. #1115
  • MediaController status code 403 unit tests for all routes. #1196
  • CourseMediaMigration to patch the _course properties of a Course's Directory / File tree. #1196

Changed

  • Extend ProgressController PUT route to handle both creation and updates. #1116
  • Refactor ProgressController unit tests in general. #1116
  • Refactor MediaController unit tests in general using the TestHelper. #1196
  • Instead of a list of progress data, the ProgressController GET route now responds with a single progress object or an empty object if no data can be found. #1116
  • Directory / File schemata and the corresponding interfaces now reference their Course as _course (analogous to the Unit schema). #1196

Removed

  • Unused ProgressController GET routes for /courses/ & /users/. #1116
  • ProgressController POST route (obviated by extended PUT route). #1116
  • Unused WhitelistController PUT route. #1192
  • Dependency migrate-mongoose. #1189

Fixed

  • TaskUnitComponent.validate validationMode reset. #1116
  • CodeKataComponent progress.code loading. #1116
  • Code order in the MediaController's createDirectory & createFile. #1196
  • Notification scroll bug. #1082

Security

  • Close ProgressController vulnerabilities. #1116
  • Close UnitController vulnerabilities. #1190
  • Close WhitelistController vulnerabilities. #1192
  • Close MediaController vulnerabilities. #1196