Merge branch 'master' into 3188-remove-selected-button
[arvados.git] / apps / workbench / config / application.default.yml
1 # Do not use this file for site configuration. Create application.yml
2 # instead (see application.yml.example).
3
4 development:
5   cache_classes: false
6   eager_load: true
7   consider_all_requests_local: true
8   action_controller.perform_caching: false
9   action_mailer.raise_delivery_errors: false
10   active_support.deprecation: :log
11   action_dispatch.best_standards_support: :builtin
12   assets.debug: true
13   profiling_enabled: true
14   site_name: Arvados Workbench (dev)
15
16 production:
17   force_ssl: true
18   cache_classes: true
19   eager_load: true
20   consider_all_requests_local: false
21   action_controller.perform_caching: true
22   serve_static_assets: false
23   assets.compile: false
24   assets.digest: true
25   i18n.fallbacks: true
26   active_support.deprecation: :notify
27   profiling_enabled: false
28
29   arvados_insecure_https: false
30
31   data_import_dir: /data/arvados-workbench-upload/data
32   data_export_dir: /data/arvados-workbench-download/data
33
34   site_name: Arvados Workbench
35
36 test:
37   cache_classes: true
38   eager_load: false
39   serve_static_assets: true
40   static_cache_control: public, max-age=3600
41   consider_all_requests_local: true
42   action_controller.perform_caching: false
43   action_dispatch.show_exceptions: false
44   action_controller.allow_forgery_protection: false
45   action_mailer.delivery_method: :test
46   active_support.deprecation: :stderr
47   profiling_enabled: false
48   secret_token: <%= rand(2**256).to_s(36) %>
49   secret_key_base: <%= rand(2**256).to_s(36) %>
50
51   # When you run the Workbench's integration tests, it starts the API
52   # server as a dependency.  These settings should match the API
53   # server's Rails defaults.  If you adjust those, change these
54   # settings in application.yml to match.
55   arvados_login_base: https://localhost:3001/login
56   arvados_v1_base: https://localhost:3001/arvados/v1
57   arvados_insecure_https: true
58
59   site_name: Workbench:test
60
61   # Enable user profile with one required field
62   user_profile_form_fields:
63     - key: organization
64       type: text
65       form_field_title: Institution
66       form_field_description: Your organization
67       required: true
68     - key: role
69       type: select
70       form_field_title: Your role
71       form_field_description: Choose the category that best describes your role in your organization.
72       options:
73         - Bio-informatician
74         - Computational biologist
75         - Biologist or geneticist
76         - Software developer
77         - IT
78         - Other
79
80 common:
81   assets.js_compressor: false
82   assets.css_compressor: false
83   data_import_dir: /tmp/arvados-workbench-upload
84   data_export_dir: /tmp/arvados-workbench-download
85   arvados_login_base: https://arvados.local/login
86   arvados_v1_base: https://arvados.local/arvados/v1
87   arvados_insecure_https: true
88   activation_contact_link: mailto:info@arvados.org
89   arvados_docsite: http://doc.arvados.org
90   arvados_theme: default
91   show_user_agreement_inline: false
92   secret_token: ~
93   secret_key_base: false
94   default_openid_prefix: https://www.google.com/accounts/o8/id
95   send_user_setup_notification_email: true
96
97   # Set user_profile_form_fields to enable and configure the user profile page.
98   # Default is set to false. A commented setting with full description is provided below.
99   user_profile_form_fields: false
100
101   # Below is a sample setting of user_profile_form_fields config parameter.
102   # This configuration parameter should be set to either false (to disable) or
103   # to an array as shown below. 
104   # Configure the list of input fields to be displayed in the profile page
105   # using the attribute "key" for each of the input fields.
106   # This sample shows configuration with one required and one optional form fields.
107   # For each of these input fields:
108   #   You can specify "type" as "text" or "select".
109   #   List the "options" to be displayed for each of the "select" menu.
110   #   Set "required" as "true" for any of these fields to make them required.
111   # If any of the required fields are missing in the user's profile, the user will be
112   # redirected to the profile page before they can access any Workbench features.
113   #user_profile_form_fields:
114   #  - key: organization
115   #    type: text
116   #    form_field_title: Institution/Company
117   #    form_field_description: Your organization
118   #    required: true
119   #  - key: role
120   #    type: select
121   #    form_field_title: Your role
122   #    form_field_description: Choose the category that best describes your role in your organization.
123   #    options:
124   #      - Bio-informatician
125   #      - Computational biologist
126   #      - Biologist or geneticist
127   #      - Software developer
128   #      - IT
129   #      - Other
130
131   # Use "user_profile_form_message" to configure the message you want to display on
132   # the profile page.
133   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.