summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Fixes tests after r23104 (#23980).Marius Balteanu2024-10-111-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23114 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates test environment config to mark assertionless tests as failed (#36320).Marius Balteanu2024-08-201-1/+0
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-264-4/+4
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly escape issue text in Gantt PNG export for ImageMagick convert ↵Go MAEDA2023-09-211-0/+5
| | | | | | | | | (#38728). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-014-4/+4
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-014-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantStringEscape (#36919).Go MAEDA2022-10-261-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-024-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-2/+2
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-111-0/+41
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-254-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of test/unit/lib/redmine/helpers/diff_test.rbToshi MARUYAMA2020-12-191-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of GanttHelperTestToshi MARUYAMA2020-11-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20449 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Starting or ending marker is not displayed if they are on the leftmost or ↵Go MAEDA2020-08-121-0/+6
| | | | | | | | | rightmost boundary of the gantt (#33175). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bar is not displayed if the due date is the leftmost date or the start ↵Go MAEDA2020-07-251-0/+26
| | | | | | | | | date is the rightmost date (#33140). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-034-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-231-3/+3
| | | | | | test/unit/lib/redmine/helpers/gantt_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | test/unit/lib/redmine/helpers/calendar_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19125 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-051-2/+2
| | | | | | test/unit/lib/redmine/helpers/gantt_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentAssignment in ↵Toshi MARUYAMA2019-11-051-8/+8
| | | | | | test/unit/lib/redmine/helpers/gantt_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceBeforeComma in ↵Toshi MARUYAMA2019-10-191-1/+1
| | | | | | test/unit/lib/redmine/helpers/calendar_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18771 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to Redmine::Helpers::GanttHelperTest (#31966).Go MAEDA2019-08-281-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18408 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-254-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small refactorization of avatar methods (#31391).Go MAEDA2019-05-191-0/+2
| | | | | | | | | | | | | * move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show selected columns in gantt chart (#27672).Go MAEDA2019-05-161-0/+26
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-164-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-154-37/+45
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-051-5/+8
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bars with start date and end date on the same day don't become red by ↵Go MAEDA2018-04-091-0/+14
| | | | | | | | | overdue (#13521). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add copyright header to test/unit/lib/redmine/helpers/url_test.rb (#12510)Toshi MARUYAMA2017-12-071-0/+17
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17077 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes visibility checks for version.fixed_issues in Gantt (#27676).Jean-Philippe Lang2017-11-291-1/+1
| | | | | | | | | Like the version page - the Gantt chart featured a "percent done" info for each version, which wasn't properly limited to visible issues. Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make robust Redmine::Helpers::URL#uri_with_safe_scheme? (#27114)Go MAEDA2017-11-261-0/+17
| | | | | | | Patch by okkez. git-svn-id: http://svn.redmine.org/redmine/trunk@17035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-253-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* spelling fixes (#25495)Toshi MARUYAMA2017-04-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include url helpers in helper tests.Jean-Philippe Lang2016-07-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Text in the "removed" part of a diff is double-escaped (#22115).Jean-Philippe Lang2016-03-261-0/+12
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-133-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing fixtures.Jean-Philippe Lang2015-10-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14714 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-171-20/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-113-27/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt unit tests cleanup.Jean-Philippe Lang2014-11-301-462/+201
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13673 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#subjects" at GanttHelperTestToshi MARUYAMA2014-02-041-88/+75
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#number_of_rows_on_project" at GanttHelperTestToshi MARUYAMA2014-02-041-18/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace shoulda context "#number_of_rows" at GanttHelperTestToshi MARUYAMA2014-02-041-35/+29
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* define as private GanttHelperTest helper methodsToshi MARUYAMA2014-02-041-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-293-3/+3
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded including ApplicationHelper from helper testsToshi MARUYAMA2013-12-261-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed deferred tests.Jean-Philippe Lang2013-11-161-61/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt: sort versions like on the roadmap (#7335).Jean-Philippe Lang2013-11-091-19/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12247 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add unit test of Redmine::Helpers::Diff (#15105)Toshi MARUYAMA2013-10-111-0/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12205 e93f8b46-1217-0410-a6f0-8f06a7374b81