Commit Graph

590 Commits

Author SHA1 Message Date
Go MAEDA
f52b3f90eb Mark edited journal notes as "Edited" (#31505).
Patch by Marius BALTEANU.


git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 04:40:01 +00:00
Go MAEDA
630b71975f Wiki notation attachment:file_name cannot make a link to a file attached to other journals (#35462).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-26 15:36:46 +00:00
Go MAEDA
05714ab18a IssuesControllerTest randomly fails (#36716).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@21445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-03 13:55:22 +00:00
Marius Balteanu
4807beaebf Explicitly specify text formatting in the tests (#35952).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Go MAEDA
a5785c8ee6 Display source project for cross-project associated revisions for issues (#5242).
Contributed by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-18 15:03:29 +00:00
Go MAEDA
873580ca74 Permission check of the setting button on the issues page mismatches button semantics (#35090).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-10 07:11:14 +00:00
Go MAEDA
f670f0e572 Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +00:00
Go MAEDA
bcdb13f1fd Change Delete button name to Delete issue (#31278).
Contributed by Frederico Camara.


git-svn-id: http://svn.redmine.org/redmine/trunk@21346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-05 00:05:45 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
4db7397d2a Use File.exist? instead of deprecated File.exists? (#36358).
git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 03:20:31 +00:00
Go MAEDA
578e367c8c Allow addition/removal of subtasks to show in parent's history (#6033).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 14:22:06 +00:00
Go MAEDA
68fce8e97d Fix RuboCop offense Naming/MethodName due to r21269 (#29076).
git-svn-id: http://svn.redmine.org/redmine/trunk@21272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 14:12:05 +00:00
Marius Balteanu
e9b94a19de Adds button to "Create and follow" when adding a subtask from the parent issue. Now the user have the following options:
* Create: redirects the user to the parent task (existing behaviour)
* Create and follow: redirects the user to the newly created subtask (new behaviour)
* Create and add another: redirects the user to new subtask (existing behaviour).

(#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-06 09:11:58 +00:00
Marius Balteanu
fe4d0d93da Fixed "Layout/IndentationWidth: Use 2 (not 4) spaces for indentation." introduced by r21141 (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 20:26:23 +00:00
Marius Balteanu
f31a1e2bbb Fixed attachments deletable by user without edit issue permission on tracker (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:50:11 +00:00
Marius Balteanu
1146831b3d Adds tests for issue attachment edit by user without edit issue permission on tracker (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:48:47 +00:00
Marius Balteanu
7e2f3352db Fix that updating an issue from context menu to a none value do not set the field to blank (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:41:01 +00:00
Marius Balteanu
805b36cbfb Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 17:25:13 +00:00
Marius Balteanu
3ebe6a8b0a When updating an issue, allow adding time entry on an issue that was visible for the previous assignee (#34856).
git-svn-id: http://svn.redmine.org/redmine/trunk@21081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:20:41 +00:00
Go MAEDA
a6e09913b7 Link from assignee to group page (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-20 21:39:17 +00:00
Go MAEDA
7f965286ed Default issue query (#7360).
Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-06 06:01:50 +00:00
Go MAEDA
f30c91341a Rails 6.1: add header=present to csv tests (#29914, #32921).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:59:31 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
8e3a857802 Restore Copy button to its original location (#34714).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 04:21:14 +00:00
Go MAEDA
319e8a2620 Show project tree instead of subprojects in the project selector when you create a new issue (#34798).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 01:42:00 +00:00
Go MAEDA
44ea826a21 "Copy link" feature for issue and issue journal (#34703).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-18 03:58:29 +00:00
Go MAEDA
c54349cc0b Do not display in issue edit page spent time custom fields not visible by the user (#33550).
Patch by  Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-15 23:32:52 +00:00
Go MAEDA
6e93adbec3 Move some action links for issues and journals to the dropdown menu (#34714).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-07 06:46:41 +00:00
Go MAEDA
097e75987b Fix project selector on global new issue page not showing all visible projects (#33419).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-01 04:22:22 +00:00
Go MAEDA
091dd36acc Show a warning message for watchers who cannot view the object (#33329).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-24 05:38:22 +00:00
Go MAEDA
6bca099013 Some fixes for r20321:
* Include only visible issues in subtasks stats
* Get subtasks using only one query
* Show all subtasks count as badge
* Add tests

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-18 07:11:47 +00:00
Go MAEDA
354d30df31 Add class 'error' to custom fields with validation errors (#32764, #34580).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-11 12:26:44 +00:00
Go MAEDA
3f3514d8b1 Show only valid projects on issue form when the issue is a subtask (#33419).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-01 00:59:07 +00:00
Go MAEDA
93d98bfff8 Make sure that "is not" operator for Subproject filter does not exclude closed subprojects (#34375).
The issue has been fixed in r20693 along with #34297.


git-svn-id: http://svn.redmine.org/redmine/trunk@20694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-28 00:52:11 +00:00
Go MAEDA
36b5c32048 Subprojects issues are not displayed on main project when all subprojects are closed (#34297).
Patch by Yuichi HARADA and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-27 06:46:37 +00:00
Go MAEDA
843f13f7e2 Revert r19810 (#10535).
git-svn-id: http://svn.redmine.org/redmine/trunk@20685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-22 11:52:16 +00:00
Toshi MARUYAMA
7955452b6a use 'assert_not' instead of 'assert !' at IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:33:19 +00:00
Toshi MARUYAMA
4148f9c743 shorten long line of IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:34 +00:00
Go MAEDA
afed0f3748 Move the "Private" badge next to the "Open/Closed" badge (#33832).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-11 07:39:59 +00:00
Toshi MARUYAMA
ffaa46fea1 use with_settings at IssuesControllerTest#test_index_with_project_and_subprojects_should_show_private_subprojects_with_permission
git-svn-id: http://svn.redmine.org/redmine/trunk@20216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-27 15:19:28 +00:00
Toshi MARUYAMA
9bb9287970 use with_settings at IssuesControllerTest#test_index_with_project_and_subprojects
git-svn-id: http://svn.redmine.org/redmine/trunk@20204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-26 13:36:20 +00:00
Toshi MARUYAMA
4fc83183e1 use with_settings at IssuesControllerTest#test_index_with_project
git-svn-id: http://svn.redmine.org/redmine/trunk@20188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 14:40:41 +00:00
Toshi MARUYAMA
5280861cf3 use with_settings at IssuesControllerTest#test_show_should_not_disclose_relations_to_invisible_issues
git-svn-id: http://svn.redmine.org/redmine/trunk@20167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 14:18:44 +00:00
Toshi MARUYAMA
2c9f822be9 add functional test "bulk copy should show follow button when project is selected"
git-svn-id: http://svn.redmine.org/redmine/trunk@20078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:07:28 +00:00
Toshi MARUYAMA
4fdac0655a add functional test "bulk_edit should hide follow button when project is not changed"
git-svn-id: http://svn.redmine.org/redmine/trunk@20065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:04:33 +00:00
Toshi MARUYAMA
e5d7ece6f2 fix source indent of IssuesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:02:51 +00:00
Toshi MARUYAMA
8555cfbcb0 add functional test "bulk_edit should show follow button when project is selected"
git-svn-id: http://svn.redmine.org/redmine/trunk@20049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-17 15:49:30 +00:00
Toshi MARUYAMA
da22acd8b7 assert explicitly to hide 'follow' button at IssuesControllerTest#test_get_bulk_edit
git-svn-id: http://svn.redmine.org/redmine/trunk@20028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-12 12:58:37 +00:00
Go MAEDA
a7b9fa9996 Fix that Issues API bypasses add_issue_notes permission (#33689).
Patch by Junya Tomono and Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-12 02:28:46 +00:00