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
Toshi MARUYAMA
b7555bd1ff
Bulgarian translation updated by Ivan Cenov ( #10376 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 03:25:14 +00:00
Jean-Philippe Lang
89dc7bb60b
Sort values for assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 19:54:03 +00:00
Jean-Philippe Lang
d906ff8d7b
Italian translation ( #10258 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 17:13:37 +00:00
Jean-Philippe Lang
aa9238912b
Changed assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 11:03:26 +00:00
Jean-Philippe Lang
97ca65d1b2
Changed assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:55:19 +00:00
Jean-Philippe Lang
d4372ab747
Array#to_s behaviour changed in ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:49:05 +00:00
Jean-Philippe Lang
9bb056e54d
Array#to_s behaviour changed in ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:47:04 +00:00
Toshi MARUYAMA
d8b0981330
Traditional Chinese translation updated by ChunChang Lo ( #10366 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 04:15:36 +00:00
Toshi MARUYAMA
2f1d6cd94d
remove trailing white-spaces from public/javascripts/select_list_move.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 04:15:15 +00:00
Toshi MARUYAMA
1214365611
replace tabs to spaces at public/javascripts/select_list_move.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 04:14:51 +00:00
Toshi MARUYAMA
12ad36f474
set svn:eol-style native public/javascripts/calendar/lang/*.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 04:12:04 +00:00
Toshi MARUYAMA
ee54720556
set svn:eol-style native db/migrate/*.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 03:55:03 +00:00
Toshi MARUYAMA
865c2b02e5
set svn:eol-style native public/javascripts/select_list_move.js
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 18:36:41 +00:00
Toshi MARUYAMA
5756ef2941
set svn:eol-style native db/migrate/020_add_role_position.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 16:32:50 +00:00