Commit Graph

2066 Commits

Author SHA1 Message Date
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
Go MAEDA
2415c9f5d7 Fix exception raised during thumbnail macro to image tag conversion in emails (#38697).
Patch by Y saku and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-30 07:30:16 +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
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
e0e751f5bc Fix RuboCop offense Style/RedundantRegexpArgument (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 00:39:58 +00:00
Go MAEDA
f41afc7e72 Fix RuboCop offense Style/RedundantArrayConstructor (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-07 12:39:40 +00:00
Go MAEDA
3a75a7ecc5 Restrict available locales to those defined by Redmine itself (#38529).
Patch by  Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-10 00:27:32 +00:00
Go MAEDA
d97beec1d4 Add "View annotation prior to this change" button in the annotate view of Git (#35432).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-30 04:00:57 +00:00
Go MAEDA
b1510836b0 Rendering a custom field with a URL pattern set and containing " :" in the value raises Addressable::URI::InvalidURIError (#38464).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-21 03:06:06 +00:00
Go MAEDA
95f3b5cf38 Revert the change made in error in r22197 (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:31:50 +00:00
Go MAEDA
0f6507a607 Change the notation of "contains any of" filter operator to "*~" (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:02:30 +00:00