Releases: gwu-libraries/scholarspace-hyrax
Version 1.3.0
Version 1.2.4
- A new URL parameter,
disposition=inline
allows a file to be viewed in the browser rather than being downloaded. Example: https://scholarspace.library.gwu.edu/downloads/zc77sq28d?disposition=inline . This does not modify the existing user interface. (#217)
Version 1.2.3
Version 1.2.2
Version 1.2.2 is a patch release which fixes:
- The
ingest_work
rake task now respects therights_statement
value passed with the metadata JSON; previously it had been ignoring this and hard-coding the value for all Works, not just for ETDs. (#229) - Upgrades the
mini_magick
andwebsocket-extensions
gems
Upgrade instructions:
- Check out the 1.2.2 tag
bundle install
Version 1.2.1
Version 1.2.1 upgrades the Hyrax gem to 2.5.1
Upgrade instructions
- Check out the 1.2.1 tag
bundle install
Version 1.2.0
About this release
- Hyrax upgrade from v2.0.1 to v2.5.0 , which brings:
- UI styling and accessibility improvements
- Fixes #73 ("My Works" breadcrumb had been appearing for non-logged-in users)
- Resolves #157 (links for Manage Embargoes and Manage Leases were not showing up on the Dashboard)
- Security improvements (#119, #166)
- Functionality improvements
- Fixes #178 (default Admin Set is now Default Admin Set, not ETDs)
- From Hyrax 2.1.0 :
- Collection Extensions with collection types and control over collection nesting, sharing, discovery, branding, and membership in collections.
- UniversalViewer for images in works
- Enhancements/fixes from Hyrax 2.2.0, Hyrax 2.2.4, Hyrax 2.4.1, and Hyrax 2.5.0
- Ruby upgrade from v2.3.3 to 2.5.5 (#210)
- Rails upgrade from v5.0.7 to v5.1.7 (#210)
- Passenger upgrade from v5.1.7 to v5.3.7 (#215)
- UI styling and accessibility improvements
- Various gem version upgrades
- Fixed
bibliographic_citation
field (labled as "Previous Publication Information") - #194 - UI branding
- #208 GW-ified footer references
- Metadata updates
- Share Your Work link updated to new Google form (#197)
- Updated "Featured Researcher" to Wooden Teeth (#202)
Upgrade instructions
Upgrade Ruby to 2.5.5:
rvm install 2.5.5
rvm --default use 2.5.5
rvm remove 2.3.3
Removing the previous Ruby version may require manually deleting the directory (and symbolic link).
Reinstall bundler:
gem install bundler
Install rails
gem install rails -v 5.1.7 -N
Check out the 1.2.0 tag:
cd /opt/scholarspace/scholarspace-hyrax
git pull origin master
git checkout 1.2.0
Reinstall the hyrax gems
cd /opt/scholarspace/scholarspace-hyrax
bundle install --without development --deployment
Reinstall passenger 5.1.7 -- follow the steps in this version's README.
Run Database migrations (as scholarspace
user)
cd /opt/scholarspace/scholarspace-hyrax
rake db:migrate RAILS_ENV=production
Recompile assets (as scholarspace
user)
cd /opt/scholarspace/scholarspace-hyrax
rake assets:precompile RAILS_ENV=production
Restart Apache
sudo service apache2 restart
Version 1.1.3
Changes to work with batch-loader v0.2
This release implements #189 to add an optional --skip-file-updates
to the gwss:ingest_work
task. This flag is used in the case described in gwu-libraries/batch-loader#15 where the batch loader needs to invoke the task to update metadata on an existing work, but without having to re-ingest the work's files. When this flag is present, gwss:ingest_work
leaves the work's existing file attachments in place.
Version 1.1.2
Version 1.1.2 is a maintenance release that includes the following:
-
New resource types:
-
Security-related upgrades to gems:
rack
,loofah
,rubyzip
Version 1.1.1
Version 1.1
Version 1.1 focuses on preparing the application to serve as the single GW ScholarSpace repository for both Works and ETDs; previous versions were only used for ETDs, and Works were served by the https://github.com/gwu-libraries/scholarspace application.
Changes in this release:
- Updates UI styling to bring in selected styling elements from https://github.com/gwu-libraries/scholarspace
- Updates to About and Help text appropriate for both Works and ETDs (#169, #155)
- Changes the
Dissertation
resource type toThesis or Dissertation
(#118) - Improvements to development default config settings to facilitate running a development instance
- Enhances
ingest_work
rake task for ingesting works; adds new--private
flag to ingest as private (#163) and fixes issue with rights field - Adds
Rights Statment
andGW Unit
to batch edit fields (#150)
Upgrade instructions
- Modify
resource_type
of existing ETDs at the [production] rails console:
etds = GwEtd.all
etds.each do |etd|
etd.resource_type = ['Thesis or Dissertation']
etd.save
end
- In the admin dashboard, set the header background color to #004165
Upgrade the application:
As scholarspace
user:
git fetch
git pull origin master
git checkout 1.1
- Update gems:
bundle install
-
Configure
config/initializers/hyrax.rb
-
Rebuild assets:
RAILS_ENV=production rails assets:clean
RAILS_ENV=production rails assets:precompile
-
Restart Apache
-
Reindex content:
RAILS_ENV=production rake gwss:reindex_everything