Toshi MARUYAMA
457b39a980
remove spaces inside {} of app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 01:21:27 +00:00
Toshi MARUYAMA
8402e08034
remove spaces inside {} of app/models/user.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 01:21:19 +00:00
Toshi MARUYAMA
c7213ab4d6
use a normal unless-statement over a modifier clause in a multiline statement at app/models/repository/bazaar.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 15:18:47 +00:00
Toshi MARUYAMA
dcf3a07892
add empty lines after guard clause to app/models/user.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 15:18:16 +00:00
Go MAEDA
3f11c1f10b
Add "behind-schedule" CSS class to issues ( #31881 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 00:45:19 +00:00
Toshi MARUYAMA
9d9d6851b9
avoid multi-line ternary operators in app/models/issue_query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-04 12:14:27 +00:00
Toshi MARUYAMA
b868a278b5
avoid comparing a variable with multiple items at WorkflowTransition#replace_transitions
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:12:14 +00:00
Toshi MARUYAMA
11c1a3e027
fix source indent at WorkflowTransition#replace_transitions
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:12:04 +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
6416bb5f51
Done ratio of a parent issue may be shown as 99% even though all subtasks are completed ( #33576 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-14 06:56:05 +00:00
Go MAEDA
ebf5d219c9
Import user accounts from CSV file ( #33102 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@19799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 04:53:24 +00:00
Go MAEDA
ca2bde9fbf
Updating an issue via REST API causes internal server error if invalid project id is specified ( #33417 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-14 14:33:07 +00:00
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