Skip to content

v8.0.0 - "Buffalo Turquoise"

Compare
Choose a tag to compare
@iturgeon iturgeon released this 30 Mar 14:04
· 2402 commits to master since this release

The big stuff you'll wanna know

This release comprises quite a few fixes and enhancements that mostly focus on improving the editing experience.

For authors & instructors:

  • Modules in the Community Collection can now be copied to your personal library for editing. If you wish to publish to the community collection talk to your administrator (self-publish feature coming in a future release).
  • This release updates the image upload dialog to show you recently uploaded images.
  • Hanging indents have been added.
  • We're continuing to strengthen the editor to better handle document errors and conversions to and from XML. For example, in the previous release a single bad LaTeX equation could crash the application. Now the malformed LaTeX is highlighted and the student interface still runs.
  • The dashboard now has a setting to determine how to sort your modules.

For students:

  • We've added a confirmation step when submitting an assessment attempt in order to prevent accidental submissions.

For developers:

  • The last release broke the migration commands like db:migrateup. This release restores those commands.
  • The obojobo-express package has been cleaned up.

For administrators:

  • This update has migrations and package updates.
  • Previous releases dropped IE11 support, but this release goes further and removes shims needed for IE11.

REST API Changes:

  • Add /api/media/all - Returns a list of all media for the current user

Complete Issues List

The list of completed pull requests can be seen on GitHub.

  • #923 - New File Upload dialog allows you to view and re-use previously uploaded images
  • #978 - eslint now runs inside Jest's workflow
  • #980 - Adds loading=lazy to image and iframes
  • #994 - Adds ability to create hanging indents
  • #997 - Fixed display issues for the incorrect message for multiple choice pick-all questions
  • #1000 - Optimized visit start to fail faster when accessing an old version of a draft
  • #1002 - Fixes several responsive design issues in the viewer
  • #1004 - Fixed issue where the Visual Editor will treat two pages with the same title as the same page
  • #1007 - Added an option to the Youtube chunk option allowing you to start and end videos at specific times
  • #1013 - Adds a 'Copy this module' button on module page for any module you have rights to
  • #1015 - Jquery completely removed from module picker (316kb down to 6.6kb)
  • #1020 - Removes unused fetch shim after dropping IE11 support
  • #1042 - Adds a custom type definition for cloc
  • #1047 & #1185 - All server code in obojobo-express moved into obobjobo-express/server to follow project conventions
  • #1048 - Bump handlebars from 4.1.2 to 4.5.3
  • #1084 - Dashboard now has sorting options
  • #1090 - Added error handling in the editor when saving fails
  • #1100 - The viewer nav bar now has bigger sub-item bullets
  • #1101 - Fixed changing from threshold scoring to regular scoring not updating xml
  • #1105 - Updated {{variable}} substitutions which now should no longer conflict with LaTeX equations using {{ or }}
  • #1113 - Restored the use of Roboto Mono for monospace text in the Viewer
  • #1115 - Added a dialog to confirm an attempt submission so that students are less likely to accidentally submit an attempt
  • #1116 - Fixed a bug causing the New Module option in the editor to return a 404 page when editing XML or JSON
  • #1117 - Fixes the migration commands
  • #1118 - Pasting into a list in the Visual Editor no longer creates extra line breaks
  • #1120 - Optimized a few queries to reduce database connection usage
  • #1122 - Fixed an issue where pages without an ID would crash the editor
  • #1128 - The highlight color for inline LaTeX in the Visual Editor has been softened
  • #1133 - Downloading the JSON document included extra information - this has been fixed to only return the JSON.
  • #1136 - Changed when automatic asset building occurs, prepublish hook moved from main repo to obobjobo-express
  • #1149 - Malformed LaTeX no longer crashes the viewer, instead the issue is highlighted in red
  • #1152 - Fixed a minor rendering issue causing an answered question to sometimes reflow text inside the question
  • #1153 - Visual Editor now supports the deprecated older to/from syntax for scoreActions. This allows older documents authored in JSON or XML to be correctly edited in the Visual Editor
  • #1156 - Fixed issues with the Math Equation editor sometimes rendering beneath text
  • #1160 - XML editor now preserves unexpected tags and their attributes instead of breaking
  • #1166 - Enable hanging indents on text and list chunks.
  • #1169 - Fixes the (...) menu in the Visual Editor from internally using duplicated React keys
  • #1173 - Characters that would break the XML format (&, <, >, ', ") are now encoded correctly
  • #1176 - Optimize javascript file sizes for viewer & editor
  • #1178 & #1202 - Fixes really long module titles from obscuring content or causing rendering issues
  • #1183 & #1186 - Fixes an issue causing the full attempt review from not rendering correct/incorrect flags correctly when the review mode was set to show the full review after all attempts were completed
  • #1187 - Replaces the momentjs library with dayjs to reduce module-page JS size
  • #1188 - Removes a now-unused Travis npm deploy job
  • #1191 - Bump minimist from 1.2.0 to 1.2.2
  • #1201 - Removes a debug display item that was left in the Repository
  • #1204 - Updates the Visual Editor tutorial to highlight new features
  • #1205 - Fixes a bug causing empty text nodes in XML (<t></t>) preventing the document from saving.
  • #1213 - Fixes a bug causing the type setting on Questions being lost when converting to XML
  • #1214 - Fixes a bug where Question or MCChoice node ids starting with an uppercase letter (or using underscores) would cause student responses for full reviews to not show up
  • #1215 - Clicking off of the Details menu ((...)) now updates any changed properties, making this UI less confusing.

