github glewe/teamcal-neo v6.1.0

54 minutes ago

Performance and security release. Same look and features as 6.0, much faster on large calendars. One new database index (see doc/UPGRADEINFO.md). Requires 6.0.x, PHP 8.2+ and MariaDB 10.4+ / MySQL 8.0+

Bugfixes

  • Fix the user and event search of the log filter having no effect
  • Fix "All (by group)" group filter showing a flat list when the default group filter is "All"
  • Fix "Hide Managers in All-by-Group and Group Display" having no effect in the display of a single group
  • Fix HTTP 500 on the Attachments page when a file in the upload folder has no database record
  • Fix missing styles on the error pages for a missing PHP extension or a missing installation
  • Fix the log statistics loading Chart.js from a fixed version folder
  • Fix the absence and presence statistics for a single group showing an empty bar
  • Fix upgrade instructions deleting the upload folder with avatars and attachments

Features

  • Add a "Print PDF" button to the Year and Month calendar pages

Improvements

  • Load calendar data with a small, fixed number of queries per page, independent of the number of users (month view with 200 users: 2.2 s -> 0.13 s, year view: 188 ms -> 21 ms)
  • Cache configuration, permissions, users, groups, memberships and options per request instead of querying them for every check
  • Compute statistics, remainder and absence counts with aggregate queries (statistics trends: 4.7 s -> 0.13 s)
  • Load the log page by page from the server instead of rendering all events at once (50,000 events: 2.1 s -> 0.06 s)
  • Cache the license server answer for 24 hours, so admin pages no longer wait for it
  • Add a covering index on the absence days for the calendar, statistics and remainder queries
  • Keep compiled templates per version and build, so templates of an older version are never used after an upgrade
  • Send cache headers for static files and versioned links for the application CSS and JS
  • Escape user text in form fields and in the day notes of the calendar editor
  • Harden the login cookie (rejected for locked accounts, bound to the password, SameSite) and renew the session id at login
  • Use constant-time CSRF token checks on every form
  • Send nosniff, Referrer-Policy and Content-Security-Policy headers
  • Limit password reset mails to one per account every 5 minutes, and only for the matching e-mail address
  • Never execute scripts in the upload folder
  • Update Bootstrap 5.3.9, Bootstrap Icons 1.13.2, Chart.js 4.6.2, Coloris 0.26.0, Font Awesome 7.3.1, jQuery 4.1.0 and all Composer packages
  • Use a light gray sidebar and navbar in the light theme instead of dark
  • Rename the sidebar menu with the calendar options from "Administration" to "Configuration"
  • Change the user manual link to the new base URL https://book.lewe.com/teamcalneo/

Removals

  • Remove unused library files (single icon SVGs, sources, source maps, demo files, html5shiv, respond.js, Popper)

Full Changelog: v6.0.2...v6.1.0

Don't miss a new teamcal-neo release

NewReleases is sending notifications on new releases.