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
dd92a53b14
Use #safe_attributes= instead.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 19:56:13 +00:00
Jean-Philippe Lang
1cd985dd6b
Option to copy watchers when copying issues ( #10460 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:34:45 +00:00
Jean-Philippe Lang
8fe94c30fe
Adds a link back to the issue list that we are coming from.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:49:40 +00:00
Jean-Philippe Lang
b878a427f2
Retrieve issues in each responder.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 22:04:10 +00:00
Jean-Philippe Lang
71d88e5535
Get rid of sort_helper when using queries.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
b714c71402
Get the count by group from the query directly.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 20:01:01 +00:00
Toshi MARUYAMA
e20adb0532
remove trailing white space from app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-09 04:08:36 +00:00
Jean-Philippe Lang
252804f7da
Redirect to the parent issue after adding a subtask.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 21:24:18 +00:00
Jean-Philippe Lang
cb985627e2
Show visible spent time link for users allowed to view time entries ( #20661 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 10:28:48 +00:00
Jean-Philippe Lang
6fabc10696
Add warning when loosing data from custom fields when bulk editing issues ( #22600 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 14:49:57 +00:00
Jean-Philippe Lang
aa354e6275
Don't join all associations by default ( #24865 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:54:22 +00:00
Jean-Philippe Lang
b60596532e
Don't always load data that is for html response only.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:56:04 +00:00
Jean-Philippe Lang
45879a41b2
Moves journals selection to Issue#visible_journals_with_index ( #17632 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:34:24 +00:00
Jean-Philippe Lang
1bda8ce940
Don't show the "reassign" option when deleting issues from different projects ( #24722 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:26:00 +00:00
Jean-Philippe Lang
1b30422354
Update project_id column in case some time entries were on subtasks of different projects ( #24693 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:16:23 +00:00
Jean-Philippe Lang
987ca8cc2a
Handle time entries on subtasks and prevent from reassigning an issue that is going to be deleted ( #24718 , #24693 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:04:05 +00:00
Jean-Philippe Lang
73ef85f672
Don't bulk edit file custom fields ( #6719 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 11:48:52 +00:00
Jean-Philippe Lang
dcf2e15b06
Bulk edit form not show fields based on target tracker and status ( #23755 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:55:57 +00:00
Jean-Philippe Lang
0925ce756c
Test failure ( #23410 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 12:41:24 +00:00
Jean-Philippe Lang
011606745f
New issue raises an error if no projects available ( #23410 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 11:26:43 +00:00
Jean-Philippe Lang
cad0036297
Use head instead of render :nothing => true.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 06:35:28 +00:00
Jean-Philippe Lang
ee82a55602
Use .before_action instead of .before_filter.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:27:31 +00:00
Jean-Philippe Lang
0a8fe4e552
Preload email addresses for displaying avatars.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 11:14:18 +00:00
Jean-Philippe Lang
f694839c82
Code cleanup ( #23054 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 18:24:02 +00:00
Jean-Philippe Lang
79fcbc82dc
Adds a setting for choosing the new object menu item style ( #15880 ).
...
Set to use the new "+" drop-down by default, but let users revert to the "New issue" tab, or no menu item at all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:26:23 +00:00
Jean-Philippe Lang
c4fd1750f7
Adds permission to edit and delete issues by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 13:45:10 +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
4019ba76ab
Restores the "New issue" tab in the project menu and makes it optional ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-09 17:16:55 +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
dcc569fa34
Removed the "New issue" menu item ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 18:37:52 +00:00
Jean-Philippe Lang
17ea1539ef
Previous/next links may be lost after editing the issue ( #14462 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:00:36 +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
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
48afc0b151
Private note flag disappears in issue update conflict ( #21551 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 10:11:07 +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
3d513cae6e
Use #safe_attributes= for building new time entry.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:16:10 +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
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
b3aaabcb3c
Sort journals by created_on then id ( #14881 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 07:11:41 +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
Jean-Philippe Lang
b64601888f
Preload changeset associations ( #19706 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 09:03:15 +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
f5668d0650
Fixed that the bulk edit form shows additional custom fields ( #19163 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 09:27:09 +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
d509341797
API: creating an issue with an invalid project_id should return 422 instead of 403 ( #19276 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 10:02:45 +00:00
Jean-Philippe Lang
efbbabe620
Don't include unused helper modules.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:13:09 +00:00
Jean-Philippe Lang
8534fc04a0
Updated code comments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:09:06 +00:00