Toshi MARUYAMA
40cb7435a0
set svn:eol-style native test/fixtures/mail_handler/ticket_reply.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:41:28 +00:00
Toshi MARUYAMA
e691fd682d
set svn:eol-style native test/fixtures/mail_handler/ticket_on_given_project.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:38:18 +00:00
Toshi MARUYAMA
ad90ffd9b3
set svn:eol-style native test/fixtures/mail_handler/ticket_by_unknown_user.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:35:49 +00:00
Toshi MARUYAMA
8a4fb95d8e
set svn:eol-style native test/fixtures/mail_handler/ticket_by_empty_user.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:34:53 +00:00
Toshi MARUYAMA
1c09aa9901
set svn:eol-style native test/fixtures/mail_handler/issue_update_with_quoted_reply_above.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:33:16 +00:00
Toshi MARUYAMA
99b7cc7b16
set svn:eol-style native test/fixtures/mail_handler/issue_update_with_multiple_quoted_reply_above.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:31:12 +00:00
Toshi MARUYAMA
018a6a92a1
set svn:eol-style native test/fixtures/mail_handler/ticket_with_localized_attributes.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:27:21 +00:00
Toshi MARUYAMA
b68a7cdf20
set svn:eol-style native test/unit/lib/redmine/export/pdf_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:23:51 +00:00
Toshi MARUYAMA
a220bd7429
set svn:eol-style native test/unit/initializers/patches_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:19:39 +00:00
Toshi MARUYAMA
c3afc8d3a6
set svn:eol-style native test/object_daddy_helpers.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:14:57 +00:00
Toshi MARUYAMA
0b9826b995
set svn:eol-style native test/unit/lib/redmine/scm/adapters/*.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:11:43 +00:00
Toshi MARUYAMA
e065f9a35a
set svn:eol-style native lib/redmine/*.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:08:56 +00:00
Toshi MARUYAMA
abea976214
set svn:eol-style native lib/redmine/scm/base.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 21:05:41 +00:00
Jean-Philippe Lang
a74e86ddce
Additional tests for IssuesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 18:37:51 +00:00
Jean-Philippe Lang
dbda62849d
Removed dead code.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 18:20:07 +00:00
Etienne Massip
8612fa2fc1
Fixed Gantt months/weeks/days headers display with Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 15:10:32 +00:00
Jean-Philippe Lang
934dd07fa7
Adds a test for #9076 .
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:57:31 +00:00
Jean-Philippe Lang
33cb9c87a9
More functional tests for NewsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:47:28 +00:00
Jean-Philippe Lang
125f5e1710
Use #find_project_by_project_id from super-class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:44:52 +00:00
Etienne Massip
aebaaad85a
Variable declaration cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:44:04 +00:00
Jean-Philippe Lang
25620a7429
More function tests for AdminController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:41:56 +00:00
Etienne Massip
24bd39d8ed
Moved head refs to node titles.
...
Refs shoud not be displayed in the graph because they'll be necessarily truncated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:41:09 +00:00
Jean-Philippe Lang
2de9e782ad
More function tests for MessagesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:21:34 +00:00
Toshi MARUYAMA
d849d06b56
set svn:eol-style native lib/tasks/*.rake
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 00:22:07 +00:00
Toshi MARUYAMA
e7dd193a76
set svn:eol-style native lib/tasks/ci.rake
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 11:46:04 +00:00
Toshi MARUYAMA
cfdef5e11a
Simplified Chinese "over_x_years" translation changed by fangzheng ( #10410 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 11:40:07 +00:00
Toshi MARUYAMA
099759eda1
set svn:eol-style native app/views/repositories/_revision_graph.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 09:48:05 +00:00
Toshi MARUYAMA
839ac5105c
set svn:eol-style native public/javascripts/revision_graph.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 09:46:16 +00:00
Toshi MARUYAMA
17fabcad8e
set svn:eol-style native public/stylesheets/*.css
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 08:49:56 +00:00
Toshi MARUYAMA
2e6ccfa95c
set svn:eol-style native public/javascripts/jstoolbar/lang/*.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-09 08:40:27 +00:00
Jean-Philippe Lang
036b81abfd
Use #find_project_by_project_id from super-class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 20:03:05 +00:00
Jean-Philippe Lang
67e8d1113e
Adds a test for when query is not found.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 20:00:38 +00:00
Toshi MARUYAMA
0cbbb9fda8
remove trailing white-space from app/models/repository/git.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 07:56:30 +00:00
Toshi MARUYAMA
999a4ba30d
scm: git: performance improvements in fetching revisions ( #8857 , #9472 )
...
Parse a revision for a given branch,
just if we haven't parsed it for any branches before.
Moved the db check to for existing revisions into a grouped search.
Search for many revisions at once: this reduces db load.
Revisions are grouped into sets of 100.
This is to improve memory consumption.
There will be just one query instead of each 100.
The above two methods significantly increase parsing speed.
Test case was a git repo with 6000+ commits on a master branch,
and several other branches originating for master.
Speed improved from 1.4h to 18min.
Contributed by Gergely Fábián.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 07:56:15 +00:00
Toshi MARUYAMA
bcba955456
scm: git: reduce saving heads times in fetching revisions ( #8857 , #9472 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 05:57:59 +00:00
Toshi MARUYAMA
f0987e4b8f
scm: git: backout r8839 ( #8857 )
...
call "git log" only once instead of per branch in fetching revisions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 05:57:44 +00:00
Toshi MARUYAMA
374c2aa705
scm: git: backout r8840 ( #8857 , #9472 )
...
reduce saving heads times in fetching revisions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 05:57:29 +00:00
Jean-Philippe Lang
2bcf9f2871
Prevent mass-assignment when adding/updating a forum ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 21:36:28 +00:00
Jean-Philippe Lang
87356648f6
Set user_id as a protected attribute ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 20:57:33 +00:00
Jean-Philippe Lang
efddab48be
Prevent mass-assignment when adding/updating a wiki ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 20:34:38 +00:00
Jean-Philippe Lang
fef2e4b672
Prevent mass-assignment when adding/updating a version ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 20:31:45 +00:00
Jean-Philippe Lang
1ec2d98c14
Prevent mass-assignment when adding/updating a time entry ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 20:23:00 +00:00
Jean-Philippe Lang
0ee1de5686
Use safe_attributes= just like in #create.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 19:52:10 +00:00
Jean-Philippe Lang
d0356fe935
Prevent mass-assignment when adding/updating a news ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 19:50:10 +00:00
Jean-Philippe Lang
286bda14f1
Prevent mass-assignment when adding/updating a forum message ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 19:46:59 +00:00
Jean-Philippe Lang
2c6ad7525a
Prevent mass-assignment when adding a project member ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 19:39:37 +00:00
Jean-Philippe Lang
460239d1f9
Prevent mass-assignment when adding/updating an issue category ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 18:59:32 +00:00
Jean-Philippe Lang
809d35d34b
Prevent mass-assignment when adding/updating a document ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 18:54:41 +00:00
Jean-Philippe Lang
bdf6e90f05
Prevent mass-assignment when adding a news comment ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 18:48:47 +00:00
Jean-Philippe Lang
6aad82e524
Fixed that the proposed users list may be empty when adding a project member ( #10374 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 18:37:30 +00:00