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
2023-12-29 08:24:43 +00:00
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
2023-12-29 08:00:23 +00:00
Marius Balteanu
5eccab9295
Improves filter rendering on narrow screens by replacing the layout tables with a flex layout.
...
(#39806 ).
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-28 04:16:49 +00:00
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
2023-12-28 00:10:34 +00:00
Go MAEDA
8e1319f54e
Optimize IssueCategory SQL queries when showing an issue ( #39849 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 09:31:20 +00:00
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
2023-12-27 08:07:22 +00:00
Marius Balteanu
a9b7f12900
Fixes that diff of a javascript file in repository module is not displayed with layout in Rails 7.1
...
(#39747 , #36320 ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-26 15:47:43 +00:00
Go MAEDA
c6389210ec
Incorrect position of "Edited" mark in issue notes with h4 headings ( #39932 ).
...
Contributed by Y. Saku.
git-svn-id: https://svn.redmine.org/redmine/trunk@22561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-26 08:57:48 +00:00
Marius Balteanu
2634d43c8c
Fix hardcoded string "auto" on user preferences page ( #39879 ).
...
Patch by @salmanmp.
git-svn-id: https://svn.redmine.org/redmine/trunk@22549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 01:58:28 +00:00
Go MAEDA
081d6c3713
Fix improper error highlighting for description field in issue form ( #39795 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 00:33:13 +00:00
Marius Balteanu
539d0f867e
Explicitly render a 404 on non-JS requests to @watchers#new@ ( #39894 ).
...
Patch by @hjust.
git-svn-id: https://svn.redmine.org/redmine/trunk@22538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-21 06:47:32 +00:00
Go MAEDA
380444f085
Fix RuboCop offense Performance/StringIdentifierArgument ( #39888 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 09:23:05 +00:00
Go MAEDA
c8640d7ffc
Fix RuboCop offense Style/HashEachMethods ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:13:48 +00:00
Go MAEDA
d9ef2d191c
Fix RuboCop offense Lint/SymbolConversion ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:16:35 +00:00
Go MAEDA
c51e4937e7
Fix RuboCop offense Style/SuperWithArgsParentheses ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Marius Balteanu
f3b6c3a378
Update Rails UJS to 7.1.2 ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 04:35:51 +00:00
Marius Balteanu
54afecb2ca
Revert r21883 which was an workaround for #37626 ( #37732 , #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-29 07:11:50 +00:00
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
2023-11-27 20:58:55 +00:00
Marius Balteanu
3abf021e4b
Fix query grouping filter not working for custom field relations ( #39714 ).
...
Patch Alexander Meindl.
git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:53:41 +00:00
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
2023-11-21 06:45:54 +00:00
Go MAEDA
f5d68651a0
Add data-text-formatting attribute for selected markup language to body tag ( #20620 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 01:03:43 +00:00
Go MAEDA
291d23e5fe
Deprecate unused ApplicationHelper#render_if_exist ( #39527 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:41:21 +00:00
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
2023-11-18 14:40:25 +00:00
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
2023-11-18 12:58:19 +00:00
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
2023-11-16 11:13:39 +00:00
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
2023-11-16 08:32:41 +00:00
Marius Balteanu
4731a0970a
Fix mention autocomplete not displaying for users without "Edit issues" permission ( #39521 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 21:40:02 +00:00
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
2023-11-11 06:00:20 +00:00
Marius Balteanu
f0f1d49b56
Remove @rss_*@ deprecated methods ( #36806 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-06 20:36:48 +00:00
Go MAEDA
63188014b0
Replace hardcoded issues count check with limit variable in IssuesController#retrieve_previous_and_next_issue_ids ( #39380 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-31 13:02:09 +00:00
Go MAEDA
c6fdc7db86
Redirect to repositories#show after repository#fetch_changesets to avoid the user-visible browser URL ( #39238 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-31 12:45:15 +00:00
Go MAEDA
6713c882b4
Fix reversed display of default queue adapter check ( #36695 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-30 09:11:34 +00:00
Go MAEDA
36a7932003
Fix related issues count not updating after deleting one of the related issues ( #38493 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 07:31:01 +00:00
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
2023-10-23 17:33:40 +00:00
Marius Balteanu
94da4a33f5
Revert r22368.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:31:04 +00:00
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
2023-10-23 17:23:37 +00:00
Marius Balteanu
3f7156cd77
Fix typo in default async adapter name ( #36695 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-22 08:24:42 +00:00
Marius Balteanu
6eae0901a9
Fix condition to display active job queue check only for production environment ( #36695 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-22 08:21:32 +00:00
Marius Balteanu
249c473600
Add check in Redmine information page if default queue adapter is used in production ( #36695 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 10:15:24 +00:00
Go MAEDA
6a7f2536b5
Add field separator option to CSV export dialog ( #37621 ).
...
Patch by Karel Pičman.
git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
Go MAEDA
54f4b1b0d8
Fix comment to correctly represent legacy filter parameters handling in UsersController#index API requests ( #39181 ).
...
Patch by Mischa The Evil.
git-svn-id: https://svn.redmine.org/redmine/trunk@22354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-17 09:27:31 +00:00
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
2023-10-16 14:17:35 +00:00
Go MAEDA
28a45b7144
Add missing Homepage attribute in Projects API response ( #39113 ).
...
Patch by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@22345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 02:18:26 +00:00
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
2023-10-15 01:42:07 +00:00
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
2023-10-12 22:42:55 +00:00
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
2023-10-09 05:30:04 +00:00
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
2023-10-09 05:19:28 +00:00
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
2023-10-07 03:43:00 +00:00
Go MAEDA
80880d9aaa
Remove set_language_if_valid from MyController ( #39066 ).
...
Patch by Pavel Rosický.
git-svn-id: https://svn.redmine.org/redmine/trunk@22320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-24 11:54:34 +00:00
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
2023-09-20 04:43:20 +00:00