Go MAEDA
4fd0e739db
Fix that totals of custom fields may not be sorted as configured ( #33281 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 04:30:24 +00:00
Go MAEDA
43cc93755a
Support issue relations when importing issues ( #28198 ).
...
Patch by Gregor Schmidt and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-06 00:37:56 +00:00
Go MAEDA
9fb4258a5f
Replace "**" method with bitwise left shift in Tracker#disabled_core_fields and Tracker#core_fields ( #33244 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@19750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-04 01:51:11 +00:00
Go MAEDA
94c62816a5
Allowed/Disallowed email domains settings to restrict users' email addresses ( #3369 ).
...
Patch by Yuichi HARADA and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-30 09:00:06 +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
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
a14697df68
Unify CSS classes for custom fields in issue#show, issue#edit and issue#bulk_edit ( #32471 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 09:00:34 +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
Go MAEDA
62c7da1b3f
CodeCleanup: Fix a RuboCop offense Layout/LeadingCommentSpace introduced in r19677.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 07:53:51 +00:00
Jean-Philippe Lang
192263b856
Don't use User.current in TimeEntryImport model but #user instead ( #32774 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 19:28:37 +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
87b56c6521
Email address with Punycode top-level domain is not accepted ( #32793 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:55:22 +00:00
Jean-Philippe Lang
d6734e6239
Fix sort does not work with group by datetime columns ( #33110 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:43:03 +00:00
Jean-Philippe Lang
e91dbcb5a7
Editing a time entry for a locked user changes the user to the current user ( #32973 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:21:25 +00:00
Go MAEDA
0a80c4c14b
Replace File#readable? with Attachment#readable? ( #7056 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-01 09:14:16 +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
5917137d12
Show warning and the reason when the issue cannot be closed or reopen because of open subtask(s), blocking issue(s) or closed parent issue ( #31589 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:50:47 +00:00
Go MAEDA
a8ed1c7c5f
Add a link to the issues list in a reminder email ( #33099 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-07 08:20:26 +00:00
Go MAEDA
3614346962
Fix a RuboCop offense Style/MultipleComparison ( #33083 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-07 07:29:14 +00:00
Go MAEDA
db2118fd82
Projects filter "Subproject of" does not work when the given value is "My projects" or "My bookmarks" ( #33083 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-04 08:26:34 +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
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
4d341f0f14
Use 'user' as internal field instead of user_id because the column accepts also user login as value, not only the id ( #22913 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 14:31:39 +00:00
Go MAEDA
777704249f
Fix logging time via a commit message for project specific activities ( #29838 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@19512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 13:33:22 +00:00
Go MAEDA
b6d26dc170
Add system setting for default results display format of project query ( #32818 ).
...
Patch by Takenori TAKAKI and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 01:10:48 +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
01f523f165
Rails 6: Fix deprecation warning "Class level methods will no longer inherit scoping" ( #32911 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@19490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-03 15:12:21 +00:00
Go MAEDA
47a71c8011
Reverts r19478 ( #32897 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-30 05:27:52 +00:00
Go MAEDA
10bb12e09f
Fix 'DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1.' ( #32897 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-28 09:49:14 +00:00
Go MAEDA
ba7d4745e2
Fix ruby 2.7 warning: The last argument is used as the keyword parameter ( #32542 , #31500 ).
...
Patch by Seiei Miyagi.
git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 15:42:50 +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
d438c89b1a
Add IssuePriority#high? and #low? helpers ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:10:11 +00:00
Go MAEDA
006b686499
Extract finding the default or "middle" issue priority into its own class method ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:08:29 +00:00
Go MAEDA
758a08fad9
Use existing scopes instead of one-off AR condition ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:02:53 +00:00
Go MAEDA
6611f5bf5d
Make languages in Highlighted code button in toolbar customizable ( #32528 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-14 14:38:48 +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
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
261d3ed39c
Issue relations filter lacks "is not" ( #32546 ).
...
Patch by Alexander Achenbach.
git-svn-id: http://svn.redmine.org/redmine/trunk@19363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 00:56:32 +00:00
Toshi MARUYAMA
1cca05ecf3
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in app/models/journal.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:01 +00:00
Toshi MARUYAMA
3ccbfd9ec1
cleanup: rubocop: fix Layout/IndentFirstArgument in app/models/journal.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:05 +00:00
Toshi MARUYAMA
dd0c72e4bc
cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/setting.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:24 +00:00
Toshi MARUYAMA
5f2b2c9436
code layout clean up app/models/user.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:47:31 +00:00
Toshi MARUYAMA
bfeffd964b
cleanup: rubocop: fix Layout/MultilineHashBraceLayout and Layout/SpaceInsideBlockBraces in app/models/auth_source_ldap.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:55 +00:00
Toshi MARUYAMA
0c341eb21d
cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/auth_source_ldap.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:44 +00:00
Toshi MARUYAMA
43e0616102
cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/setting.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:02 +00:00
Toshi MARUYAMA
13ce734fc8
code layout clean up app/models/workflow_transition.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 06:32:49 +00:00
Toshi MARUYAMA
1bc6d701c9
cleanup: rubocop: fix Layout/SpaceInsidePercentLiteralDelimiters in app/models/project.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:37 +00:00
Toshi MARUYAMA
33ed57a223
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/mailer.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:45:01 +00:00
Toshi MARUYAMA
430236a2af
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/enumeration.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:50 +00:00