Skip to content

Releases: adaptlearning/adapt_framework

v2.0.9

27 Apr 19:04
Compare
Choose a tag to compare

Added

  • new 'locking' feature enables course authors to lock parts of the course until other parts have been completed (#905). Documentation for this feature can be found here. Note that locking needs to be supported in the menu plugin you are using - support for this has been added to adapt-contrib-boxmenu in v2.0.4
  • new notify:cancelled event added (#1009)

Changed

  • various amends to the default content that bring it in line with changes to some of the core plugins, such as:
    • added _isEnabled property to _resources object in course.json
    • added _useClosedCaptions, _allowFullscreen and cc to the media component in components.json
    • added an example .vtt captions file to the video folder
    • removed instruction from the _globals object in course.json (#1031)

Fixed

  • Leaving out the _classes property would cause a class of "undefined" to be added to the class list (#804)
  • Intermittent error in the Grunt 'replace' tasks for authoring tool users (#1021)
  • Temporary workaround for some LESS variables not being defined in the core theme (#1006)

v2.0.8

21 Mar 17:57
Compare
Choose a tag to compare

Added

  • 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 and server-build tasks (#939)
  • Added questionModel and component models, move model behaviour from views into relevant models(#925)

Changed

  • 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 and coreViews mappings (#929)

Fixed

  • 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)

v2.0.7

08 Feb 14:16
Compare
Choose a tag to compare

Added

  • 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)

Changed

  • 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)
    • 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
  • Minor course .json amends

Fixed

  • 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)

v2.0.6

02 Dec 14:12
Compare
Choose a tag to compare

Fixed

  • 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

v2.0.5

30 Nov 13:08
Compare
Choose a tag to compare

Added

  • 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)

Changed

  • 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

Fixed

  • Lots of minor accessibility fixes
  • Various router fixes

v2.0.4

30 Oct 13:44
Compare
Choose a tag to compare

Added

Changed

  • Update LESS variables to new v2 style
  • Performance improvements
  • Allow partly correct feedback to be optional in question screens
  • Property locking system improved

Fixed

  • Various fixes for screenreader, keyboard & ios accessibility
  • Ensure text labels are pulled through from 'globals' in course.json

v2.0.3

12 Oct 10:12
Compare
Choose a tag to compare

Fixed

v2.0.2

28 Sep 13:40
Compare
Choose a tag to compare

Added

  • New button styles to base.less (#732, ABU-1069)
  • New _spoor property _shouldStoreResponses to config.json (#701)

Changed

  • 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)

Removed

  • Redundant labels from course.json

Fixed

  • Ensure the remainingAttemptsText and remainingAttemptText 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)

Adapt Framework v1.1.5

06 Aug 13:46
Compare
Choose a tag to compare

Fixes the following issue(s)

v2.0.1

04 Aug 10:07
Compare
Choose a tag to compare

Fixed

  • Added file .bowerrc back in; it is needed for the plugin registry system.