Commit Graph

274 Commits

Author SHA1 Message Date
Go MAEDA
c447e12274 Configurable columns for related and sub issues lists (#42477).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-02 10:14:41 +00:00
Go MAEDA
e61e405646 Replace deprecated raster icon with SVG in download button for issue comments (#41883).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 03:31:55 +00:00
Marius Balteanu
d1008280d8 Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 10:06:26 +00:00
Go MAEDA
2fe36c4128 Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).
Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant.


git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:38:01 +00:00
Marius Balteanu
ffce07e785 Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.



git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-29 21:46:40 +00:00
Go MAEDA
93645a279e Use anonymous block forwarding introduced in Ruby 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00
Go MAEDA
b3d1deeece Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:45:54 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
52a55f407b Replace String#sub with delete_prefix / delete_suffix (#40008).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:04:37 +00:00
Go MAEDA
36a7932003 Fix related issues count not updating after deleting one of the related issues (#38493).
Patch by Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 07:31:01 +00:00
Go MAEDA
a499d68802 Show parent issues in notification email (#34302).
Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-01 03:46:53 +00:00
Go MAEDA
109b911457 "Property changes" tab does not appear when all issue journals have both notes and property changes (#38217).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-01 07:11:25 +00:00
Go MAEDA
7cf89bf44e Disable RuboCop offense Performance/Sum in IssueFieldsRows#to_html (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:36:36 +00:00
Go MAEDA
21ca0e3d0a Fix RuboCop offense Style/MinMaxComparison (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:10:53 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
0f2378c121 Reverts r21958 and r21959 (#1739).
git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-18 08:17:50 +00:00
Go MAEDA
b3e4214989 Add the ability to change the author of an issue (#1739).
Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-16 09:24:17 +00:00
Go MAEDA
e1928aaf19 Read-only field permission for the project field is ignored if the current project has subprojects (#37685).
Patch by salman mp.


git-svn-id: https://svn.redmine.org/redmine/trunk@21937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-31 09:04:46 +00:00
Go MAEDA
0b886719aa Add CSS class for relation type to related issues list (#37532).
Patch by salman mp and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-05 00:20:56 +00:00
Go MAEDA
c4f94b503e Fix RuboCop offense Style/RedundantParentheses (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 09:14:38 +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
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
d276dca5c5 Query links for related issues on issue page (#35559).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-23 12:59:48 +00:00
Marius Balteanu
0765042d64 Total spent time from issue page should link to global time entries if the issue has subtasks and the subtasks can be on projects that are not descendants of the current project (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:55:09 +00:00
Marius Balteanu
2045128a6f Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:51:36 +00:00
Marius Balteanu
158d21b75c Link total spent time to global time entries page when cross_project_issue_relations are allowed in order to include time entries from other projects (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:28:21 +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
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
0d96c4ebdb Show project ID instead of name in issue journal details if the project is not visible for the current user (#33360).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-18 07:44:42 +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
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
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
f8bf009cd6 Allow to add subtask from context menu (#34303).
Patch by Go MAEDA and Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@20617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-10 15:18:49 +00:00
Toshi MARUYAMA
40c771b339 shorten long line of IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:48:44 +00:00
Toshi MARUYAMA
7aad12703c fix source indent of IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:47:46 +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
9270f37860 use "do end" instead of {} at IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-09 15:57:36 +00:00
Toshi MARUYAMA
9be307d321 fix source indent of IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:43:40 +00:00
Toshi MARUYAMA
c3d78f32c5 remove spaces inside {} of IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:42:42 +00:00
Toshi MARUYAMA
a1201f8ec0 add empty line after guard clause to IssuesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-19 14:06:01 +00:00
Go MAEDA
6e5bd3c429 Untranslated string "diff" in journal detail (#33452).
Patch by Kam Nazir.


git-svn-id: http://svn.redmine.org/redmine/trunk@19780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-16 01:02:45 +00:00
Go MAEDA
ee46c3570e Use scope assignable_watchers (#4511).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-25 08:01:59 +00:00
Go MAEDA
9fdff6a552 Get the list of new issue watchers using single query and limit the results to 20 (#4511).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-25 07:57:46 +00:00
Go MAEDA
6e232ad13e Show open/closed badge on issue page (#33254).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-23 10:13:10 +00:00
Jean-Philippe Lang
dd71338ff1 Split subtasks/relations information into 5 columns (#32889).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:52:51 +00:00
Jean-Philippe Lang
f47ed1a5e2 Move style to css (#32889).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:51:11 +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
Go MAEDA
b995014c49 Allow adding user groups as watchers for issues (#4511).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 08:19:13 +00:00
Toshi MARUYAMA
7867b4dcd5 cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#render_issue_relations
git-svn-id: http://svn.redmine.org/redmine/trunk@19027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:04:54 +00:00
Toshi MARUYAMA
5addd2846d cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells
git-svn-id: http://svn.redmine.org/redmine/trunk@19025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:04:43 +00:00