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
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
b17883a2df
IssuesController#edit as XML is not implemented.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:02:54 +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
37aa016740
Added Issue#attributes_editable?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 19:30:15 +00:00
Jean-Philippe Lang
9548d39a15
Moved users list diplayed as available watchers on the new issue form to an helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 17:32:26 +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
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
7a0432d85c
Adds support for macro and Redmine links in PDF export ( #13051 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:04:52 +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
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
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
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