Commit Graph

14702 Commits

Author SHA1 Message Date
Go MAEDA
ca16a23ad5 Don't show unsettable permissions in the tracker permissions table (#30431).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 04:18:44 +00:00
Toshi MARUYAMA
fb221e8069 code cleanup: rubocop: fix Layout/SpaceInsideRangeLiteral in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 02:34:43 +00:00
Toshi MARUYAMA
3b379c076d code cleanup: rubocop: fix Style/EmptyLiteral in lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 02:34:32 +00:00
Go MAEDA
3aef778342 Rounded corners of "my page" blocks (#32015).
Patch by Antonio McDeal.


git-svn-id: http://svn.redmine.org/redmine/trunk@18505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-23 02:35:20 +00:00
Toshi MARUYAMA
949d80c6d2 code cleanup: rubocop: fix Performance/Casecmp in lib/redmine/scm/adapters/bazaar_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 15:54:38 +00:00
Toshi MARUYAMA
f66cc7db80 code cleanup: rubocop: fix Performance/Casecmp in lib/redmine/codeset_util.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 15:54:25 +00:00
Toshi MARUYAMA
8fb0ec3c3b code cleanup: rubocop: fix Style/RedundantConditional in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:14:28 +00:00
Toshi MARUYAMA
fe78039aea rubocop: disable Naming/BinaryOperatorParameterName
git-svn-id: http://svn.redmine.org/redmine/trunk@18501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:11:19 +00:00
Toshi MARUYAMA
53aae425ba rubocop: disable Rails/HelperInstanceVariable
git-svn-id: http://svn.redmine.org/redmine/trunk@18500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:11:07 +00:00
Toshi MARUYAMA
7ffa505a02 rubocop: remove app/helpers/issues_helper.rb from Style/NestedTernaryOperator fixed by r18496
git-svn-id: http://svn.redmine.org/redmine/trunk@18499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 14:10:56 +00:00
Go MAEDA
f5bbb0317a Auto-complete issues #id in the search form (#32052).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 07:52:16 +00:00
Toshi MARUYAMA
7df0230d67 code cleanup: rubocop: fix Rails/Blank in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 06:39:36 +00:00
Toshi MARUYAMA
a6116a98c5 code cleanup: rubocop: fix Style/MultilineTernaryOperator in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 06:39:24 +00:00
Toshi MARUYAMA
fc243aa3ea code cleanup: rubocop: fix Layout/MultilineArrayBraceLayout in test/unit/repository_bazaar_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-21 06:32:29 +00:00
Toshi MARUYAMA
a02f498275 code cleanup: rubocop: fix Lint/ScriptPermission of Rakefile fixed by r18493
git-svn-id: http://svn.redmine.org/redmine/trunk@18494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 18:12:59 +00:00
Toshi MARUYAMA
8f05374f49 svn propset svn:executable on Rakefile
git-svn-id: http://svn.redmine.org/redmine/trunk@18493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 18:08:14 +00:00
Toshi MARUYAMA
fd51a4fe58 code cleanup: rubocop: fix Style/CommentedKeyword in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 17:54:54 +00:00
Toshi MARUYAMA
188c560edc code cleanup: rubocop: fix Style/CommentAnnotation in lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 17:54:42 +00:00
Toshi MARUYAMA
9f26eac4f0 code cleanup: rubocop: fix Style/ClassCheck in lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 17:54:30 +00:00
Toshi MARUYAMA
c50e1facb4 rubocop: remove app/models/issue.rb from Lint/DuplicateMethods fixed by previous two revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@18489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 15:03:58 +00:00
Toshi MARUYAMA
d6701ab40f remove "attr_reader :current_journal" from Issue class
Issue#current_journal is already defined in Issue class.

git-svn-id: http://svn.redmine.org/redmine/trunk@18488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 15:03:48 +00:00
Toshi MARUYAMA
3be589df24 use "attr_writer" instead of "attr_accessor" for Issue#deleted_attachment_ids
Issue#deleted_attachment_ids is already defined in Issue class.

git-svn-id: http://svn.redmine.org/redmine/trunk@18487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 15:03:37 +00:00
Toshi MARUYAMA
4074ca0771 code clean up app/models/repository.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 13:58:41 +00:00
Toshi MARUYAMA
7fb47e4b5e code cleanup: rubocop: fix Layout/LeadingCommentSpace in app/models/repository.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 13:58:30 +00:00
Go MAEDA
1e53dd7e11 Fixes not to call set_tmp_attachments_directory twice after each test (#32094).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 01:31:13 +00:00
Go MAEDA
43b889d50c Rounded corners of the main menu (#32013).
Patch by Antonio McDeal.


git-svn-id: http://svn.redmine.org/redmine/trunk@18483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 00:57:02 +00:00
Go MAEDA
5387079e60 Update Rouge to 3.11.0 (#31556).
git-svn-id: http://svn.redmine.org/redmine/trunk@18482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 16:07:42 +00:00
Toshi MARUYAMA
0c416338dd code cleanup: rubocop: fix Style/StringLiteralsInInterpolation in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 12:59:24 +00:00
Go MAEDA
75df6ead3b Log info messages when MailHandler ignored a reply to a nonexistent issue, journal, or message (#31946).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 09:38:39 +00:00
Toshi MARUYAMA
aa8c59a389 code cleanup: rubocop: fix Layout/IndentAssignment in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 06:11:15 +00:00
Toshi MARUYAMA
5611ee0e02 backout r13743
git-svn-id: http://svn.redmine.org/redmine/trunk@18478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 05:49:21 +00:00
Toshi MARUYAMA
c7c2bb2b24 code cleanup: rubocop: fix Lint/UselessSetterCall in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-18 01:56:43 +00:00
Go MAEDA
5755bed4e1 Change textfield to textarea for "Exclude attachments by name" (#19903).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-18 01:25:47 +00:00
Go MAEDA
61554d9004 Add wiki toolbar to "Email header" and "Email footer" in "Email notifications" admin tab (#8343).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-17 05:58:36 +00:00
Go MAEDA
baebb89ff6 Fix FrozenError during tests (#32071, #26561).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-16 09:23:55 +00:00
Toshi MARUYAMA
217b091143 code cleanup: rubocop: fix Layout/LeadingCommentSpace in app/controllers/repositories_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-15 15:08:49 +00:00
Toshi MARUYAMA
881c99f162 code cleanup: rubocop: fix Layout/IndentAssignment in app/helpers/repositories_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-15 15:08:38 +00:00
Go MAEDA
57348f6e71 Constrain sidebar width on different resolutions (#32037).
Patch by Antonio McDeal.


git-svn-id: http://svn.redmine.org/redmine/trunk@18471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-15 00:06:35 +00:00
Toshi MARUYAMA
7a488904fa code cleanup: rubocop: fix Layout/IndentationConsistency in test/functional/repositories_mercurial_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-14 19:03:31 +00:00
Toshi MARUYAMA
2e37562206 code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-14 18:45:57 +00:00
Go MAEDA
0d4fbfe340 Add clear query icon next to selected query in sidebar (#31640).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-14 00:33:05 +00:00
Toshi MARUYAMA
81d6e24a8f code cleanup: rubocop: fix Layout/IndentationConsistency in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 13:46:08 +00:00
Go MAEDA
dbaea7c599 mail_body method in test/test_helper.rb raises an exception if the message is not multipart (#32025).
This change fixes random test failures.


git-svn-id: http://svn.redmine.org/redmine/trunk@18465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 08:51:46 +00:00
Toshi MARUYAMA
25778c48de code clean up test/functional/repositories_mercurial_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 05:00:53 +00:00
Toshi MARUYAMA
8453c3544f code clean up test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 05:00:43 +00:00
Toshi MARUYAMA
e6324f3499 code cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 05:00:32 +00:00
Toshi MARUYAMA
452376ae65 rubocop: disable Naming/PredicateName
git-svn-id: http://svn.redmine.org/redmine/trunk@18461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-13 02:25:23 +00:00
Go MAEDA
73c1f8a603 Fix that date grouping for MySQL is not working (#32046, #13803).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 22:55:44 +00:00
Go MAEDA
59968110a3 Add additional mail headers for issue tracker (#31910).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 21:52:21 +00:00
Toshi MARUYAMA
c22ba96c92 code cleanup: rubocop: fix Lint/HandleExceptions in lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 16:23:42 +00:00