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

18031 Commits

Author SHA1 Message Date
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
70bd44395d Optimize gantt chart rendering for issues without subtasks (#40000).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-03 12:14:04 +00:00
Marius Balteanu
fe9fd97f6d Explicitly render a 404 on non-JS requests to messages#quote (#39999).
Patch by Holger Just (@hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@22584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-03 01:19: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
06f9567415 Optimize loading of journals, relations, and allowed_statuses in IssuesController#show for API requests (#39993).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-01 11:28:48 +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
Go MAEDA
a6509d658b Optimize repository menu visibility check (#39835).
Patch by Holger Just (@hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@22580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-30 04:47:38 +00:00
Go MAEDA
87e7283ac0 Update SQLite3 gem to 1.7 (#39985).
git-svn-id: https://svn.redmine.org/redmine/trunk@22579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-30 04:29:11 +00:00
Go MAEDA
03a0e0e6bf Remove specific platform constraints for database adapter gems (#39971).
git-svn-id: https://svn.redmine.org/redmine/trunk@22578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-30 04:13:36 +00:00
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
f02e2c088b Update Nokogiri to 1.16.0 (#39972).
git-svn-id: https://svn.redmine.org/redmine/trunk@22576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-29 08:05:25 +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
Marius Balteanu
a6a02971b1 Fixes exception in @acts_as_attachable@ when running on Ruby 2.7 (#39862).
Patch by @maeda.

git-svn-id: https://svn.redmine.org/redmine/trunk@22569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 15:40:08 +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
Go MAEDA
c11f213e40 Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) introduced in r22551 (#39862).
git-svn-id: https://svn.redmine.org/redmine/trunk@22566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 06:07:22 +00:00
Go MAEDA
4383e0fbbc Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) introduced in r22563 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 06:02:22 +00:00
Go MAEDA
9b247230f7 Fix RuboCop offense Layout/EmptyLinesAroundClassBody introduced in r22562 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-27 01:17:28 +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
Marius Balteanu
5a5c621f43 Add system test for #39747.
git-svn-id: https://svn.redmine.org/redmine/trunk@22562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-26 15:43:25 +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
Go MAEDA
f3d8e69810 Traditional Chinese translation update (#39941).
Patch by ChunChang (Nagaharu) Lo.


git-svn-id: https://svn.redmine.org/redmine/trunk@22560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-26 08:33:20 +00:00
Marius Balteanu
f5c5573610 Updates number of subversion filechanges in @test_fetch_changesets_from_scratch@ (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-25 01:57:24 +00:00
Marius Balteanu
1197615189 Updates number of subversion revisions in @test/unit/repository_subversion_test.rb@ (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-24 16:44:56 +00:00
Marius Balteanu
5ec6d763a8 Updates subversion repository fixture with test data for #39747 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-24 16:39:17 +00:00
Marius Balteanu
c17b42509b Fixes attachments functionality for (custom) plugins broken since fix for CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862).
Patch by @jkraemer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 02:08:53 +00:00
Marius Balteanu
cb10b529cb Update locales (#39879).
git-svn-id: https://svn.redmine.org/redmine/trunk@22550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 02:03:18 +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
Marius Balteanu
1f7f1a2db7 Allow consecutive footnote references inTextile (#39884).
Patch by @hjust.

git-svn-id: https://svn.redmine.org/redmine/trunk@22546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 01:44:02 +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
Go MAEDA
dbd6db7272 Fix typo in Russian translation of text_status_no_workflow (#39801).
Patch by Evangeline Rome.


git-svn-id: https://svn.redmine.org/redmine/trunk@22544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 00:13:08 +00:00
Go MAEDA
11169aacae Extends mysql8? test helper to handle more complex version strings (#39865).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 00:06:29 +00:00
Marius Balteanu
bf39d87c81 Add test for #39894.
git-svn-id: https://svn.redmine.org/redmine/trunk@22539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-21 06:54:28 +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
4460861233 Update RuboCop Rails to 2.23 (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 09:41:28 +00:00
Go MAEDA
a34d0b8781 Update RuboCop Performance to 1.20 (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 09:28:20 +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
21a48d79f4 Update RuboCop to 1.59 (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:29:38 +00:00
Go MAEDA
f8ccceedde Regenerate .rubocop_todo.yml (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:22:54 +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
Go MAEDA
b552720590 Disable RuboCop Style/RedundantParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:12:49 +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
38e40d5c13 Run plugin tests only if test files exist (#39803, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 03:30:04 +00:00
Marius Balteanu
cbe6b4a374 Fixes that @redmine:plugins:test@ should run plugins unit, functional, integration and system tests in one single test session instead of one session for each type of test. This behaviour was changed in Rails 7.1 because @rake test@ and @rails test@ are integrated (#39803, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 03:19:10 +00:00
Go MAEDA
4a1683e607 Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320, #39834).
git-svn-id: https://svn.redmine.org/redmine/trunk@22523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-19 09:43:27 +00:00
Marius Balteanu
e566e60e51 Adds test for plugin autoload issue (#36320, #39834).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-17 15:05:47 +00:00