Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
2cfb6036
Commit
2cfb6036
authored
Feb 21, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ticket/master/129-rename-redmine' into upstream-master
parents
887a10ac
fb89e7a8
Hide whitespace changes
Inline
Side-by-side
Showing
63 changed files
with
90 additions
and
47 deletions
+90
-47
application_controller.rb
app/controllers/application_controller.rb
+8
-8
application_helper.rb
app/helpers/application_helper.rb
+2
-2
mail_handler.rb
app/models/mail_handler.rb
+2
-2
mailer.rb
app/models/mailer.rb
+8
-8
base.rhtml
app/views/layouts/base.rhtml
+1
-1
test.text.html.rhtml
app/views/mailer/test.text.html.rhtml
+2
-2
test.text.plain.rhtml
app/views/mailer/test.text.plain.rhtml
+2
-2
bg.yml
config/locales/bg.yml
+1
-0
bs.yml
config/locales/bs.yml
+1
-0
ca.yml
config/locales/ca.yml
+1
-0
cs.yml
config/locales/cs.yml
+1
-0
da.yml
config/locales/da.yml
+1
-0
de.yml
config/locales/de.yml
+1
-0
el.yml
config/locales/el.yml
+1
-0
en-GB.yml
config/locales/en-GB.yml
+1
-0
en.yml
config/locales/en.yml
+1
-0
es.yml
config/locales/es.yml
+1
-0
eu.yml
config/locales/eu.yml
+1
-0
fi.yml
config/locales/fi.yml
+1
-0
fr.yml
config/locales/fr.yml
+1
-0
gl.yml
config/locales/gl.yml
+1
-0
he.yml
config/locales/he.yml
+1
-0
hr.yml
config/locales/hr.yml
+1
-0
hu.yml
config/locales/hu.yml
+1
-0
id.yml
config/locales/id.yml
+1
-0
it.yml
config/locales/it.yml
+1
-0
ja.yml
config/locales/ja.yml
+1
-0
ko.yml
config/locales/ko.yml
+1
-0
lt.yml
config/locales/lt.yml
+1
-0
lv.yml
config/locales/lv.yml
+1
-0
mk.yml
config/locales/mk.yml
+1
-0
mn.yml
config/locales/mn.yml
+1
-0
nl.yml
config/locales/nl.yml
+1
-0
no.yml
config/locales/no.yml
+1
-0
pl.yml
config/locales/pl.yml
+1
-0
pt-BR.yml
config/locales/pt-BR.yml
+1
-0
pt.yml
config/locales/pt.yml
+1
-0
ro.yml
config/locales/ro.yml
+1
-0
ru.yml
config/locales/ru.yml
+1
-0
sk.yml
config/locales/sk.yml
+1
-0
sl.yml
config/locales/sl.yml
+1
-0
sr-YU.yml
config/locales/sr-YU.yml
+1
-0
sr.yml
config/locales/sr.yml
+1
-0
sv.yml
config/locales/sv.yml
+1
-0
th.yml
config/locales/th.yml
+1
-0
tr.yml
config/locales/tr.yml
+1
-0
uk.yml
config/locales/uk.yml
+1
-0
vi.yml
config/locales/vi.yml
+1
-0
zh-TW.yml
config/locales/zh-TW.yml
+1
-0
zh.yml
config/locales/zh.yml
+1
-0
settings.yml
config/settings.yml
+2
-2
001_setup.rb
db/migrate/001_setup.rb
+1
-1
info.rb
lib/redmine/info.rb
+3
-3
initializers.rake
lib/tasks/initializers.rake
+1
-1
issue_update_with_multiple_quoted_reply_above.eml
...handler/issue_update_with_multiple_quoted_reply_above.eml
+1
-1
issue_update_with_quoted_reply_above.eml
...res/mail_handler/issue_update_with_quoted_reply_above.eml
+1
-1
message_reply.eml
test/fixtures/mail_handler/message_reply.eml
+2
-2
ticket_from_emission_address.eml
test/fixtures/mail_handler/ticket_from_emission_address.eml
+5
-5
ticket_reply.eml
test/fixtures/mail_handler/ticket_reply.eml
+1
-1
projects_controller_test.rb
test/functional/projects_controller_test.rb
+1
-1
issues_test.rb
test/integration/api_test/issues_test.rb
+1
-1
test_helper.rb
test/test_helper.rb
+2
-2
setting_test.rb
test/unit/setting_test.rb
+1
-1
No files found.
app/controllers/application_controller.rb
View file @
2cfb6036
...
@@ -29,8 +29,8 @@ class ApplicationController < ActionController::Base
...
@@ -29,8 +29,8 @@ class ApplicationController < ActionController::Base
# TODO: remove it when Rails is fixed
# TODO: remove it when Rails is fixed
before_filter
:delete_broken_cookies
before_filter
:delete_broken_cookies
def
delete_broken_cookies
def
delete_broken_cookies
if
cookies
[
'_
redmine_session'
]
&&
cookies
[
'_redmine
_session'
]
!~
/--/
if
cookies
[
'_
chiliproject_session'
]
&&
cookies
[
'_chiliproject
_session'
]
!~
/--/
cookies
.
delete
'_
redmine
_session'
cookies
.
delete
'_
chiliproject
_session'
redirect_to
home_path
redirect_to
home_path
return
false
return
false
end
end
...
@@ -129,9 +129,9 @@ class ApplicationController < ActionController::Base
...
@@ -129,9 +129,9 @@ class ApplicationController < ActionController::Base
respond_to
do
|
format
|
respond_to
do
|
format
|
format
.
html
{
redirect_to
:controller
=>
"account"
,
:action
=>
"login"
,
:back_url
=>
url
}
format
.
html
{
redirect_to
:controller
=>
"account"
,
:action
=>
"login"
,
:back_url
=>
url
}
format
.
atom
{
redirect_to
:controller
=>
"account"
,
:action
=>
"login"
,
:back_url
=>
url
}
format
.
atom
{
redirect_to
:controller
=>
"account"
,
:action
=>
"login"
,
:back_url
=>
url
}
format
.
xml
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
Redmine
API"'
}
format
.
xml
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
ChiliProject
API"'
}
format
.
js
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
Redmine
API"'
}
format
.
js
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
ChiliProject
API"'
}
format
.
json
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
Redmine
API"'
}
format
.
json
{
head
:unauthorized
,
'WWW-Authenticate'
=>
'Basic realm="
ChiliProject
API"'
}
end
end
return
false
return
false
end
end
...
@@ -407,8 +407,8 @@ class ApplicationController < ActionController::Base
...
@@ -407,8 +407,8 @@ class ApplicationController < ActionController::Base
def
api_key_from_request
def
api_key_from_request
if
params
[
:key
].
present?
if
params
[
:key
].
present?
params
[
:key
]
params
[
:key
]
elsif
request
.
headers
[
"X-
Redmine
-API-Key"
].
present?
elsif
request
.
headers
[
"X-
ChiliProject
-API-Key"
].
present?
request
.
headers
[
"X-
Redmine
-API-Key"
]
request
.
headers
[
"X-
ChiliProject
-API-Key"
]
end
end
end
end
...
@@ -437,7 +437,7 @@ class ApplicationController < ActionController::Base
...
@@ -437,7 +437,7 @@ class ApplicationController < ActionController::Base
logger
.
error
"Query::StatementInvalid:
#{
exception
.
message
}
"
if
logger
logger
.
error
"Query::StatementInvalid:
#{
exception
.
message
}
"
if
logger
session
.
delete
(
:query
)
session
.
delete
(
:query
)
sort_clear
if
respond_to?
(
:sort_clear
)
sort_clear
if
respond_to?
(
:sort_clear
)
render_error
"An error occurred while executing the query and has been logged. Please report this error to your
Redmine
administrator."
render_error
"An error occurred while executing the query and has been logged. Please report this error to your administrator."
end
end
# Converts the errors on an ActiveRecord object into a common JSON format
# Converts the errors on an ActiveRecord object into a common JSON format
...
...
app/helpers/application_helper.rb
View file @
2cfb6036
...
@@ -917,10 +917,10 @@ module ApplicationHelper
...
@@ -917,10 +917,10 @@ module ApplicationHelper
@included_in_api_response
.
include?
(
arg
.
to_s
)
@included_in_api_response
.
include?
(
arg
.
to_s
)
end
end
# Returns options or nil if nometa param or X-
Redmine
-Nometa header
# Returns options or nil if nometa param or X-
ChiliProject
-Nometa header
# was set in the request
# was set in the request
def
api_meta
(
options
)
def
api_meta
(
options
)
if
params
[
:nometa
].
present?
||
request
.
headers
[
'X-
Redmine
-Nometa'
]
if
params
[
:nometa
].
present?
||
request
.
headers
[
'X-
ChiliProject
-Nometa'
]
# compatibility mode for activeresource clients that raise
# compatibility mode for activeresource clients that raise
# an error when unserializing an array with attributes
# an error when unserializing an array with attributes
nil
nil
...
...
app/models/mail_handler.rb
View file @
2cfb6036
...
@@ -47,7 +47,7 @@ class MailHandler < ActionMailer::Base
...
@@ -47,7 +47,7 @@ class MailHandler < ActionMailer::Base
sender_email
=
email
.
from
.
to_a
.
first
.
to_s
.
strip
sender_email
=
email
.
from
.
to_a
.
first
.
to_s
.
strip
# Ignore emails received from the application emission address to avoid hell cycles
# Ignore emails received from the application emission address to avoid hell cycles
if
sender_email
.
downcase
==
Setting
.
mail_from
.
to_s
.
strip
.
downcase
if
sender_email
.
downcase
==
Setting
.
mail_from
.
to_s
.
strip
.
downcase
logger
.
info
"MailHandler: ignoring email from
Redmine
emission address [
#{
sender_email
}
]"
if
logger
&&
logger
.
info
logger
.
info
"MailHandler: ignoring email from emission address [
#{
sender_email
}
]"
if
logger
&&
logger
.
info
return
false
return
false
end
end
@user
=
User
.
find_by_mail
(
sender_email
)
if
sender_email
.
present?
@user
=
User
.
find_by_mail
(
sender_email
)
if
sender_email
.
present?
...
@@ -81,7 +81,7 @@ class MailHandler < ActionMailer::Base
...
@@ -81,7 +81,7 @@ class MailHandler < ActionMailer::Base
private
private
MESSAGE_ID_RE
=
%r{^<
redmine
\.
([a-z0-9_]+)
\-
(
\d
+)
\.\d
+@}
MESSAGE_ID_RE
=
%r{^<
chiliproject
\.
([a-z0-9_]+)
\-
(
\d
+)
\.\d
+@}
ISSUE_REPLY_SUBJECT_RE
=
%r{
\[
[^
\]
]*#(
\d
+)
\]
}
ISSUE_REPLY_SUBJECT_RE
=
%r{
\[
[^
\]
]*#(
\d
+)
\]
}
MESSAGE_REPLY_SUBJECT_RE
=
%r{
\[
[^
\]
]*msg(
\d
+)
\]
}
MESSAGE_REPLY_SUBJECT_RE
=
%r{
\[
[^
\]
]*msg(
\d
+)
\]
}
...
...
app/models/mailer.rb
View file @
2cfb6036
...
@@ -281,7 +281,7 @@ class Mailer < ActionMailer::Base
...
@@ -281,7 +281,7 @@ class Mailer < ActionMailer::Base
redmine_headers
'Type'
=>
"Test"
redmine_headers
'Type'
=>
"Test"
set_language_if_valid
(
user
.
language
)
set_language_if_valid
(
user
.
language
)
recipients
user
.
mail
recipients
user
.
mail
subject
'
Redmine
test'
subject
'
ChiliProject
test'
body
:url
=>
url_for
(
:controller
=>
'welcome'
)
body
:url
=>
url_for
(
:controller
=>
'welcome'
)
render_multipart
(
'test'
,
body
)
render_multipart
(
'test'
,
body
)
end
end
...
@@ -362,16 +362,16 @@ class Mailer < ActionMailer::Base
...
@@ -362,16 +362,16 @@ class Mailer < ActionMailer::Base
from
Setting
.
mail_from
from
Setting
.
mail_from
# Common headers
# Common headers
headers
'X-Mailer'
=>
'
Redmine
'
,
headers
'X-Mailer'
=>
'
ChiliProject
'
,
'X-
Redmine
-Host'
=>
Setting
.
host_name
,
'X-
ChiliProject
-Host'
=>
Setting
.
host_name
,
'X-
Redmine
-Site'
=>
Setting
.
app_title
,
'X-
ChiliProject
-Site'
=>
Setting
.
app_title
,
'Precedence'
=>
'bulk'
,
'Precedence'
=>
'bulk'
,
'Auto-Submitted'
=>
'auto-generated'
'Auto-Submitted'
=>
'auto-generated'
end
end
# Appends a Redmine header field (name is prepended with 'X-
Redmine
-')
# Appends a Redmine header field (name is prepended with 'X-
ChiliProject
-')
def
redmine_headers
(
h
)
def
redmine_headers
(
h
)
h
.
each
{
|
k
,
v
|
headers
[
"X-
Redmine
-
#{
k
}
"
]
=
v
}
h
.
each
{
|
k
,
v
|
headers
[
"X-
ChiliProject
-
#{
k
}
"
]
=
v
}
end
end
# Overrides the create_mail method
# Overrides the create_mail method
...
@@ -425,9 +425,9 @@ class Mailer < ActionMailer::Base
...
@@ -425,9 +425,9 @@ class Mailer < ActionMailer::Base
# id + timestamp should reduce the odds of a collision
# id + timestamp should reduce the odds of a collision
# as far as we don't send multiple emails for the same object
# as far as we don't send multiple emails for the same object
timestamp
=
object
.
send
(
object
.
respond_to?
(
:created_on
)
?
:
created_on
:
:updated_on
)
timestamp
=
object
.
send
(
object
.
respond_to?
(
:created_on
)
?
:
created_on
:
:updated_on
)
hash
=
"
redmine
.
#{
object
.
class
.
name
.
demodulize
.
underscore
}
-
#{
object
.
id
}
.
#{
timestamp
.
strftime
(
"%Y%m%d%H%M%S"
)
}
"
hash
=
"
chiliproject
.
#{
object
.
class
.
name
.
demodulize
.
underscore
}
-
#{
object
.
id
}
.
#{
timestamp
.
strftime
(
"%Y%m%d%H%M%S"
)
}
"
host
=
Setting
.
mail_from
.
to_s
.
gsub
(
%r{^.*@}
,
''
)
host
=
Setting
.
mail_from
.
to_s
.
gsub
(
%r{^.*@}
,
''
)
host
=
"
#{
::
Socket
.
gethostname
}
.
redmine
"
if
host
.
empty?
host
=
"
#{
::
Socket
.
gethostname
}
.
chiliproject
"
if
host
.
empty?
"<
#{
hash
}
@
#{
host
}
>"
"<
#{
hash
}
@
#{
host
}
>"
end
end
...
...
app/views/layouts/base.rhtml
View file @
2cfb6036
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<div
id=
"footer"
>
<div
id=
"footer"
>
<div
class=
"bgl"
><div
class=
"bgr"
>
<div
class=
"bgl"
><div
class=
"bgr"
>
Powered by
<%=
link_to
Redmine
::
Info
.
app_name
,
Redmine
::
Info
.
url
%>
©
2006-2011 Jean-Philippe Lang
<%=
l
(
:text_powered_by
,
:link
=>
link_to
(
Redmine
::
Info
.
app_name
,
Redmine
::
Info
.
url
))
%>
</div></div>
</div></div>
</div>
</div>
</div>
</div>
...
...
app/views/mailer/test.text.html.rhtml
View file @
2cfb6036
<p>
This is a test email sent by
Redmine
.
<br
/>
<p>
This is a test email sent by
ChiliProject
.
<br
/>
Redmine
URL:
<%=
auto_link
(
@url
)
%>
</p>
ChiliProject
URL:
<%=
auto_link
(
@url
)
%>
</p>
app/views/mailer/test.text.plain.rhtml
View file @
2cfb6036
This is a test email sent by
Redmine
.
This is a test email sent by
ChiliProject
.
Redmine
URL:
<%=
@url
%>
ChiliProject
URL:
<%=
@url
%>
config/locales/bg.yml
View file @
2cfb6036
...
@@ -938,3 +938,4 @@ bg:
...
@@ -938,3 +938,4 @@ bg:
enumeration_activities
:
Дейности (time tracking)
enumeration_activities
:
Дейности (time tracking)
enumeration_system_activity
:
Системна активност
enumeration_system_activity
:
Системна активност
text_powered_by
:
Powered by %{link}
config/locales/bs.yml
View file @
2cfb6036
...
@@ -952,3 +952,4 @@ bs:
...
@@ -952,3 +952,4 @@ bs:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/ca.yml
View file @
2cfb6036
...
@@ -941,3 +941,4 @@ ca:
...
@@ -941,3 +941,4 @@ ca:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/cs.yml
View file @
2cfb6036
...
@@ -938,3 +938,4 @@ cs:
...
@@ -938,3 +938,4 @@ cs:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/da.yml
View file @
2cfb6036
...
@@ -954,3 +954,4 @@ da:
...
@@ -954,3 +954,4 @@ da:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/de.yml
View file @
2cfb6036
...
@@ -955,3 +955,4 @@ de:
...
@@ -955,3 +955,4 @@ de:
setting_commit_logtime_enabled
:
Aktiviere Zeitlogging
setting_commit_logtime_enabled
:
Aktiviere Zeitlogging
notice_gantt_chart_truncated
:
Die Grafik ist unvollständig, da das Maximum der anzeigbaren Aufgaben überschritten wurde (%{max})
notice_gantt_chart_truncated
:
Die Grafik ist unvollständig, da das Maximum der anzeigbaren Aufgaben überschritten wurde (%{max})
setting_gantt_items_limit
:
Maximale Anzahl von Aufgaben die im Gantt-Chart angezeigt werden.
setting_gantt_items_limit
:
Maximale Anzahl von Aufgaben die im Gantt-Chart angezeigt werden.
text_powered_by
:
Powered by %{link}
config/locales/el.yml
View file @
2cfb6036
...
@@ -938,3 +938,4 @@ el:
...
@@ -938,3 +938,4 @@ el:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/en-GB.yml
View file @
2cfb6036
...
@@ -942,3 +942,4 @@ en-GB:
...
@@ -942,3 +942,4 @@ en-GB:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
"
Powered
by
%{link}"
config/locales/en.yml
View file @
2cfb6036
...
@@ -908,6 +908,7 @@ en:
...
@@ -908,6 +908,7 @@ en:
text_own_membership_delete_confirmation
:
"
You
are
about
to
remove
some
or
all
of
your
permissions
and
may
no
longer
be
able
to
edit
this
project
after
that.
\n
Are
you
sure
you
want
to
continue?"
text_own_membership_delete_confirmation
:
"
You
are
about
to
remove
some
or
all
of
your
permissions
and
may
no
longer
be
able
to
edit
this
project
after
that.
\n
Are
you
sure
you
want
to
continue?"
text_zoom_in
:
Zoom in
text_zoom_in
:
Zoom in
text_zoom_out
:
Zoom out
text_zoom_out
:
Zoom out
text_powered_by
:
"
Powered
by
%{link}"
default_role_manager
:
Manager
default_role_manager
:
Manager
default_role_developer
:
Developer
default_role_developer
:
Developer
...
...
config/locales/es.yml
View file @
2cfb6036
...
@@ -975,3 +975,4 @@ es:
...
@@ -975,3 +975,4 @@ es:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/eu.yml
View file @
2cfb6036
...
@@ -942,3 +942,4 @@ eu:
...
@@ -942,3 +942,4 @@ eu:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/fi.yml
View file @
2cfb6036
...
@@ -959,3 +959,4 @@ fi:
...
@@ -959,3 +959,4 @@ fi:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/fr.yml
View file @
2cfb6036
...
@@ -956,3 +956,4 @@ fr:
...
@@ -956,3 +956,4 @@ fr:
field_member_of_group
:
Groupe de l'assigné
field_member_of_group
:
Groupe de l'assigné
field_assigned_to_role
:
Rôle de l'assigné
field_assigned_to_role
:
Rôle de l'assigné
setting_emails_header
:
Emails header
setting_emails_header
:
Emails header
text_powered_by
:
Powered by %{link}
config/locales/gl.yml
View file @
2cfb6036
...
@@ -950,3 +950,4 @@ gl:
...
@@ -950,3 +950,4 @@ gl:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/he.yml
View file @
2cfb6036
...
@@ -943,3 +943,4 @@ he:
...
@@ -943,3 +943,4 @@ he:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/hr.yml
View file @
2cfb6036
...
@@ -945,3 +945,4 @@ hr:
...
@@ -945,3 +945,4 @@ hr:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/hu.yml
View file @
2cfb6036
...
@@ -957,3 +957,4 @@
...
@@ -957,3 +957,4 @@
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/id.yml
View file @
2cfb6036
...
@@ -946,3 +946,4 @@ id:
...
@@ -946,3 +946,4 @@ id:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/it.yml
View file @
2cfb6036
...
@@ -939,3 +939,4 @@ it:
...
@@ -939,3 +939,4 @@ it:
setting_commit_logtime_enabled: Abilita registrazione del tempo di collegamento
setting_commit_logtime_enabled: Abilita registrazione del tempo di collegamento
notice_gantt_chart_truncated: Il grafico è stato troncato perchè eccede il numero di oggetti (%{max}) da visualizzare
notice_gantt_chart_truncated: Il grafico è stato troncato perchè eccede il numero di oggetti (%{max}) da visualizzare
setting_gantt_items_limit: Massimo numero di oggetti da visualizzare sul diagramma di gantt
setting_gantt_items_limit: Massimo numero di oggetti da visualizzare sul diagramma di gantt
text_powered_by: Powered by %{link}
config/locales/ja.yml
View file @
2cfb6036
...
@@ -959,3 +959,4 @@ ja:
...
@@ -959,3 +959,4 @@ ja:
enumeration_doc_categories
:
文書カテゴリ
enumeration_doc_categories
:
文書カテゴリ
enumeration_activities
:
作業分類 (時間トラッキング)
enumeration_activities
:
作業分類 (時間トラッキング)
enumeration_system_activity
:
システム作業分類
enumeration_system_activity
:
システム作業分類
text_powered_by
:
Powered by %{link}
config/locales/ko.yml
View file @
2cfb6036
...
@@ -990,3 +990,4 @@ ko:
...
@@ -990,3 +990,4 @@ ko:
setting_commit_logtime_enabled: 커밋 시점에 작업 시간 기록 활성화
setting_commit_logtime_enabled: 커밋 시점에 작업 시간 기록 활성화
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/lt.yml
View file @
2cfb6036
...
@@ -998,3 +998,4 @@ lt:
...
@@ -998,3 +998,4 @@ lt:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/lv.yml
View file @
2cfb6036
...
@@ -933,3 +933,4 @@ lv:
...
@@ -933,3 +933,4 @@ lv:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/mk.yml
View file @
2cfb6036
...
@@ -938,3 +938,4 @@ mk:
...
@@ -938,3 +938,4 @@ mk:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/mn.yml
View file @
2cfb6036
...
@@ -939,3 +939,4 @@ mn:
...
@@ -939,3 +939,4 @@ mn:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/nl.yml
View file @
2cfb6036
...
@@ -920,3 +920,4 @@ nl:
...
@@ -920,3 +920,4 @@ nl:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/no.yml
View file @
2cfb6036
...
@@ -925,3 +925,4 @@
...
@@ -925,3 +925,4 @@
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/pl.yml
View file @
2cfb6036
...
@@ -955,3 +955,4 @@ pl:
...
@@ -955,3 +955,4 @@ pl:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/pt-BR.yml
View file @
2cfb6036
...
@@ -958,3 +958,4 @@ pt-BR:
...
@@ -958,3 +958,4 @@ pt-BR:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/pt.yml
View file @
2cfb6036
...
@@ -942,3 +942,4 @@ pt:
...
@@ -942,3 +942,4 @@ pt:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/ro.yml
View file @
2cfb6036
...
@@ -931,3 +931,4 @@ ro:
...
@@ -931,3 +931,4 @@ ro:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/ru.yml
View file @
2cfb6036
...
@@ -1051,3 +1051,4 @@ ru:
...
@@ -1051,3 +1051,4 @@ ru:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/sk.yml
View file @
2cfb6036
...
@@ -933,3 +933,4 @@ sk:
...
@@ -933,3 +933,4 @@ sk:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/sl.yml
View file @
2cfb6036
...
@@ -934,3 +934,4 @@ sl:
...
@@ -934,3 +934,4 @@ sl:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/sr-YU.yml
View file @
2cfb6036
...
@@ -938,3 +938,4 @@ sr-YU:
...
@@ -938,3 +938,4 @@ sr-YU:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/sr.yml
View file @
2cfb6036
...
@@ -939,3 +939,4 @@ sr:
...
@@ -939,3 +939,4 @@ sr:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/locales/sv.yml
View file @
2cfb6036
...
@@ -979,3 +979,4 @@ sv:
...
@@ -979,3 +979,4 @@ sv:
enumeration_doc_categories
:
Dokumentkategorier
enumeration_doc_categories
:
Dokumentkategorier
enumeration_activities
:
Aktiviteter (tidsuppföljning)
enumeration_activities
:
Aktiviteter (tidsuppföljning)
enumeration_system_activity
:
Systemaktivitet
enumeration_system_activity
:
Systemaktivitet
text_powered_by
:
Powered by %{link}
config/locales/th.yml
View file @
2cfb6036
...
@@ -935,3 +935,4 @@ th:
...
@@ -935,3 +935,4 @@ th:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/tr.yml
View file @
2cfb6036
...
@@ -957,3 +957,4 @@ tr:
...
@@ -957,3 +957,4 @@ tr:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/uk.yml
View file @
2cfb6036
...
@@ -934,3 +934,4 @@ uk:
...
@@ -934,3 +934,4 @@ uk:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/vi.yml
View file @
2cfb6036
...
@@ -989,3 +989,4 @@ vi:
...
@@ -989,3 +989,4 @@ vi:
setting_commit_logtime_enabled: Enable time logging
setting_commit_logtime_enabled: Enable time logging
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
text_powered_by: Powered by %{link}
config/locales/zh-TW.yml
View file @
2cfb6036
...
@@ -1019,3 +1019,4 @@
...
@@ -1019,3 +1019,4 @@
enumeration_doc_categories
:
文件分類
enumeration_doc_categories
:
文件分類
enumeration_activities
:
活動 (時間追蹤)
enumeration_activities
:
活動 (時間追蹤)
enumeration_system_activity
:
系統活動
enumeration_system_activity
:
系統活動
text_powered_by
:
Powered by %{link}
config/locales/zh.yml
View file @
2cfb6036
...
@@ -952,3 +952,4 @@ zh:
...
@@ -952,3 +952,4 @@ zh:
setting_commit_logtime_enabled
:
Enable time logging
setting_commit_logtime_enabled
:
Enable time logging
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
notice_gantt_chart_truncated
:
The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
setting_gantt_items_limit
:
Maximum number of items displayed on the gantt chart
text_powered_by
:
Powered by %{link}
config/settings.yml
View file @
2cfb6036
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
# Settings can be defined through the application in Admin -> Settings
# Settings can be defined through the application in Admin -> Settings
app_title
:
app_title
:
default
:
Redmine
default
:
ChiliProject
app_subtitle
:
app_subtitle
:
default
:
Project management
default
:
Project management
welcome_text
:
welcome_text
:
...
@@ -46,7 +46,7 @@ activity_days_default:
...
@@ -46,7 +46,7 @@ activity_days_default:
per_page_options
:
per_page_options
:
default
:
'
25,50,100'
default
:
'
25,50,100'
mail_from
:
mail_from
:
default
:
redmine
@example.net
default
:
chiliproject
@example.net
bcc_recipients
:
bcc_recipients
:
default
:
1
default
:
1
plain_text_mail
:
plain_text_mail
:
...
...
db/migrate/001_setup.rb
View file @
2cfb6036
...
@@ -288,7 +288,7 @@ class Setup < ActiveRecord::Migration
...
@@ -288,7 +288,7 @@ class Setup < ActiveRecord::Migration
user
=
User
.
create
:login
=>
"admin"
,
user
=
User
.
create
:login
=>
"admin"
,
:hashed_password
=>
"d033e22ae348aeb5660fc2140aec35850c4da997"
,
:hashed_password
=>
"d033e22ae348aeb5660fc2140aec35850c4da997"
,
:admin
=>
true
,
:admin
=>
true
,
:firstname
=>
"
Redmine
"
,
:firstname
=>
"
ChiliProject
"
,
:lastname
=>
"Admin"
,
:lastname
=>
"Admin"
,
:mail
=>
"admin@example.net"
,
:mail
=>
"admin@example.net"
,
:mail_notification
=>
true
,
:mail_notification
=>
true
,
...
...
lib/redmine/info.rb
View file @
2cfb6036
module
Redmine
module
Redmine
module
Info
module
Info
class
<<
self
class
<<
self
def
app_name
;
'
Redmine
'
end
def
app_name
;
'
ChiliProject
'
end
def
url
;
'http
://www.redmine
.org/'
end
def
url
;
'http
s://www.chiliproject
.org/'
end
def
help_url
;
'http
://www.redmine
.org/guide'
end
def
help_url
;
'http
s://www.chiliproject
.org/guide'
end
def
versioned_name
;
"
#{
app_name
}
#{
Redmine
::
VERSION
}
"
end
def
versioned_name
;
"
#{
app_name
}
#{
Redmine
::
VERSION
}
"
end
# Creates the url string to a specific Redmine issue
# Creates the url string to a specific Redmine issue
...
...
lib/tasks/initializers.rake
View file @
2cfb6036
...
@@ -16,7 +16,7 @@ file 'config/initializers/session_store.rb' do
...
@@ -16,7 +16,7 @@ file 'config/initializers/session_store.rb' do
# secret is at least 30 characters and all random, no regular words or
# secret is at least 30 characters and all random, no regular words or
# you'll be exposed to dictionary attacks.
# you'll be exposed to dictionary attacks.
ActionController::Base.session = {
ActionController::Base.session = {
:key => '_
redmine
_session',
:key => '_
chiliproject
_session',
#
#
# Uncomment and edit the :session_path below if are hosting your Redmine
# Uncomment and edit the :session_path below if are hosting your Redmine
# at a suburi and don't want the top level path to access the cookies
# at a suburi and don't want the top level path to access the cookies
...
...
test/fixtures/mail_handler/issue_update_with_multiple_quoted_reply_above.eml
View file @
2cfb6036
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
by OSIRIS
by OSIRIS
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
In-Reply-To: <
redmine
.issue-2.20060719210421@osiris>
In-Reply-To: <
chiliproject
.issue-2.20060719210421@osiris>
From: "John Smith" <JSmith@somenet.foo>
From: "John Smith" <JSmith@somenet.foo>
To: <redmine@somenet.foo>
To: <redmine@somenet.foo>
Subject: Re: update to issue 2
Subject: Re: update to issue 2
...
...
test/fixtures/mail_handler/issue_update_with_quoted_reply_above.eml
View file @
2cfb6036
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
by OSIRIS
by OSIRIS
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
In-Reply-To: <
redmine
.issue-2.20060719210421@osiris>
In-Reply-To: <
chiliproject
.issue-2.20060719210421@osiris>
From: "John Smith" <JSmith@somenet.foo>
From: "John Smith" <JSmith@somenet.foo>
To: <redmine@somenet.foo>
To: <redmine@somenet.foo>
Subject: Re: update to issue 2
Subject: Re: update to issue 2
...
...
test/fixtures/mail_handler/message_reply.eml
View file @
2cfb6036
...
@@ -5,8 +5,8 @@ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
...
@@ -5,8 +5,8 @@ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
MIME-Version: 1.0
To: redmine@somenet.foo
To: redmine@somenet.foo
Subject: Reply via email
Subject: Reply via email
References: <
redmine
.message-2.20070512171800@somenet.foo>
References: <
chiliproject
.message-2.20070512171800@somenet.foo>
In-Reply-To: <
redmine
.message-2.20070512171800@somenet.foo>
In-Reply-To: <
chiliproject
.message-2.20070512171800@somenet.foo>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
...
...
test/fixtures/mail_handler/ticket_from_emission_address.eml
View file @
2cfb6036
Return-Path: <
redmine
@somenet.foo>
Return-Path: <
chiliproject
@somenet.foo>
Received: from osiris ([127.0.0.1])
Received: from osiris ([127.0.0.1])
by OSIRIS
by OSIRIS
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris>
From: "John Doe" <
Redmine
@example.net>
From: "John Doe" <
chiliproject
@example.net>
To: <
redmine
@somenet.foo>
To: <
chiliproject
@somenet.foo>
Subject: Ticket with the
Redmine
emission address
Subject: Ticket with the
ChiliProject
emission address
Date: Sun, 22 Jun 2008 12:28:07 +0200
Date: Sun, 22 Jun 2008 12:28:07 +0200
MIME-Version: 1.0
MIME-Version: 1.0
Content-Type: text/plain;
Content-Type: text/plain;
...
@@ -14,6 +14,6 @@ Content-Type: text/plain;
...
@@ -14,6 +14,6 @@ Content-Type: text/plain;
reply-type=original
reply-type=original
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
This is a ticket submitted with the
Redmine
emission address.
This is a ticket submitted with the
ChiliProject
emission address.
It should be ignored.
It should be ignored.
test/fixtures/mail_handler/ticket_reply.eml
View file @
2cfb6036
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
...
@@ -3,7 +3,7 @@ Received: from osiris ([127.0.0.1])
by OSIRIS
by OSIRIS
with hMailServer ; Sat, 21 Jun 2008 18:41:39 +0200
with hMailServer ; Sat, 21 Jun 2008 18:41:39 +0200
Message-ID: <006a01c8d3bd$ad9baec0$0a00a8c0@osiris>
Message-ID: <006a01c8d3bd$ad9baec0$0a00a8c0@osiris>
In-Reply-To: <
redmine
.issue-2.20060719210421@osiris>
In-Reply-To: <
chiliproject
.issue-2.20060719210421@osiris>
From: "John Smith" <jsmith@somenet.foo>
From: "John Smith" <jsmith@somenet.foo>
To: <redmine@somenet.foo>
To: <redmine@somenet.foo>
References: <485d0ad366c88_d7014663a025f@osiris.tmail>
References: <485d0ad366c88_d7014663a025f@osiris.tmail>
...
...
test/functional/projects_controller_test.rb
View file @
2cfb6036
...
@@ -56,7 +56,7 @@ class ProjectsControllerTest < ActionController::TestCase
...
@@ -56,7 +56,7 @@ class ProjectsControllerTest < ActionController::TestCase
get
:index
,
:format
=>
'atom'
get
:index
,
:format
=>
'atom'
assert_response
:success
assert_response
:success
assert_template
'common/feed.atom.rxml'
assert_template
'common/feed.atom.rxml'
assert_select
'feed>title'
,
:text
=>
'
Redmine
: Latest projects'
assert_select
'feed>title'
,
:text
=>
'
ChiliProject
: Latest projects'
assert_select
'feed>entry'
,
:count
=>
Project
.
count
(
:conditions
=>
Project
.
visible_by
(
User
.
current
))
assert_select
'feed>entry'
,
:count
=>
Project
.
count
(
:conditions
=>
Project
.
visible_by
(
User
.
current
))
end
end
...
...
test/integration/api_test/issues_test.rb
View file @
2cfb6036
...
@@ -89,7 +89,7 @@ class ApiTest::IssuesTest < ActionController::IntegrationTest
...
@@ -89,7 +89,7 @@ class ApiTest::IssuesTest < ActionController::IntegrationTest
context
"with nometa header"
do
context
"with nometa header"
do
should
"not contain metadata"
do
should
"not contain metadata"
do
get
'/issues.xml'
,
{},
{
'X-
Redmine
-Nometa'
=>
'1'
}
get
'/issues.xml'
,
{},
{
'X-
ChiliProject
-Nometa'
=>
'1'
}
assert_tag
:tag
=>
'issues'
,
assert_tag
:tag
=>
'issues'
,
:attributes
=>
{
:attributes
=>
{
...
...
test/test_helper.rb
View file @
2cfb6036
...
@@ -361,11 +361,11 @@ class ActiveSupport::TestCase
...
@@ -361,11 +361,11 @@ class ActiveSupport::TestCase
end
end
end
end
context
"should allow key based auth using X-
Redmine
-API-Key header for
#{
http_method
}
#{
url
}
"
do
context
"should allow key based auth using X-
ChiliProject
-API-Key header for
#{
http_method
}
#{
url
}
"
do
setup
do
setup
do
@user
=
User
.
generate_with_protected!
(
:admin
=>
true
)
@user
=
User
.
generate_with_protected!
(
:admin
=>
true
)
@token
=
Token
.
generate!
(
:user
=>
@user
,
:action
=>
'api'
)
@token
=
Token
.
generate!
(
:user
=>
@user
,
:action
=>
'api'
)
send
(
http_method
,
url
,
parameters
,
{
'X-
Redmine
-API-Key'
=>
@token
.
value
.
to_s
})
send
(
http_method
,
url
,
parameters
,
{
'X-
ChiliProject
-API-Key'
=>
@token
.
value
.
to_s
})
end
end
should_respond_with
success_code
should_respond_with
success_code
...
...
test/unit/setting_test.rb
View file @
2cfb6036
...
@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
...
@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
class
SettingTest
<
ActiveSupport
::
TestCase
class
SettingTest
<
ActiveSupport
::
TestCase
def
test_read_default
def
test_read_default
assert_equal
"
Redmine
"
,
Setting
.
app_title
assert_equal
"
ChiliProject
"
,
Setting
.
app_title
assert
Setting
.
self_registration?
assert
Setting
.
self_registration?
assert
!
Setting
.
login_required?
assert
!
Setting
.
login_required?
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment