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
Go MAEDA
4973c9014b
Set a strict CSP policy for downloaded attachments, thumbnails, and raw repository files( #38417 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 02:16:36 +00:00
Go MAEDA
3de9413917
Always serve thumbnails with disposition: attachment ( #38417 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 02:14:35 +00:00
Go MAEDA
9315481cdf
Add missing files in r22289 ( #2568 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-31 23:30:11 +00:00
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
2023-08-31 13:21:34 +00:00
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
2023-08-27 08:59:33 +00:00
Go MAEDA
4e0bb4990c
Display calendar in vertical list layout on mobile screens ( #33682 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 06:40:59 +00:00
Go MAEDA
21a6fc71d6
Fix RuboCop offense Performance/MapMethodChain ( #37247 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 09:05:20 +00:00
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
2023-08-23 07:40:25 +00:00
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
2023-06-30 09:40:23 +00:00
Go MAEDA
66f16ff348
Unable to retrieve custom fields set as "For all projects" via Projects API ( #38668 ).
...
Patch by Hirokazu Onozato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-30 09:20:09 +00:00
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
2023-06-29 14:42:54 +00:00
Go MAEDA
0befc3a23c
Fix RuboCop offense Style/RedundantSelfAssignmentBranch ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 01:37:24 +00:00
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
2023-06-21 06:05:09 +00:00
Go MAEDA
fa9b911f0a
Fix RuboCop offense Lint/RedundantSafeNavigation ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-07 13:04:35 +00:00
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
2023-05-13 08:05:32 +00:00
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
2023-05-11 04:04:51 +00:00