Skip to content

Releases: gwu-libraries/scholarspace-hyrax

Version 1.2.4

11 Sep 20:28
Compare
Choose a tag to compare

Version 1.2.3

10 Sep 19:35
Compare
Choose a tag to compare

Upgrade instructions:

bundle install

Version 1.2.2

18 Jul 18:32
Compare
Choose a tag to compare

Version 1.2.2 is a patch release which fixes:

  • The ingest_work rake task now respects the rights_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 and websocket-extensions gems

Upgrade instructions:

  • Check out the 1.2.2 tag
  • bundle install

Version 1.2.1

12 Jun 15:03
Compare
Choose a tag to compare

Version 1.2.1 upgrades the Hyrax gem to 2.5.1

Upgrade instructions

  • Check out the 1.2.1 tag
  • bundle install

1.2.0...1.2.1

Version 1.2.0

02 Jun 19:13
Compare
Choose a tag to compare

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)
  • Various gem version upgrades
  • Fixed bibliographic_citation field (labled as "Previous Publication Information") - #194
  • UI branding
    • #208 GW-ified footer references
  • Metadata updates
    • GW Units: #203, #212
    • Resource Types: #195 (removed "Masters Thesis")
  • 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

1.1.3...1.2.0

Version 1.1.3

29 Nov 20:35
Compare
Choose a tag to compare

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.

1.1.2...1.1.3

Version 1.1.2

27 Nov 18:34
Compare
Choose a tag to compare

Version 1.1.2 is a maintenance release that includes the following:

  • New resource types:

    • Commentary (#180)
    • Working Paper (#180)
    • Book Review (#181)
    • Meeting Minutes (#184)
  • Security-related upgrades to gems: rack, loofah, rubyzip

1.1.1...1.1.2

Version 1.1.1

04 Sep 13:00
79e3fd2
Compare
Choose a tag to compare

Version 1.1.1 is a patch release to enable reindexing of a larger number of works to succeed without Fedora timing out. (#173)

It also includes a configuration change to render the Public access level as Open Access. (#175)

To upgrade from 1.1, simply check out tag 1.1.1.

1.1...1.1.1

Version 1.1

23 Aug 18:40
Compare
Choose a tag to compare

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 banner image, masthead, logo area, favicon (#165), and font
    • moves login link to the bottom
    • adds back featured researcher area on home screen
    • cleans up Recently Uploaded list, removing depositor (#160)
    • adds back Share Your Work button (#151)
    • re-enables Resource Type facet (#149)
  • Updates to About and Help text appropriate for both Works and ETDs (#169, #155)
  • Changes the Dissertation resource type to Thesis 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 and GW 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

Code changes from v1.0 to v1.1

1.0...1.1

Version 1.0

11 Jul 19:32
Compare
Choose a tag to compare

Version 1.0 is the release of GW ScholarSpace which incorporates an upgraded Hyrax gem (v2.0.1) and is ready for adaptation as a repository for both ETD and Non-ETD content (although this will require some configuration and cosmetic updates, to come in Version 1.1).

Notable improvements include (but are not limited to):

  • A working embargo management page, at /embargoes ( /leases is also available if useful in the future)
  • Permissions on GWSS items are now managed via administrative sets.
  • All of the bugs fixed as part of Hyrax 2.0.0 and Hyrax 2.0.1

Upgrade instructions

  • Update application code:

As scholarspace user:

git fetch
git pull origin master
git checkout 1.0
  • Update gems:
bundle install
  • Database migrations:
RAILS_ENV=production rails hyrax:install:migrations
RAILS_ENV=production rails db:migrate
  • Configure config/initializers/hyrax.rb

  • Create default admin set:

RAILS_ENV=production rake hyrax:default_admin_set:create
  • Rebuild assets:
RAILS_ENV=production rails assets:clean
RAILS_ENV=production rails assets:precompile
  • Assign "In Copyright" as Rights Statement value for all ETDs.

At the [production] rails console (RAILS_ENV=production rails c):

gwetds = GwEtd.all
gwetds.each do |e|
    e.rights_statement = ["http://rightsstatements.org/vocab/InC/1.0/"]
    e.save
end
  • Start up Apache, log in as administrator

  • Add content-admin group as a Manager of each Administrative Set. (If we were to add individuals instead, then they would only have rights to items added after the individuals were given Manager roles on the admin set.)

  • May need to run the script to create default collection types - see Hyrax release notes

  • Reindex content:

RAILS_ENV=production rake gwss:reindex_everything

Code changes from v0.1 to v1.0

0.1...1.0