research-technologies / leaf_addons

Additional functionality for Hyrax or Hyku repositories (importers, tasks etc.)
Apache License 2.0
5 stars 0 forks source link
hyku hyrax ruby samvera

LeafAddons

Build Status Coverage Status Maintainability Test Coverage Inline docs

LeafAddons provide additional functionality for Hyrax or Hyku repositories via a set of generators / plugins / tasks

Importers

Importers for EPrints JSON, MARC, and directories of files.

Please see the wiki for further info:

Install with:

rails g leaf_addons:importers

Devise Invitible

Adds and enables invitation only login with Devise invitible.

Install with:

rails g leaf_addons:invitible

Coversheets

Adds and enables creation of coversheets on download for PDF and office document formats.

Install with:

rails g leaf_addons:coversheet

OAI-PMH

Adds and enables an oai-pmh interface.

Install with:

rails g leaf_addons:oai_pmh

Tasks

Delete unused access control policies:

rake leaf_addons:cleanup_accesscontrol

User accounts tasks:

List them with rake -T leaf_addons

Including:

rake leaf_addons:make_me_admin[email@address.com]
rake leaf_addons:invite_user[email@address.com] # if devise invitible is enabled
rake leaf_addons:invite_users['/tmp/my_file.csv'] # CSV file must contain a header row and three columns: email, display name, admin; admin column should contain the word true to indicate that the given user should be an admin