-
Notifications
You must be signed in to change notification settings - Fork 77
Description
Authority change
cp config/authorities/rights.yml config/authorities/licenses.yml
Generator to run:
$ rails generate jquery:datatables:install bootstrap3
Unreleased gem
gem 'flipflop', git: 'https://github.com/jcoyne/flipflop.git', branch: 'hydra'
voormedia/flipflop#4
voormedia/flipflop#8
voormedia/flipflop#10
New flipflop migration
$ bin/rails sufia:install:migrations
$ rake db:migrate
Changed default layout
If you are using the sufia-one-column layout it has been moved: app/views/layouts/sufia-one-column.html.erb → app/views/layouts/curation_concerns/1_column.html.erb
Check your application.rb for layout 'sufia-one-column' and replace it with with_themed_layout '1_column'.
In addition if you have overridden sufia-one-column in your application you should move your override to the new location.
Remove unneeded table (optional)
Sufia no longer includes acts_as_follower so if you're upgrading, and you don't want to keep this data, you can add a migration to remove the table:
class DropFollows < ActiveRecord::Migration
def self.up
drop_table :follows
end
end
Ordering changes
#2479 brought Rails 5 support to Sufia, and also brought support for RDF 2 which ends a long-standing bug in ActiveFedora that returns RDF statements in a predictable, and not directly alterable, order. In other words, if an item has more than one title, the first title may change whenever the item is loaded.
A workaround for preserving the old behavior is to add gem 'rdf', '~> 1.99' to your Gemfile, and ordering will be preserved.