Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
dd650c5c26
Setting to disable automatic closing of duplicates ( #26192 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 11:40:58 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
b997f03211
Set default assignee before validation ( #26072 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:11:37 +00:00
Toshi MARUYAMA
c7cff810e8
remove trailing white spaces from test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-10 12:30:50 +00:00
Jean-Philippe Lang
cf76867a2f
Adds tests for default assignments ( #482 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-08 08:15:52 +00:00
Jean-Philippe Lang
9506ff1f40
Fixed that watchers list is not updated when changing project on the new issue form ( #17762 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 19:57:00 +00:00
Jean-Philippe Lang
756a102820
Reset status when copying issues ( #23610 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:30:29 +00:00
Jean-Philippe Lang
18f431acc0
Allow to disable description field in tracker setting ( #25052 ).
...
Patch by Go MAEDA and Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:47:58 +00:00
Jean-Philippe Lang
f3627e2a3d
Prevent parent issue from being closed if a child issue is open ( #10989 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-21 09:09:22 +00:00
Jean-Philippe Lang
3b7da88a83
Show an error message when changing an issue's project fails due to errors in child issues ( #23888 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-18 08:54:26 +00:00
Jean-Philippe Lang
bf5dade8df
Use assert_nil instead of assert_equal.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 15:26:41 +00:00
Jean-Philippe Lang
3a2b6c7c96
Enforce issue assignee validation ( #23921 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
d4f57cc2fa
Edit/delete links displayed on issue even if project is closed ( #23969 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 11:00:08 +00:00
Jean-Philippe Lang
752648ebf5
closed_on field of copied issue is always set to source issue's value ( #23764 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 07:43:22 +00:00
Jean-Philippe Lang
55be3ef172
Journalize values that are cleared after project or tracker change ( #21623 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:26:49 +00:00
Jean-Philippe Lang
a20458612e
When copying an issue, all statuses for new issue should be available ( #14696 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:21:32 +00:00
Jean-Philippe Lang
d5ca4a3593
Fixed that restricted custom permissions on for non member/anonymous does not work ( #23655 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 19:24:03 +00:00
Jean-Philippe Lang
f4b885d088
Use #update! instead of #update_attribute.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 16:13:04 +00:00
Jean-Philippe Lang
83777f727a
Assignable users should not include users that cannot view the tracker ( #23172 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-28 20:31:08 +00:00
Jean-Philippe Lang
a23450fe08
Adds issue visibility by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 11:50:09 +00:00
Jean-Philippe Lang
79df68e17f
Limit trackers for new issue to certain roles ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 10:06:17 +00:00
Jean-Philippe Lang
a6828512c0
Adds Issue#allowed_target_trackers ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +00:00
Jean-Philippe Lang
ed50d42210
Replace Date.today with User.current.today ( #22320 ).
...
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.
A test case illustrating the problem with Issue#overdue? is included
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
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