2018-04-18 12:16:25 +02:00
|
|
|
|
Flipflop.configure do
|
2018-04-25 15:09:24 +02:00
|
|
|
|
strategy :cookie,
|
|
|
|
|
secure: Rails.env.production?,
|
|
|
|
|
httponly: true
|
2018-04-18 12:16:25 +02:00
|
|
|
|
strategy :active_record
|
|
|
|
|
strategy :user_preference
|
|
|
|
|
strategy :default
|
|
|
|
|
|
|
|
|
|
group :champs do
|
2018-04-25 15:09:24 +02:00
|
|
|
|
feature :champ_pj,
|
|
|
|
|
title: "Champ pièce justificative"
|
|
|
|
|
feature :champ_siret,
|
|
|
|
|
title: "Champ SIRET"
|
2018-06-14 15:43:18 +02:00
|
|
|
|
feature :champ_linked_dropdown,
|
|
|
|
|
title: "Champ double menu déroulant"
|
2018-04-18 12:16:25 +02:00
|
|
|
|
end
|
2018-04-25 15:09:24 +02:00
|
|
|
|
|
2018-04-18 12:16:25 +02:00
|
|
|
|
feature :web_hook
|
2018-08-13 17:52:56 +02:00
|
|
|
|
feature :publish_draft
|
2018-04-25 15:09:24 +02:00
|
|
|
|
|
2018-08-07 16:32:11 +02:00
|
|
|
|
feature :new_dossier_details,
|
|
|
|
|
title: "Nouvelle page « Dossier »"
|
|
|
|
|
|
2018-04-18 12:16:25 +02:00
|
|
|
|
group :production do
|
|
|
|
|
feature :remote_storage,
|
|
|
|
|
default: Rails.env.production? || Rails.env.staging?
|
|
|
|
|
feature :weekly_overview,
|
2018-04-24 15:02:42 +02:00
|
|
|
|
default: Rails.env.production?
|
2018-04-18 12:16:25 +02:00
|
|
|
|
end
|
2018-04-26 10:52:41 +02:00
|
|
|
|
|
2018-04-25 15:37:11 +02:00
|
|
|
|
feature :pre_maintenance_mode
|
2018-04-26 10:52:41 +02:00
|
|
|
|
feature :maintenance_mode
|
2018-04-18 12:16:25 +02:00
|
|
|
|
end
|