1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

11396 Commits

Author SHA1 Message Date
Jean-Philippe Lang
07b44a4662 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
2014-12-13 14:01:56 +00:00
Jean-Philippe Lang
95f58c69d2 Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 13:24:22 +00:00
Jean-Philippe Lang
b8d2d35e95 Use projects association.
git-svn-id: http://svn.redmine.org/redmine/trunk@13744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 11:09:42 +00:00
Jean-Philippe Lang
ed1f13c97f 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
2014-12-13 11:02:28 +00:00
Jean-Philippe Lang
3b4f6038ff Adds a test for editing a registered user.
git-svn-id: http://svn.redmine.org/redmine/trunk@13742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 21:40:25 +00:00
Jean-Philippe Lang
47f331a63b Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 21:39:43 +00:00
Jean-Philippe Lang
996b39cde1 Removed unused method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 21:33:28 +00:00
Jean-Philippe Lang
2fe806a4a4 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
2014-12-12 20:49:31 +00:00
Toshi MARUYAMA
963719042a 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
2014-12-12 04:58:31 +00:00
Jean-Philippe Lang
0b1b46ae2c Revert r13736, test fails with mysql.
git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 21:12:06 +00:00
Jean-Philippe Lang
7bc3cf94cb Adds a test for search with limited results.
git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 20:18:30 +00:00
Jean-Philippe Lang
d4ebbe5ba8 Adds some helpers tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 17:58:08 +00:00
Jean-Philippe Lang
fcf9cf7bb1 Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:31:48 +00:00
Jean-Philippe Lang
95810125bf 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
2014-12-08 17:30:47 +00:00
Jean-Philippe Lang
2462a8581d Don't create a journal when creating an issue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:18:28 +00:00
Jean-Philippe Lang
ee173b64b8 Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-07 21:32:14 +00:00
Toshi MARUYAMA
b66e68dc82 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
2014-12-07 04:36:47 +00:00
Toshi MARUYAMA
0d04e6bd57 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
2014-12-06 13:57:21 +00:00
Toshi MARUYAMA
52bc28e2d7 German translation updated by Daniel Felix (#18563)
git-svn-id: http://svn.redmine.org/redmine/trunk@13728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:49:50 +00:00
Toshi MARUYAMA
8fc088e1e8 German translation updated by Daniel Felix (#18562)
git-svn-id: http://svn.redmine.org/redmine/trunk@13727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:49:26 +00:00
Toshi MARUYAMA
8caeb9f242 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
2014-12-06 13:49:09 +00:00
Jean-Philippe Lang
a8e3759458 Adds tests for Role#has_permissions?
git-svn-id: http://svn.redmine.org/redmine/trunk@13725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:16:43 +00:00
Jean-Philippe Lang
43b3455111 Adds a test for Watcher.prune with :project option.
git-svn-id: http://svn.redmine.org/redmine/trunk@13724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 13:09:48 +00:00
Jean-Philippe Lang
e09f48e459 Skip some validations if attribute did not change.
git-svn-id: http://svn.redmine.org/redmine/trunk@13723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 11:23:05 +00:00
Jean-Philippe Lang
9c173375c6 Adds a test for #18584.
git-svn-id: http://svn.redmine.org/redmine/trunk@13722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 11:19:54 +00:00
Jean-Philippe Lang
5324fd04b1 Specify the order for finding a setting.
git-svn-id: http://svn.redmine.org/redmine/trunk@13721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:03:29 +00:00
Jean-Philippe Lang
3b6ba58b11 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
2014-12-05 15:02:29 +00:00
Jean-Philippe Lang
ca71cf3800 Adds methods for loading and adding settings.
git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:00:27 +00:00
Jean-Philippe Lang
c084ef509f Adds a few functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:38:48 +00:00
Jean-Philippe Lang
9dae5771bc Un-inline statement.
git-svn-id: http://svn.redmine.org/redmine/trunk@13717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:38:34 +00:00
Jean-Philippe Lang
8992dc9f93 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
2014-12-05 12:37:00 +00:00
Jean-Philippe Lang
2cd00fdc29 Removed unused scopes.
git-svn-id: http://svn.redmine.org/redmine/trunk@13715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:34:59 +00:00
Jean-Philippe Lang
0cfbf9d449 Make sure that Redmine::Thumbnail.generate is called.
git-svn-id: http://svn.redmine.org/redmine/trunk@13714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:22:35 +00:00
Jean-Philippe Lang
7c1445f19a 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
2014-12-05 12:17:20 +00:00
Jean-Philippe Lang
934e3c7de1 Typo.
git-svn-id: http://svn.redmine.org/redmine/trunk@13712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 09:05:03 +00:00
Jean-Philippe Lang
84eee82209 Removed unused and deprecated Issue#move_to_project method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:58:42 +00:00
Jean-Philippe Lang
8323bc98f5 Adds tests for searching private or archived projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:48:29 +00:00
Jean-Philippe Lang
56edfcf6e9 Adds some Attachment tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:35:00 +00:00
Jean-Philippe Lang
89da75623d Adds a test for invalid enumeration class parameter.
git-svn-id: http://svn.redmine.org/redmine/trunk@13708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:18:14 +00:00
Jean-Philippe Lang
c7653df32b Adds tests for invalid parameters.
git-svn-id: http://svn.redmine.org/redmine/trunk@13707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:16:29 +00:00
Jean-Philippe Lang
e111e2bc38 Use :only instead of :except option in IssueRelationsController filters.
git-svn-id: http://svn.redmine.org/redmine/trunk@13706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:14:21 +00:00
Jean-Philippe Lang
50b12518a1 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
2014-12-05 08:10:33 +00:00
Jean-Philippe Lang
a942c1c25e 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
2014-12-05 08:08:00 +00:00
Jean-Philippe Lang
7673910a2d Moved journal details generation to Journal model.
git-svn-id: http://svn.redmine.org/redmine/trunk@13703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:03:32 +00:00
Jean-Philippe Lang
85765a39e4 Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:59:25 +00:00
Jean-Philippe Lang
89add05d2d Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:58:48 +00:00
Jean-Philippe Lang
f4651040b5 Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:57:51 +00:00
Jean-Philippe Lang
ca4ed6df86 Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:54:55 +00:00
Jean-Philippe Lang
0ab49d9c7c Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:54:23 +00:00
Jean-Philippe Lang
795b8df7fc Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-03 20:26:30 +00:00