##// END OF EJS Templates
Native eol property set on config/*...
Jean-Philippe Lang -
r761:b64e89daec8f
parent child
Show More
@@ -1,51 +1,51
1 # MySQL (default setup). Versions 4.1 and 5.0 are recommended.
1 # MySQL (default setup). Versions 4.1 and 5.0 are recommended.
2 #
2 #
3 # Get the fast C bindings:
3 # Get the fast C bindings:
4 # gem install mysql
4 # gem install mysql
5 # (on OS X: gem install mysql -- --include=/usr/local/lib)
5 # (on OS X: gem install mysql -- --include=/usr/local/lib)
6 # And be sure to use new-style password hashing:
6 # And be sure to use new-style password hashing:
7 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
7 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
8
8
9 production:
9 production:
10 adapter: mysql
10 adapter: mysql
11 database: redmine
11 database: redmine
12 host: localhost
12 host: localhost
13 username: root
13 username: root
14 password:
14 password:
15
15
16 development:
16 development:
17 adapter: mysql
17 adapter: mysql
18 database: redmine_development
18 database: redmine_development
19 host: localhost
19 host: localhost
20 username: root
20 username: root
21 password:
21 password:
22
22
23 test:
23 test:
24 adapter: mysql
24 adapter: mysql
25 database: redmine_test
25 database: redmine_test
26 host: localhost
26 host: localhost
27 username: root
27 username: root
28 password:
28 password:
29
29
30 test_pgsql:
30 test_pgsql:
31 adapter: postgresql
31 adapter: postgresql
32 database: redmine
32 database: redmine
33 host: localhost
33 host: localhost
34 username: postgres
34 username: postgres
35 password: "postgres"
35 password: "postgres"
36
36
37 test_oracle:
37 test_oracle:
38 adapter: oci
38 adapter: oci
39 host: 192.168.0.14
39 host: 192.168.0.14
40 username: rails_test
40 username: rails_test
41 password: "rails"
41 password: "rails"
42
42
43 test_sqlserver:
43 test_sqlserver:
44 adapter: sqlserver
44 adapter: sqlserver
45 host: localhost,1157
45 host: localhost,1157
46 database: redmine_test
46 database: redmine_test
47
47
48 demo:
48 demo:
49 adapter: sqlite3
49 adapter: sqlite3
50 dbfile: db/redmine_demo.db
50 dbfile: db/redmine_demo.db
51
51
@@ -1,93 +1,93
1 # Be sure to restart your web server when you modify this file.
1 # Be sure to restart your web server when you modify this file.
2
2
3 # Uncomment below to force Rails into production mode when
3 # Uncomment below to force Rails into production mode when
4 # you don't control web/app server and can't set it the proper way
4 # you don't control web/app server and can't set it the proper way
5 # ENV['RAILS_ENV'] ||= 'production'
5 # ENV['RAILS_ENV'] ||= 'production'
6
6
7 # Bootstrap the Rails environment, frameworks, and default configuration
7 # Bootstrap the Rails environment, frameworks, and default configuration
8 require File.join(File.dirname(__FILE__), 'boot')
8 require File.join(File.dirname(__FILE__), 'boot')
9
9
10 Rails::Initializer.run do |config|
10 Rails::Initializer.run do |config|
11 # Settings in config/environments/* take precedence those specified here
11 # Settings in config/environments/* take precedence those specified here
12
12
13 # Skip frameworks you're not going to use
13 # Skip frameworks you're not going to use
14 # config.frameworks -= [ :action_web_service, :action_mailer ]
14 # config.frameworks -= [ :action_web_service, :action_mailer ]
15
15
16 # Add additional load paths for sweepers
16 # Add additional load paths for sweepers
17 config.load_paths += %W( #{RAILS_ROOT}/app/sweepers )
17 config.load_paths += %W( #{RAILS_ROOT}/app/sweepers )
18
18
19 config.plugin_paths = ['lib/plugins', 'vendor/plugins']
19 config.plugin_paths = ['lib/plugins', 'vendor/plugins']
20
20
21 # Force all environments to use the same logger level
21 # Force all environments to use the same logger level
22 # (by default production uses :info, the others :debug)
22 # (by default production uses :info, the others :debug)
23 # config.log_level = :debug
23 # config.log_level = :debug
24
24
25 # Use the database for sessions instead of the file system
25 # Use the database for sessions instead of the file system
26 # (create the session table with 'rake create_sessions_table')
26 # (create the session table with 'rake create_sessions_table')
27 # config.action_controller.session_store = :active_record_store
27 # config.action_controller.session_store = :active_record_store
28
28
29 # Enable page/fragment caching by setting a file-based store
29 # Enable page/fragment caching by setting a file-based store
30 # (remember to create the caching directory and make it readable to the application)
30 # (remember to create the caching directory and make it readable to the application)
31 # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
31 # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
32
32
33 # Activate observers that should always be running
33 # Activate observers that should always be running
34 # config.active_record.observers = :cacher, :garbage_collector
34 # config.active_record.observers = :cacher, :garbage_collector
35 config.active_record.observers = :message_observer
35 config.active_record.observers = :message_observer
36
36
37 # Make Active Record use UTC-base instead of local time
37 # Make Active Record use UTC-base instead of local time
38 # config.active_record.default_timezone = :utc
38 # config.active_record.default_timezone = :utc
39
39
40 # Use Active Record's schema dumper instead of SQL when creating the test database
40 # Use Active Record's schema dumper instead of SQL when creating the test database
41 # (enables use of different database adapters for development and test environments)
41 # (enables use of different database adapters for development and test environments)
42 # config.active_record.schema_format = :ruby
42 # config.active_record.schema_format = :ruby
43
43
44 # See Rails::Configuration for more options
44 # See Rails::Configuration for more options
45
45
46 # SMTP server configuration
46 # SMTP server configuration
47 config.action_mailer.smtp_settings = {
47 config.action_mailer.smtp_settings = {
48 :address => "127.0.0.1",
48 :address => "127.0.0.1",
49 :port => 25,
49 :port => 25,
50 :domain => "somenet.foo",
50 :domain => "somenet.foo",
51 :authentication => :login,
51 :authentication => :login,
52 :user_name => "redmine",
52 :user_name => "redmine",
53 :password => "redmine",
53 :password => "redmine",
54 }
54 }
55
55
56 config.action_mailer.perform_deliveries = true
56 config.action_mailer.perform_deliveries = true
57
57
58 # Tell ActionMailer not to deliver emails to the real world.
58 # Tell ActionMailer not to deliver emails to the real world.
59 # The :test delivery method accumulates sent emails in the
59 # The :test delivery method accumulates sent emails in the
60 # ActionMailer::Base.deliveries array.
60 # ActionMailer::Base.deliveries array.
61 #config.action_mailer.delivery_method = :test
61 #config.action_mailer.delivery_method = :test
62 config.action_mailer.delivery_method = :smtp
62 config.action_mailer.delivery_method = :smtp
63
63
64 # Uncomment this line if the engines plugin is installed.
64 # Uncomment this line if the engines plugin is installed.
65 # This will ensure that engines is loaded first.
65 # This will ensure that engines is loaded first.
66 # config.plugins = ["engines", "*"]
66 # config.plugins = ["engines", "*"]
67 end
67 end
68
68
69 ActiveRecord::Errors.default_error_messages = {
69 ActiveRecord::Errors.default_error_messages = {
70 :inclusion => "activerecord_error_inclusion",
70 :inclusion => "activerecord_error_inclusion",
71 :exclusion => "activerecord_error_exclusion",
71 :exclusion => "activerecord_error_exclusion",
72 :invalid => "activerecord_error_invalid",
72 :invalid => "activerecord_error_invalid",
73 :confirmation => "activerecord_error_confirmation",
73 :confirmation => "activerecord_error_confirmation",
74 :accepted => "activerecord_error_accepted",
74 :accepted => "activerecord_error_accepted",
75 :empty => "activerecord_error_empty",
75 :empty => "activerecord_error_empty",
76 :blank => "activerecord_error_blank",
76 :blank => "activerecord_error_blank",
77 :too_long => "activerecord_error_too_long",
77 :too_long => "activerecord_error_too_long",
78 :too_short => "activerecord_error_too_short",
78 :too_short => "activerecord_error_too_short",
79 :wrong_length => "activerecord_error_wrong_length",
79 :wrong_length => "activerecord_error_wrong_length",
80 :taken => "activerecord_error_taken",
80 :taken => "activerecord_error_taken",
81 :not_a_number => "activerecord_error_not_a_number"
81 :not_a_number => "activerecord_error_not_a_number"
82 }
82 }
83
83
84 ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" }
84 ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" }
85
85
86 GLoc.set_config :default_language => :en
86 GLoc.set_config :default_language => :en
87 GLoc.clear_strings
87 GLoc.clear_strings
88 GLoc.set_kcode
88 GLoc.set_kcode
89 GLoc.load_localized_strings
89 GLoc.load_localized_strings
90 GLoc.set_config(:raise_string_not_found_errors => false)
90 GLoc.set_config(:raise_string_not_found_errors => false)
91
91
92 require 'redmine'
92 require 'redmine'
93
93
@@ -1,21 +1,21
1 # Settings specified here will take precedence over those in config/environment.rb
1 # Settings specified here will take precedence over those in config/environment.rb
2
2
3 # The production environment is meant for finished, "live" apps.
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
4 # Code is not reloaded between requests
5 config.cache_classes = true
5 config.cache_classes = true
6
6
7 # Use a different logger for distributed setups
7 # Use a different logger for distributed setups
8 # config.logger = SyslogLogger.new
8 # config.logger = SyslogLogger.new
9 config.log_level = :info
9 config.log_level = :info
10
10
11 # Full error reports are disabled and caching is turned on
11 # Full error reports are disabled and caching is turned on
12 config.action_controller.consider_all_requests_local = false
12 config.action_controller.consider_all_requests_local = false
13 config.action_controller.perform_caching = true
13 config.action_controller.perform_caching = true
14
14
15 # Enable serving of images, stylesheets, and javascripts from an asset server
15 # Enable serving of images, stylesheets, and javascripts from an asset server
16 # config.action_controller.asset_host = "http://assets.example.com"
16 # config.action_controller.asset_host = "http://assets.example.com"
17
17
18 # Disable mail delivery
18 # Disable mail delivery
19 config.action_mailer.perform_deliveries = false
19 config.action_mailer.perform_deliveries = false
20 config.action_mailer.raise_delivery_errors = false
20 config.action_mailer.raise_delivery_errors = false
21
21
@@ -1,22 +1,22
1 # Settings specified here will take precedence over those in config/environment.rb
1 # Settings specified here will take precedence over those in config/environment.rb
2
2
3 # The production environment is meant for finished, "live" apps.
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
4 # Code is not reloaded between requests
5 config.cache_classes = true
5 config.cache_classes = true
6
6
7 # Use a different logger for distributed setups
7 # Use a different logger for distributed setups
8 # config.logger = SyslogLogger.new
8 # config.logger = SyslogLogger.new
9
9
10
10
11 # Full error reports are disabled and caching is turned on
11 # Full error reports are disabled and caching is turned on
12 config.action_controller.consider_all_requests_local = false
12 config.action_controller.consider_all_requests_local = false
13 config.action_controller.perform_caching = true
13 config.action_controller.perform_caching = true
14
14
15 # Enable serving of images, stylesheets, and javascripts from an asset server
15 # Enable serving of images, stylesheets, and javascripts from an asset server
16 # config.action_controller.asset_host = "http://assets.example.com"
16 # config.action_controller.asset_host = "http://assets.example.com"
17
17
18 # Disable delivery errors if you bad email addresses should just be ignored
18 # Disable delivery errors if you bad email addresses should just be ignored
19 config.action_mailer.raise_delivery_errors = false
19 config.action_mailer.raise_delivery_errors = false
20
20
21 # No email in production log
21 # No email in production log
22 config.action_mailer.logger = nil
22 config.action_mailer.logger = nil
@@ -1,84 +1,84
1 # redMine - project management software
1 # redMine - project management software
2 # Copyright (C) 2006 Jean-Philippe Lang
2 # Copyright (C) 2006 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 # available languages for help pages
18 # available languages for help pages
19 langs:
19 langs:
20 - en
20 - en
21 - fr
21 - fr
22 - ja
22 - ja
23
23
24 # mapping between controller/action and help pages
24 # mapping between controller/action and help pages
25 # if action is not defined here, 'index' page will be displayed
25 # if action is not defined here, 'index' page will be displayed
26 pages:
26 pages:
27 # administration
27 # administration
28 admin:
28 admin:
29 index: ch01.html
29 index: ch01.html
30 projects: ch01s01.html
30 projects: ch01s01.html
31 mail_options: ch01s09.html
31 mail_options: ch01s09.html
32 info: ch01s12.html
32 info: ch01s12.html
33 users:
33 users:
34 index: ch01s02.html
34 index: ch01s02.html
35 roles:
35 roles:
36 index: ch01s03.html
36 index: ch01s03.html
37 workflow: ch01s07.html
37 workflow: ch01s07.html
38 trackers:
38 trackers:
39 index: ch01s04.html
39 index: ch01s04.html
40 issue_statuses:
40 issue_statuses:
41 index: ch01s06.html
41 index: ch01s06.html
42 settings:
42 settings:
43 index: ch01s11.html
43 index: ch01s11.html
44 # projects
44 # projects
45 projects:
45 projects:
46 index: ch02.html
46 index: ch02.html
47 settings: ch01s01.html
47 settings: ch01s01.html
48 add: ch01s01.html
48 add: ch01s01.html
49 show: ch02s01.html
49 show: ch02s01.html
50 gantt: ch02s02.html
50 gantt: ch02s02.html
51 calendar: ch02s02.html
51 calendar: ch02s02.html
52 changelog: ch02s06.html
52 changelog: ch02s06.html
53 roadmap: ch02s07.html
53 roadmap: ch02s07.html
54 add_document: ch02s07.html
54 add_document: ch02s07.html
55 list_documents: ch02s07.html
55 list_documents: ch02s07.html
56 add_issue: ch02s03.html
56 add_issue: ch02s03.html
57 list_issues: ch02s03.html
57 list_issues: ch02s03.html
58 add_news: ch02s06.html
58 add_news: ch02s06.html
59 list_news: ch02s06.html
59 list_news: ch02s06.html
60 add_file: ch02s11.html
60 add_file: ch02s11.html
61 list_files: ch02s11.html
61 list_files: ch02s11.html
62 changelog: ch02s05.html
62 changelog: ch02s05.html
63 issues:
63 issues:
64 index: ch02s03.html
64 index: ch02s03.html
65 documents:
65 documents:
66 index: ch02s09.html
66 index: ch02s09.html
67 news:
67 news:
68 index: ch02s06.html
68 index: ch02s06.html
69 versions:
69 versions:
70 index: ch02s09.html
70 index: ch02s09.html
71 reports:
71 reports:
72 index: ch02s04.html
72 index: ch02s04.html
73 # accounts
73 # accounts
74 my:
74 my:
75 index: ch03.html
75 index: ch03.html
76 account: ch03s01.html
76 account: ch03s01.html
77 page: ch03s02.html
77 page: ch03s02.html
78 account:
78 account:
79 index: ch03.html
79 index: ch03.html
80 lost_password: ch03s03.html
80 lost_password: ch03s03.html
81 register: ch03s04.html
81 register: ch03s04.html
82 wiki:
82 wiki:
83 index: ch02s10.html
83 index: ch02s10.html
84 syntax: wiki_syntax.html No newline at end of file
84 syntax: wiki_syntax.html
@@ -1,27 +1,27
1 ActionController::Routing::Routes.draw do |map|
1 ActionController::Routing::Routes.draw do |map|
2 # Add your own custom routes here.
2 # Add your own custom routes here.
3 # The priority is based upon order of creation: first created -> highest priority.
3 # The priority is based upon order of creation: first created -> highest priority.
4
4
5 # Here's a sample route:
5 # Here's a sample route:
6 # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6 # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
7 # Keep in mind you can assign values other than :controller and :action
7 # Keep in mind you can assign values other than :controller and :action
8
8
9 map.home '', :controller => 'welcome'
9 map.home '', :controller => 'welcome'
10
10
11 map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
11 map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
12 map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
12 map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
13 map.connect 'help/:ctrl/:page', :controller => 'help'
13 map.connect 'help/:ctrl/:page', :controller => 'help'
14 #map.connect ':controller/:action/:id/:sort_key/:sort_order'
14 #map.connect ':controller/:action/:id/:sort_key/:sort_order'
15
15
16 map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
16 map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
17 map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
17 map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
18 map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
18 map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
19
19
20 # Allow downloading Web Service WSDL as a file with an extension
20 # Allow downloading Web Service WSDL as a file with an extension
21 # instead of a file named 'wsdl'
21 # instead of a file named 'wsdl'
22 map.connect ':controller/service.wsdl', :action => 'wsdl'
22 map.connect ':controller/service.wsdl', :action => 'wsdl'
23
23
24
24
25 # Install the default route as the lowest priority.
25 # Install the default route as the lowest priority.
26 map.connect ':controller/:action/:id'
26 map.connect ':controller/:action/:id'
27 end
27 end
@@ -1,82 +1,82
1 # redMine - project management software
1 # redMine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18
18
19 # DO NOT MODIFY THIS FILE !!!
19 # DO NOT MODIFY THIS FILE !!!
20 # Settings can be defined through the application in Admin -> Settings
20 # Settings can be defined through the application in Admin -> Settings
21
21
22 app_title:
22 app_title:
23 default: Redmine
23 default: Redmine
24 app_subtitle:
24 app_subtitle:
25 default: Project management
25 default: Project management
26 welcome_text:
26 welcome_text:
27 default:
27 default:
28 login_required:
28 login_required:
29 default: 0
29 default: 0
30 self_registration:
30 self_registration:
31 default: 1
31 default: 1
32 lost_password:
32 lost_password:
33 default: 1
33 default: 1
34 attachment_max_size:
34 attachment_max_size:
35 format: int
35 format: int
36 default: 5120
36 default: 5120
37 issues_export_limit:
37 issues_export_limit:
38 format: int
38 format: int
39 default: 500
39 default: 500
40 mail_from:
40 mail_from:
41 default: redmine@somenet.foo
41 default: redmine@somenet.foo
42 text_formatting:
42 text_formatting:
43 default: textile
43 default: textile
44 wiki_compression:
44 wiki_compression:
45 default: ""
45 default: ""
46 default_language:
46 default_language:
47 default: en
47 default: en
48 host_name:
48 host_name:
49 default: localhost:3000
49 default: localhost:3000
50 feeds_limit:
50 feeds_limit:
51 format: int
51 format: int
52 default: 15
52 default: 15
53 autofetch_changesets:
53 autofetch_changesets:
54 default: 1
54 default: 1
55 sys_api_enabled:
55 sys_api_enabled:
56 default: 0
56 default: 0
57 commit_ref_keywords:
57 commit_ref_keywords:
58 default: 'refs,references,IssueID'
58 default: 'refs,references,IssueID'
59 commit_fix_keywords:
59 commit_fix_keywords:
60 default: 'fixes,closes'
60 default: 'fixes,closes'
61 commit_fix_status_id:
61 commit_fix_status_id:
62 format: int
62 format: int
63 default: 0
63 default: 0
64 # autologin duration in days
64 # autologin duration in days
65 # 0 means autologin is disabled
65 # 0 means autologin is disabled
66 autologin:
66 autologin:
67 format: int
67 format: int
68 default: 0
68 default: 0
69 # date format
69 # date format
70 # 0: language based
70 # 0: language based
71 # 1: ISO format
71 # 1: ISO format
72 date_format:
72 date_format:
73 format: int
73 format: int
74 default: 0
74 default: 0
75 cross_project_issue_relations:
75 cross_project_issue_relations:
76 default: 0
76 default: 0
77 notified_events:
77 notified_events:
78 serialized: true
78 serialized: true
79 default: --
79 default: --
80 - issue_added
80 - issue_added
81 - issue_updated
81 - issue_updated
82 No newline at end of file
82
General Comments 0
You need to be logged in to leave comments. Login now