Go MAEDA
ba181c7328
HTML-escape the entire tag content of escaped HTML tags in textile ( #38807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:45:03 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Toshi MARUYAMA
8f542b20f4
shorten long line of ApplicationHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:06 +00:00
Toshi MARUYAMA
606ac82ae9
fix source indent of ApplicationHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-26 13:35:00 +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
Toshi MARUYAMA
f33d2d0be4
fix source indent of ApplicationHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:06:32 +00:00
Toshi MARUYAMA
73b37f6bfc
remove spaces inside {} of ApplicationHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:03:54 +00:00
Toshi MARUYAMA
7512e3cc39
remove spaces inside {} of ApplicationHelperTest#test_html_tags
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:35 +00:00
Toshi MARUYAMA
dbaabbb58d
remove spaces inside {} of ApplicationHelperTest#test_allowed_html_tags
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:27 +00:00
Toshi MARUYAMA
248cc01eee
remove spaces inside {} of ApplicationHelperTest#test_text_formatting
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:19 +00:00
Toshi MARUYAMA
887e8ca971
remove spaces inside {} of ApplicationHelperTest#test_render_page_hierarchy
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:11 +00:00
Toshi MARUYAMA
b0348fa72a
remove spaces inside {} of ApplicationHelperTest#test_render_page_hierarchy_with_timestamp
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:37:03 +00:00
Toshi MARUYAMA
752fbb160c
remove spaces inside {} of ApplicationHelperTest#test_render_page_hierarchy_when_action_is_export
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:36:55 +00:00
Toshi MARUYAMA
579ae4f6e8
fix source indent of ApplicationHelperTest#test_due_date_distance_in_words
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:36:47 +00:00
Toshi MARUYAMA
adf7facc8a
remove spaces inside {} of ApplicationHelperTest#test_principals_check_box_tag_without_avatar
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-12 11:35:43 +00:00
Go MAEDA
cb33cc2cf2
Some tests in ApplicationHelperTest are declared as private ( #33562 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-09 05:50:52 +00:00
Go MAEDA
ebf5d219c9
Import user accounts from CSV file ( #33102 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@19799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 04:53:24 +00:00
Jean-Philippe Lang
9b5cccff39
##123 syntax for linking to issues: Title cannot be distinguished from following text ( #32765 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 10:51:46 +00:00
Go MAEDA
e04fb3e78b
Display avatar on add watchar dialog ( #32976 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@19626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-31 09:30:47 +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
Jean-Philippe Lang
914f57fefc
Move duplicated back_url method from ApplicationHelper to ApplicationController ( #32850 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@19486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:38:01 +00:00
Toshi MARUYAMA
141b07d0c7
cleanup: rubocop: fix Layout/EmptyLines in test/helpers/application_helper_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:12:12 +00:00
Toshi MARUYAMA
07e9a824f0
cleanup: rubocop: fix Layout/SpaceInsideParens in test/helpers/application_helper_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:28:36 +00:00