summaryrefslogtreecommitdiffstats
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* @principal_icon@ method should accept a Principal as argument (#23980).Marius Balteanu2024-11-102-3/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use double splat operator for icons methods that are extending @sprite_icon@ ↵Marius Balteanu2024-11-101-7/+7
| | | | | | (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes double-escaping issue for a principal name with special chars (#41721, ↵Marius Balteanu2024-11-101-5/+5
| | | | | | | | #23980). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed duplicate "disabled" class in the context_menus_helper result (#23980, ↵Go MAEDA2024-11-101-3/+7
| | | | | | | | | #41720). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switched checked icon in context menu to SVG icon (#23980, #41720).Go MAEDA2024-11-101-2/+4
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23224 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switches group icon in members box to SVG icon (#41711, #23980).Marius Balteanu2024-11-071-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23222 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switches checkmark icon in tables with SVG icon (#41710, #23980).Marius Balteanu2024-11-071-1/+1
| | | | | | Patch by Bernhard Rohloff (user:cappumuc). git-svn-id: https://svn.redmine.org/redmine/trunk@23221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/MultilineIfModifier in ReportsHelper by using safe ↵Go MAEDA2024-10-271-4/+4
| | | | | | navigation operator (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@23166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop deprecated Redcarpet based Markdown formatter (#40149).Go MAEDA2024-10-202-11/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offenses (#23980).Marius Balteanu2024-10-191-11/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* @sprite_icon@ accepts plugin name as parameter to render an icon from a ↵Marius Balteanu2024-10-191-6/+7
| | | | | | sprite provided by a plugin (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23146 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames and improves methods provided by @IconsHelper@ (#23980).Marius Balteanu2024-10-1914-56/+64
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix invalid "theme-*" CSS class in body element when theme name contains ↵Go MAEDA2024-10-191-1/+1
| | | | | | | | | spaces (#26778). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23144 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Partial quoting feature for Issues and Forums (#41294).Go MAEDA2024-10-092-7/+5
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drops icon-error and style the error icon from CSS (#23980).Marius Balteanu2024-09-291-1/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merges fav and fav-off icons in only one icon and fill the collor from CSS ↵Marius Balteanu2024-09-291-3/+2
| | | | | | (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23089 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves stroke, stroke-width and fill attributes from icons to CSS (#23980).Marius Balteanu2024-09-281-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23087 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switches all icons to Material Symbols (#23980).Marius Balteanu2024-09-242-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23077 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves thumbnail title attribute from `a` to `img` (#41272).Go MAEDA2024-09-201-2/+2
| | | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23065 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Author / Previous assignee" group to assignee dropdown in issue form ↵Go MAEDA2024-09-151-4/+23
| | | | | | | | | (#16045). Patch by Luka Lüdicke (user:dkd-luedicke), Mizuki ISHIKAWA (user:ishikawa999), and Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactors toggle checkboxes link and switch to SVG icon (#23980).Marius Balteanu2024-09-091-3/+5
| | | | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999) git-svn-id: https://svn.redmine.org/redmine/trunk@23047 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop warning (#23980).Marius Balteanu2024-09-081-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces icon-sorted-asc and icon-sorted-desc with SVG icons (#23980).Marius Balteanu2024-09-082-2/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23042 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces various icons with SVG icons (#23980).Marius Balteanu2024-09-083-12/+16
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces activity events icons with SVG icons (#23980).Marius Balteanu2024-09-051-0/+15
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces icons from projects listing and project overview tab with SVG icons ↵Marius Balteanu2024-09-053-3/+8
| | | | | | (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23017 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace icons for files in repository view with SVG icons (#23980).Marius Balteanu2024-09-021-2/+18
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces icon-folder and icon-folder-open in repository view with SVG icons ↵Marius Balteanu2024-09-021-0/+6
| | | | | | (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set UTF-8 as the default CSV export encoding (#41202).Go MAEDA2024-09-011-3/+3
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23007 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).Go MAEDA2024-09-013-4/+4
| | | | | | | Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant. git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces icon-email and icon-passwd icons with SVG icons (#23980).Marius Balteanu2024-08-312-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces zoom-in and zoom-out icons with SVG icons in Gantt (#23980).Marius Balteanu2024-08-311-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes extra spaces in icon classes introduced by r22988 (#23980).Marius Balteanu2024-08-311-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22993 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes more tests.Marius Balteanu2024-08-302-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add icon to attachment link only when icon variable is passed.Marius Balteanu2024-08-301-3/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22990 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing tests by including IconsHelper in ApplicationHelper (#23980). Marius Balteanu2024-08-301-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22989 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Start working on replacing old icons with SVG icons (#23980):Marius Balteanu2024-08-299-29/+75
| | | | | | | | | | | * Introduces IconsHelper with methods to render SVG icon from a sprite file. * Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)). * Replaces specific icons with new SVG icons. * Temporarily keep all old CSS icon definitions for backard compatibility. git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).Go MAEDA2024-08-252-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-215-17/+17
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces removed `ActiveSupport::Deprecation.warn` with custom deprecators ↵Marius Balteanu2024-08-201-1/+1
| | | | | | | | | (#41141, #36320). Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in ↵Go MAEDA2024-08-121-1/+1
| | | | | | rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses ↵Go MAEDA2024-08-129-9/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an option to render Integer and Float custom fields with thousands ↵Go MAEDA2024-07-181-4/+9
| | | | | | | | | delimiters (#39997). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor ApplicationHelper#format_object to accept options as a hash (#39997).Go MAEDA2024-07-185-8/+23
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add configurable setting for copying attachments when copying an issue (#36197).Go MAEDA2024-07-141-0/+10
| | | | | | | Patch by Yuichi HARADA (user:yui.har). git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable custom query links while loading to prevent multiple requests (#40901).Go MAEDA2024-06-271-1/+2
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade jQuery to 3.7.1 and jQuery UI to 1.13.3 (#40853, #40864).Go MAEDA2024-06-201-2/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-1/+2
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Link "Last activity" column to project activity page (#40706, #23954).Marius Balteanu2024-05-281-0/+10
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix duplicated alt and title attributes for attached images in Textile ↵Go MAEDA2024-05-241-6/+17
| | | | | | | | | formatter (#40650). Patch by Katsuya HIDAKA (@hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@22845 e93f8b46-1217-0410-a6f0-8f06a7374b81