Commit Graph

496 Commits

Author SHA1 Message Date
Jean-Philippe Lang
e0ae0f287a Fixed that grouping issue by key/value custom field does not work (#22178).
git-svn-id: http://svn.redmine.org/redmine/trunk@15224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 13:40:22 +00:00
Jean-Philippe Lang
aeea7f7e23 Adds query params as hidden field tags to the CSV export form (#22108).
git-svn-id: http://svn.redmine.org/redmine/trunk@15202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 09:54:40 +00:00
Jean-Philippe Lang
7467c145c0 Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
  "Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it

Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:50:39 +00:00
Jean-Philippe Lang
ea635ece05 Copying an issue does not copy parent task id (#12893).
git-svn-id: http://svn.redmine.org/redmine/trunk@15058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:47:52 +00:00
Jean-Philippe Lang
0870a3a46e Get a better message when assertion fails.
git-svn-id: http://svn.redmine.org/redmine/trunk@14895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 06:21:24 +00:00
Jean-Philippe Lang
cb0866f313 Render issue attributes using divs instead of a table for responsiveness (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 11:50:36 +00:00
Jean-Philippe Lang
fb8e348254 Set default project version after selecting a different project on the new issue form (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:38:21 +00:00
Jean-Philippe Lang
9178d4748f Default target version for new issues (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:11:36 +00:00
Jean-Philippe Lang
bf1f60f65f Do not clear category on project change if category with same exists (#16941).
git-svn-id: http://svn.redmine.org/redmine/trunk@14715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:57:44 +00:00
Jean-Philippe Lang
b68b5819d5 Hide version and/or category on issue details when no versions and/or categories are defined (#18004).
git-svn-id: http://svn.redmine.org/redmine/trunk@14679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 07:00:38 +00:00
Jean-Philippe Lang
f97d23b1b7 Isolates csv options for a hash param (#1159).
git-svn-id: http://svn.redmine.org/redmine/trunk@14674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-15 18:12:27 +00:00
Jean-Philippe Lang
f9668dfc0d List custom fields with multiple values set as required by workflow can be blank (#20677).
Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@14670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-14 18:02:12 +00:00
Jean-Philippe Lang
498a429a41 Display totals for each group on grouped queries (#1561).
git-svn-id: http://svn.redmine.org/redmine/trunk@14665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 09:02:11 +00:00
Jean-Philippe Lang
446f70f584 Adds options to display totals on the issue list (#1561).
Works for estimated hours, spent hours and any numeric custom field.

git-svn-id: http://svn.redmine.org/redmine/trunk@14642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-04 19:42:37 +00:00
Jean-Philippe Lang
71e04370d8 Confusing name: test public query called "private" (#20740).
Patch by Kirill Smirnov.

git-svn-id: http://svn.redmine.org/redmine/trunk@14617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 12:54:44 +00:00
Jean-Philippe Lang
4b8655cb27 Test failure, now that projects without trackers are ignored (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 12:52:29 +00:00
Jean-Philippe Lang
a5de0fec9e Internal error when moving an issue to a project without trackers (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:18:53 +00:00
Jean-Philippe Lang
59e4b268af Adds a Total estimated hours column on issue list (#20688).
git-svn-id: http://svn.redmine.org/redmine/trunk@14554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-12 12:47:21 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
9749a51443 Asserts that spent time is preloaded.
git-svn-id: http://svn.redmine.org/redmine/trunk@14410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:56:13 +00:00
Jean-Philippe Lang
f6ea714f52 Adds "Total spent hours" column available on the issue list (#11253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:16:56 +00:00
Jean-Philippe Lang
0d1da58a99 Adds a test for #19162.
git-svn-id: http://svn.redmine.org/redmine/trunk@14327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-17 18:32:28 +00:00
Jean-Philippe Lang
09b935b44e Fixed that copying issues always copy subtasks and attachments even if option is unchecked (#11787).
git-svn-id: http://svn.redmine.org/redmine/trunk@14268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-23 07:08:53 +00:00
Toshi MARUYAMA
3568b3729c prevent IssuesControllerTest#test_index_csv_big_5 fails randomly
git-svn-id: http://svn.redmine.org/redmine/trunk@14235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-01 16:30:36 +00:00
Jean-Philippe Lang
9cb9f67055 SQL error with SQLServer when grouping+sorting issues (#19544).
git-svn-id: http://svn.redmine.org/redmine/trunk@14165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-12 09:44:32 +00:00
Jean-Philippe Lang
11e8dc263f When create by copying the issue, status can not be changed to default (#19553).
git-svn-id: http://svn.redmine.org/redmine/trunk@14158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:09:11 +00:00
Jean-Philippe Lang
ab4916b01a Fixed test failures (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 10:05:11 +00:00
Jean-Philippe Lang
1448f1731f Fixed that the bulk edit form shows additional custom fields (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 09:26:18 +00:00
Jean-Philippe Lang
ea099fb771 Don't render the issue form if issue.project is nil (#19276).
git-svn-id: http://svn.redmine.org/redmine/trunk@14146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 16:27:09 +00:00
Jean-Philippe Lang
5c43b4860e Restored project name as version prefix when different (#19348).
git-svn-id: http://svn.redmine.org/redmine/trunk@14108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 14:05:29 +00:00
Jean-Philippe Lang
3da7b1bc28 Implements /issues/new form for creating issues outside a project (#1003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:03:51 +00:00
Jean-Philippe Lang
a328224771 Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:00:22 +00:00
Jean-Philippe Lang
c3c7d9a4d2 Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 12:07:00 +00:00
Jean-Philippe Lang
92cdae4919 Fixed assertion (#18918).
git-svn-id: http://svn.redmine.org/redmine/trunk@13980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:39:23 +00:00
Jean-Philippe Lang
4730ef894f Fixed that group is not displayed when the first group is a boolean custom field group with "No" value (#18896).
git-svn-id: http://svn.redmine.org/redmine/trunk@13922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:36:59 +00:00
Jean-Philippe Lang
0cde1fccbc Fixed that boolean custom field groups have same label for blank and false values (#18894).
git-svn-id: http://svn.redmine.org/redmine/trunk@13921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:23:11 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Toshi MARUYAMA
7f29c2fd88 IssuesControllerTest: make encoding tests independent of ordering (#18856)
Contributed by Antonio Terceiro.

git-svn-id: http://svn.redmine.org/redmine/trunk@13885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-16 04:57:10 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
2a6692248b Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:39:48 +00:00
Jean-Philippe Lang
8ed791d690 Use DOM assertion instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 11:48:00 +00:00
Jean-Philippe Lang
f86d4940e1 Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 14:22:50 +00:00
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
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
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
5222650d95 Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-03 20:21:03 +00:00
Jean-Philippe Lang
430c8fd904 Set notified events as expected.
git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 20:44:29 +00:00
Jean-Philippe Lang
30d65829b8 Configurable behavour for linking issues on copy (#18500).
git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:10:59 +00:00