Jean-Philippe Lang
40c9c3e922
Notify the user of missing attachments ( #22401 ).
...
under certain (rare) circumstances it may happen that, when an issue or other
container is saved, added attachments have already been removed (i.e. by the
attachments:prune rake task). This patch adds a validation error to the
container in this case.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:31:20 +00:00
Jean-Philippe Lang
05a9275fda
"I don't want to be notified of changes that I make myself" as Default for all User ( #14574 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-03 11:33:28 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
9473a373a5
Verify assigned_to_id when assigning safe_attributes ( #22127 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 13:09:23 +00:00
Jean-Philippe Lang
01cf5ed968
Private notes get copied without private flag to Duplicate issues ( #22072 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 08:21:32 +00:00
Jean-Philippe Lang
300e5e4652
After copying a task, setting the parent as the orignal task's parent triggers an error ( #17580 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:31:50 +00:00
Jean-Philippe Lang
3a48f09d4f
Can't set parent issue when issue relations among child issues are present ( #13654 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:12:28 +00:00
Jean-Philippe Lang
a5fd84f00e
Don't include locked user in assignable users ( #21477 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:37:56 +00:00
Jean-Philippe Lang
b095389a60
Adds a test for #21477 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:36:11 +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
68620da79a
Don't require category or target version when they are not available ( #20583 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-24 06:22:55 +00:00
Jean-Philippe Lang
8160f2addb
Adds a scope to get issues assigned to a user.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 17:00:14 +00:00
Jean-Philippe Lang
671fce04de
Don't propose projects without trackers when editing an issue ( #20463 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:38:01 +00:00
Jean-Philippe Lang
1def32c4dd
Fixed that members without view issues permission are able to list issues on public projects if the non member role has the permission ( #20206 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-25 06:44:01 +00:00
Jean-Philippe Lang
6b11840b42
Fixed that issue validation fails if % done field is deactivated ( #19731 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 09:48:11 +00:00
Jean-Philippe Lang
9415eff064
When changing tracker, clear the attributes that are disabled for the new tracker ( #17527 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 17:16:52 +00:00
Jean-Philippe Lang
a9f052532e
Fixed workflow rules when user has duplicated role by inheritance ( #19569 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 17:01:23 +00:00
Jean-Philippe Lang
84c8ca6fef
Fixed that custom fields with hidden/read-only combination may be displayed on issue form ( #19297 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 09:17:54 +00:00
Jean-Philippe Lang
3789a8539e
Missing notification if previous assignee was a group ( #19197 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 08:20:18 +00:00
Jean-Philippe Lang
8667505e23
Don't validate custom fields that are not editable ( #19193 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-01 13:23:52 +00:00
Jean-Philippe Lang
aa46a21637
Changed assertion to see what issues contains ( #19106 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 11:35:19 +00:00
Jean-Philippe Lang
01f673be08
Removed :move_issues permission ( #18855 ).
...
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.
git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +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
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
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
49fdc5556b
Set locale for error messages.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 13:35:57 +00:00
Jean-Philippe Lang
453803c68f
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
2014-12-13 14:31:58 +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
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
4cd67587ce
Fixed that a disabled field which is required by workflow rules blocks issue creation/update ( #17744 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:49:46 +00:00
Jean-Philippe Lang
dfc594c337
Default status per tracker ( #5991 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 19:45:14 +00:00
Jean-Philippe Lang
c0f082ad02
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-25 09:35:17 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Jean-Philippe Lang
7e7ac5340a
Adds buit-in groups to give specific permissions to anonymous and non members users per project ( #17976 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-28 14:51:08 +00:00
Jean-Philippe Lang
382ca5055a
Field set as read-only still available in the issues list context menu ( #16755 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-02 07:32:41 +00:00
Toshi MARUYAMA
a0baf7ee5d
fix wrong issue 'assigned-to-my-group' css class ( #16038 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 12:16:27 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
c47940f4a5
remove unneeded Relation#all from IssueTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 00:08:15 +00:00
Toshi MARUYAMA
9941a987e9
add more comment about awesome_nested_set 2-1-stable branch regression
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-26 09:10:58 +00:00
Toshi MARUYAMA
38fa36d23b
remove Rails4 deprecated Relation#all from IssueTest#test_visible_and_nested_set_scopes and add awesome_nested_set regression test
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-26 09:05:59 +00:00
Toshi MARUYAMA
bb54f0b7c5
Rails4: replace deprecated Relation#first with finder options at IssueTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 04:22:47 +00:00
Toshi MARUYAMA
92a948855e
Rails4: replace deprecated Relation#update_all at IssueTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 03:35:14 +00:00
Toshi MARUYAMA
e80d9bb69a
Rails4: replace deprecated Relation#update_all at IssueTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 10:11:32 +00:00
Toshi MARUYAMA
8dc4992973
Rails4: replace deprecated find_all_by_* at IssueTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 15:42:49 +00:00
Jean-Philippe Lang
5c5ba0c61a
Fixed that time entries custom values are not deleted when deleting a project or an issue ( #15709 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-18 18:39:09 +00:00
Jean-Philippe Lang
0ee2af4c06
Fixed that previous assignee is not notified on issue update ( #15714 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-17 20:48:18 +00:00
Toshi MARUYAMA
436d44962d
add test to send one mail with both settngs in creating issue ( #15612 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-06 23:22:38 +00:00
Toshi MARUYAMA
b212fdb72b
add test not to send mail with no settng in creating issue ( #15612 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-06 23:22:26 +00:00
Toshi MARUYAMA
dceee1ea9a
explicitly use mail send setting in unit issue test ( #15612 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-06 23:22:15 +00:00