Releases: UVicLibrary/cdm_migrator
Releases · UVicLibrary/cdm_migrator
Version 3.5.2
- Make BatchCreateFilesWithOrderedMembersJob idempotent
Version 3.4.2
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
- To use it, call
- 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
v3.3.2 Prevent Duplicate Table error on rails db:migrate and bump version.
Version 3.3.1
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
- Force UTF-8 for Batch Updater to get rid of encoding errors
- Rescue Ldp::BadRequest error when saving a description with whitespace characters (at the expense of saving twice)
Version 3.2.1
- 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
Added localization to the application controller so that the locale is persisted
Version 3.0.0
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
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
Merge pull request #13 from Bridge2Hyku/master fixes current_user variable retaining on queued jobs.
Version 1.4.3
Merge pull request #12 from Bridge2Hyku/master fixes upload class conversion error, again. This time for queued usage.