CurationConcerns.configure do |config| config.fits_to_desc_mapping = { file_title: :title, file_author: :creator } config.max_days_between_audits = 7 config.resource_types = { 'Article' => 'Article', 'Audio' => 'Audio', 'Book' => 'Book', 'Capstone Project' => 'Capstone Project', 'Conference Proceeding' => 'Conference Proceeding', 'Dataset' => 'Dataset', 'Dissertation' => 'Dissertation', 'Image' => 'Image', 'Journal' => 'Journal', 'Map or Cartographic Material' => 'Map or Cartographic Material', 'Masters Thesis' => 'Masters Thesis', 'Part of Book' => 'Part of Book', 'Poster' => 'Poster', 'Presentation' => 'Presentation', 'Project' => 'Project', 'Report' => 'Report', 'Research Paper' => 'Research Paper', 'Software or Program Code' => 'Software or Program Code', 'Video' => 'Video', 'Other' => 'Other' } config.resource_types_to_schema = { 'Article' => 'http://schema.org/Article', 'Audio' => 'http://schema.org/AudioObject', 'Book' => 'http://schema.org/Book', 'Capstone Project' => 'http://schema.org/CreativeWork', 'Conference Proceeding' => 'http://schema.org/ScholarlyArticle', 'Dataset' => 'http://schema.org/Dataset', 'Dissertation' => 'http://schema.org/ScholarlyArticle', 'Image' => 'http://schema.org/ImageObject', 'Journal' => 'http://schema.org/CreativeWork', 'Map or Cartographic Material' => 'http://schema.org/Map', 'Masters Thesis' => 'http://schema.org/ScholarlyArticle', 'Part of Book' => 'http://schema.org/Book', 'Poster' => 'http://schema.org/CreativeWork', 'Presentation' => 'http://schema.org/CreativeWork', 'Project' => 'http://schema.org/CreativeWork', 'Report' => 'http://schema.org/CreativeWork', 'Research Paper' => 'http://schema.org/ScholarlyArticle', 'Software or Program Code' => 'http://schema.org/Code', 'Video' => 'http://schema.org/VideoObject', 'Other' => 'http://schema.org/CreativeWork' } config.permission_levels = { 'Choose Access' => 'none', 'View/Download' => 'read', 'Edit' => 'edit' } config.owner_permission_levels = { 'Edit' => 'edit' } # Enable displaying usage statistics in the UI # Defaults to FALSE # Requires a Google Analytics id and OAuth2 keyfile. See README for more info config.analytics = false # Specify a Google Analytics tracking ID to gather usage statistics # config.google_analytics_id = 'UA-99999999-1' # Specify a date you wish to start collecting Google Analytic statistics for. # config.analytic_start_date = DateTime.new(2014,9,10) # Where to store tempfiles, leave blank for the system temp directory (e.g. /tmp) # config.temp_file_base = '/home/developer1' # Specify the form of hostpath to be used in Endnote exports # config.persistent_hostpath = 'http://localhost/files/' # Location on local file system where derivatives will be stored. # config.derivatives_path = File.join(Rails.root, 'tmp', 'derivatives') # If you have ffmpeg installed and want to transcode audio and video uncomment this line # config.enable_ffmpeg = true # CurationConcerns uses NOIDs for files and collections instead of Fedora UUIDs # where NOID = 10-character string and UUID = 32-character string w/ hyphens # config.enable_noids = true # Specify a different template for your repository's NOID IDs # config.noid_template = ".reeddeeddk" # Store identifier minter's state in a file for later replayability # config.minter_statefile = '/tmp/minter-state' # Specify the prefix for Redis keys: # config.redis_namespace = "curation_concerns" # Specify the path to the file characterization tool: # config.fits_path = "fits.sh" # Specify a date you wish to start collecting Google Analytic statistics for. # Leaving it blank will set the start date to when ever the file was uploaded by # NOTE: if you have always sent analytics to GA for downloads and page views leave this commented out # config.analytic_start_date = DateTime.new(2014,9,10) end Date::DATE_FORMATS[:standard] = '%m/%d/%Y'