Commit Graph

2065 Commits

Author SHA1 Message Date
Toshi MARUYAMA
188f533bd0 use "do end" instead of {} at TimelogController
git-svn-id: http://svn.redmine.org/redmine/trunk@20132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-05 15:48:39 +00:00
Toshi MARUYAMA
8249bdbe15 add empty line after guard clause to TimelogController
git-svn-id: http://svn.redmine.org/redmine/trunk@20120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-03 15:37:30 +00:00
Toshi MARUYAMA
4e8eda64d7 shorten long line of TimelogController
git-svn-id: http://svn.redmine.org/redmine/trunk@20116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-03 15:36:59 +00:00
Toshi MARUYAMA
9d628068b7 remove spaces inside {} of RepositoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-02 12:59:29 +00:00
Toshi MARUYAMA
69e2e8f653 add empty line after guard clause to RepositoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-02 12:59:22 +00:00
Toshi MARUYAMA
95ba0ea3c4 add space after comma to RepositoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-02 12:58:27 +00:00
Toshi MARUYAMA
a82bf2c42a fix source indent of AccountController
git-svn-id: http://svn.redmine.org/redmine/trunk@20087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-26 15:02:34 +00:00
Toshi MARUYAMA
282a19529d fix source indent of SysController
git-svn-id: http://svn.redmine.org/redmine/trunk@20086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-26 15:02:26 +00:00
Toshi MARUYAMA
f1e86fb99d use "do end" instead of {} at MyController
git-svn-id: http://svn.redmine.org/redmine/trunk@20077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:07:20 +00:00
Toshi MARUYAMA
f76bd5f9c3 remove spaces inside {} of MyController
git-svn-id: http://svn.redmine.org/redmine/trunk@20076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:07:12 +00:00
Toshi MARUYAMA
4599ca00aa fix source indent of CalendarsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:03:22 +00:00
Toshi MARUYAMA
d7e881617d add empty line after guard clause to ApplicationController
git-svn-id: http://svn.redmine.org/redmine/trunk@20046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-17 15:49:06 +00:00
Go MAEDA
dbe76a23b3 Allow normal users to delete a project (#33945).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-15 04:15:13 +00:00
Toshi MARUYAMA
24bbee41d9 shorten long line of CalendarsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-12 12:58:22 +00:00
Go MAEDA
8900eb6eb5 Backup codes for 2fa auth (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:51:21 +00:00
Go MAEDA
be7f5e21fa Adds a setting to disable/enable/require 2fa auth (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:37:09 +00:00
Go MAEDA
560bca344a Adds two factor authentication support (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:21:50 +00:00
Toshi MARUYAMA
81706a7e92 remove spaces inside {} of ContextMenusController
git-svn-id: http://svn.redmine.org/redmine/trunk@19947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:42:34 +00:00
Toshi MARUYAMA
69e0e04676 fix source indent of IssuesController#destroy
git-svn-id: http://svn.redmine.org/redmine/trunk@19916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-19 14:05:53 +00:00
Toshi MARUYAMA
ad97b5afec remove spaces inside {} of AccountController
git-svn-id: http://svn.redmine.org/redmine/trunk@19902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-15 16:36:31 +00:00
Toshi MARUYAMA
445f6528e2 avoid using rescue in its modifier form at WatchersController#find_objects_from_params
git-svn-id: http://svn.redmine.org/redmine/trunk@19865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-08 17:30:19 +00:00
Toshi MARUYAMA
ddcdac3017 avoid using rescue in its modifier form at ImportsController#import_type
git-svn-id: http://svn.redmine.org/redmine/trunk@19864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-08 17:30:12 +00:00
Toshi MARUYAMA
8b0c21cbf8 avoid using rescue in its modifier form at AttachmentsController#find_container
git-svn-id: http://svn.redmine.org/redmine/trunk@19863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-08 17:30:04 +00:00
Toshi MARUYAMA
562dea3aa8 avoid using rescue in its modifier form at ApplicationController#find_current_user
git-svn-id: http://svn.redmine.org/redmine/trunk@19862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-08 17:29:56 +00:00
Toshi MARUYAMA
0b138f1c4e avoid multi-line ternary operators in app/controllers/workflows_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-04 12:14:11 +00:00
Go MAEDA
925fbe9263 Ordering wiki pages should not be case sensitive (#31287).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-20 06:50:28 +00:00
Go MAEDA
81969c28b5 Fix typo in app/controllers/watchers_controller.rb (#33567).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-16 09:06:42 +00:00
Go MAEDA
a4597c31d2 Fix that issues autocomplete may not find issues with a subject longer than 60 characters (#32125).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-18 14:13:58 +00:00
Go MAEDA
302f9bbc76 Reverts r19773 (#32125).
The purpose of reverting is to revert r19769 on which r19773 depends.


git-svn-id: http://svn.redmine.org/redmine/trunk@19775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-14 13:40:59 +00:00
Go MAEDA
e16080614e Fix that issues autocomplete may not find issues with a subject longer than 60 characters (#32125).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-13 07:22:44 +00:00
Go MAEDA
c37a45d1c3 Revert r19771 due to the incorrect issue number in the commit message.
git-svn-id: http://svn.redmine.org/redmine/trunk@19772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-13 07:21:07 +00:00
Go MAEDA
f61f19518f Fix that issues autocomplete may not find issues with a subject longer than 60 characters (#12250).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-13 00:46:51 +00:00
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