Go MAEDA
f739dafaa4
Add a missing fixture to IssuesControllerTest ( #4511 , #33036 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-21 03:57:58 +00:00
Go MAEDA
efbfc76161
Auto select fields mapping in import based on the internal field name (ex: estimared_hours, fixed_version, spent_on) or field label (Estimated hours, Version, Date) ( #22913 ).
...
* mappings are case insensitive
* a field is auto mapped only if there is no mapping setting present for that field
* "Current user" default value for User field when the user has permission to log time for other users is override by the auto mapped column
Patch by Haihan Ji, Yuichi HARADA, and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 14:52:02 +00:00
Go MAEDA
4d341f0f14
Use 'user' as internal field instead of user_id because the column accepts also user login as value, not only the id ( #22913 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 14:31:39 +00:00
Go MAEDA
6f603f285f
Fix that CSS selector in test_index_should_show_warning_when_no_workflow_is_defined is too specific ( #32927 ).
...
Patch by Vincent Robert.
git-svn-id: http://svn.redmine.org/redmine/trunk@19521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-18 02:06:51 +00:00
Go MAEDA
777704249f
Fix logging time via a commit message for project specific activities ( #29838 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@19512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 13:33:22 +00:00
Go MAEDA
39c979b341
Reverts r19510 that breaks IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue ( #5354 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:56:03 +00:00
Go MAEDA
89c4e16807
Updating custom fields does not trigger update to "updated_on" field in the customized object ( #5354 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:06:25 +00:00
Go MAEDA
642bc25726
Reverts r19507 ( #4511 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 03:48:20 +00:00
Go MAEDA
137be58279
Add a missing fixture for IssuesControllerTest#test_post_create_with_watchers ( #4511 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 03:33:54 +00:00
Go MAEDA
dec5f98112
Include attachments in forum post notifications ( #16006 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 02:34:25 +00:00
Go MAEDA
b6d26dc170
Add system setting for default results display format of project query ( #32818 ).
...
Patch by Takenori TAKAKI and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 01:10:48 +00:00
Go MAEDA
8cbb53c2ce
Fix that selected user on timelog#edit is incorrect ( #32959 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-09 00:23:18 +00:00
Go MAEDA
9d18f67f9e
Add download buttons in Files columns of the issues list ( #32240 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 14:24:51 +00:00
Go MAEDA
df96636e40
test_revisions_latin_1_identifier should be skipped on Windows ( #32937 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@19499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 12:49:30 +00:00
Go MAEDA
b995014c49
Allow adding user groups as watchers for issues ( #4511 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 08:19:13 +00:00
Go MAEDA
a0b909d523
Repository browser does not render previews for audio/video files ( #32153 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-04 05:32:04 +00:00
Jean-Philippe Lang
0cd14b3a4b
Validate back_url everywhere ( #32850 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@19488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:39:22 +00:00
Jean-Philippe Lang
914f57fefc
Move duplicated back_url method from ApplicationHelper to ApplicationController ( #32850 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@19486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:38:01 +00:00
Go MAEDA
69c794f368
Add missing fixtures to AttachmentsControllerTest ( #32929 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-31 07:21:05 +00:00
Go MAEDA
5b74828013
Fix totals not displayed in projects list view ( #32896 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-28 01:15:14 +00:00
Go MAEDA
f37ed77665
Use #media_type instead of #content_type to test the MIME type of a response ( #32886 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-27 03:54:25 +00:00
Go MAEDA
8dbbfd6172
Exporting issue as PDF fails when the issue has private journal ( #32858 ).
...
Patch by Kouhei Sutou.
git-svn-id: http://svn.redmine.org/redmine/trunk@19458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-25 03:07:00 +00:00
Go MAEDA
62fe933eed
Ruby 2.7: Remove deprecated URI.escape/unescape ( #32752 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 23:28:34 +00:00
Go MAEDA
ca214d2789
Code cleanup: RuboCop: Fix Rails/ActiveRecordAliases in test/unit/issue_priority_test.rb ( #32628 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:27:12 +00:00
Go MAEDA
ac0b69298c
Code cleanup: RuboCop: Fix Layout/EmptyLinesAroundMethodBody in test/functional/my_controller_test.rb ( #32628 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:26:00 +00:00
Go MAEDA
d48769f152
Enable users to receive email notifications about high issues (only) ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:23:26 +00:00
Go MAEDA
d438c89b1a
Add IssuePriority#high? and #low? helpers ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:10:11 +00:00
Go MAEDA
006b686499
Extract finding the default or "middle" issue priority into its own class method ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:08:29 +00:00
Go MAEDA
65d22c7510
FrozenError when exporting gantt to PDF in some languages ( #32832 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-18 09:58:39 +00:00
Go MAEDA
6611f5bf5d
Make languages in Highlighted code button in toolbar customizable ( #32528 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-14 14:38:48 +00:00
Go MAEDA
a853fc0e73
Fix sort projects table by custom field ( #32769 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 07:03:10 +00:00
Go MAEDA
d618229f09
Fix Internal Error when issue text custom field is shown in Spent time query results ( #32768 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 06:37:47 +00:00
Go MAEDA
03a4e21568
Fix missing arrow icon of collapse macro ( #32754 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-07 14:56:29 +00:00
Go MAEDA
f55aa76958
Fix random test failure due to missing call to set_tmp_attachments_directory in WikiControllerTest ( #32653 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-04 04:47:38 +00:00
Jean-Philippe Lang
13da124b16
CSV import does not keep the project it was clicked from ( #21766 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 08:07:57 +00:00
Go MAEDA
b64d980e39
Update request_store gem to 1.4 ( #31911 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-15 11:44:55 +00:00
Go MAEDA
e2ed6f27b6
Test for r19363 ( #32546 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 01:00:10 +00:00
Go MAEDA
b6f1d03194
Require 'mocha/minitest' instead of deprecated 'mocha/setup' ( #32592 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-11 13:59:01 +00:00
Go MAEDA
2de3dfeae5
CSV related tests fail with Rails 5.2.4 ( #32526 , #32525 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-08 00:10:43 +00:00
Go MAEDA
e675eaedab
Fix that spent time report CSV shows translation missing text if custom fields are involved ( #32500 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-06 00:24:41 +00:00
Toshi MARUYAMA
5876324372
filter all possibly class values on code tags in Textile ( #25742 )
...
Contributed by Holger Just from Planio.
git-svn-id: http://svn.redmine.org/redmine/trunk@19333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-05 11:25:24 +00:00
Toshi MARUYAMA
62e626e680
code layout clean up test/unit/workflow_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-04 13:04:23 +00:00
Go MAEDA
6dffb3a5eb
Add missing fixtures to VersionTest ( #32540 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-02 02:36:38 +00:00
Go MAEDA
f33d6177fe
Add buttons to save/edit/delete a custom query to calendar view ( #32194 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 00:58:45 +00:00
Toshi MARUYAMA
e8b75e47f8
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/principal_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:32 +00:00
Toshi MARUYAMA
e7927c9050
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/token_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:21 +00:00
Toshi MARUYAMA
3c7037f2b4
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/watcher_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:11 +00:00
Toshi MARUYAMA
d0d9e087af
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/issues_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:54 +00:00
Toshi MARUYAMA
2b678abd84
code layout clean up test/functional/issues_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:38 +00:00
Toshi MARUYAMA
96981b1daf
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/issue_statuses_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:49:07 +00:00