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