1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 18:01:14 +00:00

2783 Commits

Author SHA1 Message Date
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
Toshi MARUYAMA
3bd37fef40 cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:29 +00:00
Toshi MARUYAMA
daf4f93c16 cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:54 +00:00
Toshi MARUYAMA
404f2fb54d cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/models/setting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:57:50 +00:00
Toshi MARUYAMA
5600c3cf5a cleanup: rubocop: fix Style/MultilineIfModifier in app/models/repository/subversion.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:11:40 +00:00
Toshi MARUYAMA
cff0fb1855 cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/repository/subversion.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:11:28 +00:00
Toshi MARUYAMA
0b487967da cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/repository/git.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:10:25 +00:00
Toshi MARUYAMA
34aa758c1d cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/repository/git.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:55:26 +00:00
Toshi MARUYAMA
37272d1c41 cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:55:16 +00:00
Toshi MARUYAMA
83f96f072e cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:55:04 +00:00
Toshi MARUYAMA
466a5bd3a8 cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/journal.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:54:54 +00:00
Toshi MARUYAMA
eb41a074ce cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/project_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:30:02 +00:00
Toshi MARUYAMA
ab37571a8e cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/setting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:29:52 +00:00
Toshi MARUYAMA
b131063315 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:29:41 +00:00
Toshi MARUYAMA
3326956a62 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:00:28 +00:00
Toshi MARUYAMA
902d2d4f53 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/issue_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:00:16 +00:00
Jean-Philippe Lang
97efebf08e Make sure we cannot create a ProjectQuery on a given project (#29482).
git-svn-id: http://svn.redmine.org/redmine/trunk@19093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 15:53:04 +00:00
Toshi MARUYAMA
bd00d16d0f rubocop: fix Lint/IneffectiveAccessModifier in app/models/auth_source_ldap.rb (#32470)
git-svn-id: http://svn.redmine.org/redmine/trunk@19085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 13:10:51 +00:00
Jean-Philippe Lang
1220a68cbd Reverts r18692 (#32470).
git-svn-id: http://svn.redmine.org/redmine/trunk@19079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 10:31:48 +00:00
Jean-Philippe Lang
9746ab7e5b Add anonymous user to author list in issue/time query (#16904).
Patch by Yuichi HARADA and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:58:57 +00:00
Jean-Philippe Lang
4a447dda09 Add support for grouping by issue on timelog view (#32436).
Patch by Kouhei Sutou.

git-svn-id: http://svn.redmine.org/redmine/trunk@19063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:56:47 +00:00
Jean-Philippe Lang
e23c480f22 Removed invalid association IssueCustomField#issue_custom_values (#32431).
Patch by Akira Matsuda.

git-svn-id: http://svn.redmine.org/redmine/trunk@19061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:54:24 +00:00
Go MAEDA
1c533c948b Adds "Target Version" column to the list of "Available columns" in "Spent time" tab (#30346).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 00:42:30 +00:00