Skip to content

Releases: PecanProject/bety

BETYdb 5.4.1

11 Oct 02:28
Compare
Choose a tag to compare

sprockets will now also parse custom folder

BETYdb 5.4.0

08 Oct 19:14
Compare
Choose a tag to compare

Added

Fixes

  • Fixes to the docker build to fit in kubernetes helm chart.
  • Added Wisconsin back to database dump workflow
  • Catch exception when load.bety fails and cleans up /tmp folder
  • Fix problem with sendmail causing error on new user sign up #677

Changed

  • #705 : More clearly indicate method is optional in bulk upload
  • updated rails to 5.2.4.6
  • removed static route, it was only used to render 404.
  • allow n=1 in bulk upload #704

BETYdb 5.3.0

15 Apr 17:28
Compare
Choose a tag to compare

Please read the steps below to upgrade your system. Not following these steps could break your instance of BETY.

Password encryption

The previous versions of BETY would ignore the environment variable SECRET_KEY_BASE and use the default value defined in config/defaults.yml. If you have set SECRET_KEY_BASE and upgrade BETY you will not be able to login anymore!. It is best to remove SECRET_KEY_BASE if set and default back to the default SECRET_KEY_BASE.

This release requires a migration.

Steps Needed for Upgrade (Non Docker)

  1. Log in to the server.
  2. cd to the Rails root directory.
  3. Run git pull to get the latest version of the master branch.
  4. Update any gems using bundle
  5. Run the migration in the new release with
    bundle exec rake db:migrate RAILS_ENV=production
  6. Restart the Rails server with
    touch tmp/restart.txt

Steps Needed for Upgrade (Docker)

  1. Log in to the server
  2. cd to the directory with the docker-compose file
  3. update the version of bety (if you don't use latest)
  4. stop BETY
    docker-compose rm --stop bety
  5. download latest version
    docker-compose pull bety
  6. run migration
    docker-compose run --rm bety migrate
  7. start bety
    docker-compose up -d bety

PEcAn dump script

There is a change to the script/dump.bety.sh that will keep the creation/update times of the users in the database. This is needed for future work to speed up database synchronizations. If you use the script standalone, please copy latest script.

Complete list of changes

Fixes

  • #696 : actually now uses environment variable SECRET_KEY_BASE. If this was set, unset otherwise you can not login to BETY.
  • #551 : remove GUnload message from console on page change.
  • #672 : Added activemodel-serializers-xml Gem to restore functionality of "original" API XML endpoints.
  • #674 : Upgraded comma Gem to restore CSV file downloads.
  • #699 : when dumping users created/updated is set to date of dump, now keeps original dates.
  • use actual information in database for load and dump scripts.
  • update doi links http://dx.doi.org --> https://doi.org
  • fixed functions to explicitly add public. to function call and table reference. (this will require a migration)
  • upgrade rake to 13.0.1 (dependbot fix)
  • upgrade nokogiri to 1.10.8 (dependbot fix)

Added

  • script to add new users to bety
  • dockerfile to dump database in docker image for faster restore of database.
  • switched to github actions instead of Travis
  • cronjob on github actions to create pecan/db docker image nightly, will safe also with year-weak (i.e 2020-15)

BETYdb 5.2.2

06 Dec 21:54
174e10b
Compare
Choose a tag to compare

This is a minor release and does not require and database updates

Changed

  • updated zenodo.json file to have a successful build and doi generated at zenodo
  • updated loofah and rubyzip gem to fix security issues

BETYdb 5.2.1

10 Aug 18:58
dc37547
Compare
Choose a tag to compare

Currently the tested and recommended version of Ruby to be used with BETY is 2.3. BETY compiles and passes tests with 2.4, 2.5 and 2.6 but have not been tested thoroughly with these versions.

Added

  • #643 : Moved reindex.bety.sh and vacuum.bety.sh scripts from PEcAn to BETY and provided access through entrypoint.

Changed

  • Documentation updates, now point to new documentation location
  • #652 : Better list of soil choices
  • Ruby 2.3.8 is now default ruby when using RVM.

Fixed

  • Updated GEM list to fix security fixes as recommended by dependbot on GitHub.
  • Restores method assignment in Bulk Uploads
  • Fixed travis build, testing with 2.2, 2.3, 2.4, 2.5 and 2.6 of Ruby.
  • Fixed errors when running BETY with 2.4, 2.5 and 2.6
  • #668 : show "not found" page for invalid citations.

BETYdb 5.2.0

14 Mar 13:37
31de64a
Compare
Choose a tag to compare

This release does require a migration to be executed.

  • Ability to set the initialize URL in docker
  • #505 : Added a new attributes table. This table allows to store through polymorphism any additional information with any row in any table. The value stored is a json document.
  • #597 : Moved dump.bety.sh and load.bety.sh from PEcAn to BETY.

Steps Needed for Upgrade

  1. Log in to the server.
  2. cd to the Rails root directory.
  3. Run git pull to get the latest version of the master branch.
  4. Update any gems using bundle
  5. Run the migration in the new release with
    bundle exec rake db:migrate RAILS_ENV=production
  6. Restart the Rails server with
    touch tmp/restart.txt

BETYdb 5.1.0

14 Jan 21:05
822d5ad
Compare
Choose a tag to compare

Fixes

  • #611 : could not close alerts
  • #585 : Pressing "Show" on the Covariates Edit page attempts an update
  • #621 : A fix for a critical vulnerability reported by Danny Rosseau at Carve Systems (www.carvesystems.com).
  • #596 : Crop Model Maps links are broken
  • #605 : Allow for keyless API access (using guestuser access)
  • #618 : Can not download results of search as csv

BETYdb 5.0.5

24 Oct 15:34
23859dd
Compare
Choose a tag to compare

Fixes

  • #603 : Restores Rails route to make method completion work in Bulk Upload Wizard

BETYdb 5.0.4

11 Oct 20:12
61ef1b8
Compare
Choose a tag to compare

Fixes

  • #600 : Error when starting BETY as docker container due to frozen variable.

BETYdb 5.0.3

28 Sep 20:56
80460f4
Compare
Choose a tag to compare

Fixes

#593 : Replaces references to gitter with references to slack.
#598 : Fixes issue in docker where the entrypoint referenced a wrong URL to download the initial schema from.

There are no schema migrations in this release.