Commit Graph

2832 Commits

Author SHA1 Message Date
Toshi MARUYAMA
2e1da01790 code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 17:55:14 +00:00
Go MAEDA
b3baa5c1ce "starts with" and "ends with" filter operators for string values (#31879).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 16:24:08 +00:00
Toshi MARUYAMA
83d5633a5f code cleanup: rubocop: fix Style/TrailingCommaInArguments in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 11:18:59 +00:00
Toshi MARUYAMA
9a5cb65b9e code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 15:43:56 +00:00
Toshi MARUYAMA
004b1e35f5 add missing fixtures to MailHandlerTest (#31946)
git-svn-id: http://svn.redmine.org/redmine/trunk@18509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 04:48:14 +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
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
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
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
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
Go MAEDA
f461488c41 Fix that test_mail_from_format_should_be_validated randomly fails (#31154).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-05 07:22:32 +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
35e6a532f5 Force passwords to contain specified character classes (#4221).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-29 01:35:09 +00:00
Go MAEDA
62443361af IssueCustomFieldTest randomly fails (#31967).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-28 08:21:08 +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
c37d1b43a4 Reject version custom field values not visible for the user (#31954, #23997).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-27 10:44:39 +00:00
Go MAEDA
ce831ae5e4 Reject project custom field values not visible for the user (#31954, #31925).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-27 10:20:09 +00:00
Go MAEDA
47dd2083f7 Reject setting RFC non-compliant emission email addresses (#31154).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-26 04:18:18 +00:00
Go MAEDA
959b55779f Fix hard-coded string "no subject" in app/models/mail_handler.rb (#5820).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-25 00:09:10 +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
0d4ed12388 Code cleanup: RuboCop: Rails/ActiveRecordAliases
update_attributes is deprecated in Rails 6.0 and will be removed in Rails 6.1 (#29914).


git-svn-id: http://svn.redmine.org/redmine/trunk@18375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-17 08:14:36 +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
8a9123de04 Limit total_estimated_hours to visible issues (#31778).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-07 04:44:19 +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
6d22d66b9d rubocop: fix Layout/IndentationConsistency of test/unit/repository_cvs_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 16:06:38 +00:00
Toshi MARUYAMA
12c3df4bd3 rubocop: fix Layout/DefEndAlignment of test/unit/repository_cvs_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 16:06:26 +00:00
Toshi MARUYAMA
10ae000021 rubocop: fix Layout/CommentIndentation of test/unit/repository_cvs_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 05:41:31 +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
01e4010841 rubocop: fix Layout/AlignArray of test/unit/repository_bazaar_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-29 12:47:14 +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
Go MAEDA
f535aa99af Some issue fixtures are set inconsistent tracker id which is not available in the project (#31053).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-21 05:01:52 +00:00
Jean-Philippe Lang
f88ef51dc7 Test errors with SQLite3 (#10378).
git-svn-id: http://svn.redmine.org/redmine/trunk@18308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 17:19:24 +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
62e13f7913 Remove code related to JRuby and unsupported Ruby versions (#29441).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:47:00 +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
638dbbea95 Support external ID when importing issues (#28213).
Patch by Gregor Schmidt and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 08:17:19 +00:00
Jean-Philippe Lang
f53cd3029c Don't show empty fields in email notifications (#10378).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:36:21 +00:00
Go MAEDA
db3ee07a55 Reverts r18245 (#31582, #31365).
Issue subjets are truncated in some cases when they are created via email.


git-svn-id: http://svn.redmine.org/redmine/trunk@18269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:57:45 +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
Jean-Philippe Lang
001853ef79 Groups are incorrect when grouping by date without user timezone set.
git-svn-id: http://svn.redmine.org/redmine/trunk@18264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:23:48 +00:00