Commit Graph

404 Commits

Author SHA1 Message Date
Toshi MARUYAMA
7ad9065c01 use "do end" instead of {} at IssuesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-09 13:24:14 +00:00
Go MAEDA
b46953247d Replace Hash#merge! with Hash#[]= (#34160).
git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 05:33:23 +00:00
Toshi MARUYAMA
69e0e04676 fix source indent of IssuesController#destroy
git-svn-id: http://svn.redmine.org/redmine/trunk@19916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-19 14:05:53 +00:00
Jean-Philippe Lang
31c8e71d8e Set time entry author in controller (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 19:24:32 +00:00
Go MAEDA
6e781f6479 Fix that "Successful deletion" notice is not displayed after deleting some types of content (#33116).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-04 00:43:28 +00:00
Go MAEDA
af36d450e4 Reverts r19569 (#33071).
404 error after deleting an attachment.


git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-14 03:49:44 +00:00
Go MAEDA
463e8163fc Require sudo mode for actions to delete contents (#33071).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:26:23 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
677dfdc883 replace multi line block "{}" to "do end" in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:31:04 +00:00
Toshi MARUYAMA
e27dc4d547 cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:53 +00:00
Toshi MARUYAMA
8ee394e97a cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:42 +00:00
Toshi MARUYAMA
4a9d5faaf1 cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:50:04 +00:00
Toshi MARUYAMA
e82fcb3fc5 cleanup: rubocop: fix Layout/SpaceAfterComma in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:49:53 +00:00
Toshi MARUYAMA
f50d50f7b8 code layout clean up app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:49:43 +00:00
Toshi MARUYAMA
5b1bd277f8 code layout clean up IssuesController#build_new_issue_from_params
git-svn-id: http://svn.redmine.org/redmine/trunk@19153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:36 +00:00
Toshi MARUYAMA
3b71b71710 code layout clean up IssuesController#update_issue_from_params
git-svn-id: http://svn.redmine.org/redmine/trunk@19152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:25 +00:00
Toshi MARUYAMA
b5574321f9 code layout clean up IssuesController#bulk_edit
git-svn-id: http://svn.redmine.org/redmine/trunk@19151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:14 +00:00
Toshi MARUYAMA
e8343c1f9d code layout clean up IssuesController#create
git-svn-id: http://svn.redmine.org/redmine/trunk@19150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:03 +00:00
Toshi MARUYAMA
b63b388d8a code layout clean up IssuesController#show
git-svn-id: http://svn.redmine.org/redmine/trunk@19149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:53 +00:00
Toshi MARUYAMA
32dd182e25 code layout clean up IssuesController#index
git-svn-id: http://svn.redmine.org/redmine/trunk@19148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:42 +00:00
Toshi MARUYAMA
bee8063f46 code layout clean up IssuesController#update
git-svn-id: http://svn.redmine.org/redmine/trunk@19146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:21 +00:00
Toshi MARUYAMA
c611a585ad cleanup: rubocop: fix Layout/AlignArguments in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 01:37:14 +00:00
Toshi MARUYAMA
f891a28152 code layout clean up app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:39:31 +00:00
Toshi MARUYAMA
c66df09e23 code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:14:56 +00:00
Go MAEDA
2158e3f2c6 Fix that "Associated revisions" tab has no content when the user displays comments in reverse chronological order (#32198, #3058).
Patch by José Esteves.


git-svn-id: http://svn.redmine.org/redmine/trunk@18598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-05 23:57:33 +00:00
Jean-Philippe Lang
94c2356f38 Load changesets and time entries tabs async (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:12:30 +00:00
Jean-Philippe Lang
0714ced815 Add time entries tab to issue history tabs (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:11:26 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
07b3087fda Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Jean-Philippe Lang
7a11864812 Support issue[assigned_to_id]=me when prefilling issues (#28502).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:37:04 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
ede29cde28 Adds a link to remove a subtask from its parent task (#23392).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 07:38:03 +00:00
Go MAEDA
c9cf695ad7 Wrong columns after CSV export (#26785).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-04 09:23:18 +00:00
Go MAEDA
a500e8fafc Don't allow reassigning reported hours to the project if issue is a required field for time logs (#28110).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-18 04:24:05 +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
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