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
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
2019-04-12 05:42:31 +00:00
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
2019-03-21 03:27:53 +00:00
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
2019-03-20 05:15:59 +00:00
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
2019-03-19 15:43:55 +00:00
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
2019-03-16 06:26:33 +00:00
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
2019-03-15 11:49:51 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
193b02567b
URLs end with "-" are rendered incorrectly in Textile ( #30259 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 15:18:04 +00:00
Go MAEDA
0a23eabdce
Cannot make cross-project wiki link if the project name includes square brackets ( #30256 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-27 23:44:16 +00:00
Go MAEDA
f4b2c1a0d3
Line height is too large when previewing files with syntax highlighting if the line terminators are CRLF ( #30434 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-03 22:34:08 +00:00
Jean-Philippe Lang
eb1e6d8c26
Syntax highlighter: replace CodeRay with Rouge ( #24681 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 06:57:40 +00:00
Jean-Philippe Lang
5282a45b9b
Link to user in wiki syntax only works when login is written in lower case ( #26892 ).
...
Patch by Marius BALTEANU and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:55:35 +00:00
Jean-Philippe Lang
e501cb3481
Special character like quote breaks wiki links ( #22967 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:11:13 +00:00
Go MAEDA
60ee5e109e
Adds ##123 extended issue linking syntax ( #29488 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-08 06:43:13 +00:00
Go MAEDA
12b37ae754
Remove filename from attachment preview links ( #27822 ).
...
Patch by Felix Schäfer and Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-09 14:29:38 +00:00
Go MAEDA
cb5fce0442
Adds link to container to attachment view ( #29190 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 00:27:58 +00:00
Jean-Philippe Lang
f748296121
Image filename for HDPI monitors (image@2x.jpg) are misrecognized as email address ( #27968 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 06:00:21 +00:00
Jean-Philippe Lang
b1b89ff0ac
"attachment:filename" link syntax would not work if the file name contains "@" ( #26507 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 05:57:39 +00:00