github elan-ev/tobira v2.0
v2.0 🐿️

latest releases: v2.12, v2.11, v2.10...
18 months ago

We are happy to announce Tobira 2.0!

This is a major release as it contains a large number of user facing changes and new features. Most notably, almost every aspect of the design was somewhat reworked and polished. Nothing major changed, certainly no major layout changes, but everything looks a lot neater now. The main new feature is the addition of user pages: each user (who is allowed to) can create and manage their own set of pages which are completely independent from the main video portal. Additionally, the uploader allows users to select a series now, the share menu was improved, and the series block has three different display modes now. Finally, setting up Tobira is easier now as administrators don't need to configure a JWT key in most situations anymore.

These are just the highlights of the release. For everything else, check out the detailed changelog below.

As per our versioning policy, major/minor versions don't really mean anything specific. Breaking changes are allowed in minor versions as well. However, this release does include a number of breaking changes that you need to look out for when upgrading. See the migration guide at the bottom of this release announcment.

Finally, a big thanks to the institutions which make Tobira possible! This is primarily the ETH Zürich, which sponsored most of Tobira's development from the very start. More recently, Bern university and the TU Wien made large contributions to the project as well. Thanks!

Detailed changelog

User-facing changes

  • Redesign/polishing:
    • Redesign series block (#706)
    • Redesign header and navigation (#702)
    • Apply login page redesign (#721)
    • Apply redesign of ~manage/realm/ pages (#772)
    • Improve video page layout for metadata (#792)
  • Add user realms (a page tree for each user) (#727)
  • Add series selection to uploader (#705)
  • Add new share menu on video page (#792)
  • Add download button on video page (#792)
  • Rework colors (#796)
  • Use thumbnail as player preview image (#710)
  • Use searchable series select in series block edit UI (#729)
  • Improve "gallery view" of series block (#737)
  • Accessibility
    • Replace "home" link title with aria-label (#722)
    • Add and apply focusStyle function (#726)
    • Add specific descriptions to copyable inputs (#769)
    • Improve player link description for screen readers (#771)
    • Add focus trap to popup modals (#773)
    • Underline specific kinds of links (#811)
    • Add current language to language selection label (#774)
    • Improve accessibility of various elements (#636)
  • Add alphabetical ordering options to series blocks (#742)
  • Limit allowed file formats for upload to audio/video (#739)
  • Make uploader show error when selecting non-video or -audio files (#717)
  • Disable spellcheck and autocapitalize on username and path inputs (#738)
  • Fix breadcrumbs order (#709)
  • Fix breadcrumbs for realms with missing names (#728)
  • Add breadcrumbs to all pages (excluding homepage) (#780)
  • Improve logo sizing & other small header-related improvements (#734)
  • Fix max-width and padding of description text of series blocks (#764)
  • Add navigation elements to upload page (#778)
  • Add more space below heading (#785)
  • Add remaining dashboard items to user menu (#787)
  • Fix edit form of series blocks (#790)
  • Fix audio-only playablility (#798)
  • Add redirect from video routes to direct video routes if realm does not exist (#818)
  • Rearrange dashboard items (#819)
  • Adjust some borders of user menu items (#824)
  • Small video page adjustments (#825)
  • Prevent overflow of git hash on small screens (#826)
  • Show triangle instead of spinner if user data could not be loaded (40137fb)
  • Improve tooltips & popovers (#636)
  • Replace title attribute with real tooltip (#636)

Changes primarily for admins

  • Make JWT key optional by generating it on the fly if unspecified (#820)
  • Drop PostgreSQL 10 support and fix user session query (#783)
  • Update MeiliSearch to v1.1 (#789)
  • Add docs (configuring the theme & various information for devs) (#813)
  • Fix db clear and search series view (#714)
  • Minor improvements to logging (#766)
  • Remove outdated docs from auth.mod config (#711)
  • Add error context to opening log file (#782)
  • Enable backtraces for errors (#812)
  • Update dependencies (various PRs)

Changes primarily for developers

  • Improve API error handling (#730)
  • Use React.StrictMode and type-safe translation keys with i18next (#708)
  • Expand and change dummy users (#745)
  • Improve dummy-blocks for better test data (#736)

Full Changelog: v1.7...v2.0


Upgrade guide

Please read our upgrade guide, but also pay special attention to these points:

  • The color system was reworked quite a bit. You have to adjust your color configuration. See our "theme" docs on more information.
  • Similarly, some logo sizing and margin logic was changed, so make sure your logo file still works well! Again, check the "theme" docs for more information.
  • Tobira requires at least PostgreSQL 11 now.
  • Tobira requires MeiliSearch 1.1 now. You most certainly need to update this.
  • By default, users are allowed to download videos. If you don't want that, change general.show_download_button. In the future, it can be selected per video whether download is allowed or not.
  • By default, all users (ROLE_USER) are allowed to create their own pages. If you want to change that, check auth.user_realm_role.

Don't miss a new tobira release

NewReleases is sending notifications on new releases.