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