]> source.dussan.org Git - redmine.git/log
redmine.git
9 years agoAdds table reference to textile help (#12734).
Jean-Philippe Lang [Sun, 14 Dec 2014 20:34:54 +0000 (20:34 +0000)]
Adds table reference to textile help (#12734).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13762 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMissing test helper (#18537).
Jean-Philippe Lang [Sun, 14 Dec 2014 16:31:11 +0000 (16:31 +0000)]
Missing test helper (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13761 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSQLite does not support case insensitive match for non-ASCII characters (#18537).
Jean-Philippe Lang [Sun, 14 Dec 2014 16:30:36 +0000 (16:30 +0000)]
SQLite does not support case insensitive match for non-ASCII characters (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13760 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse custom SQL for MySQL to behave like others DBMS: case-insensitive search without...
Jean-Philippe Lang [Sun, 14 Dec 2014 13:55:52 +0000 (13:55 +0000)]
Use custom SQL for MySQL to behave like others DBMS: case-insensitive search without ignoring accentuation (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13759 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/unit/search_test.rb
Toshi MARUYAMA [Sun, 14 Dec 2014 04:27:43 +0000 (04:27 +0000)]
add missing fixtures to test/unit/search_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13758 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMysql LIKE treats Ö and O the same (#18537).
Jean-Philippe Lang [Sat, 13 Dec 2014 23:11:01 +0000 (23:11 +0000)]
Mysql LIKE treats Ö and O the same (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13757 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoWiki formatting documentation for nested lists (#4518).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:49:13 +0000 (18:49 +0000)]
Wiki formatting documentation for nested lists (#4518).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13756 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved debug stuff.
Jean-Philippe Lang [Sat, 13 Dec 2014 18:40:55 +0000 (18:40 +0000)]
Removed debug stuff.

git-svn-id: http://svn.redmine.org/redmine/trunk@13755 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't use #downcase on search tokens, let the database handle it (#18537).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:36:35 +0000 (18:36 +0000)]
Don't use #downcase on search tokens, let the database handle it (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13754 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoHTML improvements on project landing page (#18565).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:24:10 +0000 (18:24 +0000)]
HTML improvements on project landing page (#18565).

Patch by Tobias Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13753 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMerged datepicker.js into application.js.
Jean-Philippe Lang [Sat, 13 Dec 2014 18:05:05 +0000 (18:05 +0000)]
Merged datepicker.js into application.js.

git-svn-id: http://svn.redmine.org/redmine/trunk@13752 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to SearchControllerTest
Toshi MARUYAMA [Sat, 13 Dec 2014 17:42:18 +0000 (17:42 +0000)]
add missing fixtures to SearchControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@13751 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse a simple count query.
Jean-Philippe Lang [Sat, 13 Dec 2014 16:55:28 +0000 (16:55 +0000)]
Use a simple count query.

git-svn-id: http://svn.redmine.org/redmine/trunk@13750 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixture to MembersHelperTest
Toshi MARUYAMA [Sat, 13 Dec 2014 15:38:49 +0000 (15:38 +0000)]
add missing fixture to MembersHelperTest

Test fails randomly.

<pre>
  1) Error:
MembersHelperTest#test_render_principals_for_new_members:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
    test/object_helpers.rb:38:in `generate!'
    test/unit/helpers/members_helper_test.rb:29:in `test_render_principals_for_new_members'
</pre>

It can be reproduced on clean database and following change.

<pre>
-  fixtures :projects, :users, :members, :member_roles
+  fixtures :projects, :users, :members, :member_roles,
+           :trackers
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13749 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't show roles without issue add/edit permission in workflow setup (#15988).
Jean-Philippe Lang [Sat, 13 Dec 2014 14:47:16 +0000 (14:47 +0000)]
Don't show roles without issue add/edit permission in workflow setup (#15988).

git-svn-id: http://svn.redmine.org/redmine/trunk@13748 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't consider roles without issue add/edit permissions for determining fields permis...
Jean-Philippe Lang [Sat, 13 Dec 2014 14:31:58 +0000 (14:31 +0000)]
Don't consider roles without issue add/edit permissions for determining fields permissions (#15988).

git-svn-id: http://svn.redmine.org/redmine/trunk@13747 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDroped legacy behaviour that allows a user to edit a few attributes of an issue witho...
Jean-Philippe Lang [Sat, 13 Dec 2014 14:01:56 +0000 (14:01 +0000)]
Droped legacy behaviour that allows a user to edit a few attributes of an issue without the edit_issues permission if a status transition is allowed (#15988).

Now that we can control permission on each field, this behaviour is no longer needed. The edit_issues permission is now required, which is consistent with the current requirements for bulk edition.

git-svn-id: http://svn.redmine.org/redmine/trunk@13746 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMisc tests.
Jean-Philippe Lang [Sat, 13 Dec 2014 13:24:22 +0000 (13:24 +0000)]
Misc tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13745 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse projects association.
Jean-Philippe Lang [Sat, 13 Dec 2014 11:09:42 +0000 (11:09 +0000)]
Use projects association.

git-svn-id: http://svn.redmine.org/redmine/trunk@13744 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTry to find out what causes a ruby bus error with ruby2.x on the CI server.
Jean-Philippe Lang [Sat, 13 Dec 2014 11:02:28 +0000 (11:02 +0000)]
Try to find out what causes a ruby bus error with ruby2.x on the CI server.

git-svn-id: http://svn.redmine.org/redmine/trunk@13743 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for editing a registered user.
Jean-Philippe Lang [Fri, 12 Dec 2014 21:40:25 +0000 (21:40 +0000)]
Adds a test for editing a registered user.

git-svn-id: http://svn.redmine.org/redmine/trunk@13742 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Fri, 12 Dec 2014 21:39:43 +0000 (21:39 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13741 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused method.
Jean-Philippe Lang [Fri, 12 Dec 2014 21:33:28 +0000 (21:33 +0000)]
Removed unused method.

git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRewrites search engine to properly paginate results (#18631).
Jean-Philippe Lang [Fri, 12 Dec 2014 20:49:31 +0000 (20:49 +0000)]
Rewrites search engine to properly paginate results (#18631).

Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only.

git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoignore X-Autoreply mails (#15999, #13425)
Toshi MARUYAMA [Fri, 12 Dec 2014 04:58:31 +0000 (04:58 +0000)]
ignore X-Autoreply mails (#15999, #13425)

Contributed by Karel Pičman.

git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRevert r13736, test fails with mysql.
Jean-Philippe Lang [Thu, 11 Dec 2014 21:12:06 +0000 (21:12 +0000)]
Revert r13736, test fails with mysql.

git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for search with limited results.
Jean-Philippe Lang [Thu, 11 Dec 2014 20:18:30 +0000 (20:18 +0000)]
Adds a test for search with limited results.

git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds some helpers tests.
Jean-Philippe Lang [Thu, 11 Dec 2014 17:58:08 +0000 (17:58 +0000)]
Adds some helpers tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13735 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMisc tests.
Jean-Philippe Lang [Mon, 8 Dec 2014 17:31:48 +0000 (17:31 +0000)]
Misc tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't create a journal when creating an issue with attachments.
Jean-Philippe Lang [Mon, 8 Dec 2014 17:30:47 +0000 (17:30 +0000)]
Don't create a journal when creating an issue with attachments.

git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't create a journal when creating an issue.
Jean-Philippe Lang [Mon, 8 Dec 2014 17:18:28 +0000 (17:18 +0000)]
Don't create a journal when creating an issue.

git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMisc tests.
Jean-Philippe Lang [Sun, 7 Dec 2014 21:32:14 +0000 (21:32 +0000)]
Misc tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13731 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix ProjectNestedSetTest fails randomly
Toshi MARUYAMA [Sun, 7 Dec 2014 04:36:47 +0000 (04:36 +0000)]
fix ProjectNestedSetTest fails randomly

<pre>
  1) Error:
ProjectNestedSetTest#test_adding_a_root_to_first_position_should_update_nested_set_order:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
    test/unit/project_nested_set_test.rb:27:in `setup'
</pre>

You can reproduce with following change.

<pre>
 class ProjectNestedSetTest < ActiveSupport::TestCase
+  fixtures :trackers
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13730 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agopdf: use DejaVuSans font in Arabic and Persian (#16040, #18586, #10681)
Toshi MARUYAMA [Sat, 6 Dec 2014 13:57:21 +0000 (13:57 +0000)]
pdf: use DejaVuSans font in Arabic and Persian (#16040, #18586, #10681)

git-svn-id: http://svn.redmine.org/redmine/trunk@13729 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman translation updated by Daniel Felix (#18563)
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:50 +0000 (13:49 +0000)]
German translation updated by Daniel Felix (#18563)

git-svn-id: http://svn.redmine.org/redmine/trunk@13728 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGerman translation updated by Daniel Felix (#18562)
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:26 +0000 (13:49 +0000)]
German translation updated by Daniel Felix (#18562)

git-svn-id: http://svn.redmine.org/redmine/trunk@13727 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: update rbpdf version to 1.18.3 (#16040, #18586, #10681)
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:09 +0000 (13:49 +0000)]
Gemfile: update rbpdf version to 1.18.3 (#16040, #18586, #10681)

git-svn-id: http://svn.redmine.org/redmine/trunk@13726 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds tests for Role#has_permissions?
Jean-Philippe Lang [Sat, 6 Dec 2014 13:16:43 +0000 (13:16 +0000)]
Adds tests for Role#has_permissions?

git-svn-id: http://svn.redmine.org/redmine/trunk@13725 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for Watcher.prune with :project option.
Jean-Philippe Lang [Sat, 6 Dec 2014 13:09:48 +0000 (13:09 +0000)]
Adds a test for Watcher.prune with :project option.

git-svn-id: http://svn.redmine.org/redmine/trunk@13724 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSkip some validations if attribute did not change.
Jean-Philippe Lang [Sat, 6 Dec 2014 11:23:05 +0000 (11:23 +0000)]
Skip some validations if attribute did not change.

git-svn-id: http://svn.redmine.org/redmine/trunk@13723 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for #18584.
Jean-Philippe Lang [Sat, 6 Dec 2014 11:19:54 +0000 (11:19 +0000)]
Adds a test for #18584.

git-svn-id: http://svn.redmine.org/redmine/trunk@13722 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSpecify the order for finding a setting.
Jean-Philippe Lang [Fri, 5 Dec 2014 15:03:29 +0000 (15:03 +0000)]
Specify the order for finding a setting.

git-svn-id: http://svn.redmine.org/redmine/trunk@13721 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSkip uniqueness validation when updating a setting without changing its name.
Jean-Philippe Lang [Fri, 5 Dec 2014 15:02:29 +0000 (15:02 +0000)]
Skip uniqueness validation when updating a setting without changing its name.

git-svn-id: http://svn.redmine.org/redmine/trunk@13720 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds methods for loading and adding settings.
Jean-Philippe Lang [Fri, 5 Dec 2014 15:00:27 +0000 (15:00 +0000)]
Adds methods for loading and adding settings.

git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a few functional tests.
Jean-Philippe Lang [Fri, 5 Dec 2014 12:38:48 +0000 (12:38 +0000)]
Adds a few functional tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUn-inline statement.
Jean-Philippe Lang [Fri, 5 Dec 2014 12:38:34 +0000 (12:38 +0000)]
Un-inline statement.

git-svn-id: http://svn.redmine.org/redmine/trunk@13717 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved dead code, Rails4 handles that in its attribute writer.
Jean-Philippe Lang [Fri, 5 Dec 2014 12:37:00 +0000 (12:37 +0000)]
Removed dead code, Rails4 handles that in its attribute writer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13716 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused scopes.
Jean-Philippe Lang [Fri, 5 Dec 2014 12:34:59 +0000 (12:34 +0000)]
Removed unused scopes.

git-svn-id: http://svn.redmine.org/redmine/trunk@13715 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMake sure that Redmine::Thumbnail.generate is called.
Jean-Philippe Lang [Fri, 5 Dec 2014 12:22:35 +0000 (12:22 +0000)]
Make sure that Redmine::Thumbnail.generate is called.

git-svn-id: http://svn.redmine.org/redmine/trunk@13714 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTab "New Issue" should not be displayed if a project has no trackers (#18571).
Jean-Philippe Lang [Fri, 5 Dec 2014 12:17:20 +0000 (12:17 +0000)]
Tab "New Issue" should not be displayed if a project has no trackers (#18571).

git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTypo.
Jean-Philippe Lang [Fri, 5 Dec 2014 09:05:03 +0000 (09:05 +0000)]
Typo.

git-svn-id: http://svn.redmine.org/redmine/trunk@13712 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused and deprecated Issue#move_to_project method.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:58:42 +0000 (08:58 +0000)]
Removed unused and deprecated Issue#move_to_project method.

git-svn-id: http://svn.redmine.org/redmine/trunk@13711 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds tests for searching private or archived projects.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:48:29 +0000 (08:48 +0000)]
Adds tests for searching private or archived projects.

git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds some Attachment tests.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:35:00 +0000 (08:35 +0000)]
Adds some Attachment tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13709 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for invalid enumeration class parameter.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:18:14 +0000 (08:18 +0000)]
Adds a test for invalid enumeration class parameter.

git-svn-id: http://svn.redmine.org/redmine/trunk@13708 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds tests for invalid parameters.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:16:29 +0000 (08:16 +0000)]
Adds tests for invalid parameters.

git-svn-id: http://svn.redmine.org/redmine/trunk@13707 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse :only instead of :except option in IssueRelationsController filters.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:14:21 +0000 (08:14 +0000)]
Use :only instead of :except option in IssueRelationsController filters.

git-svn-id: http://svn.redmine.org/redmine/trunk@13706 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a test for when link_copied_issue setting is set to "never".
Jean-Philippe Lang [Fri, 5 Dec 2014 08:10:33 +0000 (08:10 +0000)]
Adds a test for when link_copied_issue setting is set to "never".

git-svn-id: http://svn.redmine.org/redmine/trunk@13705 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unimplemented JournalsController#edit html response and added some tests.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:08:00 +0000 (08:08 +0000)]
Removed unimplemented JournalsController#edit html response and added some tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13704 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved journal details generation to Journal model.
Jean-Philippe Lang [Fri, 5 Dec 2014 08:03:32 +0000 (08:03 +0000)]
Moved journal details generation to Journal model.

git-svn-id: http://svn.redmine.org/redmine/trunk@13703 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Thu, 4 Dec 2014 20:59:25 +0000 (20:59 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13702 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Thu, 4 Dec 2014 20:58:48 +0000 (20:58 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13701 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Thu, 4 Dec 2014 20:57:51 +0000 (20:57 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13700 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Thu, 4 Dec 2014 20:54:55 +0000 (20:54 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13699 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Thu, 4 Dec 2014 20:54:23 +0000 (20:54 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unused helper.
Jean-Philippe Lang [Wed, 3 Dec 2014 20:26:30 +0000 (20:26 +0000)]
Removed unused helper.

git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRescue RecordNotSaved in #save_with_content.
Jean-Philippe Lang [Wed, 3 Dec 2014 20:22:46 +0000 (20:22 +0000)]
Rescue RecordNotSaved in #save_with_content.

git-svn-id: http://svn.redmine.org/redmine/trunk@13696 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a few tests.
Jean-Philippe Lang [Wed, 3 Dec 2014 20:21:03 +0000 (20:21 +0000)]
Adds a few tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGet version ids with a single query (was n+1).
Jean-Philippe Lang [Tue, 2 Dec 2014 20:32:09 +0000 (20:32 +0000)]
Get version ids with a single query (was n+1).

git-svn-id: http://svn.redmine.org/redmine/trunk@13694 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved broken and unused method added in r5313.
Jean-Philippe Lang [Tue, 2 Dec 2014 20:23:52 +0000 (20:23 +0000)]
Removed broken and unused method added in r5313.

git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse scope.
Jean-Philippe Lang [Tue, 2 Dec 2014 20:23:20 +0000 (20:23 +0000)]
Use scope.

git-svn-id: http://svn.redmine.org/redmine/trunk@13692 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse simplecov for code coverage, rcov does not support ruby>=1.9.
Jean-Philippe Lang [Tue, 2 Dec 2014 19:59:38 +0000 (19:59 +0000)]
Use simplecov for code coverage, rcov does not support ruby>=1.9.

git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoJapanese translation updated by Go MAEDA (#18535)
Toshi MARUYAMA [Tue, 2 Dec 2014 08:22:11 +0000 (08:22 +0000)]
Japanese translation updated by Go MAEDA (#18535)

git-svn-id: http://svn.redmine.org/redmine/trunk@13690 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTraditional Chinese translation updated and changed by ChunChang Lo (#18519)
Toshi MARUYAMA [Tue, 2 Dec 2014 05:40:22 +0000 (05:40 +0000)]
Traditional Chinese translation updated and changed by ChunChang Lo (#18519)

git-svn-id: http://svn.redmine.org/redmine/trunk@13689 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoBulgarian translation updated by Ivan Cenov (#18507)
Toshi MARUYAMA [Tue, 2 Dec 2014 05:40:13 +0000 (05:40 +0000)]
Bulgarian translation updated by Ivan Cenov (#18507)

git-svn-id: http://svn.redmine.org/redmine/trunk@13688 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGalician (gl) translation updated by Adrián Chaves Fernández (#18502)
Toshi MARUYAMA [Tue, 2 Dec 2014 05:40:05 +0000 (05:40 +0000)]
Galician (gl) translation updated by Adrián Chaves Fernández (#18502)

git-svn-id: http://svn.redmine.org/redmine/trunk@13687 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoJapanese translation updated by Go MAEDA (#18506)
Toshi MARUYAMA [Tue, 2 Dec 2014 05:39:56 +0000 (05:39 +0000)]
Japanese translation updated by Go MAEDA (#18506)

git-svn-id: http://svn.redmine.org/redmine/trunk@13686 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGalician (gl) translation updated by Adrián Chaves Fernández (#18534, #18502)
Toshi MARUYAMA [Tue, 2 Dec 2014 05:06:23 +0000 (05:06 +0000)]
Galician (gl) translation updated by Adrián Chaves Fernández (#18534, #18502)

git-svn-id: http://svn.redmine.org/redmine/trunk@13684 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSet notified events as expected.
Jean-Philippe Lang [Sun, 30 Nov 2014 20:44:29 +0000 (20:44 +0000)]
Set notified events as expected.

git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 16:39:20 +0000 (16:39 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13682 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved unneeded patch in tests.
Jean-Philippe Lang [Sun, 30 Nov 2014 16:16:12 +0000 (16:16 +0000)]
Removed unneeded patch in tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13681 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved helpers for integration tests in a specific class.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:16:43 +0000 (15:16 +0000)]
Moved helpers for integration tests in a specific class.

git-svn-id: http://svn.redmine.org/redmine/trunk@13680 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPull up #setup and #teardown in API tests.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:10:56 +0000 (15:10 +0000)]
Pull up #setup and #teardown in API tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTest cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 15:02:47 +0000 (15:02 +0000)]
Test cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13678 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTextile: ignore invalid lang attribute values (#18501).
Jean-Philippe Lang [Sun, 30 Nov 2014 14:55:03 +0000 (14:55 +0000)]
Textile: ignore invalid lang attribute values (#18501).

git-svn-id: http://svn.redmine.org/redmine/trunk@13677 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDrop shoulda.
Jean-Philippe Lang [Sun, 30 Nov 2014 14:31:53 +0000 (14:31 +0000)]
Drop shoulda.

git-svn-id: http://svn.redmine.org/redmine/trunk@13676 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTest API authentification once.
Jean-Philippe Lang [Sun, 30 Nov 2014 14:11:56 +0000 (14:11 +0000)]
Test API authentification once.

git-svn-id: http://svn.redmine.org/redmine/trunk@13675 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemove contexts in QueryTest.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:41:34 +0000 (13:41 +0000)]
Remove contexts in QueryTest.

git-svn-id: http://svn.redmine.org/redmine/trunk@13674 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGantt unit tests cleanup.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:28:53 +0000 (13:28 +0000)]
Gantt unit tests cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13673 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMakes object argument optional and typo.
Jean-Philippe Lang [Sun, 30 Nov 2014 13:18:22 +0000 (13:18 +0000)]
Makes object argument optional and typo.

git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/functional/projects_controller_test.rb
Toshi MARUYAMA [Sun, 30 Nov 2014 00:17:20 +0000 (00:17 +0000)]
add missing fixtures to test/functional/projects_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13671 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoLocalisation not set correctly on authenticity token errors (#18499).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:16:59 +0000 (15:16 +0000)]
Localisation not set correctly on authenticity token errors (#18499).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13670 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds translation strings (#18500).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:11:30 +0000 (15:11 +0000)]
Adds translation strings (#18500).

git-svn-id: http://svn.redmine.org/redmine/trunk@13669 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoConfigurable behavour for linking issues on copy (#18500).
Jean-Philippe Lang [Sat, 29 Nov 2014 15:10:59 +0000 (15:10 +0000)]
Configurable behavour for linking issues on copy (#18500).

git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds a more specific title for the attachments edit link (#1326).
Jean-Philippe Lang [Sat, 29 Nov 2014 13:55:41 +0000 (13:55 +0000)]
Adds a more specific title for the attachments edit link (#1326).

git-svn-id: http://svn.redmine.org/redmine/trunk@13667 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds :inverse_of option.
Jean-Philippe Lang [Sat, 29 Nov 2014 13:52:29 +0000 (13:52 +0000)]
Adds :inverse_of option.

git-svn-id: http://svn.redmine.org/redmine/trunk@13666 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoEdit attachments after upload (#1326).
Jean-Philippe Lang [Sat, 29 Nov 2014 13:41:53 +0000 (13:41 +0000)]
Edit attachments after upload (#1326).

git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTypo.
Jean-Philippe Lang [Fri, 28 Nov 2014 14:02:57 +0000 (14:02 +0000)]
Typo.

git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved format specific stuff on format specific methods.
Jean-Philippe Lang [Fri, 28 Nov 2014 13:42:47 +0000 (13:42 +0000)]
Moved format specific stuff on format specific methods.

git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGroup filters in the filter select list (#13849).
Jean-Philippe Lang [Fri, 28 Nov 2014 09:31:56 +0000 (09:31 +0000)]
Group filters in the filter select list (#13849).

git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81