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

7352 Commits

Author SHA1 Message Date
Go MAEDA
3c45dfaad7 Fix missing closing div in app/views/imports/_time_entries_fields_mapping.html.erb (#33027).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-24 03:00:11 +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
dec5f98112 Include attachments in forum post notifications (#16006).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 02:34:25 +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
8cbb53c2ce Fix that selected user on timelog#edit is incorrect (#32959).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-09 00:23:18 +00:00
Go MAEDA
9d18f67f9e Add download buttons in Files columns of the issues list (#32240).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 14:24:51 +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
29433771b4 Add Check all / Uncheck all button to filters in permissions report (#32672).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 00:44:06 +00:00
Go MAEDA
a0b909d523 Repository browser does not render previews for audio/video files (#32153).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-04 05:32:04 +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
Jean-Philippe Lang
0cd14b3a4b Validate back_url everywhere (#32850).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@19488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:39:22 +00:00
Jean-Philippe Lang
b3cda4fd61 Expose validate_back_url as helper method (#32850).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@19487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:38:47 +00:00
Jean-Philippe Lang
914f57fefc Move duplicated back_url method from ApplicationHelper to ApplicationController (#32850).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@19486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:38:01 +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
5b74828013 Fix totals not displayed in projects list view (#32896).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-28 01:15:14 +00:00
Go MAEDA
d168df5c82 Rails 6: Use "render template:" instead of "render file:" in app/views/layouts/admin.html.erb (#32887).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-26 22:09:47 +00:00
Go MAEDA
5c92383a89 Make breadcrumbs of repository browser copy-paste friendly (#32835).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-25 09:12:08 +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
Go MAEDA
d618229f09 Fix Internal Error when issue text custom field is shown in Spent time query results (#32768).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 06:37:47 +00:00
Jean-Philippe Lang
71b8b7bc24 Wrap submit tags with p.
git-svn-id: http://svn.redmine.org/redmine/trunk@19385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 08:46:47 +00:00
Jean-Philippe Lang
433dd9b90b Add missing icons to action links.
git-svn-id: http://svn.redmine.org/redmine/trunk@19383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 08:24:07 +00:00
Jean-Philippe Lang
7aa1208dba Move some links to dropdowns.
git-svn-id: http://svn.redmine.org/redmine/trunk@19382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 08:15:48 +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
92232cc602 Fix "Couldn't find template for digesting" error in the log when sending an attachment or thumbnail (#20277).
Patch by Olivier Houdas.


git-svn-id: http://svn.redmine.org/redmine/trunk@19365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 14:32:25 +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
Go MAEDA
e675eaedab Fix that spent time report CSV shows translation missing text if custom fields are involved (#32500).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-06 00:24:41 +00:00
Go MAEDA
45fb27d5af Fix that bookmarked and recently used projects are unexpectedly filtered by a search keyword after full-text search (#31355, #32503).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-02 01:37:49 +00:00
Go MAEDA
f7fcd111e9 Ruby 2.7: Regexp#match and Regexp#match? with a nil argument are deprecated (#32527, #31500).
git-svn-id: http://svn.redmine.org/redmine/trunk@19324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 05:40:40 +00:00
Go MAEDA
ca751980e5 Fix indentation in app/views/queries/_form.html.erb (#32194).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 01:05:50 +00:00
Go MAEDA
f33d6177fe Add buttons to save/edit/delete a custom query to calendar view (#32194).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 00:58:45 +00:00
Toshi MARUYAMA
677dfdc883 replace multi line block "{}" to "do end" in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:31:04 +00:00
Toshi MARUYAMA
e27dc4d547 cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:53 +00:00
Toshi MARUYAMA
8ee394e97a cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-26 06:30:42 +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
a7ed2956fb cleanup: rubocop: fix Layout/IndentFirstArgument in app/helpers/repositories_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:03 +00:00
Toshi MARUYAMA
6f30f70c43 code layout clean up app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:47:41 +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