Timestamps now show in correct time zone and more lists are sorted correctly

Today's update (0863168) brings with it the following changes:

Security issues

  • The HTTP request handler read_config is now accessible by anonymous users when you're fetching global or site configuration. This fixes an issue with DrillPro apps on Servus.
  • Talkbook sounds were previously not available to d-bok reader because of a HTTP CORS issue. This should now be fixed.
  • All Unicode text input should now be normalized to the NFC form to avoid hard-to-notice comparison bugs.

New features

  • A new template handler, current_timezone is available, which includes the time zone value from the browser (or a default value if not yet set). The default time zone can be set with the global configuration variable timezone.
  • The test suite can now test job queue and web worker behavior better, allowing for improved code coverage.

Enhancements

  • Timestamps are now shown in the time zone the user expects. This is implemented in the template handler human_date, which is used in most situations to display timestamps. Timestamps generated before this update will show up in the UTC time zone, regardless of what time zone the user uses. The current time zone is now shown in the standard footer template, allowing for easier time zone debugging.
  • The sort_object template handler now supports locale-aware sorting.
  • The unpack HTTP request handler now always dispatches to an async job.
  • The job queue has been reimplemented using Redis queue and distributed locking primitives.
  • PORTFOLIO.session_set_var JavaScript function now supports async operation.

Feature removals / deprecations

  • The job queue is no longer implemented using Beanstalk, so it has been completely removed.
  • The unpack HTTP request handler no longer supports unpacking archives without using async job.
Spinner

Login