1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

18140 Commits

Author SHA1 Message Date
Marius Balteanu
6b82aef321 Switch default backend of ActiveSupport::XmlMini from rexml to Nokogiri (#37258).
git-svn-id: https://svn.redmine.org/redmine/trunk@22599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:16:17 +00:00
Go MAEDA
9f3ca1e753 Refactor file extension removal in Theme#assets to use File.basename instead of delete_suffix (#40008).
git-svn-id: https://svn.redmine.org/redmine/trunk@22598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:39:27 +00:00
Go MAEDA
fc26af7136 Refactor CustomFieldsControllerTest#custom_field_classes (#40008).
git-svn-id: https://svn.redmine.org/redmine/trunk@22597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:14:31 +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
4d3fc7f89e Japanese translation update (#40003).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 09:57:35 +00:00
Go MAEDA
0be4013919 Support localized decimal separators for float values in PDF export (#22024).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:04:00 +00:00
Go MAEDA
f7d2f9f00b Support localized decimal separators for hours in the web UI (#21677).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:01:09 +00:00
Go MAEDA
1ab44859fe Support localized decimal separators for float values (#22024).
Patch by Liane Hampe (@liane_hampe).


git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 06:55:14 +00:00
Go MAEDA
82fc543ea1 Fix RuboCop offense Style/TrailingCommaInArguments introduced in r22584 (#39999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 02:10:13 +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
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