]> source.dussan.org Git - redmine.git/log
redmine.git
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

12 years agoRandom test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and...
Jean-Philippe Lang [Thu, 1 Mar 2012 20:34:41 +0000 (20:34 +0000)]
Random test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and sqlite3.

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

12 years agoFixed that the bulk edit/copy form does not propose versions and categories for the...
Jean-Philippe Lang [Thu, 1 Mar 2012 20:22:08 +0000 (20:22 +0000)]
Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350).

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

12 years agoFixes LDAP test.
Jean-Philippe Lang [Thu, 1 Mar 2012 19:47:03 +0000 (19:47 +0000)]
Fixes LDAP test.

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

12 years agoAdds an optional LDAP filter (#1060).
Jean-Philippe Lang [Thu, 1 Mar 2012 16:26:10 +0000 (16:26 +0000)]
Adds an optional LDAP filter (#1060).

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

12 years agoMailHandler: fixed that sender's fullname is not unquoted (#10334).
Jean-Philippe Lang [Thu, 1 Mar 2012 15:32:34 +0000 (15:32 +0000)]
MailHandler: fixed that sender's fullname is not unquoted (#10334).

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

12 years agoback out from r9031 to r9036
Toshi MARUYAMA [Thu, 1 Mar 2012 11:40:22 +0000 (11:40 +0000)]
back out from r9031 to r9036

On Rails3, 'to_s' is not alias of 'encoded'.
'to_s' is alias of 'decoded'.

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

12 years agoRails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:10:27 +0000 (08:10 +0000)]
Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoRails3: test: add .to_s for mail's bodies check at unit/repository_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:09:35 +0000 (08:09 +0000)]
Rails3: test: add .to_s for mail's bodies check at unit/repository_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoRails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:08:58 +0000 (08:08 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoRails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:08:25 +0000 (08:08 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoRails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:07:41 +0000 (08:07 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoRails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:07:10 +0000 (08:07 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

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

12 years agoFixes r9029.
Jean-Philippe Lang [Tue, 28 Feb 2012 06:27:23 +0000 (06:27 +0000)]
Fixes r9029.

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

12 years agoImplements the behaviour expected in user_test.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:46:33 +0000 (05:46 +0000)]
Implements the behaviour expected in user_test.

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

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:35:33 +0000 (05:35 +0000)]
Fixed potential test failure.

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

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:33:46 +0000 (05:33 +0000)]
Fixed potential test failure.

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

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:29:36 +0000 (05:29 +0000)]
Fixed potential test failure.

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

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:25:26 +0000 (05:25 +0000)]
Fixed potential test failure.

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

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:25:04 +0000 (05:25 +0000)]
Fixed potential test failure.

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

12 years agoMailer#url_for not called in views with Rails 3.1.
Jean-Philippe Lang [Mon, 27 Feb 2012 20:43:25 +0000 (20:43 +0000)]
Mailer#url_for not called in views with Rails 3.1.

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