Commit Graph

14868 Commits

Author SHA1 Message Date
Toshi MARUYAMA
5e6032fecb rubocop: move Style/IdenticalConditionalBranches files from .rubocop_todo.yml to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@18687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 17:25:53 +00:00
Toshi MARUYAMA
c5e2c064f2 code cleanup: rubocop: fix Layout/AccessModifierIndentation in lib/redmine/wiki_formatting/textile/formatter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 17:25:42 +00:00
Toshi MARUYAMA
38bf3f5024 code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 17:25:31 +00:00
Toshi MARUYAMA
d7d85cd85f code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 17:25:19 +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
6b2fb0046a rubocop: remove lib/redmine/wiki_formatting/textile/redcloth3.rb from Layout/EmptyLinesAroundArguments fixed by r18678
git-svn-id: http://svn.redmine.org/redmine/trunk@18682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 12:10:48 +00:00
Toshi MARUYAMA
dc8815f375 rubocop: remove lib/redmine/wiki_formatting/textile/redcloth3.rb from Style/OneLineConditional fixed by r18680
git-svn-id: http://svn.redmine.org/redmine/trunk@18681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 12:10:37 +00:00
Toshi MARUYAMA
c82054a651 code cleanup: rubocop: fix Style/IfWithSemicolon in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 11:48:37 +00:00
Toshi MARUYAMA
695a03b3eb code cleanup: rubocop: fix Layout/IndentAssignment in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 11:48:25 +00:00
Toshi MARUYAMA
76be6f712f code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 11:48:13 +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
Toshi MARUYAMA
9e05932c45 code layout clean up test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:40 +00:00
Toshi MARUYAMA
4c22248143 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:29 +00:00
Toshi MARUYAMA
b65348fa2c code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs and Layout/EmptyLines in app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:17 +00:00
Toshi MARUYAMA
6a3d42dd69 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-15 05:07:06 +00:00
Toshi MARUYAMA
36e0d3273d rubocop: use AllowAdjacentOneLineDefs of Layout/EmptyLineBetweenDefs
git-svn-id: http://svn.redmine.org/redmine/trunk@18672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:57:13 +00:00
Toshi MARUYAMA
ea5e1adca3 rubocop: remove files from Layout/EmptyLines fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@18671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:57:02 +00:00
Toshi MARUYAMA
3cc5ee66d0 rubocop: remove app/helpers/application_helper.rb from Style/WhenThen fixed by r18664
git-svn-id: http://svn.redmine.org/redmine/trunk@18670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:56:51 +00:00
Toshi MARUYAMA
ab3a1e01a7 code cleanup: rubocop: fix Layout/ElseAlignment in app/models/issue_priority.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:11:44 +00:00
Toshi MARUYAMA
799a7091c5 code cleanup: rubocop: fix Layout/ElseAlignment in app/models/issue_import.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:11:33 +00:00
Toshi MARUYAMA
3e3cf4d993 code layout clean up ApplicationHelper#parse_wiki_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:11:21 +00:00
Toshi MARUYAMA
36e9cd2276 rubocop: remove app/helpers/application_helper.rb from Layout/ElseAlignment fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@18666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:48:02 +00:00
Toshi MARUYAMA
039f13d650 code cleanup: rubocop: fix Layout/ElseAlignment in ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:51 +00:00
Toshi MARUYAMA
76ed5c7cc3 code cleanup: rubocop: fix Layout/ElseAlignment in ApplicationHelper#parse_wiki_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:40 +00:00
Toshi MARUYAMA
07182e4475 code cleanup: rubocop: fix Layout/CaseIndentation in app/helpers/versions_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:28 +00:00
Toshi MARUYAMA
b29ec77bb7 code cleanup: rubocop: fix Layout/CaseIndentation in test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:17 +00:00
Toshi MARUYAMA
87e2e3df5b use full text in fill_in at Issue system "update issue with form update" test
git-svn-id: http://svn.redmine.org/redmine/trunk@18661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:05 +00:00
Toshi MARUYAMA
c9c52741e2 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/users_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:52:23 +00:00
Toshi MARUYAMA
82da7583c8 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/settings_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:52:11 +00:00
Toshi MARUYAMA
9222ff952c code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/email_addresses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:59 +00:00
Toshi MARUYAMA
70965412a6 code cleanup: rubocop: fix Layout/SpaceAfterSemicolon in app/models/mail_handler.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:48 +00:00
Toshi MARUYAMA
0b3bbd0e62 add new "update issue status" test to Issue system test
git-svn-id: http://svn.redmine.org/redmine/trunk@18656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:35 +00:00
Toshi MARUYAMA
148e4e0660 use "test do" syntax for Issue system test "update issue with form update"
git-svn-id: http://svn.redmine.org/redmine/trunk@18655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:25 +00:00
Toshi MARUYAMA
a4133891e4 code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:24 +00:00
Toshi MARUYAMA
7b7a1a3ed5 code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:12 +00:00
Toshi MARUYAMA
a66fe49e0b code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/my_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:00 +00:00
Toshi MARUYAMA
276674ce39 code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/attachments_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:49 +00:00
Toshi MARUYAMA
762d015e15 code cleanup: rubocop: fix Layout/IndentHeredoc in test/integration/api_test/files_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:38 +00:00
Toshi MARUYAMA
b9d215c656 code cleanup: rubocop: fix Layout/IndentHeredoc and Layout/IndentationConsistency in test/integration/api_test/custom_fields_attribute_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:25 +00:00
Toshi MARUYAMA
0cf19f967a code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:14 +00:00
Toshi MARUYAMA
9caac1609e add additional assert to Issue system "test_update_issue_with_form_update"
git-svn-id: http://svn.redmine.org/redmine/trunk@18647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:02 +00:00
Toshi MARUYAMA
b8f33b0694 code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in app/models/setting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-13 16:22:54 +00:00
Toshi MARUYAMA
f3f1fad8de code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-13 16:22:42 +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
Toshi MARUYAMA
1977128c0b rubocop: remove test/functional/project_enumerations_controller_test.rb from Lint/Void fixed by r18636
git-svn-id: http://svn.redmine.org/redmine/trunk@18643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-13 16:22:19 +00:00
Go MAEDA
190eeff7ee Add TOC to Markdown Wiki formatting help (#32119).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-10 14:01:19 +00:00
Go MAEDA
30e3de665b Add TOC to Textile Wiki formatting help (#32119).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-10 13:59:45 +00:00
Toshi MARUYAMA
59dd9ec091 code cleanup: rubocop: fix Layout/IndentationConsistency in app/models/attachment.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-09 07:39:28 +00:00
Toshi MARUYAMA
7427a19ce5 rubocop: remove test/functional/project_enumerations_controller_test.rb from Layout/IndentationConsistency fixed by r18636
git-svn-id: http://svn.redmine.org/redmine/trunk@18639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-09 07:39:13 +00:00
Toshi MARUYAMA
39352f8208 fix assert_equal parameter is broken in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-09 07:18:57 +00:00