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

18058 Commits

Author SHA1 Message Date
Marius Balteanu
2cd7198dc8 Reverts r22439 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:17:25 +00:00
Marius Balteanu
c517664985 Reverts r22438 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:05:38 +00:00
Go MAEDA
6ea1fd551d Remove backported Rack::RewindableInput.size method due to Rack 3.0 migration (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-21 03:58:09 +00:00
Go MAEDA
a004863ce8 Update RuboCop to 1.60 (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:43:51 +00:00
Go MAEDA
f9f183a4c9 Regenerate .rubocop_todo.yml (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:36:46 +00:00
Go MAEDA
c452f00763 Fix RuboCop offense Style/ArgumentsForwarding (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:31:55 +00:00
Go MAEDA
77ec59cd50 Update csv, net-imap, and net-smtp gems to the same versions shipped with Ruby 3.3.0 (#39761).
git-svn-id: https://svn.redmine.org/redmine/trunk@22611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 03:00:03 +00:00
Marius Balteanu
e749ac5136 Fix query columns selection in custom query form (#39806).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 00:50:02 +00:00
Go MAEDA
6f4357b0a7 Add Ruby 3.3 to supported Ruby versions (#39761).
git-svn-id: https://svn.redmine.org/redmine/trunk@22609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 00:19:03 +00:00
Marius Balteanu
dc1f6002a0 Fix query columns selection in time tracking settings page from admin (#39806).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:48:39 +00:00
Marius Balteanu
bf129f0387 Indentation fixes (#39806).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:47:17 +00:00
Marius Balteanu
c33bad5031 Fix query columns selection in admin and my page (#39806).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:35:00 +00:00
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
2024-01-11 11:27:25 +00:00
Marius Balteanu
b57a3a187c Remove copyright headers from tribute.css file (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 08:13:17 +00:00
Marius Balteanu
f09d991991 Shorten copyright headers for JS files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:37:49 +00:00
Marius Balteanu
bdec8a3a24 Shorten copyright headers for JS toolbar files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:36:47 +00:00
Marius Balteanu
277b79f9f5 Shorten copyright headers for css files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:32:08 +00:00
Marius Balteanu
c83c6a6750 Remove wrong copyright headers from acts_as_tree plugin (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:22:37 +00:00
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