Commit Graph

670 Commits

Author SHA1 Message Date
Go MAEDA
3942177f49 Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:20:52 +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
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
f094471ff5 Fix shadowing variable in ApplicationHelper#textilizable (#15667).
Patch by Ilya S.


git-svn-id: https://svn.redmine.org/redmine/trunk@21991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-16 07:59: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
df88b9c7dd Issue ID field does not get focus when adding a related issue (#37473).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-28 09:18:31 +00:00
Marius Balteanu
91e2efb6a9 Update Rails UJS to 6.1.7 (#37647).
git-svn-id: https://svn.redmine.org/redmine/trunk@21812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-14 20:49:41 +00:00
Marius Balteanu
f4921cb55d Update jQuery to 3.6.1 (#37647).
git-svn-id: https://svn.redmine.org/redmine/trunk@21811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-14 20:45:00 +00:00
Go MAEDA
0adef152d6 Update jQuery UI to 1.13.2 (#37492).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-13 09:38:26 +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
Marius Balteanu
b1352bb1e6 Fix rubocop warning (Add empty line after guard clause).
git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-17 10:32:44 +00:00
Marius Balteanu
6ec69aaa05 Update jQuery UI to 1.31.1 (#37256).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:48:11 +00:00
Marius Balteanu
1a3ee38c2e Respect field visibility when showing associated issue fields (#37255).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +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
Marius Balteanu
2a60a7bd79 Fix that mentions not working after issue status is changed (#36909).
git-svn-id: https://svn.redmine.org/redmine/trunk@21569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-11 20:29:14 +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
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
8470b8b478 Update jQuery to 3.6.0 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 20:45:56 +00:00
Marius Balteanu
ba74ba1c70 Allow users to be mentioned using @ in issues and wiki pages (#13919):
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned



git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +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
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
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
33b5cf1c73 Rename the save, edit and delete buttons on the query form to clarify the scope (#34494).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-17 12:41:58 +00:00
Marius Balteanu
1f0f9d49c1 Revert r21179 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 08:59:50 +00:00
Marius Balteanu
baaa635d2f Update jQuery to 3.6.0 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 08:20:01 +00:00
Marius Balteanu
b897b13ba8 Render markdown attachments using markdown or common_mark based on the text formatting setting (#32424).
Patch by Marius BĂLTEANU and Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:52:04 +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
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
ec3527102d Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:51:14 +00:00
Go MAEDA
4740307f11 Fix typo in ApplicationHelper.html_title comment (#35230).
Patch by keineahnung2345.


git-svn-id: http://svn.redmine.org/redmine/trunk@21001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:29:49 +00:00
Go MAEDA
5a4a6f0a16 Update Rails UJS to 6.1.3.1 (#29914, #35003).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 05:32:54 +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
e8d2c1fc8e Remove jQuery Migrate (#34337).
git-svn-id: http://svn.redmine.org/redmine/trunk@20871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-29 03:00:27 +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
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
f7ebb0d9aa Update JavaScript filename (#33906).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-15 13:30:41 +00:00
Go MAEDA
2f3222e0bd Auto complete wiki page links (#33820).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-25 04:07:37 +00:00
Go MAEDA
d504120cf4 Make archived projects visually distinguishable in nested projects lists (#34340).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-30 01:35:24 +00:00
Toshi MARUYAMA
252a605a6d shorten long line of ApplicationHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:17:35 +00:00
Go MAEDA
70aa40654d Add jQuery Migrate (#33383).
git-svn-id: http://svn.redmine.org/redmine/trunk@20518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 00:50:45 +00:00
Toshi MARUYAMA
e5bdb37624 use the lambda method for multiline lambdas at ApplicationHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-26 14:46:21 +00:00
Go MAEDA
74d4d86a14 Store inline autocomplete data sources in a JS variable (#34122).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-25 00:01:14 +00:00
Go MAEDA
78dfef0978 Replace gsub with tr, delete, or squeeze (#34161).
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 06:46:50 +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
d55582dccf use "do end" instead of {} at ApplicationHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-11 12:57:31 +00:00
Toshi MARUYAMA
a885adcfae add space after comma to ApplicationHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-05 15:48:14 +00:00
Toshi MARUYAMA
374582b150 add empty line after guard clause to app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-12 11:35:26 +00:00
Toshi MARUYAMA
3f13c37c3c do not use spaces in lambda literals of ApplicationHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-12 11:35:18 +00:00