Skip to content

v2.3.2

Compare
Choose a tag to compare
@roy-zahor roy-zahor released this 10 May 20:16
· 989 commits to master since this release

Release notes

Important note

Starting with this release, we have put sqlite3 support on hold and switched to MySQL. Developers should install and run MySQL to develop. See documentation

Setup required

Requires a new .env constant: DRUPAL_TICKET_SYNC_EVERY_X_MINUTES. Recommended setting for production will probably be DRUPAL_TICKET_SYNC_EVERY_X_MINUTES=2

Migration Needed
To run migrations, first all volunteers tables should be deleted (if they exist).
the tables are:

vol_schedule          
vol_shifts            
volunteers_delete
volunteers           
vol_departments       
vol_departments_roles 
vol_types_in_shift    

The tables are related so they should be deleted in the order specified above.

Changelog

Core

  • Added npm run-script createdb as a wrapper for mysql -u root < migrations/create_db.sql
  • Infrastructure updates to address several problems raised lately on production server:
    • Adding global query error handler to knex to catch query errors and log them.
    • Upgrading config file with logic that will assure loading the environment variables, even when running knex
    • Added spark_test database for tests. The database is reset each time the tests run.
      migrations.
    • Changes in .travis.yml file: Removing duplicate commands.
    • Fixing all DB migrations so they will work with MySQL.
    • knex upgrade to v0.12.9 to get better DB error messages.
    • Adding Spark version to footer and adding more debug info to the login page.
    • Added support for running tests on a dedicated database.

NPO

  • New membership admin page.
  • Improvements to NPO join process.

Gate

  • Gate system - missing some features but working

Volunteers

  • Created volunteers tables.
  • SSO integration