Release Stats

  • Commits: 267
  • Developers: 7
  • Files Changed: 452
  • Lines Changed: 30,193 (+14,239 / −15,954)
  • Commit Dates: Oct 7, 2019 - Mar 26 , 2020
Lines of Code (expand to view)
› cloc ./ --hide-rate --by-percent cmb --read-lang-def=cloc-type-definitions.txt
    1850 text files.
    1617 unique files.                                          
     278 files ignored.

github.com/AlDanial/cloc v 1.84
---------------------------------------------------------------------------------
Language                       files        blank %      comment %           code
---------------------------------------------------------------------------------
Jest Tests                       389          14.02           2.04          57742
Jest Test Snapshots              226           2.25           0.43          50847
JavaScript                       639          12.74           4.02          37067
JSON                              81           0.01           0.00          27527
Sass                             132          15.35           1.10           8897
XML                               31           2.36           5.25           1372
JSX                               27          10.51           0.59           1057
Markdown                           3          18.31           0.00            540
EJS                               12           8.77           0.97            463
SVG                               31           0.00           0.00            134
YAML                               3          19.35           8.60             67
---------------------------------------------------------------------------------
SUM:                            1574           8.89           1.75         185713
---------------------------------------------------------------------------------

Thanks!

A big thanks to our contributors for this release (listed in alphabetical order):

New Feature Screenshots

Copy a public module

Modules in the community collection (and any other modules you have permissions to) can now be copied to your personal library. Just go to the module's page and click the Copy this Module button and you'll have a duplicate of it for you to make your own.

copy-a-public-module


Dashboard Module Sorting

There's a nice little dropdown on the top right of your dashboard that lets you sort your modules by age, update date, and name. Your sorting choice is kept in your browser's cookies.

dashboard-sorting


New Image Uploader

When uploading an image, the uploader will now show you thumbnails of the previously uploaded images. No more needing to re-upload the same image over, you can easily reuse your most recently uploaded images.

new-image-uploader


Hanging Indents

You can now add hanging indent to paragraphs, this is perfect for properly formatting your sources!

hanging-indents


Assessment Submit Confirmations

Submitting Assessments can be a little stressful. We've added a dialog to make sure you're ready to finish. And on the last attempt, Obojobo now makes sure you know that it's your last attempt.

final-submit-confirmation