curationexperts / goldenseal Goto Github PK
View Code? Open in Web Editor NEWWUSTL hydra repo
Home Page: http://www.curationexperts.com
License: Other
WUSTL hydra repo
Home Page: http://www.curationexperts.com
License: Other
Text from the SOW:
Provide support for automatic lease termination and notification of embargo expiration. This functionality is largely an outcome of the base application development and is listed here as a checkpoint to measure project progress.
Since Goldenseal has lots of "under construction" errors and issues, create a bare rails app we can deploy to demonstrate the systems work.
Display metadata field on the show page for an Image.
Customize the layout and metadata fields shown for images. Configure the OpenSeadragon based, IIIF-compliant image viewer to WU specific requirements.
Display the metadata fields on the show page for an Audio object.
In /opt/sample-data/DCE_WU_content_model/DC-fromDLXScolls/*.xml
Add text-specific metadata fields to search results listing.
From the SOW:
Customize the layout and metadata fields shown on individual item views. Provide links to raw MODS, VRA, or other XML based metadata attachments.
ActionView::Template::Error (undefined local variable or method `new_user_session_path' for #<#<Class:0x007f7c9d8a9b90>:0x00000005469da8>):
2: <%= render 'shared/add_content' %>
3: <%= render 'shared/my_actions' %>
4: <% else %>
5: <%= link_to 'Log In', new_user_session_path, class: 'btn btn-primary login', role: 'menuitem' %>
6: <% end %>
/opt/goldenseal/shared/bundle/ruby/2.2.0/bundler/gems/curation_concerns-b326ca12bb8a/app/views/shared/_site_actions.html.erb:5:in `__opt_goldenseal_shared_bundle_ruby_______bundler_gems_curation_concerns_b___ca__bb_a_app_views_shared__site_actions_html_erb__1420409845893598810_70086594714280'
When not signed in an viewing a show page.
Versions should match #1
From the SOW:
Provide user-friendly browser based content upload for single and multiple files. Metadata is applied to all files within a single upload. This functionality is largely an outcome of the base application development and is listed here as a checkpoint to measure project progress.
/opt/sample-data/DCE_WU_content_model/gass-FOXML-MODS-textimage
Is this out of scope?
Part of SOW E-2:
Configure a book-reader like interface for WU TEI.
Tasks:
Questions:
Steps to reproduce:
The error:
NoMethodError in CollectionsController#show
undefined method `from_field=' for CollectionSearchBuilder:Class/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/sufia-core-6ed042ae7086/app/search_builders/collection_search_builder.rb:5:in
<class:CollectionSearchBuilder>' /Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/sufia-core-6ed042ae7086/app/search_builders/collection_search_builder.rb:2:in
<top (required)>'
activesupport (4.2.3) lib/active_support/dependencies.rb:457:inload' activesupport (4.2.3) lib/active_support/dependencies.rb:457:in
block in load_file'
activesupport (4.2.3) lib/active_support/dependencies.rb:647:innew_constants_in' activesupport (4.2.3) lib/active_support/dependencies.rb:456:in
load_file'
activesupport (4.2.3) lib/active_support/dependencies.rb:354:inrequire_or_load' activesupport (4.2.3) lib/active_support/dependencies.rb:494:in
load_missing_constant'
activesupport (4.2.3) lib/active_support/dependencies.rb:184:inconst_missing' /Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/sufia-core-6ed042ae7086/app/controllers/concerns/sufia/collections_controller_behavior.rb:46:in
collection_member_search_builder_class'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/hydra-collections-486ed3b756e8/app/controllers/concerns/hydra/collections_controller_behavior.rb:159:incollection_member_search_builder' /Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/hydra-collections-486ed3b756e8/app/controllers/concerns/hydra/collections_controller_behavior.rb:149:in
query_collection_members'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/sufia-core-6ed042ae7086/app/controllers/concerns/sufia/collections_controller_behavior.rb:61:inquery_collection_members' /Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/hydra-collections-486ed3b756e8/app/controllers/concerns/hydra/collections_controller_behavior.rb:45:in
show'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/sufia-core-6ed042ae7086/app/controllers/concerns/sufia/collections_controller_behavior.rb:31:in `show'
Not sure if this is a failure of transcoding or only of playback.
I uploaded a short video. The system created a Video work attached the file, and added a viewer, but there's no derivative available for viewing: http://wustl.curationexperts.com/concern/videos/hm50tr73g
Gist of production log: https://gist.github.com/acozine/6a4d8d3f3d79cbb6dceb - lines 24 and 54 seem to point to the issue.
Update the importer to import the <dc:rights>
fields when importing the sample files from /opt/sample-data/DC-fromDLXScolls/*.xml
Since we're currently working on the Text importer, I'm updating the scope of the story to import the dc:rights for Text objects only.
Add role & task, test.
This is part of SOW C-2.
We'll need a iiif backend server. Maybe use riiif.
From the SOW:
Implement DLXS-like collection groupings where an item can only be contained by a single administrative collection. Provide ability to create and manage administrative collections, including ability to manage collection membership. Administrative collections will be required to implement DLXS-like collection level customizations.
Gather requirements for Admin collections.
Questions:
From the SOW:
Provide support for automatic lease termination and notification of embargo expiration. This functionality is largely an outcome of the base application development and is listed here as a checkpoint to measure project progress.
NOTES:
The system should the basic lease & embargo functionality previously available in Worthwhile.
Further customize the metadata provided in search result listing for images. E.G. dimensions, Color profiles, original format, etc.
Question:
Somehow my collection got indexed twice and it shows up twice in the drop-down menu for adding items to the collection.
<div class="form-group collection_id">
<div class="controls">
<select name="id" id="id" class="form-control" aria-labelledby="qn59q396v-modal-title">
<option value="">Make a Selection</option>
<option value="hx11xf24j">Collection AAA</option>
<option value="ht24wj40p">Collection AAA</option>
</select>
</div>
</div>
Send the default derivative specs for
We should remove that message since we don't have any checkboxes that a user can select on the page that displays their list of works.
Add metadata fields to search results listing for Audio and Video objects.
On the search results page, I can correctly filter by "Works" or "Collections", but if I select the "All" filter, there are zero results.
From the SOW:
DCE will implement a core profile of Dublin Core metadata terms to support repository-wide search, browse, and administrative activities. Core terms will be determined based on TEI, MODS, VRA, and other metadata cross-walks provided by WU. The system will provide RDF based metadata to support future linked open data (LOD) interfaces (including DPLA harvesting). The system will support supplemental schemas via attached metadata files.
The behavior of the importer should be similar to the TEI and Transcript importer.
Import the following fields
The name of the corresponding image file is at
Sample data is located in /opt/sample-data/DCE_WU_content_model/schiele-VRA-imageonly
NOTE: Image importer is a prototype,time-bounded feature to help us scope how much additional work would be required to build a complete metadata parser and/or how metadata would need to be modified to be more easily machine readable.
Part of SOW D-2:
Implement a basic media player based on WU specific requirements
Display the metadata fields on the show page for a Video object.
Worthwhile currently only supports Fedora 3 based repositories. DCE will make the necessary updates to support Fedora 4. These updates will be made available to the broader Hydra community under Apache 2.0 open source licensing terms.
NOTE: at this point we will use sufia-core or whatever the successor gem to worthwhile is based on the recent PCDM refactoring.
Steps to reproduce the error:
You will get an error:
NameError in CurationConcerns::GenericWorksController#create
uninitialized constant Hydra::PCDM::AddObjectToObject
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/hydra-works-4e0e27fa4d5f/lib/hydra/works/services/generic_work/add_generic_file.rb:15:in `call'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_file_actor.rb:50:in `create_metadata'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:70:in `attach_file'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:33:in `block in attach_files'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:32:in `each'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:32:in `all?'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:32:in `attach_files'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/curation_concerns-models/app/actors/curation_concerns/generic_work_actor.rb:9:in `create'
/Users/valerie/.rvm/gems/ruby-2.2.2@goldenseal/bundler/gems/curation_concerns-3959d2079498/app/controllers/concerns/curation_concerns/curation_concern_controller.rb:33:in `create'
in /opt/sample-data/DCE_WU_content_model/great-depression-TEI-textvideo
Versions should match #1
From the SOW:
Configure derivative generators for WU specific standards and practices for image, audio, and video access proxies.
From SOW:
DCE and WU will collaborate to identify sample content and metadata for the initial collection to be migrated. In addition, we will identify up to 3 additional content types or collections for migration analysis, especially high-risk or high-complexity collections such as the Red Brush collection. This story does not have specific time allocated to it, but is listed as a placeholder to ensure these activities take place early on in the development timeline.
From the SOW:
DCE will implement the core object types supported by Worthwhile: PDFs; Microsoft Office, OpenOffice, & LibreOffice Documents; Tiff & JPEG Images; MP3 & Wave Audio; and open source Video formats. This functionality is largely an outcome of the base application development and is listed here as a checkpoint to measure project progress.
From the SOW:
Integrate the repository with WU’s authentication and authorization infrastructure. The core access policies supported by Worthwhile are: public access, restricted institutional access (via login), and private to the depositor and administrators (via login). This functionality is largely an outcome of the base application development and is listed here as a checkpoint to measure integration with the WU authentication infrastructure.
Questions:
The DC parser reads XML files and extracts DC metadata for the records.
In the sample data, they have a dc:date field. We need to import that field.
The xpath mapping is located in:
dc_xml_parser.rb
From the SOW:
Implement the customizations necessary to associate images into multi-image works including multi-sided and accordion type images. (Note that book-like objects with associated transcripts are covered under E-1)
NOTE:
This story covers the model only, UI features are covered in #11 (upload), #31 (show), & #27 (search)
From the SOW:
Default access levels are “Public”, “Intitution-only”, and “Private”. DCE will implement the necessary enhancements to support additional levels of access granularity
Questions:
By default when you create a work, if you don't explicitly set the visibility, it will be set to the most restricted level. The current behavior of the importer is to not set visibility, so all bulk imported works will have the default visibility. It would be labor-intensive to edit each new record to change the visibility, so we'll probably need a way to set the visibility for multiple records at a time.
Some possible options:
jpeg2000 and TEI here:
/opt/sample-data/DCE_WU_content_model/circuit-court-records-TEI-textimage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.