Difference between revisions of "Release notes for WeBWorK 2.19"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 49: Line 49:
 
** MIME::Base32 (on Ubuntu install libmime-base32-perl)
 
** MIME::Base32 (on Ubuntu install libmime-base32-perl)
 
** SQL::Abstract (on Ubuntu install libsql-abstract-perl)
 
** SQL::Abstract (on Ubuntu install libsql-abstract-perl)
  +
* The program inkscape is needed for conversion of svg files to png files for hardcopy. This is used indirectly by imagemagick's convert program. The imagemagick program may need special configuration for some operating systems to use inkscape for this. (On Ubuntu install the inkscape package with apt. No further configuration is needed.)
 
* Compare your site.conf file to site.conf.dist, your localOverrides.conf file to localOverrides.conf.dist, your webwork2.mojolicious.yml file to webwork2.mojolicious.dist.yml and update as needed. Most importantly, make sure that the variable '''$admin_course_id''' is defined.
 
* Compare your site.conf file to site.conf.dist, your localOverrides.conf file to localOverrides.conf.dist, your webwork2.mojolicious.yml file to webwork2.mojolicious.dist.yml and update as needed. Most importantly, make sure that the variable '''$admin_course_id''' is defined.
 
* Compare any other files in the <code>/opt/webwork/webwork2/conf</code> directory that have been copied from a .dist file and update as needed.
 
* Compare any other files in the <code>/opt/webwork/webwork2/conf</code> directory that have been copied from a .dist file and update as needed.
 
* Upgrade the admin course by executing the <code>upgrade_admin_db.pl</code> script.
 
* Upgrade the admin course by executing the <code>upgrade_admin_db.pl</code> script.
 
* Make sure to upgrade courses from the admin course to relegate changes to the database.
 
* Make sure to upgrade courses from the admin course to relegate changes to the database.
* The imagemagick package may need special configuration for some operating systems. (On Ubuntu just make sure that you have installed the apt repository package, and not the snap.)
 

Revision as of 20:28, 23 April 2024

Construction.png This article is under construction. Use the information herein with caution until this message is removed.
Warning : This page should be considered incomplete until the release of 2.19 has been announced

New WeBWorK Features

  • The attempts table has been removed. Feedback for correct/incorrect answers is now associated directly with each answer blank.
  • PGML native syntax for tables
  • Add a PGML converter to the PG editor
  • Rename the "Hmwk Sets Editor" and "Classlist Editor" to "Sets Manager" and "Accounts Manager"
  • Links to file bugs now go to the appropriate GitHub page.
  • File Manager updates
    • archive and unarchive zip files
    • editing problem files (pg) opens the problem editor.
  • Improvements to the Instructor Tools
    • new sort options on users/sets
  • Redesign of the PGML lab
    • All of the examples have been updated.
    • Now there are examples that include all PGML features.
    • Listing of references

New PG Features

Deprecated Functionality

  • All versions of PGcompoundproblem have been deprecated. Problems should be migrated to scaffold.

Upgrade Instructions

  • First update the webwork2 and pg code. For this run
    > cd /opt/webwork/webwork2
    > git fetch origin
    > git checkout develop
    > git pull
    > cd /opt/webwork/pg
    > git fetch origin
    > git checkout develop
    > git pull
    Note: Use the develop branch until the release candidate is out.
  • Update the javascript and css assets for webwork2 and pg with
    > cd /opt/webwork/webwork2/htdocs
    > npm ci
    > cd /opt/webwork/pg/htdocs
    > npm ci
  • The following perl packages will need to be installed (run bin/check_modules.pl to ensure you have all programs/modules)
    • Archive::Zip::SimpleZip (on Ubuntu install from cpan)
    • File::Copy::Recursive (on Ubuntu install libfile-copy-recursive-perl)
    • GD::Barcode::QRcode (on Ubuntu install libgd-barcode-perl)
    • MIME::Base32 (on Ubuntu install libmime-base32-perl)
    • SQL::Abstract (on Ubuntu install libsql-abstract-perl)
  • The program inkscape is needed for conversion of svg files to png files for hardcopy. This is used indirectly by imagemagick's convert program. The imagemagick program may need special configuration for some operating systems to use inkscape for this. (On Ubuntu install the inkscape package with apt. No further configuration is needed.)
  • Compare your site.conf file to site.conf.dist, your localOverrides.conf file to localOverrides.conf.dist, your webwork2.mojolicious.yml file to webwork2.mojolicious.dist.yml and update as needed. Most importantly, make sure that the variable $admin_course_id is defined.
  • Compare any other files in the /opt/webwork/webwork2/conf directory that have been copied from a .dist file and update as needed.
  • Upgrade the admin course by executing the upgrade_admin_db.pl script.
  • Make sure to upgrade courses from the admin course to relegate changes to the database.