-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Martin Simpson
committed
Feb 21, 2024
1 parent
27a1aab
commit 6212ef5
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# frozen_string_literal: true | ||
|
||
# rubocop:disable Metrics/BlockLength | ||
Flipflop.configure do | ||
|
||
feature :hide_doi_options, | ||
default: false, | ||
description: "Hide DOI settings in deposit form for non-admins/managers" | ||
|
||
feature :oai_endpoint, | ||
default: true, | ||
description: "Enable OAI-PMH endpoint for harvesting." | ||
|
||
feature :simplified_admin_set_selection, | ||
default: false, | ||
description: "The admin set to deposit works is selected from the add work modal and the relationships tab on the deposit form is hidden for depositors." | ||
|
||
feature :show_repository_objects_links, | ||
default: true, | ||
description: "Shows collections, importer and exporter links on the sidebar for non admin users" | ||
|
||
feature :import_mode, | ||
default: false, | ||
description: "Import mode - Background jobs are run on specially named queues" | ||
|
||
# If this is turned on by default inside the specs, it'll break a lot of them with the on-create callbacks | ||
feature :task_master, | ||
default: ENV["PUBSUB_SERVICEACCOUNT_KEY"].present? && !Rails.env.test?, | ||
description: "Send tenant repository stats to task master?" | ||
|
||
feature :notes_tab_form, | ||
default: false, | ||
description: "Enables the Notes tab in the deposit form" | ||
|
||
feature :cache_api, | ||
default: false, | ||
description: "Turns on cache for API endpoints. Experimental" | ||
|
||
feature :cross_tenant_shared_search, | ||
default: true, | ||
description: "Turns on cross tenant shared search." | ||
|
||
feature :annotation, | ||
default: false, | ||
description: "Turns on links to hypothes.is PDF viewer" | ||
|
||
feature :gds_reports, | ||
default: false, | ||
description: "Add Google Data Studio reports to the dashaboard" | ||
end | ||
# rubocop:enable Metrics/BlockLength |