Commit Graph

643 Commits

Author SHA1 Message Date
Toshi MARUYAMA
41f1922d23 cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_one_line_new_files
git-svn-id: http://svn.redmine.org/redmine/trunk@18973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:15:11 +00:00
Toshi MARUYAMA
f99c88f3cd cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_include_a_b_slash
git-svn-id: http://svn.redmine.org/redmine/trunk@18972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:59 +00:00
Toshi MARUYAMA
9e52eba4bc cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_both_git_diff
git-svn-id: http://svn.redmine.org/redmine/trunk@18971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:49 +00:00
Toshi MARUYAMA
e019d9d6a1 cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_previous_file_name_with_git
git-svn-id: http://svn.redmine.org/redmine/trunk@18970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:38 +00:00
Toshi MARUYAMA
c56c9d3c19 cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_offset_range_ascii_1
git-svn-id: http://svn.redmine.org/redmine/trunk@18969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:27 +00:00
Toshi MARUYAMA
afbd2353c1 cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_offset_range_ascii_2
git-svn-id: http://svn.redmine.org/redmine/trunk@18968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:16 +00:00
Toshi MARUYAMA
5da1580755 cleanup: rubocop: fix Layout/IndentHeredoc in test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:53:47 +00:00
Toshi MARUYAMA
513e869c93 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 00:46:03 +00:00
Toshi MARUYAMA
2d7e8b6a70 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/menu_manager/menu_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-07 03:42:12 +00:00
Toshi MARUYAMA
1797f7abb0 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-06 12:03:58 +00:00
Toshi MARUYAMA
bce3abdc74 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/helpers/gantt_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:22 +00:00
Toshi MARUYAMA
d97537935b cleanup: rubocop: fix Layout/IndentAssignment in test/unit/lib/redmine/helpers/gantt_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:11 +00:00
Go MAEDA
19990751a5 Eases the regexp used to determine the start of a code block (#32359).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-29 21:54:04 +00:00
Toshi MARUYAMA
c54761c690 code cleanup: rubocop: fix Lint/NestedMethodDefinition in test/unit/lib/redmine/menu_manager/menu_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 15:35:38 +00:00
Toshi MARUYAMA
1ae761d169 code cleanup: rubocop: fix Performance/RedundantBlockCall in test/unit/lib/redmine/views/builders/json_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 12:10:03 +00:00
Toshi MARUYAMA
3d342396a0 code cleanup: rubocop: fix Performance/RedundantBlockCall in test/unit/lib/redmine/views/builders/xml_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 12:09:52 +00:00
Toshi MARUYAMA
b7b42e9d76 code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:41:21 +00:00
Toshi MARUYAMA
7c796b96cc code cleanup: rubocop: fix Layout/SpaceBeforeComma in test/unit/lib/redmine/helpers/calendar_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:25:22 +00:00
Toshi MARUYAMA
89e9b05b3d code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout of STR_WITH_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 04:15:37 +00:00
Toshi MARUYAMA
1f14386822 code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout of STR_WITHOUT_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 04:15:26 +00:00
Toshi MARUYAMA
2117705cbc code cleanup: rubocop: fix Layout/BlockAlignment in test/unit/lib/redmine/menu_manager/menu_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 12:11:00 +00:00
Toshi MARUYAMA
94a7c3aa65 code cleanup: rubocop: fix Layout/BlockAlignment in test/unit/lib/redmine/menu_manager/mapper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:51 +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
Toshi MARUYAMA
dc657cb2c0 code cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 05:51:02 +00:00
Toshi MARUYAMA
75519b7158 code cleanup: rubocop: fix Layout/SpaceBeforeFirstArg in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-04 05:35:37 +00:00
Go MAEDA
ef856653ac Code cleanup: RuboCop: Fix Performance/InefficientHashSearch
git-svn-id: http://svn.redmine.org/redmine/trunk@18423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-03 07:42:05 +00:00
Go MAEDA
ae8ee086b4 Add missing fixtures to Redmine::Helpers::GanttHelperTest (#31966).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-28 06:22:43 +00:00
Go MAEDA
878f4c3455 Add tests for r18383 (#31231).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 07:03:01 +00:00
Go MAEDA
70284ee244 MarkdownFormatterTest#test_should_support_underlined_text is declared as private (#31929).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-21 00:31:54 +00:00
Go MAEDA
489a563ece Update Rouge to 3.8.0 (#31556).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 05:23:46 +00:00
Go MAEDA
31e8e736f3 Code cleanup: RuboCop: Layout/TrailingBlankLines
git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 03:02:20 +00:00
Go MAEDA
f5c7a4a420 Convert HTML links to Textile/Markdown links when creating an issue from an email (#31695).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-11 05:01:37 +00:00
Go MAEDA
8d87f23370 Update redcarpet to 3.5.0 (#31847).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-05 00:20:00 +00:00
Toshi MARUYAMA
9fa084133b code clean up test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:26 +00:00
Toshi MARUYAMA
6e6b01a65e rubocop: fix Layout/BlockAlignment of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:14 +00:00
Toshi MARUYAMA
4b95697d23 rubocop: fix Layout/CaseIndentation of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-03 05:33:57 +00:00
Toshi MARUYAMA
ec4177a2f3 rubocop: fix Layout/AlignArray of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-29 12:47:01 +00:00
Go MAEDA
a60bac1770 Add missing fixtures in AttachmentFormatVisibilityTest (#31705).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-12 07:26:16 +00:00
Jean-Philippe Lang
b4d3e429df Test failure (#31444).
git-svn-id: http://svn.redmine.org/redmine/trunk@18302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 16:35:51 +00:00
Jean-Philippe Lang
c4a9d4cd4d Issue macro for flexible linking to issues (#29489).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@18297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 14:01:50 +00:00
Jean-Philippe Lang
28f37adcd3 Add "<< me >>" option to user format issue custom fields (#31444).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 09:05:36 +00:00
Jean-Philippe Lang
c0a638721c Text may unexpectedly be enclosed in pre tags when an issue is created via HTML email (#31232).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:38:19 +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
adebf4da1d Remove trailing whitespaces from test (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +00:00
Go MAEDA
a7fbb4719a Add missing frozen string literals and copyrights (#31508).
git-svn-id: http://svn.redmine.org/redmine/trunk@18225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-04 06:36:20 +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
29403e710a Adds favorites and recently used projects lists to project jump box (#31355).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +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
0328b5671a Show selected columns in gantt chart (#27672).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 21:54:33 +00:00
Go MAEDA
f9e708728a Code cleanup: remove a unused variable last_rev_author from test_last_rev_with_spaces_in_filename.
git-svn-id: http://svn.redmine.org/redmine/trunk@18133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-06 14:36:59 +00:00