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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
5 years ago
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
5 years ago
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Go MAEDA
0d061d43e8
Test for r18057 (#30441).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18058 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
09b63e39ed
Simpler link syntax "#note-123" to make a link to a note of the current issue (#30829).
Contributed by Marius BALTEANU and Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17993 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly (#31004).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
e70c283a22
Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later.
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Jean-Philippe Lang
ccda34cac6
Display user's groups on profile (#12796).
Only for admins or when viewing its own profile.
git-svn-id: http://svn.redmine.org/redmine/trunk@17973 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago