Go MAEDA
c069ea3a24
Use Array#intersect? introduced in Ruby 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 23:40:58 +00:00
Go MAEDA
65597ec1cf
Add filters for "User's group" and "User's role" to Spent time list ( #41053 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@22958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-16 02:05:25 +00:00
Go MAEDA
b3d1deeece
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:45:54 +00:00
Go MAEDA
74e2262efb
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:46:58 +00:00
Go MAEDA
174c237c70
Fix incorrect sorting of users grouped by status in issue filters for administrators ( #41079 ).
...
Patch by Vladislav Moiseev (user:vladdy.moses).
git-svn-id: https://svn.redmine.org/redmine/trunk@22947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-11 08:30:40 +00:00
Go MAEDA
fded8025d5
Add project identifier to List-Id header in notification emails ( #13359 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-26 03:19:22 +00:00
Go MAEDA
0247ebb394
Set default age parameter for User.prune method to 30 days ( #41023 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-19 08:26:13 +00:00
Go MAEDA
ee31bf8fe9
Add an option to render Integer and Float custom fields with thousands delimiters ( #39997 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:56:20 +00:00
Marius Balteanu
f9f486bdd0
Check view watchers permission when copying issues ( #40946 ).
...
Patch by Jens Kraemer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:30:36 +00:00
Marius Balteanu
c1eff66f68
Truncate git authors to 255 characters ( #40948 ).
...
The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this.
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 20:35:16 +00:00
Go MAEDA
f82d8314d9
Expose project updated_on column and filter in project query ( #40829 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-27 04:46:27 +00:00
Go MAEDA
b5078e314a
Creating a new issue fails with an internal error if no issue priorities are defined ( #40860 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 02:09:40 +00:00
Go MAEDA
719b0ce615
Reject passwords that are the same as login, first name, last name, or email ( #37279 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-21 05:32:46 +00:00
Go MAEDA
b3308d126a
Optimize Version#behind_schedule? by avoiding the call to completed_percent when due_date or start_date is nil ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 07:10:29 +00:00
Go MAEDA
35aa00f7ac
Optimize FixedIssuesExtension#closed_percent by bypassing issues_progress when all issues are closed ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 06:57:57 +00:00
Go MAEDA
c132b178a1
Optimize Version model by reducing redundant SQL count queries ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 06:55:36 +00:00
Go MAEDA
ddde0ff47d
Fix RuboCop offense Rails/ActiveRecordCallbacksOrder ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 03:11:08 +00:00
Go MAEDA
c1335f5126
Suppress RuboCop false positive for Security/Open ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-06 01:20:23 +00:00
Go MAEDA
f9eb77227a
Fix RuboCop offense Naming/MemoizedInstanceVariableName ( #37862 , #1671 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-05 08:21:59 +00:00
Marius Balteanu
82c88b3700
Adds estimated remaining time to version page ( #37862 , #1671 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:17:01 +00:00
Marius Balteanu
d9ca32b9d1
Move logic for estimated remaining hours from @QueryColumn@ to @Issue@ ( #37862 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:16:08 +00:00
Marius Balteanu
38a8adb2a2
Adds description field to custom queries ( #9309 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Go MAEDA
b42d7984b1
Fix RuboCop offense Style/SuperArguments ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-23 11:25:16 +00:00
Go MAEDA
9189837e7b
Ignore statuses in Project#rolled_up_statuses which only have an identity transition defined ( #40693 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-16 07:20:19 +00:00
Go MAEDA
250414c353
Explicitly reference table name in Project#like scope to avoid ambiguity ( #40691 ).
...
Patch by Vincent Robert (@Nanego).
git-svn-id: https://svn.redmine.org/redmine/trunk@22830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-14 08:04:04 +00:00
Go MAEDA
fb9bc74dd4
Fix RuboCop offense Style/RedundantSelfAssignment ( #40412 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-13 07:45:20 +00:00
Marius Balteanu
47099ccd3a
Fixes issue list filter "Watched by: me" only shows issues watched via group for projects with the @view_issue_watchers@ permission ( #40412 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-11 08:35:27 +00:00
Marius Balteanu
b4bfb6b581
Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest ( #35217 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Marius Balteanu
8b57ffc3c7
Adds the date of the last activity to the list of available columns for Projects ( #23954 ).
...
Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu).
git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 13:14:18 +00:00
Marius Balteanu
1a96ee225d
Fixes RuboCop offense Performance/Sum ( #24457 , #4682 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 21:35:16 +00:00
Marius Balteanu
cd8d4fe444
Progress of version should be calculated the same way as parent tasks ( #24457 , #4682 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 20:58:03 +00:00
Go MAEDA
6f82abf463
Fix RuboCop offense Style/SuperWithArgsParentheses ( #37862 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 09:21:47 +00:00
Marius Balteanu
6fa12a95ab
Adds estimated remaining hours issue query column calculated based on estimated time and done ratio ( #37862 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 07:49:29 +00:00
Marius Balteanu
61c7d539dc
Adds Watcher list to the list of available query columns for issues ( #29894 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
b5c48c1d97
Adds an option to send email notification when an attachment is added ( #40569 ).
...
Patch by Mizuki ISHIKAWA (#ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 06:40:12 +00:00
Go MAEDA
4506524ea5
Revert r22764 ( #33829 ).
...
It breaks activities_controller_test.rb.
git-svn-id: https://svn.redmine.org/redmine/trunk@22770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-06 14:09:21 +00:00
Go MAEDA
c94d7c5a57
Fix Atom feed for issues to correctly use the updated time for "updated" element instead of the created time ( #33829 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-04 14:25:49 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
b61ee85e4d
Principal.not_member_of scope does not accept ActiveRecord::Relation ( #28243 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-08 00:57:07 +00:00
Go MAEDA
164153e819
Optimize queries visibility check ( #39852 ).
...
Patch by Pavel Rosický (@ahorek).
git-svn-id: https://svn.redmine.org/redmine/trunk@22669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-01 12:33:50 +00:00
Go MAEDA
4517a4684e
Add support for IDN (internationalized domain name) email addresses in user accounts ( #29208 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-01 08:46:41 +00:00
Marius Balteanu
60adf42c08
Enable "any" and "none" operators for status filter in User listing ( #40099 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:08:12 +00:00
Go MAEDA
8a0bbe3d1d
Fix RuboCop offense Layout/EmptyLineAfterMagicComment ( #38975 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-24 02:29:55 +00:00
Marius Balteanu
13aeb797cf
Use ApplicationRecord instead of ActiveRecord::Base ( #38975 ).
...
Patch by Minoru Maeda (@maeda-m).
git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 11:52:38 +00:00
Marius Balteanu
c517664985
Reverts r22438 ( #35189 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:05:38 +00:00
Go MAEDA
5b77092be4
Replace regular expression matches with String#start_with? / end_with? ( #40010 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 11:27:25 +00:00
Go MAEDA
52a55f407b
Replace String#sub with delete_prefix / delete_suffix ( #40008 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:04:37 +00:00
Go MAEDA
02fbe55855
Optimize Project#notified_users to improve issue create/update speed ( #23328 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 01:23:25 +00:00
Go MAEDA
73477b41eb
Fix "any" operator for text filters to exclude empty text values ( #39991 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-02 00:41:00 +00:00
Go MAEDA
ccee193f38
Cache the result of Journal#attachments ( #39847 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-31 02:02:31 +00:00