Commit Graph

107 Commits

Author SHA1 Message Date
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
Toshi MARUYAMA
829a14d431 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression and Style/RedundantParentheses and Layout/SpaceAfterNot in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 12:38:38 +00:00
Toshi MARUYAMA
eb18ef819f cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_principals_options_for_select_with_users_and_groups
git-svn-id: http://svn.redmine.org/redmine/trunk@19057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:17:12 +00:00
Toshi MARUYAMA
6ea5d0c3c6 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_principals_options_for_select_with_selected
git-svn-id: http://svn.redmine.org/redmine/trunk@19056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:17:01 +00:00
Toshi MARUYAMA
0d6015be56 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_principals_options_for_select_with_users
git-svn-id: http://svn.redmine.org/redmine/trunk@19055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:16:50 +00:00
Toshi MARUYAMA
28ae34b68f cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_thumbnail_tag
git-svn-id: http://svn.redmine.org/redmine/trunk@19054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:16:38 +00:00
Toshi MARUYAMA
22bce3517b cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_link_to_attachment
git-svn-id: http://svn.redmine.org/redmine/trunk@19053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:16:27 +00:00
Toshi MARUYAMA
8e6014a9f8 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_section_edit_links
git-svn-id: http://svn.redmine.org/redmine/trunk@19052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:16:15 +00:00
Toshi MARUYAMA
aa28599b85 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_attachment_links_to_images_with_email_format_should_not_be_parsed
git-svn-id: http://svn.redmine.org/redmine/trunk@19037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:09:51 +00:00
Toshi MARUYAMA
9d210a3b94 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest link_to_if_authorized
git-svn-id: http://svn.redmine.org/redmine/trunk@19033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:33:22 +00:00
Toshi MARUYAMA
9a76c58688 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_attached_images_with_hires_naming
git-svn-id: http://svn.redmine.org/redmine/trunk@19032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:33:11 +00:00
Toshi MARUYAMA
d41969451b cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#test_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@19023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 15:26:37 +00:00