Skip to content

Releases: UVicLibrary/cdm_migrator

Version 3.5.2

30 Jul 21:38
3b70152
Compare
Choose a tag to compare
  • Make BatchCreateFilesWithOrderedMembersJob idempotent

Version 3.4.2

23 May 16:45
2ed7e7e
Compare
Choose a tag to compare

Version 3.4.2

  • Extract CSV export feature into a CsvExportService
    • To use it, call CdmMigrator::CsvExportService.new([work_types]).write_to_csv([work_ids], filename) (see example)
    • Bug fix to handle DOI field created by hyrax-doi gem
  • Make BatchCreateOrderedFilesMemberJob the default
  • Pin Hyrax to >=3.2, <4
  • Enable default permissions to be set on a work via the hydra-head / hydra-access-controls gem
    • For examples of how to configure this, see the generator template as an example

Version 3.3.2

26 Jun 18:09
Compare
Choose a tag to compare
v3.3.2

Prevent Duplicate Table error on rails db:migrate and bump version.

Version 3.3.1

30 Jan 20:40
Compare
Choose a tag to compare

Support for BatchCreateFilesWithOrderedMembersJob (requires Hyrax v. 2.4.0 or later)

  • Includes a BatchCreateFilesWithOrderedMembersJob that is based on Hyrax's AttahFilesToWorkWithOrderedMembersJob (see documentation on this approach in Hyrax)
  • CdmMigrator still uses BatchCreateFilesJob (without ordered members) by default. To swap it with the OrderedMembersJob, see app/jobs/cdm_migrator/create_work_job line 34
  • Requires Hyrax v.2.4.0 or later because it uses Hyrax::Actors::OrderedMembersActor

CSV Checker

  • CSV Checker can now be configured to validate CSVs with a service of your choice, catch any defined error classes, and show them to the user
  • Old EDTF validation has been removed. For an example of an EDTF date validator, see Vault's edtf_date_service.
  • Sample configuration file here

Bug Fixes

Version 3.2.1

09 Nov 22:45
b6c313f
Compare
Choose a tag to compare
  • CSV checker allows valid dates such as season intervals (e.g. 1994-23/1994-24), unspecified years with month specificity (e.g. 199u-11), and the combination X?/u? (unspecified, unknown).
  • Sort mappings list alphabetically, ignoring case
  • Update batch updater to export larger number of rows per csv

Version 3.0.1

21 Dec 00:10
Compare
Choose a tag to compare

Added localization to the application controller so that the locale is persisted

Version 3.0.0

20 Dec 23:38
Compare
Choose a tag to compare

You must run both:
rails g cdm_migrator:install
and
rails db:migrate
after upgrading to this version.

-batch upload tracking and error messages in the dashboard.
-local file path checking
-better job management, more jobs running for shorter periods to prevent timeouts and disconnecting
-fixed bug where PDFs being loaded direct from ContentDM would fail to copy into fcrepo

Version 2.0.0

29 Jan 00:42
Compare
Choose a tag to compare

Major Update

  • multitenancy support
  • Hyrax Dashboard integration

If you are upgrading you will need to remove the mount CdmMigrator::Engine => '/cdm_migrator' line from your routes file.

Version 1.4.4

27 Sep 20:33
e10b14a
Compare
Choose a tag to compare
Merge pull request #13 from Bridge2Hyku/master

fixes current_user variable retaining on queued jobs.

Version 1.4.3

27 Sep 20:10
43b2afd
Compare
Choose a tag to compare
Merge pull request #12 from Bridge2Hyku/master

fixes upload class conversion error, again. This time for queued usage.