Revision 772
Added by Jean-Philippe Lang over 17 years ago
trunk/config/database.yml.example | ||
---|---|---|
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: |
... | ... | |
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 |
|
52 | 52 |
trunk/config/environment.rb | ||
---|---|---|
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') |
... | ... | |
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 |
trunk/config/environments/demo.rb | ||
---|---|---|
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 |
|
|
22 | 22 |
trunk/config/environments/production.rb | ||
---|---|---|
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 |
|
23 | 23 |
trunk/config/help.yml | ||
---|---|---|
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 |
85 | 85 |
trunk/config/routes.rb | ||
---|---|---|
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' |
... | ... | |
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 |
trunk/config/settings.yml | ||
---|---|---|
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: [email protected] |
|
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: [email protected] |
|
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 |
|
83 | 83 |
Also available in: Unified diff
Native eol property set on config/*