Commit Graph

2310 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Toshi MARUYAMA
7a24755757 cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:56 +00:00
Toshi MARUYAMA
8853b62cb5 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/projects_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:45 +00:00
Toshi MARUYAMA
df06d58b8f cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/groups_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:34 +00:00
Toshi MARUYAMA
671de8196c cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:13 +00:00
Toshi MARUYAMA
c403e51725 cleanup: rubocop: fix Layout/SpaceAfterComma in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:47:20 +00:00
Toshi MARUYAMA
b6296adf16 code layout clean up test/functional/users_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:47:09 +00:00
Toshi MARUYAMA
7956c48e30 code layout clean up test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:46:58 +00:00
Toshi MARUYAMA
045e8513c7 code layout clean up test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 06:32:17 +00:00
Toshi MARUYAMA
c9fee7e00a cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/repositories_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:25 +00:00
Toshi MARUYAMA
9dd4cf2ea7 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/repositories_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:14 +00:00
Toshi MARUYAMA
519be3400f cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/auto_completes_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:04 +00:00
Toshi MARUYAMA
78c7603cdc cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/issue_categories_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:45:33 +00:00
Toshi MARUYAMA
05ab4e13de cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/projects_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:40 +00:00
Toshi MARUYAMA
bd63d3bc71 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in test/functional/email_addresses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:18 +00:00
Toshi MARUYAMA
91ea72e2b7 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in test/functional/account_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:07 +00:00
Toshi MARUYAMA
c20f1d0aaa cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/mail_handler_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:17 +00:00
Toshi MARUYAMA
d51e776c63 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/account_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:58:02 +00:00
Toshi MARUYAMA
b30e155d07 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/functional/settings_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:18 +00:00
Toshi MARUYAMA
fc8b4aa65c cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:07 +00:00
Toshi MARUYAMA
e3e5b5d177 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:43:56 +00:00
Toshi MARUYAMA
925d5ba5b7 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:43:35 +00:00
Toshi MARUYAMA
7a24a790df cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/activities_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:27:29 +00:00
Toshi MARUYAMA
e5e0c52768 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/attachments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:27:18 +00:00
Toshi MARUYAMA
7193c1372d cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/attachments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:27:07 +00:00
Toshi MARUYAMA
d535dd8355 cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/functional/repositories_git_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:44 +00:00
Toshi MARUYAMA
4317915d55 cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/repositories_subversion_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:25:59 +00:00
Toshi MARUYAMA
c7dd251afe cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/repositories_subversion_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:25:48 +00:00
Toshi MARUYAMA
15e8297d81 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/news_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:25:12 +00:00
Toshi MARUYAMA
afb40e740f cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/reports_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:11:18 +00:00
Toshi MARUYAMA
eb3595d11f cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/comments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:11:08 +00:00