Toshi MARUYAMA
2fc0555713
cleanup: rubocop: fix Layout/AlignArguments in app/controllers/attachments_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 01:37:25 +00:00
Toshi MARUYAMA
c611a585ad
cleanup: rubocop: fix Layout/AlignArguments in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 01:37:14 +00:00
Jean-Philippe Lang
5a72c19e5d
Don't paginate the board view for now ( #29482 ).
...
Subprojects may appear as root projects if their parents are on a previous page.
git-svn-id: http://svn.redmine.org/redmine/trunk@18866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 07:09:52 +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
Toshi MARUYAMA
f4522aeba7
code cleanup: rubocop: fix Layout/AccessModifierIndentation in app/controllers/wiki_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 15:54:00 +00:00
Toshi MARUYAMA
a8b6e805a7
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in app/controllers/timelog_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 13:44:15 +00:00
Toshi MARUYAMA
26db7fa6bf
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in app/controllers/messages_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 13:44:04 +00:00
Toshi MARUYAMA
facc6e9bff
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in app/controllers/boards_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 13:43:52 +00:00
Toshi MARUYAMA
252450b44c
code cleanup: rubocop: fix Performance/RedundantBlockCall in app/controllers/application_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 12:41:21 +00:00
Toshi MARUYAMA
0365bd552e
code cleanup: rubocop: fix Style/ParenthesesAroundCondition in app/controllers/context_menus_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 13:32:37 +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
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
Toshi MARUYAMA
f891a28152
code layout clean up app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:39:31 +00:00
Toshi MARUYAMA
c66df09e23
code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:14:56 +00:00
Go MAEDA
2158e3f2c6
Fix that "Associated revisions" tab has no content when the user displays comments in reverse chronological order ( #32198 , #3058 ).
...
Patch by José Esteves.
git-svn-id: http://svn.redmine.org/redmine/trunk@18598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-05 23:57:33 +00:00
Toshi MARUYAMA
217b091143
code cleanup: rubocop: fix Layout/LeadingCommentSpace in app/controllers/repositories_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-15 15:08:49 +00:00
Go MAEDA
e54f1b23ec
Code cleanup: RuboCop: Fix Performance/RedundantMatch and Rails/DynamicFindBy in app/controllers/auto_completes_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 08:08:38 +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
89739876d1
REST API for updating news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 09:03:41 +00:00
Go MAEDA
780e64a100
REST API for deleting news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:57:29 +00:00
Go MAEDA
3ca75647df
REST API for retrieving news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:55:43 +00:00
Go MAEDA
c22469838d
REST API for creating news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:52:13 +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
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
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
Go MAEDA
9cdd8bf039
Enables API access to /my/account for updating user account data ( #31399 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 09:34:49 +00:00
Go MAEDA
2e0ec5b0e6
Remove trailing whitespaces from app ( #31506 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:47:34 +00:00
Go MAEDA
1a4ff9eb49
Send the journal_indice as param in order to get rid of extra queries ( #31427 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-02 15:58:32 +00:00
Go MAEDA
2d475288e4
Insert a link to the source to the attribution line when quoting a note or a message ( #31427 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-02 13:29:54 +00:00
Toshi MARUYAMA
f76a85dc5a
scm: fix error when *.yml and *.txt show ( #31141 , #30850 )
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 12:49:07 +00:00
Toshi MARUYAMA
e0738ac6e9
scm: early return in diff if diff is nil as same as show, changes, and etc. ( #31141 , #30850 )
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 06:57:09 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
b0e17e8199
Don't rescue Exception class ( #31387 ).
...
Patch by Go MAEDA and Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 06:50:25 +00:00
Go MAEDA
6d6ea928c8
Custom Exception classes should inherit StandardError instead of Exception ( #31387 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-21 23:53:10 +00:00
Go MAEDA
29403e710a
Adds favorites and recently used projects lists to project jump box ( #31355 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
f992df684f
Small refactorization of avatar methods ( #31391 ).
...
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper)
* change default avatar size from 50 to 24 because most of the avatars are using the size 24
* class 'gravatar' is always added and all custom classes are appended
* added user name as default title for avatar images
* added two new methods: @assignee_avatar@ and @author_avatar@
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-19 22:27:41 +00:00
Go MAEDA
26171fc5f7
Include a reason in the error message when an issue status cannot be deleted ( #31361 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 00:17:47 +00:00
Go MAEDA
8eb5f2c605
Do not lose submitted content when attempting to update a wiki page that has been renamed in the meantime ( #31334 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-15 13:21:35 +00:00
Go MAEDA
c4a4133178
Render PDF thumbnail using ImageMagick/GhostScript ( #22481 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@18158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-12 03:55:56 +00:00
Go MAEDA
b540046ed7
Generalize issues imports ( #28234 ).
...
Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins.
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 07:40:06 +00:00
Go MAEDA
6732ce9a93
Fix that Content-Type header field is empty when sending a file of unknown type ( #31275 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 01:37:25 +00:00
Go MAEDA
6ef0a4c4cc
Use HTTP status code 403 instead of 401 when REST API is disabled ( #30086 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-10 02:51:28 +00:00
Go MAEDA
7cf16d4abd
"Create and continue" button for custom fields ( #31159 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-09 14:53:55 +00:00
Go MAEDA
72e1451159
Use Regexp#match? to reduce allocations of MatchData object ( #28940 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
7d2f10ccac
Fix FrozenError in RepositoriesController#diff ( #31052 , #26561 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 02:42:58 +00:00
Go MAEDA
bd5977d97e
Support frozen_string_literal in app/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 13:36:03 +00:00