Commit Graph

214 Commits

Author SHA1 Message Date
Go MAEDA
2b00670e4d Use Commonmarker instead of Redcarpet by default when rendering Markdown attachments (#36807, #38372).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-23 04:45:19 +00:00
Go MAEDA
dc50caf1be Update Rouge to 4.1 (#37236).
git-svn-id: https://svn.redmine.org/redmine/trunk@22111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-15 00:56:37 +00:00
Go MAEDA
91705e083b Support for WebP images (#38168).
* Inline image
* Thumbnail
* Inserting markup for an image uploaded by drag and drop

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 01:23:36 +00:00
Go MAEDA
025323f5ba Add guard clause to time_tag method to handle nil time (#38139).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:56:47 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +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
Marius Balteanu
0b72c5bfa7 Fix mentioning users with certain characters renders incorrectly (#37755).
Patch Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-03 13:21:17 +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
47b17044d2 Fix RuboCop offense Style/RedundantStringEscape (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:14:08 +00:00
Go MAEDA
54f281fef9 Don't create two thumbnails of different resolutions for a single image (#37597).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-28 06:35:42 +00:00
Go MAEDA
59b6f8117d Fix RuboCop offense Layout/LineLength due to r21757 (#37532).
git-svn-id: https://svn.redmine.org/redmine/trunk@21758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-05 01:16:24 +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
Marius Balteanu
23874fa913 Render mentioned users with leading @ and highlight (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +00:00
Go MAEDA
8529e39e6d Show a custom field description as a placeholder (#14275).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 11:52:12 +00:00
Go MAEDA
b51d40fe38 Comments for Textile text formatting (#20511).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
fbca88afc4 Add class @user-mention@ to user classes when user is linked using @ (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 21:54:30 +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
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
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
f6acc5164c Add missing fixture to IssuesHelperTest (#36347).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-24 04:45:16 +00:00
Go MAEDA
e623582536 Lazy load inline images (#36294).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 01:24:13 +00:00
Go MAEDA
b4dbd821c9 Issue Summary: add statistics about issues without assignee, version or category (#13099).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-12 04:40:32 +00:00
Go MAEDA
0a5ef25e87 Download all attachments in a journal (#35462).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-22 08:42:44 +00:00
Go MAEDA
bc3938fca3 Fix NoMethodError when generating a link to a locked user (#12795, #35823).
git-svn-id: http://svn.redmine.org/redmine/trunk@21217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-07 14:59:40 +00:00
Go MAEDA
4aef1bf491 Fix that test_link_to_principal_should_link_to_user does not actually test anything (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-31 02:17:34 +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
b7798e6e1c Unify code block and add "data-language" attribute with the user-supplied language for Textile and Markdown formaters (#35104).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 21:00:16 +00:00
Go MAEDA
f5ac84a516 Inline image in Textile is not displayed if the image URL contains ampersands (#35441).
Contributed by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 08:25:15 +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
08108b8ebe Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:49:01 +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
605dadd374 Set "icon icon-group" CSS classes in _members_box.html.erb instead of ApplicationHeler (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-20 21:35:06 +00:00
Go MAEDA
56a7fd22c7 Add link from group name to group page on project overview page (#12795).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-19 15:13:58 +00:00
Go MAEDA
53b34f63c7 "Copy link" feature for issues list (#34932).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 07:20:47 +00:00
Go MAEDA
b8d0541955 Fix user link using @ not working at the end of line (#34894).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 03:04:51 +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
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
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
e5d13152be Add missing fixtures (#33602).
git-svn-id: http://svn.redmine.org/redmine/trunk@20781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-13 03:01:33 +00:00
Go MAEDA
7152e5b9df The order of thumbnails in journals does not match the order of file name list (#33459).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-09 14:21:55 +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
a8072b0d0f Add an interface to filter activities by user (#33602).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-21 01:45:16 +00:00
Toshi MARUYAMA
a375178504 shorten long line of VersionsHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:05 +00:00
Toshi MARUYAMA
c3054233ab remove redundant 'return' from ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-17 13:10:56 +00:00
Toshi MARUYAMA
7afb0995c2 shorten long line of ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 15:49:14 +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
43b245acdc shorten long line of ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-10 13:34:31 +00:00
Toshi MARUYAMA
d02eed94d9 shorten long line of SearchHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-09 14:12:00 +00:00
Toshi MARUYAMA
5c01a14a2d shorten long line of ApplicationHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:20:19 +00:00