Commit Graph

1958 Commits

Author SHA1 Message Date
Go MAEDA
ee31bf8fe9 Add an option to render Integer and Float custom fields with thousands delimiters (#39997).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:56:20 +00:00
Go MAEDA
4879302930 Refactor ApplicationHelper#format_object to accept options as a hash (#39997).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:26:49 +00:00
Go MAEDA
47d7dd0187 Fix RuboCop offense Style/CollectionCompact (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-11 09:35:32 +00:00
Go MAEDA
32b5992c22 Fix RuboCop offense Style/MapCompactWithConditionalBlock (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-11 08:48:35 +00:00
Go MAEDA
c0dc6ef4d0 Prevent issue links with double hash (##nnn) from being recognized as ATX headings (#40716).
Patch by daijiro fukuda (user:daipom).


git-svn-id: https://svn.redmine.org/redmine/trunk@22906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:44:05 +00:00
Go MAEDA
f143314584 Fix RuboCop offense Style/RedundantRegexpEscape in lib/redmine/wiki_formatting/section_helper.rb (#40716).
git-svn-id: https://svn.redmine.org/redmine/trunk@22905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:35:10 +00:00
Go MAEDA
5a96997f6a Support multiple multi-word phrases in the search engine (#38446).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-19 14:27:20 +00:00
Go MAEDA
cda357eed1 Updates for 5.1.3 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 00:27:41 +00:00
Go MAEDA
d909b82d32 Replace BlankSlate with BasicObject for Builder 3.0.0 compatibility (#40802).
Patch by Pavel Rosický (@ahorek).


git-svn-id: https://svn.redmine.org/redmine/trunk@22863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-07 04:47:53 +00:00
Go MAEDA
6a4abab8ce Add timeout for thumbnail generation process (#37530).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-27 14:26:16 +00:00
Go MAEDA
b42d7984b1 Fix RuboCop offense Style/SuperArguments (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-23 11:25:16 +00:00
Go MAEDA
bd4ac7c96c Fix RuboCop offense Rails/WhereRange (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-18 06:17:51 +00:00
Go MAEDA
f4c7e08d0f Key/value-pair custom field type not available to all customizable contents (#27543).
Patch by Felix Schäfer (@felix) and Takenori TAKAKI (@takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@22834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-16 08:38:04 +00:00
Go MAEDA
2531e194f1 Fix RuboCop offense Style/RedundantSelfAssignment (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-13 08:12:09 +00:00
Marius Balteanu
b4bfb6b581 Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Marius Balteanu
8b57ffc3c7 Adds the date of the last activity to the list of available columns for Projects (#23954).
Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu).

git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 13:14:18 +00:00
Marius Balteanu
61c7d539dc Adds Watcher list to the list of available query columns for issues (#29894).
Patch by Felix Schäfer (@felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
b5c48c1d97 Adds an option to send email notification when an attachment is added (#40569).
Patch by  Mizuki ISHIKAWA (#ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 06:40:12 +00:00
Go MAEDA
1c17ae733d Fix initial_page_content method to avoid referencing @page instance variable in wiki formatting helpers (#40513).
Patch by Takuya Kodama (@otegami).


git-svn-id: https://svn.redmine.org/redmine/trunk@22781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-10 02:48:29 +00:00
Go MAEDA
bcb2ebb6a0 Fix RuboCop offense Layout/SpaceInsideStringInterpolation (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-08 07:13:18 +00:00
Marius Balteanu
fb449c77bc Updates for 5.1.2 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-04 19:43:56 +00:00
Marius Balteanu
18cb44684b Introduces Redmine::Plugin#attachment_object_type to provide better API for registering plugin models having attachments (#39948, #39862).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-27 07:06:47 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
4607e90b43 Updates JS toolbar help button to use the new route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-19 20:58:13 +00:00
Marius Balteanu
9155b777e6 Custom themes are now loaded from "/themes" directory from project root. The themes provided by Redmine (alternate and classic) remains in "app/assets/themes" (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 23:11:28 +00:00
Marius Balteanu
34f1c52e23 Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:55:00 +00:00
Marius Balteanu
0fa0848521 Reverts r22694 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:48:26 +00:00
Marius Balteanu
9b540ae8af Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:44:44 +00:00
Go MAEDA
ba2c48717d Fix performance issue with email address auto-linking in the default ("none") formatter (#40193).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 01:27:10 +00:00
Go MAEDA
4451e753a7 Fix RuboCop offense Layout/EmptyLineAfterGuardClause (#38155).
git-svn-id: https://svn.redmine.org/redmine/trunk@22683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 00:59:58 +00:00
Go MAEDA
61e223f698 Fix RuntimeError on reload! in the Rails console (#38155).
Patch by Thomas Löber (@tloeber).


git-svn-id: https://svn.redmine.org/redmine/trunk@22681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-05 13:39:02 +00:00
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