Go MAEDA
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
b4a8ca70e5
remove empty line at method body end of test/unit/lib/redmine/unified_diff_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:18:04 +00:00
Toshi MARUYAMA
dbefefe789
fix source indent of test/unit/lib/redmine/unified_diff_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-04 13:58:59 +00:00
Toshi MARUYAMA
92fdcc1ce4
remove git format patch footer ( #33357 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-05 11:56:05 +00:00
Toshi MARUYAMA
ff41de6f8e
add git format patch to UnifiedDiffTest ( #33357 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-05 11:55:54 +00:00
Toshi MARUYAMA
d94226dd4c
add test to UnifiedDiffTest to keep similar git footer line ( #33357 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-30 02:07:17 +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
46ca8f6725
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_partials_with_html_entities
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:15:33 +00:00
Toshi MARUYAMA
2c020e132a
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_line_starting_with_dashes
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:15:23 +00:00
Toshi MARUYAMA
41f1922d23
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_one_line_new_files
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:15:11 +00:00
Toshi MARUYAMA
f99c88f3cd
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_include_a_b_slash
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:59 +00:00
Toshi MARUYAMA
9e52eba4bc
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_both_git_diff
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:49 +00:00
Toshi MARUYAMA
e019d9d6a1
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_previous_file_name_with_git
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:38 +00:00
Toshi MARUYAMA
c56c9d3c19
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_offset_range_ascii_1
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:27 +00:00
Toshi MARUYAMA
afbd2353c1
cleanup: rubocop: fix Layout/IndentHeredoc in Redmine::UnifiedDiffTest#test_offset_range_ascii_2
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:14:16 +00:00
Go MAEDA
adebf4da1d
Remove trailing whitespaces from test ( #31506 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +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
b900ae6107
Support frozen_string_literal in test/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly ( #31004 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +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
b178150761
Show renames in diff preview ( #28295 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-27 09:14:36 +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
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
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
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +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
670d2b6e2b
fix diff of CJK(Chinese/Japanese/Korean) is broken on Ruby 1.8 ( #14562 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-28 11:00:02 +00:00
Toshi MARUYAMA
6469e9a5a3
fix diff error in case of line_left out of range ( #13644 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-05 07:30:51 +00:00
Toshi MARUYAMA
d3de07a17c
fix that diff outputs become ??? in some non ASCII words ( #12641 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 10:36:06 +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
Toshi MARUYAMA
37351ddecc
remove empty setup method from test/unit/lib/redmine/unified_diff_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:02:17 +00:00
Toshi MARUYAMA
f18edc4e1c
use git diff format for all diff ( #11868 )
...
Mercurial diff uses git format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 02:29:11 +00:00
Jean-Philippe Lang
ba5a052c8c
Copyright update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Jean-Philippe Lang
6aae25209a
Fixed that partial diffs are done against html instead of original code ( #9143 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:39:47 +00:00
Toshi MARUYAMA
65e80d46dc
remove trailing white-spaces from test/unit/lib/redmine/unified_diff_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:06:07 +00:00
Jean-Philippe Lang
21c79827ff
Highlight changes inside diff lines ( #7139 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 20:23:29 +00:00
Toshi MARUYAMA
35f075d8ad
scm: fix diffs do not handle one line new files properly ( #7618 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 07:03:45 +00:00
Jean-Baptiste Barth
17f86d964f
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Jean-Philippe Lang
4b83a0d848
Fixes diff parser for when lines starting with multiple dashes are removed ( #4186 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-11 13:25:53 +00:00
Eric Davis
7b0cb6aba8
Upgraded to Rails 2.3.4 ( #3597 )
...
* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags. The hidden tag
needs to appear first in Rails 2.3, otherwise it will override any value in
the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
use layouts. Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
added to the :field_status translation. This resulted in an email string of:
<li>Status<span class="required"> *</span><span class="required"> *</span>
Instead of:
<li>Status: New</li>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-13 17:14:35 +00:00
Jean-Philippe Lang
fec86a9ce1
Adds a setting to limit the number of diff lines that should be displayed (default to 1500).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 15:21:40 +00:00