Skip to content

2020-Q4

Compare
Choose a tag to compare
@shapiromatron shapiromatron released this 20 Jan 21:27
· 646 commits to main since this release
eed910c

January 14, 2021.

A large amount of our time this quarter was spent updating and redesigning the HAWC frontend. The project has grown organically over around eight years, patching new features and functionality as it grew. Unfortunately, we hit a point where the site was looking dated, and there were user-interface inconsistencies, making it difficult to add new features. We've therefore updated from a 2012 framework to a modern one, and added the ability to more easily skin an application with branding.

In addition to the website redesign, a few critical new features were added:

  • References in HAWC can now be manually updated to associate with a Pubmed and/or HERO ID
  • Restore copy buttons for risk of bias/study evaluation text
  • Unaccented author search feature (eg., a search for "fred" returns "Frédéric")
  • Added new programmatic APIs to copy risk of bias across assessments, and associate existing bioassay endpoints with controlled vocabulary terms

Finally, we added the ability to (optionally) restrict assessment creation to a subgroup of users. In some cases organizations may want to limit the content that is added to HAWC, and therefore, if enabled, HAWC admins can assign users to a group that has the ability to create new assessments. Once an assessment is created, members of the assessment can manage just as before.

The full changelog is below:

New features:

  • overhaul look and feel of site, migrating from Bootstrap 2 (2012) to Bootstrap 4 (2018+)
    #334 #335 #336 #337 #338 #338 #343 #345 #346 #347 #348 #354 #356 #358 #359 #360 #361 #362
  • enable users option to specify controlled vocabulary for assessment #326
  • for risk of bias/study evaluation, rename scores -> judgements #331
  • restyle header, footer, and navigation bar #342 #367
  • enable updating any reference to manually add PubmedID or HERO ID after import #364
  • Restore copy buttons for risk of bias/study evaluation text #366
  • (optionally) restrict assessment creation to subgroup of users #369
  • Enable unaccented search for author names #373
  • Improve risk of bias score admin view and identify orphaned override content objects #374

New APIs for bulk-modifying content:

  • add new API to bulk update endpoint term IDs #323
  • allow copying risk of bias/study evaluations across assessments #332
  • add new API for fetching required bioassay metadata #371

Software upgrades/security/stability:

  • upgrade to django 3.1 #324
  • add server-side browser check to possible client incompatibility #339
  • move breadcrumb logic to view instead of template #341
  • re-enable and expand integration tests #350
  • sanitize referer and fix XSS vulnerability #349 #363
  • remove nginx configuration from docker container deploys #352

Bug/regressions fixed:

  • cache EHV vocabulary page: #322
  • restore model ordering defaults #325
  • fix model ordering distinct issues #327
  • fix cog button in visualizations #328
  • update pending deprecation warnings #329
  • remove non-final reviews from rob heatmaps #330
  • fix NA scores on data pivots #333
  • fix tabular export when literature tag names are not unique #368
  • fix url slugs not properly escaping special characters #370