Git Product home page Git Product logo

agrisufia's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

agrisufia's People

Contributors

elrayle avatar tworrall avatar

Watchers

Nick Cappadona avatar John Fereira avatar James Cloos avatar Jon Corson-Rikert avatar  avatar  avatar  avatar Chris Westling avatar  avatar John Cline avatar  avatar  avatar Manolo Bevia avatar Ashley Shea avatar  avatar

agrisufia's Issues

\collections should show list of collections

Hydra::Collections engine gen defines a path \collections which should show a list of collections. It is unknown whether this should be the current users collections or all visible collections. But right now, it gets an error.

list_collections_fails

NOTE: Trying to execute the 'show' action instead of the 'index' action.

Sufia uses hydra-collections for collections.

Basic code chain...
Sufia:CollectionsController
includes Sufia:CollectionsControllerBehavior
includes Hydra::CollectionsControllerBehavior
which should execute the index method, but it does not appear to be executing

Creating new collection fails to set modify date.

This causes a failure when listing all collections or all files because a comparison is done of modified date before displaying.

To Reproduce:

To check structure of new collection:

To work around:

  • rails console
c = Collection.fine(_ID_)  # _ID_ is the id noted from the solr search

# Temporary kludge by setting the date manually.  The date will get erased again when another change is made to the collection.
c.date_modified = Date.today
c.save

# OR destroy the collection and try again
c.destroy

Change page titles to AgriSufia instead of Blacklight

The tab in a browser reads Blacklight. It should be AgriSufia. This is driven off <title>Blacklight</title> in the html . Need to change the page title to AgriSufia. Not sure where in Sufia/Blacklight this is configured.

Add Browse by Collection button to agrisufia homepage

Sufia is oriented towards access to documents. It is not currently set up to navigate by collections. But there is work in the Hydra community that would allow Sufia to be navigated by collection. See the following note posted by Justin.

Hydra-collections version 5 has a basic collections show page (see http://sandbox.curationexperts.com/). Sufia uses hydra-collections, but I believe it's still using version 3 or 4. Once sufia is updated, you should only need to add the link to be able to list the collections.

-Justin

Input test documents into agrisufia

To further test Sufia's ability to meet the requirements of AgriKnowledge, input test documents and metadata into an instance of agrisufia.

Hide sensitive data

Some sensitive data is already hidden, but some is still in the app. Need to work with SYSOPS to determine what should be hidden and hide it.

Some info on this process per initial discussion with Alan McCarty:

you need to use dotenv
https://github.com/bkeepers/dotenv (Loads environment variables from .env.)

you should be able to include all necessary files for the app to run - and put all passwords, api keys, etc. in a .env file which gets .gitignored
.env file lives in
.env is managed by puppet

let user specify collection when uploading files

This requires changes to the Sufia batch upload view to add a droplist listing all collections to which the user has permissions to add files. And to the code that adds the files to actually associate the uploaded files with that collection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.