]> source.dussan.org Git - redmine.git/log
redmine.git
5 years agocode cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in test/unit/lib/redmi...
Toshi MARUYAMA [Wed, 11 Sep 2019 05:51:02 +0000 (05:51 +0000)]
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

5 years agocode cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in lib/redmine/scm...
Toshi MARUYAMA [Wed, 11 Sep 2019 05:50:51 +0000 (05:50 +0000)]
code cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in lib/redmine/scm/adapters/subversion_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18447 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoDon't use ^= operator to target the wrapper elements (#30467).
Go MAEDA [Wed, 11 Sep 2019 02:06:56 +0000 (02:06 +0000)]
Don't use ^= operator to target the wrapper elements (#30467).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18446 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix that Redmine::ApiTest::NewsTest fails when config.time_zone is set (#13468).
Go MAEDA [Wed, 11 Sep 2019 01:53:00 +0000 (01:53 +0000)]
Fix that Redmine::ApiTest::NewsTest fails when config.time_zone is set (#13468).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18445 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoInline auto complete for issue (#) in wiki-edit fields (#31989).
Go MAEDA [Mon, 9 Sep 2019 21:49:48 +0000 (21:49 +0000)]
Inline auto complete for issue (#) in wiki-edit fields (#31989).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18444 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoREST API for updating news (#13468).
Go MAEDA [Mon, 9 Sep 2019 09:03:41 +0000 (09:03 +0000)]
REST API for updating news (#13468).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoREST API for deleting news (#13468).
Go MAEDA [Mon, 9 Sep 2019 08:57:29 +0000 (08:57 +0000)]
REST API for deleting news (#13468).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoREST API for retrieving news (#13468).
Go MAEDA [Mon, 9 Sep 2019 08:55:43 +0000 (08:55 +0000)]
REST API for retrieving news (#13468).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoREST API for creating news (#13468).
Go MAEDA [Mon, 9 Sep 2019 08:52:13 +0000 (08:52 +0000)]
REST API for creating news (#13468).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoRemove unnecessary vertical scroll bar from gantt (#32019, #27672).
Go MAEDA [Thu, 5 Sep 2019 11:20:44 +0000 (11:20 +0000)]
Remove unnecessary vertical scroll bar from gantt (#32019, #27672).

Patch by Antonio McDeal.

git-svn-id: http://svn.redmine.org/redmine/trunk@18439 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd missing fixture to IssueStatusesControllerTest (#32023).
Go MAEDA [Thu, 5 Sep 2019 10:30:38 +0000 (10:30 +0000)]
Add missing fixture to IssueStatusesControllerTest (#32023).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18438 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoBroken gzip icon in the repository view (#32024).
Go MAEDA [Thu, 5 Sep 2019 09:49:39 +0000 (09:49 +0000)]
Broken gzip icon in the repository view (#32024).

Patch by Seiei Miyagi.

git-svn-id: http://svn.redmine.org/redmine/trunk@18435 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix that test_mail_from_format_should_be_validated randomly fails (#31154).
Go MAEDA [Thu, 5 Sep 2019 07:22:32 +0000 (07:22 +0000)]
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

5 years agoAdd inherit_members to projects API response (#32002).
Go MAEDA [Thu, 5 Sep 2019 04:08:30 +0000 (04:08 +0000)]
Add inherit_members to projects API response (#32002).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18431 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoBroken JavaScript icon in the repository view (#32012).
Go MAEDA [Wed, 4 Sep 2019 23:57:43 +0000 (23:57 +0000)]
Broken JavaScript icon in the repository view (#32012).

Patch by Antonio McDeal.

git-svn-id: http://svn.redmine.org/redmine/trunk@18428 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFooter is not placed at the bottom on pages with little content (#30467).
Go MAEDA [Wed, 4 Sep 2019 07:38:31 +0000 (07:38 +0000)]
Footer is not placed at the bottom on pages with little content (#30467).

Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@18427 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoadd newline at end of config/settings.yml
Toshi MARUYAMA [Wed, 4 Sep 2019 07:29:43 +0000 (07:29 +0000)]
add newline at end of config/settings.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@18426 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agocode cleanup: rubocop: fix Layout/SpaceBeforeFirstArg in test/unit/lib/redmine/scm...
Toshi MARUYAMA [Wed, 4 Sep 2019 05:35:37 +0000 (05:35 +0000)]
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

5 years agoUpdate Rouge to 3.10.0 (#31556).
Go MAEDA [Wed, 4 Sep 2019 00:40:04 +0000 (00:40 +0000)]
Update Rouge to 3.10.0 (#31556).

git-svn-id: http://svn.redmine.org/redmine/trunk@18424 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Fix Performance/InefficientHashSearch
Go MAEDA [Tue, 3 Sep 2019 07:42:05 +0000 (07:42 +0000)]
Code cleanup: RuboCop: Fix Performance/InefficientHashSearch

git-svn-id: http://svn.redmine.org/redmine/trunk@18423 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd missing fixtures to TimelogCustomFieldsVisibilityTest (#31999).
Go MAEDA [Tue, 3 Sep 2019 06:16:54 +0000 (06:16 +0000)]
Add missing fixtures to TimelogCustomFieldsVisibilityTest (#31999).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18422 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoiTraditional Chinese translation (#31997).
Go MAEDA [Tue, 3 Sep 2019 03:46:46 +0000 (03:46 +0000)]
iTraditional Chinese translation (#31997).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@18421 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate raphael.js to 2.3.0 (#31436).
Go MAEDA [Mon, 2 Sep 2019 11:12:56 +0000 (11:12 +0000)]
Update raphael.js to 2.3.0 (#31436).

git-svn-id: http://svn.redmine.org/redmine/trunk@18420 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agocode cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters...
Toshi MARUYAMA [Sat, 31 Aug 2019 05:53:53 +0000 (05:53 +0000)]
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters/git_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18419 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agocode cleanup lib/redmine/scm/adapters/cvs_adapter.rb
Toshi MARUYAMA [Sat, 31 Aug 2019 05:53:42 +0000 (05:53 +0000)]
code cleanup lib/redmine/scm/adapters/cvs_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18418 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agocode cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters...
Toshi MARUYAMA [Sat, 31 Aug 2019 05:53:32 +0000 (05:53 +0000)]
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/scm/adapters/cvs_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18417 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoBulgarian translation update (#31983).
Go MAEDA [Fri, 30 Aug 2019 13:53:23 +0000 (13:53 +0000)]
Bulgarian translation update (#31983).

Patch by Ivan Cenov.

git-svn-id: http://svn.redmine.org/redmine/trunk@18416 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoJapanese translation update (#31976).
Go MAEDA [Thu, 29 Aug 2019 21:41:08 +0000 (21:41 +0000)]
Japanese translation update (#31976).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18415 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoSend security notifications when password_required_char_classes setting is changed...
Go MAEDA [Thu, 29 Aug 2019 08:46:19 +0000 (08:46 +0000)]
Send security notifications when password_required_char_classes setting is changed (#4221).

git-svn-id: http://svn.redmine.org/redmine/trunk@18414 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate locales (#4221).
Go MAEDA [Thu, 29 Aug 2019 07:15:50 +0000 (07:15 +0000)]
Update locales (#4221).

git-svn-id: http://svn.redmine.org/redmine/trunk@18413 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate locales (#4221).
Go MAEDA [Thu, 29 Aug 2019 02:15:54 +0000 (02:15 +0000)]
Update locales (#4221).

git-svn-id: http://svn.redmine.org/redmine/trunk@18412 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoForce passwords to contain specified character classes (#4221).
Go MAEDA [Thu, 29 Aug 2019 01:35:09 +0000 (01:35 +0000)]
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

5 years agoJapanese translation change for "lost password" (#29142).
Go MAEDA [Wed, 28 Aug 2019 15:05:21 +0000 (15:05 +0000)]
Japanese translation change for "lost password" (#29142).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18410 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoIssueCustomFieldTest randomly fails (#31967).
Go MAEDA [Wed, 28 Aug 2019 08:21:08 +0000 (08:21 +0000)]
IssueCustomFieldTest randomly fails (#31967).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18409 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd missing fixtures to Redmine::Helpers::GanttHelperTest (#31966).
Go MAEDA [Wed, 28 Aug 2019 06:22:43 +0000 (06:22 +0000)]
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

5 years agoAdd missing fixtures to Redmine::ApiTest::VersionsTest (#31965).
Go MAEDA [Wed, 28 Aug 2019 04:35:19 +0000 (04:35 +0000)]
Add missing fixtures to Redmine::ApiTest::VersionsTest (#31965).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18407 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoVersionsControllerTest#test_show randomly fails (#31964, #28510).
Go MAEDA [Wed, 28 Aug 2019 04:17:09 +0000 (04:17 +0000)]
VersionsControllerTest#test_show randomly fails (#31964, #28510).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18406 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCodeCleanup: RuboCop: Fix Style/RaiseArgs in app/models/mail_handler.rb
Go MAEDA [Tue, 27 Aug 2019 16:08:44 +0000 (16:08 +0000)]
CodeCleanup: RuboCop: Fix Style/RaiseArgs in app/models/mail_handler.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18405 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoImprove MailHandler logging for unauthorized attempts (#31899).
Go MAEDA [Tue, 27 Aug 2019 15:42:05 +0000 (15:42 +0000)]
Improve MailHandler logging for unauthorized attempts (#31899).

Patch by Gustavo Regal.

git-svn-id: http://svn.redmine.org/redmine/trunk@18404 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd CSS class to "journal" and "reply" headers (#31950).
Go MAEDA [Tue, 27 Aug 2019 10:54:44 +0000 (10:54 +0000)]
Add CSS class to "journal" and "reply" headers (#31950).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18403 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoReject version custom field values not visible for the user (#31954, #23997).
Go MAEDA [Tue, 27 Aug 2019 10:44:39 +0000 (10:44 +0000)]
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

5 years agoReject project custom field values not visible for the user (#31954, #31925).
Go MAEDA [Tue, 27 Aug 2019 10:20:09 +0000 (10:20 +0000)]
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

5 years agoGalician translation update (#31958).
Go MAEDA [Tue, 27 Aug 2019 09:43:42 +0000 (09:43 +0000)]
Galician translation update (#31958).

Patch by Guillermo ML.

git-svn-id: http://svn.redmine.org/redmine/trunk@18400 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoGerman translation update (#31256).
Go MAEDA [Mon, 26 Aug 2019 23:30:29 +0000 (23:30 +0000)]
German translation update (#31256).

Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@18398 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Fix Style/UnneededCondition in app/models/setting.rb
Go MAEDA [Mon, 26 Aug 2019 07:16:55 +0000 (07:16 +0000)]
Code cleanup: RuboCop: Fix Style/UnneededCondition in app/models/setting.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18397 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoReject setting RFC non-compliant emission email addresses (#31154).
Go MAEDA [Mon, 26 Aug 2019 04:18:18 +0000 (04:18 +0000)]
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

5 years agoThemesTest may fail if a third-party theme with a favicon is installed (#31941).
Go MAEDA [Sun, 25 Aug 2019 21:57:41 +0000 (21:57 +0000)]
ThemesTest may fail if a third-party theme with a favicon is installed (#31941).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18395 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Fix Style/RedundantReturn in app/models/user.rb
Go MAEDA [Sun, 25 Aug 2019 16:15:36 +0000 (16:15 +0000)]
Code cleanup: RuboCop: Fix Style/RedundantReturn in app/models/user.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18394 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoRuboCop: Disable Layout/SpaceInsideBlockBraces
Go MAEDA [Sun, 25 Aug 2019 15:33:53 +0000 (15:33 +0000)]
RuboCop: Disable Layout/SpaceInsideBlockBraces

git-svn-id: http://svn.redmine.org/redmine/trunk@18393 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Fix Lint/UnneededRequireStatement in app/models/wiki_page.rb
Go MAEDA [Sun, 25 Aug 2019 05:04:48 +0000 (05:04 +0000)]
Code cleanup: RuboCop: Fix Lint/UnneededRequireStatement in app/models/wiki_page.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18392 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoJapanese translation for text_no_subject (#31945).
Go MAEDA [Sun, 25 Aug 2019 00:26:05 +0000 (00:26 +0000)]
Japanese translation for text_no_subject (#31945).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18391 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoRussian translation for text_no_subject (#5820).
Go MAEDA [Sun, 25 Aug 2019 00:15:41 +0000 (00:15 +0000)]
Russian translation for text_no_subject (#5820).

Patch by Roland Discein.

git-svn-id: http://svn.redmine.org/redmine/trunk@18390 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate locales (#5820).
Go MAEDA [Sun, 25 Aug 2019 00:13:34 +0000 (00:13 +0000)]
Update locales (#5820).

git-svn-id: http://svn.redmine.org/redmine/trunk@18389 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix hard-coded string "no subject" in app/models/mail_handler.rb (#5820).
Go MAEDA [Sun, 25 Aug 2019 00:09:10 +0000 (00:09 +0000)]
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

5 years agoAdd VersionsCustomFieldsVisibilityTest (#23997).
Go MAEDA [Sat, 24 Aug 2019 09:35:55 +0000 (09:35 +0000)]
Add VersionsCustomFieldsVisibilityTest (#23997).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18387 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoPer role visibility settings for version custom fields (#23997).
Go MAEDA [Sat, 24 Aug 2019 08:50:17 +0000 (08:50 +0000)]
Per role visibility settings for version custom fields (#23997).

Patch by Jens Krämer and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18386 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd different style for group names in the New member modal window (#6831).
Go MAEDA [Sat, 24 Aug 2019 07:30:41 +0000 (07:30 +0000)]
Add different style for group names in the New member modal window (#6831).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18385 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd tests for r18383 (#31231).
Go MAEDA [Sat, 24 Aug 2019 07:03:01 +0000 (07:03 +0000)]
Add tests for r18383 (#31231).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18384 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoBetter handling of HTML tables when creating an issue from an email (#31231).
Go MAEDA [Sat, 24 Aug 2019 06:57:03 +0000 (06:57 +0000)]
Better handling of HTML tables when creating an issue from an email (#31231).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18383 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate Rouge to 3.9.0 (#31556).
Go MAEDA [Wed, 21 Aug 2019 01:16:14 +0000 (01:16 +0000)]
Update Rouge to 3.9.0 (#31556).

git-svn-id: http://svn.redmine.org/redmine/trunk@18382 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoMarkdownFormatterTest#test_should_support_underlined_text is declared as private...
Go MAEDA [Wed, 21 Aug 2019 00:31:54 +0000 (00:31 +0000)]
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

5 years agoCode cleanup: RuboCop: Fix Style/IdenticalConditionalBranches in app/models/project.rb
Go MAEDA [Tue, 20 Aug 2019 03:27:15 +0000 (03:27 +0000)]
Code cleanup: RuboCop: Fix Style/IdenticalConditionalBranches in app/models/project.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18380 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoPer role visibility settings for project custom fields (#31925).
Go MAEDA [Tue, 20 Aug 2019 01:44:44 +0000 (01:44 +0000)]
Per role visibility settings for project custom fields (#31925).

Patch by Jens Krämer and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd rubocop-performance (#31509).
Go MAEDA [Sun, 18 Aug 2019 14:40:47 +0000 (14:40 +0000)]
Add rubocop-performance (#31509).

git-svn-id: http://svn.redmine.org/redmine/trunk@18378 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoRemove deprecated .zIndex() method (#31870).
Go MAEDA [Sun, 18 Aug 2019 12:47:53 +0000 (12:47 +0000)]
Remove deprecated .zIndex() method (#31870).

Patch by Fabrice Helmbacher.

git-svn-id: http://svn.redmine.org/redmine/trunk@18377 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoRefactor custom fields form (#31859).
Go MAEDA [Sun, 18 Aug 2019 03:26:19 +0000 (03:26 +0000)]
Refactor custom fields form (#31859).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18376 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Rails/ActiveRecordAliases
Go MAEDA [Sat, 17 Aug 2019 08:14:36 +0000 (08:14 +0000)]
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

5 years agoUpdate roadie-rails gem (~> 2.1.0) (#31919).
Go MAEDA [Sat, 17 Aug 2019 04:26:13 +0000 (04:26 +0000)]
Update roadie-rails gem (~> 2.1.0) (#31919).

git-svn-id: http://svn.redmine.org/redmine/trunk@18374 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoSpeed up workflow edit page rendering (#31855).
Go MAEDA [Sat, 17 Aug 2019 02:23:51 +0000 (02:23 +0000)]
Speed up workflow edit page rendering (#31855).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@18373 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix that "New custom field" button does not work if there are no custom fields (...
Go MAEDA [Sat, 17 Aug 2019 02:01:19 +0000 (02:01 +0000)]
Fix that "New custom field" button does not work if there are no custom fields (#31896, #31320).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18372 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate RuboCop to 0.74.0 (#31509).
Go MAEDA [Thu, 15 Aug 2019 00:53:19 +0000 (00:53 +0000)]
Update RuboCop to 0.74.0 (#31509).

git-svn-id: http://svn.redmine.org/redmine/trunk@18371 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate SimpleCov to 0.17.0 (#30963).
Go MAEDA [Wed, 14 Aug 2019 07:26:10 +0000 (07:26 +0000)]
Update SimpleCov to 0.17.0 (#30963).

git-svn-id: http://svn.redmine.org/redmine/trunk@18370 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate Rouge to 3.8.0 (#31556).
Go MAEDA [Wed, 14 Aug 2019 05:23:46 +0000 (05:23 +0000)]
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

5 years agoRuboCop: Ignore Style/FormatString and Style/FormatStringToken in lib/redmine/helpers...
Go MAEDA [Wed, 14 Aug 2019 04:28:05 +0000 (04:28 +0000)]
RuboCop: Ignore Style/FormatString and Style/FormatStringToken in lib/redmine/helpers/gantt.rb (#30492)

git-svn-id: http://svn.redmine.org/redmine/trunk@18368 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoCode cleanup: RuboCop: Layout/TrailingBlankLines
Go MAEDA [Wed, 14 Aug 2019 03:02:20 +0000 (03:02 +0000)]
Code cleanup: RuboCop: Layout/TrailingBlankLines

git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoReplace RMagick with MiniMagick (#30492).
Go MAEDA [Wed, 14 Aug 2019 02:40:56 +0000 (02:40 +0000)]
Replace RMagick with MiniMagick (#30492).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix jQuery.fn.attr('selected') might use property instead of attribute (#31894, ...
Go MAEDA [Tue, 13 Aug 2019 23:28:36 +0000 (23:28 +0000)]
Fix jQuery.fn.attr('selected') might use property instead of attribute (#31894, #31196).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18365 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoFix JQMIGRATE: jQuery.fn.load() is deprecated (#31884, #31196).
Go MAEDA [Tue, 13 Aug 2019 14:23:46 +0000 (14:23 +0000)]
Fix JQMIGRATE: jQuery.fn.load() is deprecated (#31884, #31196).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18364 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdates jQuery to 2.2.4 and adds jQuery Migrate library to find APIs and features...
Go MAEDA [Tue, 13 Aug 2019 14:18:41 +0000 (14:18 +0000)]
Updates jQuery to 2.2.4 and adds jQuery Migrate library to find APIs and features that have been or will be removed from jQuery core (#31196).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18363 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate rbpdf (~> 1.20.0) (#31877).
Go MAEDA [Sun, 11 Aug 2019 12:32:21 +0000 (12:32 +0000)]
Update rbpdf (~> 1.20.0) (#31877).

git-svn-id: http://svn.redmine.org/redmine/trunk@18362 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoConvert HTML links to Textile/Markdown links when creating an issue from an email...
Go MAEDA [Sun, 11 Aug 2019 05:01:37 +0000 (05:01 +0000)]
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

5 years agoPer role visibility settings for spent time custom fields (#31859).
Go MAEDA [Fri, 9 Aug 2019 09:31:16 +0000 (09:31 +0000)]
Per role visibility settings for spent time custom fields (#31859).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18358 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd missing fixtures to ImportsControllerTest (#31865).
Go MAEDA [Thu, 8 Aug 2019 01:49:55 +0000 (01:49 +0000)]
Add missing fixtures to ImportsControllerTest (#31865).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18357 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoLimit total_estimated_hours to visible issues (#31778).
Go MAEDA [Wed, 7 Aug 2019 04:44:19 +0000 (04:44 +0000)]
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

5 years agoAdd test/system directory to plugin template (#31746).
Go MAEDA [Mon, 5 Aug 2019 22:06:45 +0000 (22:06 +0000)]
Add test/system directory to plugin template (#31746).

Patch by vzvu 3k6k.

git-svn-id: http://svn.redmine.org/redmine/trunk@18355 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoAdd redmine:plugins:test:system task (#31746).
Go MAEDA [Mon, 5 Aug 2019 22:04:03 +0000 (22:04 +0000)]
Add redmine:plugins:test:system task (#31746).

Patch by Seiei Miyagi.

git-svn-id: http://svn.redmine.org/redmine/trunk@18354 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoUpdate redcarpet to 3.5.0 (#31847).
Go MAEDA [Mon, 5 Aug 2019 00:20:00 +0000 (00:20 +0000)]
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

5 years agoUpdate Rouge to 3.7.0 (#31556).
Go MAEDA [Mon, 5 Aug 2019 00:02:07 +0000 (00:02 +0000)]
Update Rouge to 3.7.0 (#31556).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18352 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Style/YodaCondition of lib/redmine/scm/adapters/abstract_adapter.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 17:05:24 +0000 (17:05 +0000)]
rubocop: fix Style/YodaCondition of lib/redmine/scm/adapters/abstract_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18351 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Layout/DefEndAlignment of test/functional/documents_controller_test.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 16:06:49 +0000 (16:06 +0000)]
rubocop: fix Layout/DefEndAlignment of test/functional/documents_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18350 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Layout/IndentationConsistency of test/unit/repository_cvs_test.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 16:06:38 +0000 (16:06 +0000)]
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

5 years agorubocop: fix Layout/DefEndAlignment of test/unit/repository_cvs_test.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 16:06:26 +0000 (16:06 +0000)]
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

5 years agorubocop: remove app/helpers/calendars_helper.rb from Style/UnneededInterpolation...
Toshi MARUYAMA [Sun, 4 Aug 2019 14:11:54 +0000 (14:11 +0000)]
rubocop: remove app/helpers/calendars_helper.rb from Style/UnneededInterpolation fixed in r18346

git-svn-id: http://svn.redmine.org/redmine/trunk@18347 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agoPrevious and next month links in gantt (#31373).
Go MAEDA [Sun, 4 Aug 2019 09:42:58 +0000 (09:42 +0000)]
Previous and next month links in gantt (#31373).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18346 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Layout/CommentIndentation of test/unit/repository_cvs_test.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 05:41:31 +0000 (05:41 +0000)]
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

5 years agocode clean up test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
Toshi MARUYAMA [Sun, 4 Aug 2019 04:51:26 +0000 (04:51 +0000)]
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

5 years agorubocop: fix Layout/BlockAlignment of test/unit/lib/redmine/scm/adapters/mercurial_ad...
Toshi MARUYAMA [Sun, 4 Aug 2019 04:51:14 +0000 (04:51 +0000)]
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

5 years agorubocop: use Layout/TrailingWhitespace AllowInHeredoc true
Toshi MARUYAMA [Sat, 3 Aug 2019 07:50:03 +0000 (07:50 +0000)]
rubocop: use Layout/TrailingWhitespace AllowInHeredoc true

git-svn-id: http://svn.redmine.org/redmine/trunk@18342 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Layout/EmptyLinesAroundAccessModifier of test/functional/repositories_gi...
Toshi MARUYAMA [Sat, 3 Aug 2019 05:34:31 +0000 (05:34 +0000)]
rubocop: fix Layout/EmptyLinesAroundAccessModifier of test/functional/repositories_git_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18341 e93f8b46-1217-0410-a6f0-8f06a7374b81

5 years agorubocop: fix Layout/EmptyLinesAroundAccessModifier of lib/redmine/scm/adapters/cvs_ad...
Toshi MARUYAMA [Sat, 3 Aug 2019 05:34:20 +0000 (05:34 +0000)]
rubocop: fix Layout/EmptyLinesAroundAccessModifier of lib/redmine/scm/adapters/cvs_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18340 e93f8b46-1217-0410-a6f0-8f06a7374b81