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
4 months ago
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
4 months ago
Go MAEDA
8a0bbe3d1d
Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22620 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
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
4 months ago
Marius Balteanu
c517664985
Reverts r22438 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
Go MAEDA
13028b913b
Extend "contains" operator in "Parent task" filter to support multiple issue IDs (#39805).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22577 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
3c692009c9
Optimize query models by replacing `map` with `pluck` (#39837).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22575 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
c13d597209
Optimize `Issue#relations` method to improve performance by fetching both `relations_from` and `relations_to` using a single database query (#39840).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22572 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
fa85583c96
Optimize users visibility check (#39857).
Patch by Pavel Rosický.
git-svn-id: https://svn.redmine.org/redmine/trunk@22567 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
380444f085
Fix RuboCop offense Performance/StringIdentifierArgument (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
c8640d7ffc
Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
d9ef2d191c
Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
c51e4937e7
Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Marius Balteanu
7b911245d3
Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 months ago
Marius Balteanu
fd3843d821
Replace request_store with ActiveSupport::CurrentAttributes (#39110).
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 months ago
Marius Balteanu
a54155d206
Moves create parent issue journal to after_commit hook to work around stale object errors on concurrency (#39437).
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22459 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 months ago
Marius Balteanu
b7a190399f
Remove deprecated methods in Repository and AbstractAdapter (#39558).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 months ago
Go MAEDA
fa7c481028
Auto-detection of field wrapper type when importing CSV file (#39511).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Go MAEDA
384cde0a46
New email notification option "For any event on my bookmarked projects" (#35189).
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Marius Balteanu
98fa89400e
Fix an expression of non-boolean type specified in a context where a condition is expected when MSSQL is used (#39443).
Patch by Pavel Rosický.
git-svn-id: https://svn.redmine.org/redmine/trunk@22417 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Marius Balteanu
f0f1d49b56
Remove @rss_*@ deprecated methods (#36806).
git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Marius Balteanu
f1437b7ec5
Reinitialize an empty Wiki page after after project wiki is deleted (#34634).
git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Marius Balteanu
94da4a33f5
Revert r22368.
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Marius Balteanu
5e17a276a8
Traditional Chinese translation update (#39221).
Patch by ChunChang (Nagaharu) Lo.
git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 months ago
Go MAEDA
03280712d3
Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax (#39181).
git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
ff93ee3cfa
API compatibility to legacy status and name query params (#39181, #37674)
- adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname
- maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
cb617673b3
Cleanup debug code in app/models/mail_handler.rb (#39184).
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22339 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
bfe619ae7e
Optimize IssueQuery#sql_for_assigned_to_role_field for PostgreSQL (#38319).
Contributed by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@22334 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
ad3e2bdd1b
Refactor SQL construction in IssueQuery#sql_for_assigned_to_role_field for better readability (#38319).
git-svn-id: https://svn.redmine.org/redmine/trunk@22333 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
43873746ba
Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate email validation (#36969).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
3928d82ee1
Avoid exception during validation if the spent_on date of a time entry was removed (#39079).
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 months ago
Go MAEDA
fe9ef2fc27
Add description for issue statuses and display them in issue new/edit form (#2568).
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 months ago
Go MAEDA
937124443c
Raise the maximum length of the last name to 255 characters (#37679).
Patch by Anthony Mallet.
git-svn-id: https://svn.redmine.org/redmine/trunk@22284 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 months ago
Go MAEDA
21a6fc71d6
Fix RuboCop offense Performance/MapMethodChain (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 months ago
Go MAEDA
86c5d7814f
Retry in case of stale issue during Issue.update_versions (#38820).
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22279 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 months ago
Go MAEDA
bb3662894e
"has been" and "has never been" filter operators can be very slow (#38527, #38788).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22271 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 months ago
Go MAEDA
945a82b5c0
<=> operator should return nil when invoked with an incomparable object (#38772).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 months ago
Go MAEDA
0befc3a23c
Fix RuboCop offense Style/RedundantSelfAssignmentBranch (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22263 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 months ago
Go MAEDA
f500357ba2
Fix SQL error when passing invalid value to "Related to" filter (#38301).
git-svn-id: https://svn.redmine.org/redmine/trunk@22256 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 months ago
Go MAEDA
fa9b911f0a
Fix RuboCop offense Lint/RedundantSafeNavigation (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
9d0b073f7d
Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
e8d8d6b7f1
Fix PostgreSQL error caused by comparing text with integer values (#38527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22242 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
2caf5eaf97
New issues filter operators "has been", "has never been", and "changed from" (#38527).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22240 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
5352225a8c
Make the "Any searchable text" filter search only open issues when the status filter is set to "open" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22221 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
fae39a9542
Fix "Any searchable text" filter doesn't support the project filter with the value "my projects" or "my bookmarks" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago