2.0.8 - 2016-03-21
- New documentation for config.json and course.json
- New 'start controller' functionality to allow for single page courses and start pages (#906)
- New property 'requireCompletionOf' to allow for author to specify how many components in a block need to be completed in order for the block to be completed (#910)
- Added support to for string substitution in XML files for the
grunt dev
,build
andserver-build
tasks (#939) - Added questionModel and component models, move model behaviour from views into relevant models(#925)
- Updates to index.html to remove invalid/unnecessary markup (#997)
- Better error message for when components.json references a component that isn't installed (#974)
- port number can now be passed as an optional parameter to the
grunt server
task (#917) - remove requirejs
coreJS
andcoreViews
mappings (#929)
- JQuery not always loading fast enough (#579)
- Component "left" and "right" layout getting ignored on mobile when JSON does not match order (#636 and #985)
- Issues with the inview library that would sometimes prevent components with 'inview' completion from being marked as completed (#956)
- function
navigateToParent
in router.js wasn't checking_canNavigate
(#961) - ordered list items weren't included in reset.less (#960)
- completion cascade not happening the right order (#927)
2.0.7 - 2016-02-08
- New
getParents
helper function (returns an array where [0] = first parent and [x] = last parent) - New
getPath
helper function (returns an array from [0] = current model and [x] = last parent) esc
button now closes Notify popup (when a11y is off)
- Lots of improvements to the grunt build process:
- All configs has been split into separate files per task (see
grunt/config
- uses load-grunt-config) - All Tasks have been split into separate files (see
grunt/tasks
) - Everything is now loaded asynchronously as and when it's needed (using jit-grunt)
- New custom Javascript compiler:
- No more bundle files (i.e.
components.js
/extensions.js
/menu.js
/theme.js
) - Uses requirejs node module directly (no more grunt-contrib-requirejs)
- No more bundle files (i.e.
- New custom LESS compiler...with sourcemaps!
- Removed a number of dependencies on grunt/npm plugins:
adapt-grunt-tracking-ids
is now implemented directly in tracking-insert, tracking-remove and tracking-reset- assemble-less
- bower
- grunt-bower-requirejs
- grunt-contrib-concat
- grunt-contrib-less
- grunt-contrib-requirejs
- grunt-requirejs-bundle
- lodash
- matchdep
- Added ability to include/exclude specific plugins (#723)
- If excludes are specified, all plugins are included excluding those listed
- If includes are specified, only those plugins listed will be included
- If no includes/excludes are specified, all plugins are built, as before
- Build folder cleaned before a new build to remove any lingering files
- Added code style checking/enforcement using jshint/jscs
- Added 'time-grunt' to show execution time for tasks
- All configs has been split into separate files per task (see
- Minor course
.json
amends
- Accessibility:
- Remove iOS select fix
- Improved
onFocusCapture
to find next focusable component if cannot find any other. - Missing variable declararation, iOS
imageReady
: fixed background image checks- We now defer any errors with bad plugins until after Adapt has loaded
_isOptional
setting no longer cascades to children (#923)
2.0.6 - 2015-12-02
- Cached images causing slow loading in IE9 (ABU-1147)
- Issue with
device:resize
events not having accurate screen size info - Navigation click events not working unless the item clicked is a button element
2.0.5 - 2015-11-30
- Support for cross-domain requests (in supported browsers - for IE, this is only supported in 10+).
- Accessibility state now remembered across sessions (except on touch devices where it's always switched on)
- If there's only one item in the drawer, it's now opened by default
- More descriptive error thrown when attempting to render a missing component (#721)
- Various amends to the default course
.json
files provided with the framework - Improvements to the 'inview' library
- Lots of minor accessibility fixes
- Various router fixes
2.0.4 - 2015-10-30
- Support for tracking user's responses to SCORM's cmi.interactions
server-build
: add the option to create sourcemaps (adaptlearning/adapt_authoring#811)
- Update LESS variables to new v2 style
- Performance improvements
- Allow partly correct feedback to be optional in question screens
- Property locking system improved
- Various fixes for screenreader, keyboard & ios accessibility
- Ensure text labels are pulled through from 'globals' in course.json
2.0.3 - 2015-10-02
- Popup tab index save/restore ABU-1075
2.0.2 - 2015-09-28
- New button styles to base.less (#732, ABU-1069)
- New
_spoor
property_shouldStoreResponses
to config.json (#701)
- Allow arrows keys to pass into input/select/textareas in a scroll-locked region (#738, ABU-1071)
- Update licence in package.json (#724, #727)
- Ensure loading animation shown before views removed (#719)
- Amend Notify to use
.outerHeight
for more accurate vertical alignment (#716) - Amend answer to c-140 (#705)
- Updates to the a11y and onscreen libraries (#696, #697)
- Redundant labels from course.json
- Ensure the
remainingAttemptsText
andremainingAttemptText
get pulled through from_globals
(#745, #746) - Restored the
navigateToHomeRoute
function (#743, #744) - Fix aimed at keeping content centralised on screen to give context to surroundings (#742)
- Notify focus bug (#740)
- Hyperlink to the community site in README.md
- Missing Page Level Progress, Menu, Visited labels into course.json
- Bug fix for no/touch so the focus guard functions (#710)
- IE8 responsiveness hotfix (#703)
2.0.1 - 2015-08-04
- Added file .bowerrc back in; it is needed for the plugin registry system.
2.0.0 - 2015-08-03
This release is by far the biggest we’ve ever done; with the help of 17 contributors, the adapt_framework repository alone has seen over 420 commits, more than 6,400 additions and in excess of 13,400 deletions since we put out version 1.1.1.
As such, the changes are too numerous to mention here, but below are the highlights.
- Adapt is now fully keyboard and screenreader accessible, and conforms to WAI level AA web content accessibility guidelines.
- Adapt now supports right-to-left languages such as Arabic and Hebrew.
- Page level progress now has the option of adding progress bars for each item.
- Support added for
_isOptional
, which allows developers to exclude elements from course progress calculations. This option also integrates with spoor for highly-customisable component tracking. - Improvements to code syntax
- In addition to SCORM-compliant LMS support, spoor now also allows for offline tracking.
- Accordion items can now contain images.
- The narrative navigation buttons can be configured to show in the display text box.
- Text input now allows for more flexible answer combinations; in addition to the option-specific answers, there is now the ability to specify generic answers which can be submitted in any order.
- The media component now has an in-line (HTML) transcript.
- adapt-cli now supports tags, to allow for installing of specific versions of plugins.
- New components!
- Assessment results
- New extensions!
- Bookmarking
- Question component improvements:
- Question interactions have been enhanced to allow for more control over how they are reset.
- The ability to review previously viewed feedback.
- The ability to display an overall mark (tick or cross) in addition to individual option marking.
- The ability to toggle between ‘my answer’ and ‘model answer’
- Randomisation of the order in which options are presented
- jQuery v2 is now used for IE9 and above.
- Complete rewrite of the inview library.
- Trickle has been completely overhauled with a number of bug-fixes and performance enhancements.
- All core libraries included with Adapt have been updated to their latest versions.
- The old assessment extension has been re-written, and now includes the following:
- Multiple question banks offering configuration options such as:
- Number of questions to be taken from a given bank.
- Randomisation of presentation sequence.
- Improved results feature providing configurable scoring bands, each with accompanying feedback text.
- Scoring based on either a percentage or points based system.
- Multiple question banks offering configuration options such as:
- Complete restructure of the vanilla theme:
- There is now a much more exhaustive list of self-descriptive variables to make it quicker and easier for those new to theming.
- A theme-extras.less file containing more classes.
- New attributes allow you to do more, for example:
- _classes allows you to target specific menu items and page elements and apply styles.
_backgroundColor
makes it easier to style individual block backgrounds.
- Improvements to font management.
- All repositories have been given a good spring clean, removing a lot redundant code and files.
- There are many performance improvements bundled in this release. The most significant being:
- The removal of
_lockedAttributes
, which dealt a bit performance hit in older browsers. - More careful use of Underscore convenience methods, such as
forEach()
.
- The removal of
- Many bug fixes in the adapt-cli’s install utility.
1.1.3 - 2015-06-23
- Slighty re-factored
getChildren()
to use comparator
- 636: Corrects component
_layout
attribute issue. - 628: Added missing ‘id’ attribute to index.html
1.1.2 - 2015-06-02
- Added new
navigation:homeButton
event - Grunt
build
process now allows for the use of a single menu/theme, rather than building all insrc
. - Grunt process now allow for a custom output folder (for use with the authoring tool).
- Velocity.js updated.
- test folder removed.
- Various JSON amends.
- Check for
_canNavigate
onnavigateToHomeRoute
. - 573: bug in router navigateToParent() function when using nested pages.
- Added defensive programming to ensure
findDescendants()
andgetChildren()
fail silently. - Bug with MCQ/GMCQ feedback to ensure correct type of feedback is returned.
1.1.1 - 2014-06-05
- 380: Fixed location classes on the wrapper.
- 379: Fixes issue with questionView not displaying marking properly.
- 377: Fixes notFinal feedback not showing properly accross question components.
- 376: Fixes issue with feedback title not showing on incorrect and partly correct answers.
- 374: Fixes to model methods setting
_isReady
and_isComplete
; now checks agains_isAvailable
.
1.1.0 - 2014-05-28
- Drawer: a slide out panel for plugins like resources and pageLevelProgress to place their data.
- Notify: a core notification system that allows plugins to display four types of notifications (popups, prompts, alerts and push).
- PopupManager: a simple manager that tracks the user’s scroll position when a popup is triggered.
- Handlebars partials templates have been added for buttons and components.
- Menu progress bars.
- New components!
- Slider
- Confidence slider
- Linked confidence slider
- New extensions!
- Resources
- Page-level progress
- Updated all question components with the following:
- Every core bundled question component now triggers a visual validation when a user interacts in the wrong way.
- Feedback object in the JSON has been cleared up.
- Triggers feedback event based upon lockedAttribute
_canShowFeedback
being true. - QuestionView now triggers an event even if
_canShowFeedback
is false. - QuestionModel now has
_isQuestionType:true
attached to the model to determine if the component is a question type.
- JSON notation standardised:
- All JSON data now ‘_’ notation
- Added instruction text and display title attributes.
- Navigation icons/buttons have been updated to work on smaller devices by increasing the hit area.
- The global
Adapt
object has been updated:Adapt.device
has been updated.Adapt.location
has been updated.Adapt.scrollTo
enables the page to scroll to an element.Adapt.navigateToElement
enables Adapt to route and then scroll to an element.lockedAttribute
s are used to mediate between plugins setting attributes on models.AdaptModel.getSiblings()
now allows a boolean argument to pass back the model who called this method.
- Router has been rewritten:
- Now allows plugins to use the core router without having to create their own.
- The ‘back’ button now works similar to the browser back button.
- Performance enhancements:
- Added velocity.js for animations.
- Cleaned up model methods.
- Media component now has multiple completion criteria.
- Added component LESS classes to allow for better customisation.
- Tutor updates:
- Now sits across the middle of the page this is now easier to close.
- Triggers popup manager and resizes based upon device width and height.
- The vanilla theme now includes an extended list of variables.
- Functional LESS has been moved from the theme into core.
- Mediator has been replaced with
lockedAttributes
.
1.0.0 - 2014-02-18
The initial version of the Adapt framework.
- Everything!