]> source.dussan.org Git - redmine.git/log
redmine.git
12 years agoRemoved dead code.
Jean-Philippe Lang [Sat, 10 Mar 2012 18:20:07 +0000 (18:20 +0000)]
Removed dead code.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9176 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed Gantt months/weeks/days headers display with Ruby 1.9.
Etienne Massip [Sat, 10 Mar 2012 15:10:32 +0000 (15:10 +0000)]
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

12 years agoAdds a test for #9076.
Jean-Philippe Lang [Sat, 10 Mar 2012 13:57:31 +0000 (13:57 +0000)]
Adds a test for #9076.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9174 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMore functional tests for NewsController.
Jean-Philippe Lang [Sat, 10 Mar 2012 13:47:28 +0000 (13:47 +0000)]
More functional tests for NewsController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9173 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse #find_project_by_project_id from super-class.
Jean-Philippe Lang [Sat, 10 Mar 2012 13:44:52 +0000 (13:44 +0000)]
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

12 years agoVariable declaration cleanup.
Etienne Massip [Sat, 10 Mar 2012 13:44:04 +0000 (13:44 +0000)]
Variable declaration cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9171 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMore function tests for AdminController.
Jean-Philippe Lang [Sat, 10 Mar 2012 13:41:56 +0000 (13:41 +0000)]
More function tests for AdminController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9170 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMoved head refs to node titles.
Etienne Massip [Sat, 10 Mar 2012 13:41:09 +0000 (13:41 +0000)]
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

