Skip to content

UniTime 4.9 build 175

Latest

Choose a tag to compare

@tomas-muller tomas-muller released this 24 Nov 15:29
· 216 commits to master since this release

Administration

Various Tooltips: Additional Permission Checking

  • Additional permission checking on various tooltip backend calls.

Date Pattern: Number of Weeks

  • Do not set the number of weeks to zero when the field is left blank.
  • Allow for fractional numbers.

Data Exchange: Instructors, Rooms

  • Added XML export and import for instructors and rooms.
  • Unlike the existing Staff and Buildings & Rooms XML imports, the instructors and rooms are updated directly.

Session Roll Forward

  • Added an ability to merge/restart roll forward at (almost) any step of the process.
    • Not enabled by default; set unitime.rollforward.allowForMerge=true for the new procedure.
  • Improved speed of examination roll forward.

Scripts, Data Exchange, Examination PDF Reports, Enrollment Audits: Output files

  • Added an ability to write output files in the ${unitime.data.dir}/temp folder.
    • Enabled by default; switch back by setting unitime.script.useDataFolder=false.

Various Pages

  • Several security updates following the recent advisories.
  • Most issues cannot be reproduced directly in the UniTime application and require forging a custom GWT RPC call and extensive UniTime knowledge and/or AI assistance. The rest are related to possible cross-site request forgery or cross-site scripting attacks.
  • The fixes include the following changes:
    • Distribution Preferences: on update, ensure the correct distribution ID is used for permission checking
    • Reservations: an existing reservation cannot have the offering swapped
    • Instructors: corrected permission checking on instructor edit and availability
    • Instructor Survey: corrected permission checking for non-admin users
    • Examinations: extra check for subject area of the related classes/courses on exam edit
    • Event Approvals: corrected permission checking for inquiry.
    • Event Notes: sanitized event notes display (only basic HTML tags are allowed)
    • Event Attachments: permission checking for encoded URLs, file upload returns HTML-escaped file name
    • Event Exports: JSON export needs an additional Api Retrieve Events permission
    • Student Scheduling Dashboards: departmental users can only see enrollments of their courses
    • HQL Reports: separate API call for testing HQL queries
    • Select User Role: improved sanitization of the target parameter
    • Replaced getApplicationProperty server call with a more specific one
    • Last Change: corrected permission checking when the source object is other than a room, a class, a scheduling subpart, an offering, or an instructor
    • Service Providers: corrected permission checking for update and delete
    • Users: corrected permission checking for save, update, and delete
    • Tasks: corrected permission checking for task log requests
    • Runtime Error: sanitized exception message
    • Login: sanitized target parameter
    • Cookies: same-site setting set to strict by default
    • Cross-Site: CSRF/XSRF protection enabled for all Struts forms and GWT RPC calls; Struts forms require POST to make changes