Releases: ucfopen/Obojobo
v11.0.0 - "Garnet"
The big stuff you'll wanna know
We have two cool new features for you in this release - Score importing and question copying! Along with the usual cocktail of enhancements and bug fixes.
For authors & instructors:
- When creating a new Obojobo Next LTI assignment you can choose to enable score importing. When a student is taking an LTI assignment with score importing enabled they will have the option to import a previous score instead of taking the assessment. If the student imports a score their number of attempts is reduced to zero and they're unable to start any attempts.
- You can now copy and move questions into any question bank! To do it, click the details menu
(...)
of a Question Bank and click on the new Import Questions button. Any questions you import will be duplicated and appended to the bottom of your Question Bank. - The "Lock Navigation During Attempts" toggle has been changed to better align with the description. It now will lock navigation when an attempt is started and unlock navigation once the attempt is completed. Previously this was more confusing - it used to lock the navigation when entering the assessment section and unlock it when an attempt is over, requiring you to provide a button to allow students to leave the assessment section. If you want to replicate this behavior you'll just need to add an
onNavEnter
trigger to lock navigation and anonNavExit
trigger to unlock the navigation. Note that this change doesn't impact or change any previous modules you've authored.
For students
- If your instructor has enabled it on an Obojobo Next module assignment you can now import a previous score. When starting a module with importing enabled you'll see a dialog letting you know the option is available. Then, when you being an assessment attempt you'll be prompted with the choice to either import your previous score or to ignore your imported score and continue the assessment.
- We've done some improvements with questions so that they won't jump around when interacting with them, making them way less annoying!
For developers:
- This release includes updates for several packages and a database migration.
For administrators:
- This release includes updates for several packages and a database migration.
For data nerds:
The following events have been updated with non-breaking changes:
assessment:attemptEnd
:1.2.0
→1.3.0
assessment:attemptScored
:2.1.0
→2.2.0
These events now include the following new fields in their payloads:
Property | Description |
---|---|
imported |
Boolean indicating if this attempt was imported from a previous attempt |
originalScoreId |
If this attempt was imported then this is the internal assessmentScoreId of the assessment score that was imported. Otherwise null . |
originalAttemptId |
If this attempt was imported then this is the internal attemptId of the attempt that was imported. Otherwise null . |
REST API Changes:
- No changes in this release
New Feature Screenshots
Score Importing
Score importing is a new option you can enable that allows students to submit a previous score if they've taken the assessment for a module previously. When embedding an Obojobo module as an assessment item in your LMS there's a new option to enable score importing - you can see it here:
When a student first comes to a module which has score importing enabled (and they've previously submitted an assessment for this same module in the past) they'll see this dialog:
When starting the assessment they'll see this additional dialog giving them two choices - they can either import their previous score or ignore the old score and take the assessment as usual. If they opt to take the assessment they can no longer import their old score. Likewise, if they import their old score they can no longer take the assessment.
Editor Locking
We've added more safeguards when it comes to multiple authors working on an Obojobo module. Now if someone else is currently editing a module you'll see this screen:
This will help prevent you and the other author from overwriting one another.
As long as you're actively working on editing a module others won't be able to edit at the same time. If you stay idle for long enough you will see this warning message:
Once you return to the module you can continue editing. If you continue to stay idle for longer you'll see this message:
Most likely you'll be able to return to the module and continue editing. However if another user is attempting to edit this module at the same time they will be able to start editing once you are shown this message.
Copy & Move questions
A common request from faculty has been an easier way to move questions around. With this release you can now copy questions in your module into any Question Bank inside that same module. This allows you, for example, to copy practice questions from your module's content pages into your assessment Question Bank in order to have a starting point for creating your assessment. Or if you accidentally create questions in the wrong place you can easily import them into the Question Bank you intended them to land in.
To do this, make sure your cursor is somewhere in a question inside a QuestionBank, then click the details menu (...)
button for the Question Bank. This shows advanced settings for the Question Bank, along with the new Import Questions button:
Clicking on this will bring up a window allowing you to select any question that has been found inside your module:
Note that imported questions are duplicated from their originals. The original question you've imported will be left untouched.
Here's what the complete process looks like:
Complete Issues List
The list of completed pull requests can be seen on our GitHub milestone page.
- #1123 - 🛠️ Sometimes when answering a question the page could unexpectedly and annoyingly jump around. This enhancement includes updates to the focusing system to prevent the page from scrolling when interacting with a question.
- #1384 - 🛠️ Small tweak to prevent the text cursor from showing up in non-editable areas of the Visual Editor UI.
- #1385 - 🛠️ Restricts the width of the details menu in the Visual Editor. Long inputs such as very long page titles could cause this dialog to render in unexpected ways.
- #1410 - ✨ New feature which lets you quickly import questions into any question bank
- #1451 - 🛠️ Slight tweak to help make scrolling detection in the viewer more efficient
- #1461, #1555, #1558, #1564, #1579 - ✨ Module launches can now enable the new score importing feature. This allows students to import a previous score if they're taking the same module they've taken previously. This also adds a new editor locking mechanism. This prevents multiple authors from accidentally overwriting work by editing a module at the same time.
- #1486 - 🐛 Fixes the display of the edit-link menu in the Visual Editor in paragraphs with hanging indent enabled. Before this fix the menu would not be positioned in the expected place.
- #1520 - 🛠️ Simplifies the "Lock Navigation During Attempts" toggle in the Assessment section detail menu. This option previously set a confusing mix of triggers that didn't align perfectly to the description of the feature (triggering the
nav:lock
action foronNavEnter
,onEndAttempt
, andonNavExit
triggers). This now simply fires thenav:lock
action for theonStartAttempt
andonEndAttempt
triggers, which aligns better with the expectation of the feature. - #1525 - 🐛 Fixes a bug that prevented you from editing the li...
v10.1.0 - "Ulexite"
The big stuff you'll wanna know
This is the first release of our new three-week release schedule. Nothing too big this time, but we have a number of enhancements and a few fixes.
For authors & instructors:
- Tables now have an option to automatically set the width of their columns to fit the content. You can change this option when you interact with the table in the visual editor - a button will appear underneath the table to toggle the setting.
- The default order in your Dashboard was set to alphabetical, which made it difficult to see newly created modules. We've changed this to order by creation date, which should make it much easier to spot new modules you create.
For students
- We've added the attempt score and the number of attempts available in the module navigation, allowing you to see how you're doing at a glance without having to jump into the Assessment section.
For developers:
- No changes in this release
For administrators:
- No changes in this release
For data nerds:
- No changes in this release
REST API Changes:
- GET
/drafts/:draftId/revisions/:revisionId
- TheuserId
property has been added:
{
"draftId": "0b69cfab-17ac-4f2c-a057-e12fb6f3b830",
"createdAt": "2020-08-19T20:11:04.569Z",
"json": {...},
"revisionId": "c1005c48-b24f-4215-a321-030fdbf0246e",
"userFullName": "User Name",
"userId": 1
}
New Feature Screenshots
Assessment attempts and score summary in the navigation
Now students can see how they're doing from anywhere in the module - the new text is on the left side of the screen underneath "Assessment"
Tables can now have auto-width cells
Depending on your table content this can provide a better look - you can see toggling between the two width options below:
Toolbar updates
The state of the currently selected text is now highlighted in the toolbar:
Complete Issues List
The list of completed pull requests can be seen on our GitHub milestone page.
- #1326 - 🛠️ Enhances the Visual Editor toolbar by highlighting any styling options for any selected text
- #1434 - 🛠️ Changes the default Dashboard sorting order to "Newest"
- #1460, #1508, #1519, #1523 - ✨ Added option for tables to have cells with flexible width
- #1487 - 🛠️ Updated the keyboard shortcuts for the Visual Editor insert chunk menu. These were
Ctrl
++
andCtrl
+-
which disabled the standard browser shortcuts for zooming. These have been changed toCtrl
+Shift
++
andCtrl
+Shift
+-
. - #1489 - 🛠️ The style for the table menu in the Visual Editor has been updated with a more matching look
- #1491 - 🛠️ Adds
userId
to/drafts/:draftId/revisions/:revisionId
. Also fixes a bug where"undefined undefined"
could be returned for theuserFullName
property. - #1494 - ✨ Added a summary of the current assessment scores and number of attempts in the viewer navigation
- #1496 - 🐛 Corrects the shortcut listed in the Visual Editor tutorial for converting text to an inline math equation
- #1497 - 🛠️ Adds unit tests for the module repository package
- #1498 - 🛠️ Bump
bl
from3.0.0
to3.0.1
- #1509 - 🛠️ Bump
node-fetch
from2.3.0
to2.6.1
- #1515 - 🐛 Fixes a bug where deleting a row from a Table only cleared out the content from that row. Also adds some space at the bottom of the editing window.
Issue legend:
- ✨: New features
- 🛠️: Improvements & enhancements
- 🐛: Bug fixes
Release Stats
Commits: 76
Developers: 7
Files Changed: 150
Lines Changed: 11,097 (+10,734 / −363)
Commit Dates: May 19, 2020 - Sep 14, 2020
Lines of Code (expand to view)
cloc ./ --hide-rate --by-percent cmb --read-lang-def=cloc-type-definitions.txt
1949 text files.
1718 unique files.
278 files ignored.
github.com/AlDanial/cloc v 1.86
---------------------------------------------------------------------------------
Language files blank % comment % code
---------------------------------------------------------------------------------
Jest Tests 455 14.05 2.05 68846
Jest Test Snapshots 246 2.10 0.43 56007
JavaScript 640 12.49 5.76 39723
JSON 82 0.01 0.00 27562
Sass 135 15.20 1.11 9615
XML 31 2.36 5.25 1372
JSX 29 10.90 0.90 1367
Markdown 3 17.92 0.00 577
EJS 12 8.82 0.98 460
SVG 37 0.61 0.00 164
YAML 3 19.35 8.60 67
---------------------------------------------------------------------------------
SUM: 1673 9.04 2.14 205760
---------------------------------------------------------------------------------
Thanks!
A big thanks to our contributors for this release (listed in alphabetical order):
v10.0.0 - "Ammolite"
The big stuff you'll wanna know
This release has a cool and useful new feature - version history! You can now dial back the clock and look at earlier versions of a draft. If you need to you can also revert back to an earlier version, which makes a new revision as a copy.
This release also brings about many enhancements and bug fixes.
For authors & instructors:
- As mentioned above, version history has been added (scroll down to see screenshots of this feature in action).
- A new assessment variable,
assessment:attemptsTaken
, has been added. You can add it to text inside the assessment section - for example:You have taken {{assessment:attemptsTaken}} attempts
. After two attempts this would be displayed asYou have taken 2 attempts
.
For developers:
- This release has migrations
For administrators:
- This release has migrations
For data nerds:
- No changes in this release
REST API Changes:
- GET
/drafts/:draftId/revisions
- Returns an array of draft versions. Example of returned data:
Note this is a paged response. Obojobo returns 50 revisions per request. On any given request, if there are more pages of results, the response headers will contain a link header (https://tools.ietf.org/html/rfc5988) for the next page.
[
{
createdAt: "2020-08-20T13:37:18.899Z",
draftId: "0b69cfab-17ac-4f2c-a057-e12fb6f3b830",
revisionId: "90df2ff3-ef37-4c21-9ef3-1a32babefa57",
userFullName: "User Name",
userId: "123"
}, ...
]
- GET
/drafts/:draftId/revisions/:revisionId
- Returns the draft JSON for a specific revision. Example of returned data:
{
"draftId": "0b69cfab-17ac-4f2c-a057-e12fb6f3b830",
"createdAt": "2020-08-19T20:11:04.569Z",
"json": {...},
"revisionId": "c1005c48-b24f-4215-a321-030fdbf0246e",
"userFullName": "User Name"
}
New Feature Screenshots
Version History
You can find the version history feature by clicking on a module in your dashboard, clicking on the More...
link and then clicking on Version History
:
This opens up the Version History dialog. Clicking on the versions in the left menu will show the state of that version in the editor preview window. Click on Restore this version
in the upper-right to bring that version of your module back to life (You'll be asked to confirm first):
Your versions are never deleted. Restoring a version simply duplicates that version of the module and makes it the most recent version. That way you can always go back if you change your mind!
Complete Issues List
The list of completed pull requests can be seen on our GitHub milestone page.
- #1210 - ✨ Adds module version history, allowing you to revert a module to an earlier version
- #1289 - 🐛 Fixes an issue in the visual editor causing the cursor to work unexpectedly when editing Question Bank settings
- #1297 - 🛠️ The editor now enforces that module titles not be blank
- #1397 - 🛠️ ActionButtons in the visual editor now have the same width as they do in the viewer
- #1403 - 🛠️ Now when creating a link in the visual editor the link input box will have focus
- #1427, #1426, #1425, #1424, #1423, #1422, #1421, #1420, #1419, #1418, #1417, #1416, #1415, #1414, #1413, #1196, #1476 - 🛠️ Added current and previous contributors to the main README.md
- #1432 - 🐛 Fixes a bug where pressing Shift+L or Shift+K inside a List changed the list type. This has been changed to its intended shortcut of Cmd/Ctrl+Shift+L (or Cmd/Ctrl+Shift+K).
- #1433, #1466 - 🐛 Fixes a bug where MathEquations or inline latex would render strangely if
\text
was used - #1435 - 🐛 Fixes an issue where the keyboard shortcut labels for align center and align right in the editor toolbar were swapped
- #1440 - 🛠️ Content inside IFrames now allows fullscreen if the embedded content has a fullscreen button
- #1441 - 🛠️ Fixed the position of the onClick menu for ActionButtons in the editor (for buttons that spanned more than one line of text)
- #1442 - 🛠️ YouTube videos now feature rounded corners
- #1444 - 🐛 Fixes a regression bug that broke creating new migrations
- #1457 - 🛠️ Fixed some minor text rendering issues in the 500 error page
- #1458 - ✨
assessment:attemptsTaken
variable added for use inside the Assessment section - #1462 - 🛠️ Updates UI in the editor to fix visibility issues from default style changes in Chrome 83
- #1468, #1475 - 🐛 Fixes to undo/redo in the visual editor
- #1472 - 🐛 Fixes an issue where hitting enter at the start of a Heading could cause page crashes in the Visual Editor
Issue legend:
- ✨: New features
- 🛠️: Improvements & enhancements
- 🐛: Bug fixes
Release Stats
Commits: 171
Developers: 8
Files Changed: 144
Lines Changed: 3,834 (+2,848 / −986)
Commit Dates: Mar 18, 2020 - Aug 21 , 2020
Lines of Code (expand to view)
cloc ./ --hide-rate --by-percent cmb --read-lang-def=cloc-type-definitions.txt
1882 text files.
1651 unique files.
278 files ignored.
github.com/AlDanial/cloc v 1.86
---------------------------------------------------------------------------------
Language files blank % comment % code
---------------------------------------------------------------------------------
Jest Tests 410 13.85 2.01 63084
Jest Test Snapshots 227 2.11 0.42 53093
JavaScript 639 12.49 5.76 39660
JSON 82 0.01 0.00 27551
Sass 135 15.19 1.07 9560
XML 31 2.36 5.25 1372
JSX 29 10.55 0.84 1260
Markdown 3 17.92 0.00 577
EJS 12 8.82 0.98 460
SVG 35 0.64 0.00 156
YAML 3 19.35 8.60 67
---------------------------------------------------------------------------------
SUM: 1606 8.90 2.15 196840
---------------------------------------------------------------------------------
Thanks!
A big thanks to our contributors for this release (listed in alphabetical order):
v9.1.0 - "Topaz"
The big stuff you'll wanna know
This release is primarily focused on squashing bugs and improving our Visual Editor, including the additional of several keyboard shortcuts to make the Visual Editor more keyboard-friendly.
For authors & instructors:
- New and improved Visual Editor Link UI
- Figure captions for custom widths fixed
- Math Equations now properly handle fractional sizes
- JS/CSS file sizes reduced.
Scroll down to see screenshots of these updates
For developers:
Several packages have been updated in this release
For administrators:
Several packages have been updated in this release
For data nerds:
The following events have been updated and now include the visitId:
lti:replaceResult
:2.0.0
->2.1.0
visit:create
:1.0.0
->1.1.0
assessment:attemptEnd
:1.1.0
->1.2.0
assessment:attemptScored
:2.0.0
->2.1.0
and assessment:attemptResume
:1.1.0
->1.2.0
REST API Changes:
- No changes
New Feature Screenshots
Keyboard Shortcuts
Lots of keyboard shortcuts were added to both increase accessibility and allow export authors quick access.
Even the buttons have accessible mouse over tool tips to help you find the right key combos.
Visual Editor Link UI
A new inline UI for html links helps you see where links go and gives you a few quick ways to copy, view, and edit the url.
Figure Captions for Custom Widths fixed
The figure captions would expand to the full width of the page when you defined a custom width. Now they'll neatly fit under the image like they should. There were a number of other changes with custom Figure sizes that should make them more usable. EX: define only a width and the height will scale proportionally, keeping the correct aspect ratio.
Math Equations properly handle fractional sizes
Some of your math equations may be extraordinarily wide. If so, you may need to scale them down some so they'll better fit in the page. Sizes down to .1x and up to 20x are available now.
Complete Issues List
The list of completed pull requests can be seen on our GitHub milestone page.
- #1193 - ✨ Adds new inline edit menu for creating links in the Visual Editor
- #1236 - 🛠️ Attributes are no longer blocklisted when converting from JSON to XML
- #1268, #1368, #1369, #1371, #1372, #1386 & #1392 - ✨ Greatly improves the keyboard navigation in the Visual Editor, which includes several new keyboard shortcuts added
- #1284 & #1336 - 🐛 Fixes an issue causing changes to Math Equations to not be committed until the edit dialog was closed
- #1285 - 🐛 Fixes an issue where certain UI elements in the Visual Editor would erroneously show a text editing cursor where text editing wasn't allowed
- #1287 - 🐛 Captions for figures at a custom size spanned the full width of the page. This has been fixed - all captions now always fit at the same width of the image.
- #1288 - 🛠️ visitId is now being sent and recorded for the following events:
lti:replaceResult
,visit:create
,assessment:attemptEnd
,assessment:attemptScored
, andassessment:attemptResume
- #1293 - 🛠️ Public pages for deleted modules now results in a 404 page instead of a 500 Server Error page
- #1310 - 🐛 Fixed a bug causing React errors when duplicate Actions were defined in the Triggers dialog in the Visual Editor.
- #1322 - 🐛 Fixes a bug where assessment variables (such as
{{assessment:attemptsRemaining}}
) put in text outside of the Assessment section would cause the Viewer to not display. - #1325 - 🛠️ Speeds up rendering of the Editor and Viewer thanks to optimizations and filesize reductions of the CSS and JS.
- #1328 & #1339 - 🛠️ Speeds up the inline latex previews in the editor. Also changes inline latex text to take up less horizontal space and removes spellcheck hints since the majority of text will not be understood by the browser.
- #1329 - 🐛 Fixes a bug causing the details menu
(...)
to remain open even after pressing the Done button. - #1331 - 🐛 Fixes a bug where an older version of a module that was overwritten could erroneously be restored when switching between editors.
- #1332 - 🛠️ Speeds up the performance of the Visual Editor.
- #1335 - 🐛 Fixes a bug where the Visual Editor didn't allow fractional
size
values for Math Equations. - #1337 - 🛠️ Updates several dependencies to their latest versions
- #1338 - 🛠️ Nodemon no longer restarts the server for EJS changes as these changes are already handled by the dev server.
- #1344 - 🐛 Fixes a bug where a module couldn't be saved once a Page was duplicated in the Visual Editor
- #1351 - 🐛 The JS LTI picker template no longer escapes the returnUrl.
- #1355 - 🐛 Ensures that any (opaque) data param is returned verbatim in the JS LTI picker template.
- #1366 - 🐛 Fixes an issue where the
Cmd+S
shortcut sometimes didn't work in the JSON or XML editor. - #1374 - 🐛 Fixes a bug causing the page to jump around when clicking on an IFrame in the Visual Editor
- #1376 - 🐛 Fixes an incorrect URL in the LTI instructions page.
- #1380 - 🛠️ Moves migrations to Heroku release phase, causing migrations to run
- #1381 - 🛠️ Bumps websocket-extensions from
0.1.3
to0.1.4
- #1389 - 🐛 Fixes a bug where using the Move Up or Move Down buttons in the details menu
(...)
in the Visual Editor would crash the editor. - #1393 - 🛠️ Removes whitelist and blacklist terminology
Release Stats
- Commits: 188
- Developers: 7
- Files Changed: 271
- Lines Changed: 10,710 (+7,302 / −3,408)
- Commit Dates: Mar 16, 2020 - Jun 11 , 2020
Lines of Code (expand to view)
› cloc ./ --hide-rate --by-percent cmb --read-lang-def=cloc-type-definitions.txt
1874 text files.
1643 unique files.
276 files ignored.
github.com/AlDanial/cloc v 1.86
---------------------------------------------------------------------------------
Language files blank % comment % code
---------------------------------------------------------------------------------
Jest Tests 410 13.82 2.00 62774
Jest Test Snapshots 227 2.10 0.42 53000
JavaScript 637 12.53 5.73 39253
JSON 82 0.01 0.00 27552
Sass 134 15.20 1.06 9259
XML 31 2.36 5.25 1372
JSX 27 10.43 0.58 1067
Markdown 3 18.31 0.00 540
EJS 12 8.82 0.98 460
SVG 34 0.64 0.00 155
YAML 3 19.35 8.60 67
---------------------------------------------------------------------------------
SUM: 1600 8.87 2.13 195499
---------------------------------------------------------------------------------
Thanks!
This is our first release with commits from an outside collaborator!
A big thanks to our contrib...
v9.0.1 - Config changes for PostgreSQL SSL
This update allows ObojoboNext to connect to Heroku PostgreSQL databases with SSL.
It does change a global configuration environment variable DB_SSL
=> DB_SSL_JSON
. This means DB_SSL_JSON's value which was previously a boolean is now a JSON value. This allows you to control more SSL configuration options for db connections.
The default provided for Heroku now allows self-signed certs. The avaible options can be seen here under the ssl
option key https://github.com/vitaly-t/pg-promise/wiki/Connection-Syntax#configuration-object
v9.0.0 - "Emerald"
The big stuff you'll wanna know
This release is primarly about big updates to our Visual Editor. It may not look too different but the editor has been rewritten, smoothing out some of the quirks with inputting and copy/pasting text of the earlier versions. We've also added a few features while we were at it!
For authors & instructors:
- Much better handling of Text in the Visual Editor
- Inline latex math now has previews - just place the cursor inside the blue text to see them
- You can now upload or import documents - no need to copy and paste JSON or XML code!
- Renaming a module is now as easy as clicking on the text at the top of the editor.
For students:
- Sorry, no big changes this release.
For developers:
- React and several other libraries have been updated to newer versions in this release.
For administrators:
- This release includes new dependencies and migrations
REST API Changes:
- No changes
Complete Issues List
The list of completed pull requests can be seen on our GitHub milestone page.
- #1132 - 🐛 Fixes an issue where making a copy effected the title of the original document
- #1159, #1260, #1280, #1283, #1290, #1295, #1296, #1320 - ✨ Rewrite of the Visual Editor, upgrading it to version 0.5x of Slate
- #1168 - ✨ Adds the ability to import a document via upload
- #1170 - ✨ Adds the ability to click on the title of a module in the editor to change it
- #1192 - ✨ Adds buttons in the details menu to allow you to move any chunk in the visual editor up or down
- #1195 - 🐛 Fixes a regession bug causing pages in the viewer when first loaded to not be at the correct position
- #1207 - ✨ Adds Latex previews to inline math
- #1238 - 🛠️ Renamed "Save" to "Save Module" in File menu in the editor to better clarify that save is saving the whole module, not the current page
- #1243 - 🐛 Removes the ability to duplicate assessment, which is not supported in Obojobo but previous versions of the Visual Editor allowed you to do
- #1244 - 🛠️ Better rendering of very long page titles
- #1254 - 🐛 Fixes a bug where searching for users in the Dashboard quickly would cause a 500 error
- #1261 - 🛠️ Minor refactor of Lists replacing strings with constants
- #1292 - 🛠️ Updates several packages to newer versions (View the PR page for a complete list)
Release Stats
- Commits: 236
- Developers: 5
- Files Changed: 518
- Lines Changed: 68,300 (+38,561 / −29,739)
- Commit Dates: Oct 24, 2019 - May 18 , 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 403 13.77 1.97 60906
Jest Test Snapshots 227 2.11 0.42 52255
JavaScript 632 12.64 5.51 38483
JSON 82 0.01 0.00 27579
Sass 134 15.25 1.08 9184
XML 31 2.36 5.25 1372
JSX 27 10.43 0.58 1067
Markdown 3 18.31 0.00 540
EJS 12 8.77 0.97 463
SVG 32 0.67 0.00 149
YAML 3 19.35 8.60 67
---------------------------------------------------------------------------------
SUM: 1586 8.83 2.07 192065
---------------------------------------------------------------------------------
Thanks!
A big thanks to our contributors for this release (listed in alphabetical order):
New Feature Screenshots
Changing a Module Name
Renaming a module is just a click away
Moving Content
Easily move a chunk of content up or down on the page.
Upload Module File
Upload module files from your Dashboard
Import Module Files to Overwrite
Overwrite your module by importing from a file.
Inline LaTeX preview in the editor
Click or select an inline LaTeX code to see a quick preview
v8.0.2 Bug Fixes
v8.0.1 Bug Fixes
Fixed a bug when converting from xml to json with hangingIndent='false'
being treated as true. #1230
v8.0.0 - "Buffalo Turquoise"
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 ...