Go MAEDA
fd1d89827e
Redirect to index page instead of edit page after creating a new custom field ( #32783 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-04 00:46:50 +00:00
Go MAEDA
ee46c3570e
Use scope assignable_watchers ( #4511 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-25 08:01:59 +00:00
Go MAEDA
f09e0e8f8c
Use Principal to get users and groups for watchers in watchers controller ( #4511 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-25 07:59:49 +00:00
Go MAEDA
f19c291b59
Show groups in members box on project overview page ( #33174 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-22 14:52:58 +00:00
Go MAEDA
ea54e1acdb
Fix that bulk download raises Errno::EACCES on Windows ( #7056 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 07:58:01 +00:00
Jean-Philippe Lang
31c8e71d8e
Set time entry author in controller ( #32774 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 19:24:32 +00:00
Jean-Philippe Lang
99df2c5c58
Creating time tracking entry for other user through rest API fails with 403 ( #32774 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 18:39:05 +00:00
Jean-Philippe Lang
d955672a7d
Reverted r19669 and r19670 ( #32774 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 17:29:53 +00:00
Jean-Philippe Lang
3fcaff3670
Creating time tracking entry for other user through rest API fails with 403 ( #32774 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:28:06 +00:00
Jean-Philippe Lang
ba27fe1b4e
Creating time tracking entry for other user through rest API fails with 403 ( #32774 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:23:40 +00:00
Go MAEDA
6e781f6479
Fix that "Successful deletion" notice is not displayed after deleting some types of content ( #33116 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-04 00:43:28 +00:00
Go MAEDA
fd75ebcd12
Replace File#readable? with Attachment#readable? ( #7056 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 05:52:39 +00:00
Go MAEDA
4a7bc593af
Display bulk_download_max_size in human-readable representation ( #7056 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-23 05:52:40 +00:00
Go MAEDA
ab47fb8ae0
Download all attachments at once ( #7056 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-21 05:59:31 +00:00
Go MAEDA
34977f9199
Fix that unable to update the values of a custom field for time tracking activities when multiple values option is enabled ( #33085 ).
...
Patch by Thomas Löber.
git-svn-id: http://svn.redmine.org/redmine/trunk@19588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 02:25:13 +00:00
Go MAEDA
af36d450e4
Reverts r19569 ( #33071 ).
...
404 error after deleting an attachment.
git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-14 03:49:44 +00:00
Go MAEDA
463e8163fc
Require sudo mode for actions to delete contents ( #33071 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:26:23 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
6b0afdc9ca
"Role" dropdown in Workflow page is unexpectedly expanded when selecting "all" ( #33059 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 04:59:48 +00:00
Go MAEDA
cc900c0e07
Diff view for .js files in repositories is broken ( #32449 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-27 01:19:11 +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
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
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
b3cda4fd61
Expose validate_back_url as helper method ( #32850 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@19487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:38:47 +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
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
92232cc602
Fix "Couldn't find template for digesting" error in the log when sending an attachment or thumbnail ( #20277 ).
...
Patch by Olivier Houdas.
git-svn-id: http://svn.redmine.org/redmine/trunk@19365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 14:32:25 +00:00
Go MAEDA
f7fcd111e9
Ruby 2.7: Regexp#match and Regexp#match? with a nil argument are deprecated ( #32527 , #31500 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 05:40:40 +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
677dfdc883
replace multi line block "{}" to "do end" in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:31:04 +00:00
Toshi MARUYAMA
e27dc4d547
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:53 +00:00
Toshi MARUYAMA
8ee394e97a
cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:42 +00:00
Toshi MARUYAMA
52d8b21f8d
code layout clean up app/controllers/workflows_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 06:33:00 +00:00
Toshi MARUYAMA
cb591d0af6
code layout clean up app/controllers/application_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 06:32:28 +00:00
Toshi MARUYAMA
d81846ccc9
cleanup: rubocop: fix Layout/SpaceAfterComma in app/controllers/documents_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:45:12 +00:00
Toshi MARUYAMA
4a60ebd848
cleanup: rubocop: fix Layout/SpaceInsideParens in app/controllers/application_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:21 +00:00
Toshi MARUYAMA
4a9d5faaf1
cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:50:04 +00:00
Toshi MARUYAMA
e82fcb3fc5
cleanup: rubocop: fix Layout/SpaceAfterComma in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:49:53 +00:00
Toshi MARUYAMA
f50d50f7b8
code layout clean up app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:49:43 +00:00
Toshi MARUYAMA
5b1bd277f8
code layout clean up IssuesController#build_new_issue_from_params
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:36 +00:00
Toshi MARUYAMA
3b71b71710
code layout clean up IssuesController#update_issue_from_params
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:25 +00:00
Toshi MARUYAMA
b5574321f9
code layout clean up IssuesController#bulk_edit
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:14 +00:00
Toshi MARUYAMA
e8343c1f9d
code layout clean up IssuesController#create
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:25:03 +00:00
Toshi MARUYAMA
b63b388d8a
code layout clean up IssuesController#show
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:53 +00:00
Toshi MARUYAMA
32dd182e25
code layout clean up IssuesController#index
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:42 +00:00
Toshi MARUYAMA
bee8063f46
code layout clean up IssuesController#update
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 04:24:21 +00:00
Toshi MARUYAMA
2a1b08f2e8
cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/controllers/previews_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:00:05 +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