Toshi MARUYAMA
2cd0507184
shorten long line of test/unit/lib/redmine/helpers/diff_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:19 +00:00
Toshi MARUYAMA
70137aeb75
remove spaces inside {} of GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-20 11:36:37 +00:00
Go MAEDA
1712ff0785
Starting or ending marker is not displayed if they are on the leftmost or 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
2020-08-12 04:21:32 +00:00
Go MAEDA
e93febfda2
Gantt bar is not displayed if the due date is the leftmost date or the start 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
2020-07-25 08:17:49 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
c410293b3c
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:04:05 +00:00
Toshi MARUYAMA
35eb7c4e57
cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/helpers/calendar_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 10:45:46 +00:00
Toshi MARUYAMA
bce3abdc74
cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:22 +00:00
Toshi MARUYAMA
d97537935b
cleanup: rubocop: fix Layout/IndentAssignment in test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:11 +00:00
Toshi MARUYAMA
7c796b96cc
code cleanup: rubocop: fix Layout/SpaceBeforeComma in test/unit/lib/redmine/helpers/calendar_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:25:22 +00:00
Go MAEDA
ae8ee086b4
Add missing fixtures to Redmine::Helpers::GanttHelperTest ( #31966 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-28 06:22:43 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
f992df684f
Small refactorization of avatar methods ( #31391 ).
...
* 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
2019-05-19 22:27:41 +00:00
Go MAEDA
0328b5671a
Show selected columns in gantt chart ( #27672 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 21:54:33 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
bdcadb8ced
Allow collapse/expand in gantt chart ( #6417 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-05 14:52:09 +00:00
Go MAEDA
8b0bfbbc8b
Gantt bars with start date and end date on the same day don't become red by overdue ( #13521 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-09 13:00:41 +00:00
Toshi MARUYAMA
4e7ae640b9
add copyright header to test/unit/lib/redmine/helpers/url_test.rb ( #12510 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 14:28:41 +00:00
Jean-Philippe Lang
62d6dfe1cc
Fixes visibility checks for version.fixed_issues in Gantt ( #27676 ).
...
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
2017-11-29 19:38:44 +00:00
Go MAEDA
9ae7bc8152
Make robust Redmine::Helpers::URL#uri_with_safe_scheme? ( #27114 )
...
Patch by okkez.
git-svn-id: http://svn.redmine.org/redmine/trunk@17035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-26 03:44:37 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Toshi MARUYAMA
6139e0033a
spelling fixes ( #25495 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Jean-Philippe Lang
ff50094d3e
Include url helpers in helper tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 16:17:14 +00:00
Jean-Philippe Lang
25eb92c0dc
Text in the "removed" part of a diff is double-escaped ( #22115 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-26 10:20:10 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
540053eb82
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:38:29 +00:00
Jean-Philippe Lang
d85f73a30d
Upgrade to Rails 4.2.0 ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
dacae57a38
Gantt unit tests cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 13:28:53 +00:00
Toshi MARUYAMA
a464abefdd
replace shoulda context "#subjects" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:46 +00:00
Toshi MARUYAMA
3ad3c691cc
replace shoulda context "#number_of_rows_on_project" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:28 +00:00
Toshi MARUYAMA
8543dfd109
replace shoulda context "#number_of_rows" at GanttHelperTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:06:11 +00:00
Toshi MARUYAMA
10c6b0e84f
define as private GanttHelperTest helper methods
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-04 10:05:54 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
c97986aa52
remove unneeded including ApplicationHelper from helper tests
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-26 04:27:21 +00:00
Jean-Philippe Lang
3d7c3041b8
Removed deferred tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-16 07:58:35 +00:00
Jean-Philippe Lang
1871378648
Gantt: sort versions like on the roadmap ( #7335 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-09 08:54:45 +00:00
Toshi MARUYAMA
e7bc6364e1
add unit test of Redmine::Helpers::Diff ( #15105 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-10-11 17:37:25 +00:00
Toshi MARUYAMA
f085508121
gantt: sort versions by start date ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:34 +00:00
Toshi MARUYAMA
8ea4e79964
gantt: sort issues by start date ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:19 +00:00
Toshi MARUYAMA
997bfbe78f
gantt: add test to sort issues by current logic ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 22:59:52 +00:00
Jean-Baptiste Barth
208d6d881c
Add missing tests for Redmine::Helpers::Gantt#number_of_rows.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-02 23:42:03 +00:00
Jean-Philippe Lang
dbe7d6fbfb
Removed unused fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-11 20:14:26 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang
ab066317e6
Adds STI to Query model. Issue queries are now IssueQuery instances.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 14:10:49 +00:00
Jean-Philippe Lang
e821020394
Make the tests pass when config.threadsafe! is enabled ( #12097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 18:07:35 +00:00
Jean-Philippe Lang
8bde60dc56
Remove Issue.generate_for_project! test helper and use Issue.generate! instead.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:39:22 +00:00
Toshi MARUYAMA
2461d12388
gantt: remove redundant empty lines from unit gantt helper test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 02:58:59 +00:00
Toshi MARUYAMA
dadd294a25
code layout cleanup test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 08:08:06 +00:00