Skip to content

v2.4 🐢

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jan 17:29
d431fe8

This is quite a big release which adds a UI for editing ACLs, switches to the new and much improved Paella design, includes a redesign of the search page, and much more. Unfortunately, there are also a number of breaking changes.

What's Changed

Breaking changes ⚠

  • Tobira now requires MeiliSearch ≥ 1.4 (see our docs on how to update)
  • Tobira now requires PostgreSQL ≥ 12
  • Tobira now requires the hstore extension in the PostgreSQL DB. For PG12 you have to manually install that extension. For PG13 and newer, you don't have to do anything.
  • A required config value general.tobira_url was added. You have to specify the public URL under which Tobira is available.
  • It is now required that the roles for a user (returned by the auth integration) contain exactly one user role (that is: a role starting with the configured auth.user_role_prefixes, ROLE_USER_ by default). This is almost certainly already the case for almost everyone, but we are now officially requiring this property.

User-facing changes

  • Add UI to set ACLs/access rules.
    • Currently this is only used in the uploader, but in the future, the same UI will be used to edit the ACL of events/series or to give granular editing permissions for pages. Developing this UI unblocks quite a few features.
    • The functionality is quite flexible, allowing you to configure "groups" that users can select from. Individual users can also be added by specifying their exact username/email or searching for their name (configurable).
    • There are still some limitations that we plan on addressing in the near future: custom actions, possible to disable, ACL merge support.
  • Use new Paella skin and improve player UX
    • Tobira finally uses the new Paella skin, making the player (and by extension the video page) look a lot more modern. Paella uses the configured primary color for accents.
    • The UX was improved by making the Paella UI disappear more quickly while the video is playing, and by showing a more appropriate icon when hovering over elements that can be clicked.
    • Updates: paella-core (1.41.0 -> 1.46.1), paella-basic-plugins (1.31.2 -> 1.44.2), paella-zoom-plugin (1.29.0 -> 1.41.1)
  • Improve search page in #1025.
    • This is the start of us finally giving some love to the search functionality, improving the design and adding more feature in the future.
  • Add timestamp support via ?t=1m23s parameter and "start at:" option to share menu in #943
  • Adjust Paella scaling and background in #984
  • Fix paella dual stream layout in #985
  • Auto pause videos when playing a different one on the same page in #973
  • Retain volume setting across all videos in #983
  • Let textarea inputs grow dynamically in #970
  • Unify focus style on miscellaneous elements in #962
  • Disable automatic font size adjustment in iOS safari in #989
  • Wrap delete realm button text in #993
  • Adjust some translations in #987
  • Stop radio buttons from shrinking in #992
  • Add contextual video link to "referencing pages" in #995
  • Fix scrolling footer in #1022
  • Fix text color in text blocks in #1034
  • Hide information on "add child" page behind tooltips in #1030
  • Use fixed background/color for inputs and textareas in #939

Changes primarily for admins

  • Make user role prefixes configurable in #974
  • Add docs with general info about Tobira in #935
  • Do not include "email": null in JWT (if there is no email) in #964
  • Improve error message in case sync.{user/password} are incorrect in #1000
  • Update dependencies

Changes primarily for developers

  • Add utility functions for building GraphQL event and series IDs in #981
  • Change type of event duration in DB from i32 to i64 in #986
  • Forward ExternalLink component ref in #997
  • Replace most Hero icons by ones from Lucide in #936
  • Replace feather icons with lucide icons in #994
  • Add musl release builds and basic load testing scripts in #940
  • Add compile target to adopter registration stats in #942
  • Replace manual DOM ids with "useId()" hook in #980
  • Improve homepage of test deployment in #1051

Full Changelog: v2.3...v2.4