Commit Graph

2073 Commits

Author SHA1 Message Date
Toshi MARUYAMA
28c29d19a8 code cleanup: rubocop: fix Style/HashSyntax in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 13:06:47 +00:00
Toshi MARUYAMA
023c3455e6 code cleanup: rubocop: fix Layout/AlignArray in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 07:21:27 +00:00
Toshi MARUYAMA
359802ac3b code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 07:21:03 +00:00
Toshi MARUYAMA
ff3df17fee code cleanup: rubocop: fix Layout/SpaceAfterColon in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 07:20:50 +00:00
Toshi MARUYAMA
a7f046ee7a code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 07:20:38 +00:00
Toshi MARUYAMA
eee75cf080 code cleanup: rubocop: fix Layout/IndentHeredoc in test/functional/documents_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-07 07:20:13 +00:00
Go MAEDA
5ce4a363a9 Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Go MAEDA
3ce678510e Render Textile and Markdown attachments on the preview page (#29752).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-03 00:09:28 +00:00
Go MAEDA
545a050ba3 Code cleanup: RuboCop: Fix Performance/Count and Performance/Detect.
This change corrects newly detected offenses after updating rubocop-performance to 1.5.0 in r18579.


git-svn-id: http://svn.redmine.org/redmine/trunk@18580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-02 00:53:11 +00:00
Toshi MARUYAMA
c4df67dcaf fix duplicate name of IssuesControllerTest#test_bulk_copy_should_allow_copying_the_subtasks
git-svn-id: http://svn.redmine.org/redmine/trunk@18569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 12:47:52 +00:00
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
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
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
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
Go MAEDA
4336da5533 Fix the test name different from the actual behavior (#31994).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 23:31:48 +00:00
Go MAEDA
3ba5e04f5e Issue auto complete should return last 10 issues (#31994).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 06:39:00 +00:00
Go MAEDA
d825093c75 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
2019-09-05 10:30:38 +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
0a5fb62d6d 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
2019-09-03 06:16:54 +00:00
Go MAEDA
6fad37715a 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
2019-08-28 04:17:09 +00:00
Go MAEDA
8913da8aab Add VersionsCustomFieldsVisibilityTest (#23997).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 09:35:55 +00:00
Go MAEDA
22165fd071 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
2019-08-24 08:50:17 +00:00
Go MAEDA
3495cba92b 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
2019-08-20 01:44:44 +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
beeacb2c2a Replace RMagick with MiniMagick (#30492).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 02:40:56 +00:00
Go MAEDA
3c91a3d5b2 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
2019-08-09 09:31:16 +00:00
Go MAEDA
433d8a081f 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
2019-08-08 01:49:55 +00:00
Toshi MARUYAMA
44cbd0eaa9 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
2019-08-04 16:06:49 +00:00
Go MAEDA
be8372e7cc 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
2019-08-04 09:42:58 +00:00
Toshi MARUYAMA
20570cd408 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
2019-08-03 05:34:31 +00:00
Toshi MARUYAMA
62d536f657 rubocop: fix Layout/BlockAlignment of test/functional/repositories_mercurial_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-30 13:07:31 +00:00
Toshi MARUYAMA
05c1e19bd8 rubocop: fix Layout/BlockAlignment of test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-30 13:07:20 +00:00
Go MAEDA
b72fd8b19e test_previous_project_index fails depending on the current time and zone (#30288, #31620).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-25 07:35:14 +00:00
Go MAEDA
282ddf0ee8 test_page_with_activity fails depending on the current time and zone (#30288).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-25 00:02:17 +00:00
Go MAEDA
af987c9ed4 Fix missing journal indice when updating a journal (#31427).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-21 07:23:16 +00:00
Go MAEDA
e3e2be9027 Code cleanup: RuboCop: Style/UnneededInterpolation
git-svn-id: http://svn.redmine.org/redmine/trunk@18299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 14:19:48 +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
cbc537de0a Set the first status as a default status in "New tracker" form (#29589).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:34:48 +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
d915e71d0f Test failure with mysql (#30288).
git-svn-id: http://svn.redmine.org/redmine/trunk@18284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 08:14:07 +00:00
Jean-Philippe Lang
04b8be1d5b User preference for issue history default tab (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:13:54 +00:00
Jean-Philippe Lang
94c2356f38 Load changesets and time entries tabs async (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:12:30 +00:00
Jean-Philippe Lang
0714ced815 Add time entries tab to issue history tabs (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:11:26 +00:00
Jean-Philippe Lang
be660e11cc Move changesets to its own tab (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:08:27 +00:00
Jean-Philippe Lang
b132b8e914 Show issue history in tabs (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:07:22 +00:00