Skip to content

v2.1.0

Compare
Choose a tag to compare
@bagofarms bagofarms released this 14 Dec 21:49

UDOIT Version 2.1.0

This release touches almost every file in the project. It addressed security issues brought up by Mesa Community college, added the groundwork for automated testing of future releases, and reorganized the code to make it more modular and easier to maintain. Additionally, the Heroku install button has been moved to HEROKU.md

Known Issues

  • UFIXIT for files is unreliable (this issue exists in 2.0.4 as well). Pages and other content areas work fine.

Changes Required for Existing Installations

  • If you are using Postgres, you'll need to change the date_run and date_created columns in the reports and users tables, respectively, to have the data type of timestamp with time zone. For new installs, the lib/db_create_tables.php script will create the tables correctly.
  • Add the $UDOIT_ENV variable to your localConfig.php file. See the localConfig.template.php file for examples of values. If this value is not set, UDOIT will assume ENV_PROD as the value.

Detailed Changelog

  • Adds a Util class, moves common functions there.
  • Adds $UDOIT_ENV variable to hold the current environment for testing or production.
  • Finishes splitting logic from display using the Plates template library.
  • Adds output filtering of variables that may be dangerous in templates
  • Adds Input filtering to help protect from various attacks inspired by @jwboles's pull request
  • Fixed lots of issues that look like they popped up as changes in html structure occurred over time.
  • Converted js source to use a naming convention for jQuery objects, they now start with $
  • Standardized js source to single quoted strings
  • Cleaned up and updated some css styles for the reports page
  • Updates PostgreSQL user table to use correct column type for date. Advise rebuilding users table.
  • Updates to the readme and heroku readme for streamlining install and setup process
  • Moved all database schema into a script that will create the tables.
  • Adds Ufixit for imgAltIsTooLong issue #114
  • A lot of CSS id styles were demoted to using classes
  • Adds support for Travis CI tests
  • Added Monolog for debugging, you can now use $logger->addInfo('OH NO') to log to /config/log.log