Commit Graph

1927 Commits

Author SHA1 Message Date
Go MAEDA
ed0644d151 Fix ScmData.binary? method not to consider UTF-8 text as binary (#40020).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-30 01:41:38 +00:00
Go MAEDA
fca8cf6c0f Fix RuboCop offense Style/RedundantFreeze (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 06:06:29 +00:00
Go MAEDA
ae971404cc Fix RuboCop offense Lint/RedundantDirGlobSort (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 06:01:10 +00:00
Go MAEDA
352decdb1e Fix RuboCop offense Style/BlockDelimiters, Layout/MultilineBlockLayout, and Layout/BlockEndNewline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 01:41:44 +00:00
Go MAEDA
a547662ad0 Fix RuboCop offense Style/MapToHash (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:29:59 +00:00
Go MAEDA
14e35236ad Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:19:24 +00:00
Go MAEDA
f6db14c733 Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:02:50 +00:00
Marius Balteanu
9b271611f7 Fixes multiple RuboCop offenses (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 02:39:47 +00:00
Marius Balteanu
e07452e921 Remove code that is no longer needed as a result of asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:40:45 +00:00
Marius Balteanu
c99bb27e27 Add Propshaft library to enable the asset pipeline without modifying existing assets (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:38:33 +00:00
Marius Balteanu
13aeb797cf Use ApplicationRecord instead of ActiveRecord::Base (#38975).
Patch by Minoru Maeda (@maeda-m).

git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 11:52:38 +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
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
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
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
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
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
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
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
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
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
Marius Balteanu
a2c90c462f Reverts r22507, r22508 and r22510 (#36320, #39803).
git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:26:34 +00:00
Marius Balteanu
e6f2e33856 Allows configure plugins directory path in order to change the default location in test environment (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:34:16 +00:00
Marius Balteanu
ac36333e90 Fix typo (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:24:34 +00:00
Marius Balteanu
8f210b35d2 Fix autoloading of plugins fails in Rails 7.1.2 (#36320).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:10:39 +00:00
Go MAEDA
7a06338a04 Fix CommonMark Markdown help page to reflect user's language setting (#39755).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-06 14:26:57 +00:00
Marius Balteanu
f29c22157d Fix typo (#39110).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-04 06:18:21 +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
859bc07edb Updates for 5.1.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:19:39 +00:00
Marius Balteanu
8a1bff856f Add missing copyrights (#37730).
Patch by Karel Pičman.

git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 14:07:17 +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
Marius Balteanu
f24631a8bd Use tx_isolation for MySQL lower than 8. (#39437).
git-svn-id: https://svn.redmine.org/redmine/trunk@22464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:10:53 +00:00
Marius Balteanu
aa9b681678 Use a global lock provided by @with_advisory_lock@ gem to work around deadlock issues when MySQL >= 5.7 (#39437).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 14:39:28 +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
Marius Balteanu
60f7d22249 Simply regex (#39553).
git-svn-id: https://svn.redmine.org/redmine/trunk@22450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:19:15 +00:00
Marius Balteanu
f75c4c3247 Fix mention notification is not sent when user pattern is leading by some punctuation marks like ! or ? (#39553).
Patch by Thomas Löber.

git-svn-id: https://svn.redmine.org/redmine/trunk@22445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:07:51 +00:00
Marius Balteanu
5013c28431 Fix undefined method error in issue list PDF export when export contains a custom field block column with full width layout enabled that is not part of the tracker of the exported ticket(s) (#39534).
git-svn-id: https://svn.redmine.org/redmine/trunk@22418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 06:41:09 +00:00
Go MAEDA
146ee1cec4 Set version to 5.1.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@22410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-30 22:03:29 +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
090323b7a0 Fixes i18n call in macro error fallback (#37668).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 08:30:33 +00:00
Go MAEDA
1d88a2317d Updates for 5.0.6 release
git-svn-id: https://svn.redmine.org/redmine/trunk@22322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-30 06:22:56 +00:00
Go MAEDA
949f57f521 Correctly escape issue text in Gantt PNG export for ImageMagick convert (#38728).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-21 00:35:13 +00:00
Go MAEDA
303abf0783 Use uri_with_link_safe_scheme? in Redcloth3 (#38807).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:55:40 +00:00
Go MAEDA
ba181c7328 HTML-escape the entire tag content of escaped HTML tags in textile (#38807).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:45:03 +00:00
Go MAEDA
5e07a72413 Adapt markdown autolink behavior to that of common_mark (#38806).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 05:07:22 +00:00