12 years agoMore function tests for MessagesController.
Jean-Philippe Lang [Sat, 10 Mar 2012 13:21:34 +0000 (13:21 +0000)]
More function tests for MessagesController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9168 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/*.rake
Toshi MARUYAMA [Sat, 10 Mar 2012 00:22:07 +0000 (00:22 +0000)]
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

12 years agoset svn:eol-style native lib/tasks/ci.rake
Toshi MARUYAMA [Fri, 9 Mar 2012 11:46:04 +0000 (11:46 +0000)]
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

12 years agoSimplified Chinese "over_x_years" translation changed by fangzheng (#10410)
Toshi MARUYAMA [Fri, 9 Mar 2012 11:40:07 +0000 (11:40 +0000)]
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

12 years agoset svn:eol-style native app/views/repositories/_revision_graph.html.erb
Toshi MARUYAMA [Fri, 9 Mar 2012 09:48:05 +0000 (09:48 +0000)]
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

12 years agoset svn:eol-style native public/javascripts/revision_graph.js
Toshi MARUYAMA [Fri, 9 Mar 2012 09:46:16 +0000 (09:46 +0000)]
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

12 years agoset svn:eol-style native public/stylesheets/*.css
Toshi MARUYAMA [Fri, 9 Mar 2012 08:49:56 +0000 (08:49 +0000)]
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

12 years agoset svn:eol-style native public/javascripts/jstoolbar/lang/*.js
Toshi MARUYAMA [Fri, 9 Mar 2012 08:40:27 +0000 (08:40 +0000)]
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

12 years agoUse #find_project_by_project_id from super-class.
Jean-Philippe Lang [Wed, 7 Mar 2012 20:03:05 +0000 (20:03 +0000)]
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

12 years agoAdds a test for when query is not found.
Jean-Philippe Lang [Wed, 7 Mar 2012 20:00:38 +0000 (20:00 +0000)]
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

12 years agoremove trailing white-space from app/models/repository/git.rb
Toshi MARUYAMA [Wed, 7 Mar 2012 07:56:30 +0000 (07:56 +0000)]
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

12 years agoscm: git: performance improvements in fetching revisions (#8857, #9472)
Toshi MARUYAMA [Wed, 7 Mar 2012 07:56:15 +0000 (07:56 +0000)]
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

12 years agoscm: git: reduce saving heads times in fetching revisions (#8857, #9472)
Toshi MARUYAMA [Wed, 7 Mar 2012 05:57:59 +0000 (05:57 +0000)]
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

12 years agoscm: git: backout r8839 (#8857)
Toshi MARUYAMA [Wed, 7 Mar 2012 05:57:44 +0000 (05:57 +0000)]
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

12 years agoscm: git: backout r8840 (#8857, #9472)
Toshi MARUYAMA [Wed, 7 Mar 2012 05:57:29 +0000 (05:57 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a forum (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 21:36:28 +0000 (21:36 +0000)]
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

12 years agoSet user_id as a protected attribute (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 20:57:33 +0000 (20:57 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a wiki (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 20:34:38 +0000 (20:34 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a version (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 20:31:45 +0000 (20:31 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a time entry (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 20:23:00 +0000 (20:23 +0000)]
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

12 years agoUse safe_attributes= just like in #create.
Jean-Philippe Lang [Tue, 6 Mar 2012 19:52:10 +0000 (19:52 +0000)]
Use safe_attributes= just like in #create.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9135 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPrevent mass-assignment when adding/updating a news (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 19:50:10 +0000 (19:50 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a forum message (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 19:46:59 +0000 (19:46 +0000)]
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

12 years agoPrevent mass-assignment when adding a project member (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 19:39:37 +0000 (19:39 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating an issue category (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 18:59:32 +0000 (18:59 +0000)]
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

12 years agoPrevent mass-assignment when adding/updating a document (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 18:54:41 +0000 (18:54 +0000)]
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

12 years agoPrevent mass-assignment when adding a news comment (#10390).
Jean-Philippe Lang [Tue, 6 Mar 2012 18:48:47 +0000 (18:48 +0000)]
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

12 years agoFixed that the proposed users list may be empty when adding a project member (#10374).
Jean-Philippe Lang [Tue, 6 Mar 2012 18:37:30 +0000 (18:37 +0000)]
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

12 years agoBulgarian translation updated by Ivan Cenov (#10376)
Toshi MARUYAMA [Tue, 6 Mar 2012 03:25:14 +0000 (03:25 +0000)]
Bulgarian translation updated by Ivan Cenov (#10376)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9126 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoSort values for assertion.
Jean-Philippe Lang [Mon, 5 Mar 2012 19:54:03 +0000 (19:54 +0000)]
Sort values for assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9124 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoItalian translation (#10258).
Jean-Philippe Lang [Mon, 5 Mar 2012 17:13:37 +0000 (17:13 +0000)]
Italian translation (#10258).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9122 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoChanged assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
Jean-Philippe Lang [Mon, 5 Mar 2012 11:03:26 +0000 (11:03 +0000)]
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

12 years agoChanged assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
Jean-Philippe Lang [Mon, 5 Mar 2012 10:55:19 +0000 (10:55 +0000)]
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

12 years agoArray#to_s behaviour changed in ruby 1.9.
Jean-Philippe Lang [Mon, 5 Mar 2012 10:49:05 +0000 (10:49 +0000)]
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

12 years agoArray#to_s behaviour changed in ruby 1.9.
Jean-Philippe Lang [Mon, 5 Mar 2012 10:47:04 +0000 (10:47 +0000)]
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

12 years agoTraditional Chinese translation updated by ChunChang Lo (#10366)
Toshi MARUYAMA [Mon, 5 Mar 2012 04:15:36 +0000 (04:15 +0000)]
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

12 years agoremove trailing white-spaces from public/javascripts/select_list_move.js
Toshi MARUYAMA [Mon, 5 Mar 2012 04:15:15 +0000 (04:15 +0000)]
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

12 years agoreplace tabs to spaces at public/javascripts/select_list_move.js
Toshi MARUYAMA [Mon, 5 Mar 2012 04:14:51 +0000 (04:14 +0000)]
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

12 years agoset svn:eol-style native public/javascripts/calendar/lang/*.js
Toshi MARUYAMA [Mon, 5 Mar 2012 04:12:04 +0000 (04:12 +0000)]
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

12 years agoset svn:eol-style native db/migrate/*.rb
Toshi MARUYAMA [Mon, 5 Mar 2012 03:55:03 +0000 (03:55 +0000)]
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

12 years agoset svn:eol-style native public/javascripts/select_list_move.js
Toshi MARUYAMA [Sun, 4 Mar 2012 18:36:41 +0000 (18:36 +0000)]
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

12 years agoset svn:eol-style native db/migrate/020_add_role_position.rb
Toshi MARUYAMA [Sun, 4 Mar 2012 16:32:50 +0000 (16:32 +0000)]
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

12 years agoset svn:eol-style native public/javascripts/calendar/lang/calendar-pl.js
Toshi MARUYAMA [Sun, 4 Mar 2012 16:20:27 +0000 (16:20 +0000)]
set svn:eol-style native public/javascripts/calendar/lang/calendar-pl.js

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9097 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native test/exemplars/*.rb
Toshi MARUYAMA [Sun, 4 Mar 2012 15:28:22 +0000 (15:28 +0000)]
set svn:eol-style native test/exemplars/*.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9096 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCleanup in TimelogController#destroy.
Jean-Philippe Lang [Sun, 4 Mar 2012 15:24:14 +0000 (15:24 +0000)]
Cleanup in TimelogController#destroy.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9095 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a template for API error messages so that it does not depend on AR::Errors seria...
Jean-Philippe Lang [Sun, 4 Mar 2012 15:16:50 +0000 (15:16 +0000)]
Adds a template for API error messages so that it does not depend on AR::Errors serialization.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9094 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoStrip login and password read from the email body.
Jean-Philippe Lang [Sun, 4 Mar 2012 14:08:19 +0000 (14:08 +0000)]
Strip login and password read from the email body.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9093 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds an helper to get the body of an email in tests.
Jean-Philippe Lang [Sun, 4 Mar 2012 14:01:54 +0000 (14:01 +0000)]
Adds an helper to get the body of an email in tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9092 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:55:25 +0000 (13:55 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9091 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoInclude ERB::Util in helpers tests.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:53:38 +0000 (13:53 +0000)]
Include ERB::Util in helpers tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9090 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoNo need to delete fixtures.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:48:44 +0000 (13:48 +0000)]
No need to delete fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9089 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved shoulda assertions.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:43:17 +0000 (13:43 +0000)]
Removed shoulda assertions.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9088 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:39:57 +0000 (13:39 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9087 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds helpers for testing email body.
Jean-Philippe Lang [Sun, 4 Mar 2012 13:28:18 +0000 (13:28 +0000)]
Adds helpers for testing email body.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9086 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/redmine/scm/adapters/mercurial/redminehelper.py
Toshi MARUYAMA [Sun, 4 Mar 2012 13:15:00 +0000 (13:15 +0000)]
set svn:eol-style native lib/redmine/scm/adapters/mercurial/redminehelper.py

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9085 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: :order option has no effect here because of the default_scope on Enumeration.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:50:19 +0000 (12:50 +0000)]
Rails3: :order option has no effect here because of the default_scope on Enumeration.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9084 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoTest cleanup.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:44:58 +0000 (12:44 +0000)]
Test cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:43:55 +0000 (12:43 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9082 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoTest cleanup.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:41:31 +0000 (12:41 +0000)]
Test cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9081 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRenamed Mailer#test to Mailer#test_email.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:38:34 +0000 (12:38 +0000)]
Renamed Mailer#test to Mailer#test_email.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved some generate! calls.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:29:52 +0000 (12:29 +0000)]
Removed some generate! calls.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved some generate! calls.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:15:57 +0000 (12:15 +0000)]
Removed some generate! calls.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9078 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoNo need to save the record.
Jean-Philippe Lang [Sun, 4 Mar 2012 12:03:59 +0000 (12:03 +0000)]
No need to save the record.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9077 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse :joins instead of :include.
Jean-Philippe Lang [Sun, 4 Mar 2012 11:54:52 +0000 (11:54 +0000)]
Use :joins instead of :include.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9076 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved sort order on issues association.
Jean-Philippe Lang [Sun, 4 Mar 2012 11:53:15 +0000 (11:53 +0000)]
Removed sort order on issues association.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9075 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 11:45:15 +0000 (11:45 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9074 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 11:41:10 +0000 (11:41 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9073 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native test/exemplars/version_exemplar.rb
Toshi MARUYAMA [Sun, 4 Mar 2012 11:08:32 +0000 (11:08 +0000)]
set svn:eol-style native test/exemplars/version_exemplar.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9072 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds Redmine::Utils.random_hex for generating a random hex string.
Jean-Philippe Lang [Sun, 4 Mar 2012 11:05:02 +0000 (11:05 +0000)]
Adds Redmine::Utils.random_hex for generating a random hex string.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9071 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/migrate_plugins.rake
Toshi MARUYAMA [Sun, 4 Mar 2012 11:00:28 +0000 (11:00 +0000)]
set svn:eol-style native lib/tasks/migrate_plugins.rake

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9070 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/migrate_from_mantis.rake
Toshi MARUYAMA [Sun, 4 Mar 2012 10:55:12 +0000 (10:55 +0000)]
set svn:eol-style native lib/tasks/migrate_from_mantis.rake

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9069 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/load_default_data.rake
Toshi MARUYAMA [Sun, 4 Mar 2012 10:45:33 +0000 (10:45 +0000)]
set svn:eol-style native lib/tasks/load_default_data.rake

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9068 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sun, 4 Mar 2012 10:44:59 +0000 (10:44 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9067 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/fetch_changesets.rake
Toshi MARUYAMA [Sun, 4 Mar 2012 10:35:28 +0000 (10:35 +0000)]
set svn:eol-style native lib/tasks/fetch_changesets.rake

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9066 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds Redmine::Plugin.public_directory to be used instead of Engines.public_directory.
Jean-Philippe Lang [Sun, 4 Mar 2012 10:29:47 +0000 (10:29 +0000)]
Adds Redmine::Plugin.public_directory to be used instead of Engines.public_directory.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9065 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoset svn:eol-style native lib/tasks/email.rake
Toshi MARUYAMA [Sun, 4 Mar 2012 10:24:01 +0000 (10:24 +0000)]
set svn:eol-style native lib/tasks/email.rake

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9064 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoExtracted auto_link and auto_mailto to a module.
Jean-Philippe Lang [Sun, 4 Mar 2012 10:04:46 +0000 (10:04 +0000)]
Extracted auto_link and auto_mailto to a module.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse regular create! instead of generate!
Jean-Philippe Lang [Sat, 3 Mar 2012 19:47:20 +0000 (19:47 +0000)]
Use regular create! instead of generate!

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9062 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoves all #verify calls in controllers. Verification is handled at routing level...
Jean-Philippe Lang [Sat, 3 Mar 2012 15:09:20 +0000 (15:09 +0000)]
Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved obsolete demo environment file.
Jean-Philippe Lang [Sat, 3 Mar 2012 12:43:59 +0000 (12:43 +0000)]
Removed obsolete demo environment file.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9060 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse require instead of require_library_or_gem.
Jean-Philippe Lang [Sat, 3 Mar 2012 12:41:23 +0000 (12:41 +0000)]
Use require instead of require_library_or_gem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9059 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a test for displaying list custom fields on the new issue form.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:57:57 +0000 (16:57 +0000)]
Adds a test for displaying list custom fields on the new issue form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9058 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse a single query to retrieve issues on the roadmap.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:27:14 +0000 (16:27 +0000)]
Use a single query to retrieve issues on the roadmap.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9057 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse a single query to retrieve issues_count, open_issues_count and closed_issues_count.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:26:06 +0000 (16:26 +0000)]
Use a single query to retrieve issues_count, open_issues_count and closed_issues_count.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9056 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse #issues_count which is already retrieved.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:23:10 +0000 (16:23 +0000)]
Use #issues_count which is already retrieved.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9055 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a test for when updating a news fails.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:43:33 +0000 (11:43 +0000)]
Adds a test for when updating a news fails.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9054 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds functional test for #test_connection.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:31:44 +0000 (11:31 +0000)]
Adds functional test for #test_connection.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9053 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds functional tests for LdapAuthSourcesController.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:25:19 +0000 (11:25 +0000)]
Adds functional tests for LdapAuthSourcesController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9052 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed DarcsAdapter for ruby 1.9.3.
Jean-Philippe Lang [Fri, 2 Mar 2012 08:40:41 +0000 (08:40 +0000)]
Fixed DarcsAdapter for ruby 1.9.3.

Unlike 1.8 and 1.9.2, Entries#compact returns an Array with 1.9.3, instead of an Entries object, resulting in a "undefined method `sort_by_name'" error.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9051 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse valid filters in #test_index_with_sort_filters.
Jean-Philippe Lang [Fri, 2 Mar 2012 07:38:43 +0000 (07:38 +0000)]
Use valid filters in #test_index_with_sort_filters.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9050 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPrevent test:scm:setup:* task to overwrite if the test repository already exists.
Jean-Philippe Lang [Thu, 1 Mar 2012 21:01:37 +0000 (21:01 +0000)]
Prevent test:scm:setup:* task to overwrite if the test repository already exists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9049 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved obsolete helper empty test class.
Jean-Philippe Lang [Thu, 1 Mar 2012 20:46:06 +0000 (20:46 +0000)]
Removed obsolete helper empty test class.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9048 e93f8b46-1217-0410-a6f0-8f06a7374b81