Commit Graph

2105 Commits

Author SHA1 Message Date
Jean-Philippe Lang
05e24edda9 Fixes the assertion so that it doesn't rely on the display order (#32436).
Patch by Kouhei Sutou.

git-svn-id: http://svn.redmine.org/redmine/trunk@19092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 15:07:23 +00:00
Jean-Philippe Lang
977bbea725 Only admin users should be able to manage public queries on the project list (#29482).
Like for issues, project members with the "Manage public" queries are allowed to manage public queries inside their projects, not public global queries that are proposed on /issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@19091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 15:01:24 +00:00
Go MAEDA
4a90acb49e Add missing fixture to TimelogControllerTest in order to fix random test failure (#32478).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-19 00:18:10 +00:00
Go MAEDA
b5ce1b9cff Fix a Rubocop offense caused by r19065 (#16904).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-13 13:22:05 +00:00
Go MAEDA
30fd23b917 Fix that QueriesControllerTest fails due to r19065 (#16904).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-13 09:49:52 +00:00
Jean-Philippe Lang
9746ab7e5b Add anonymous user to author list in issue/time query (#16904).
Patch by Yuichi HARADA and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:58:57 +00:00
Jean-Philippe Lang
4a447dda09 Add support for grouping by issue on timelog view (#32436).
Patch by Kouhei Sutou.

git-svn-id: http://svn.redmine.org/redmine/trunk@19063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:56:47 +00:00
Go MAEDA
1c533c948b Adds "Target Version" column to the list of "Available columns" in "Spent time" tab (#30346).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 00:42:30 +00:00
Toshi MARUYAMA
b5dbe41e78 code layout clean up test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:54:00 +00:00
Toshi MARUYAMA
a8d1d6dd55 cleanup: rubocop: fix Layout/AlignArguments in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 06:27:04 +00:00
Toshi MARUYAMA
2efe9dc610 cleanup: rubocop: fix Layout/AlignArguments in test/functional/wiki_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 06:26:54 +00:00
Toshi MARUYAMA
989b44ac3b cleanup: rubocop: fix Layout/AlignArguments in test/functional/workflows_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-06 12:04:52 +00:00
Jean-Philippe Lang
3afd17f83e Allow import time entries for other users (#32196).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-02 08:23:35 +00:00
Jean-Philippe Lang
5011117086 Fix CSV export of projects (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-02 07:22:45 +00:00
Jean-Philippe Lang
b4138257f0 Specific action for updating role permissions.
git-svn-id: http://svn.redmine.org/redmine/trunk@18862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-25 16:31:57 +00:00
Jean-Philippe Lang
0dc7269c88 Add roles filter on permissions report (#32343).
git-svn-id: http://svn.redmine.org/redmine/trunk@18861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-25 15:53:27 +00:00
Go MAEDA
2e6b3b9248 Skip AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png when ImageMagick convert is not available (#32307, #22481).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 14:12:09 +00:00
Toshi MARUYAMA
71b8608421 code cleanup: rubocop: fix Performance/RedundantBlockCall in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 12:16:56 +00:00
Jean-Philippe Lang
6319efe95c Test failure (#29482).
git-svn-id: http://svn.redmine.org/redmine/trunk@18768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:18:15 +00:00
Jean-Philippe Lang
95188f26c3 Set default columns for the projects list (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:43:23 +00:00
Jean-Philippe Lang
45f039187d Option to switch between table list and board list (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:42:20 +00:00
Jean-Philippe Lang
e7d52eb0af Filter after parent project (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:38:15 +00:00
Jean-Philippe Lang
80844362db Filter after projects (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:37:30 +00:00
Jean-Philippe Lang
6c5440a21b Filters for Projects page (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:36:13 +00:00
Jean-Philippe Lang
dc84b10888 Display new issue link in version page (#28138).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 10:22:16 +00:00
Toshi MARUYAMA
35a4d23ced code cleanup: rubocop: fix Layout/EmptyLines in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 07:27:23 +00:00
Toshi MARUYAMA
c21f5cf828 code cleanup: rubocop: fix Layout/EmptyLines in test/functional/activities_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 07:27:12 +00:00
Toshi MARUYAMA
c9c52741e2 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/users_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:52:23 +00:00
Toshi MARUYAMA
82da7583c8 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/settings_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:52:11 +00:00
Toshi MARUYAMA
9222ff952c code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/email_addresses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 14:51:59 +00:00
Toshi MARUYAMA
39352f8208 fix assert_equal parameter is broken in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-09 07:18:57 +00:00
Toshi MARUYAMA
73b81ddef0 code layout clean up test/functional/issue_statuses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-08 14:09:51 +00:00
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