Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@wunc wunc released this 08 Mar 17:44
· 226 commits to main since this release

Enhancements

  • Editable Profile display names
  • Clarified explanation of profile visibility toggle
  • Search UX improvements
    • includes Schools in search results
    • optional site setting to automatically redirect to a school page if search exactly matches only one school name
    • optional site setting to automatically redirect to a profile if search exactly matches only one profile display name
    • keeps search query in searchbox after submit (if not auto-redirected to school or profile page)
    • adds "Search Results" title to results page for clarification
  • Smarter automatic school detection logic: deduce school differently depending on a user's primary affiliation in LDAP, i.e. if faculty/staff use 'department' to determine school but if student/studentworker use 'college' to determine school
    • this should fix certain users, e.g. a lecturer who is also a Ph.D. student, from being associated with the wrong school on attribute sync
  • Allows a user/profile to associate with multiple schools
  • Basic email address obfuscation (viewers should see the profile email address normally, but site scrapers w/o JavaScript processing will only see it encoded)

Deprecations & removals

  • Remove backup max storage health check

Fixes & updates

  • Tests: fixed & updated tests
  • Updated Laravel framework, including security fixes
  • Updated front-end Laravel Mix to v6
  • Front-end JS security fixes
  • Adds / fixes HTML title element on some pages
  • Fixed icon replace function (e.g. when searching)
  • Fixed extraneous characters in activity logs
  • Fixed some bugs in role-syncing code

Migrating to v1.3

  • Clear all caches (config, views, routes, and etc.)
  • Requires Composer v2 for installation: composer install
  • Run the new migration: php artisan migrate
  • Add the new options to your .env file: LDAP_SCHEMA_PRIMARY_ROLE, LDAP_INFER_SCHOOL_FROM_DEPT, LDAP_INFER_SCHOOL_FROM_COLLEGE (See .env.example)
  • Profile display names now use the full_name attribute. If you'd like to ensure that pre-existing profiles have the same name as before, first make sure you have a database backup, then run the seeder: php artisan db:seed --class="v1_3_Seeder", which will update the full_name of all profiles to first_name last_name, which is what display names were prior to v1.3.