Commit Graph

79 Commits

Author SHA1 Message Date
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
Toshi MARUYAMA
029d315e79 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_links_mercurial_commit
git-svn-id: http://svn.redmine.org/redmine/trunk@19018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:40 +00:00
Toshi MARUYAMA
26343ea6b2 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_links_git_commit
git-svn-id: http://svn.redmine.org/redmine/trunk@19017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:27 +00:00
Toshi MARUYAMA
30ce5bfcab cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_cross_project_multiple_repositories_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@19015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:14 +00:00
Toshi MARUYAMA
54eb01f045 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_multiple_repositories_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@19013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:02 +00:00
Toshi MARUYAMA
f59fdeeb4a cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_user_links_with_email_as_login_name_should_not_be_parsed_markdown
git-svn-id: http://svn.redmine.org/redmine/trunk@19008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:37 +00:00
Toshi MARUYAMA
09c0dd3817 cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_user_links_with_email_as_login_name_should_not_be_parsed_textile
git-svn-id: http://svn.redmine.org/redmine/trunk@19007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:26 +00:00
Toshi MARUYAMA
c8f1c4abd2 cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_should_not_parse_redmine_links_inside_link
git-svn-id: http://svn.redmine.org/redmine/trunk@19006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:15 +00:00
Toshi MARUYAMA
4b5f1b17fb code layout clean up test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 05:24:35 +00:00
Toshi MARUYAMA
f11f3e6241 code layout clean up test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:20:09 +00:00
Toshi MARUYAMA
accab3c755 code cleanup: rubocop: fix Layout/SpaceBeforeComma in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 16:06:20 +00:00
Toshi MARUYAMA
1961acdb87 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_syntax_highlight
git-svn-id: http://svn.redmine.org/redmine/trunk@18808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:58 +00:00
Toshi MARUYAMA
68ada471f4 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_non_closing_pre_blocks_should_be_closed
git-svn-id: http://svn.redmine.org/redmine/trunk@18807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:47 +00:00
Toshi MARUYAMA
ba370734a9 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_pre_content_should_not_parse_wiki_and_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:36 +00:00
Toshi MARUYAMA
7cae439d09 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_pre_tags
git-svn-id: http://svn.redmine.org/redmine/trunk@18805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:23 +00:00
Toshi MARUYAMA
211534fcca code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_syntax_highlight_ampersand_in_textile
git-svn-id: http://svn.redmine.org/redmine/trunk@18804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:12 +00:00
Toshi MARUYAMA
b2cd8771f3 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_inline_images_inside_tags
git-svn-id: http://svn.redmine.org/redmine/trunk@18803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:40:00 +00:00
Toshi MARUYAMA
f1e26cbb54 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_table_of_content
git-svn-id: http://svn.redmine.org/redmine/trunk@18802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:39:49 +00:00
Toshi MARUYAMA
b7d2bd7b04 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_table_of_content_should_generate_unique_anchors
git-svn-id: http://svn.redmine.org/redmine/trunk@18801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:39:38 +00:00
Toshi MARUYAMA
cf44fcc9f7 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_table_of_content_should_contain_included_page_headings
git-svn-id: http://svn.redmine.org/redmine/trunk@18800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:39:26 +00:00
Toshi MARUYAMA
f404a13a20 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_section_edit_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:39:14 +00:00
Toshi MARUYAMA
940377314b code cleanup: rubocop: fix Layout/IndentationConsistency in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-13 16:22:31 +00:00
Go MAEDA
5ce4a363a9 Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Jean-Philippe Lang
1cc269967a Add a randomized name attribute to all form fields (#26604).
This is a workaround for a Bug in Firefox described at
https://bugzilla.mozilla.org/show_bug.cgi?id=1279253

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@18306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 16:46:10 +00:00
Go MAEDA
dd55d8f7e7 Update Rouge to 3.4.1 (#31556).
Patch by Marius BALTEANU and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 10:46:27 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
f992df684f Small refactorization of avatar methods (#31391).
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper)
* change default avatar size from 50 to 24 because most of the avatars are using the  size 24
* class 'gravatar' is always added and all custom classes are appended
* added user name as default title for avatar images
* added two new methods: @assignee_avatar@ and @author_avatar@

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-19 22:27:41 +00:00
Go MAEDA
ae24985e03 Hierarchy in TOC is not preserved when Wiki index is exported to HTML (#20910).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 15:17:30 +00:00
Go MAEDA
bf0246ce83 Add avatar_server_url configuration option in order to support Libravatar (#9112).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 15:59:50 +00:00