Jean-Philippe Lang
85a0e96ad6
Set a default size for macro thumbnails different from the preview thumbnails.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-19 07:00:27 +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
24c2416ffe
Tests for Redmine::SyntaxHighlighting::CodeRay.retrieve_supported_languages ( #26055 ).
...
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:56:56 +00:00
Jean-Philippe Lang
4f2c5a9945
Filter arbitrary class names and ids in rendered HTML output ( #25503 ).
...
* Disallow setting arbitrary classes and ids via Textile syntax
* Only allow valid/supported languages for syntax highlighted code blocks
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:41:52 +00:00
Jean-Philippe Lang
99fa41011f
Add kbd to ALLOWED_TAGS ( #25503 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:34:52 +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
f338fe9075
Allow to set multiple values in emails for list custom fields ( #16549 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 19:55:56 +00:00
Jean-Philippe Lang
3faa3693d1
Test failures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:17:50 +00:00
Toshi MARUYAMA
b2c0ea2c3e
do not replace all invalid utf8 ( #24616 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-28 06:24:51 +00:00
Toshi MARUYAMA
3e2d20ad91
add more tests ( #24616 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-28 05:43:22 +00:00
Jean-Philippe Lang
9206d077d4
Group versions by status in version custom field filter ( #23265 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 11:30:00 +00:00
Jean-Philippe Lang
309c6cec86
Don't preload custom field filter values ( #24787 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-12 20:19:45 +00:00
Jean-Philippe Lang
5a77904a91
Don't use assert_equal nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-13 20:12:34 +00:00
Jean-Philippe Lang
3186130966
Don't use assert_equal nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-12 21:36:14 +00:00
Jean-Philippe Lang
bf5dade8df
Use assert_nil instead of assert_equal.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 15:26:41 +00:00
Jean-Philippe Lang
af29408e83
Add "Table of contents" heading to toc macro ( #23179 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 13:50:30 +00:00
Jean-Philippe Lang
cbe5e02203
Adds tests for #hours_field ( #23996 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 16:00:27 +00:00
Jean-Philippe Lang
ef45304817
Adds file custom field format ( #6719 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
7abb92d813
Encode values, not full URL ( #23841 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 07:39:53 +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
91517ec67c
Passing arguments to assert_nothing_raised is deprecated in Rails 5.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 11:05:34 +00:00
Jean-Philippe Lang
4c2fcb0865
Fixed that empty Markdown image tag raises en error ( #23246 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-06 18:18:27 +00:00
Jean-Philippe Lang
bbd24fe350
Custom field List Link values to URL breaks on entries with spaces ( #23067 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:17:34 +00:00
Jean-Philippe Lang
adb9980728
Allow global versions to be shown outside of a project for version custom fields ( #23083 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 05:59:20 +00:00
Jean-Philippe Lang
53710d80fc
Introduce virtual MenuNodes ( #15880 ).
...
They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked.
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:21:52 +00:00
Jean-Philippe Lang
91e991e951
Limits the schemes that custom field URL patterns can use ( #22925 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 19:27:09 +00:00
Jean-Philippe Lang
fad71f8b4b
NoMethodError: undefined method `id' error on EnumerationFormat#value_from_keyword ( #22911 ).
...
Patch by Haihan Ji.
git-svn-id: http://svn.redmine.org/redmine/trunk@15429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-28 11:37:28 +00:00
Jean-Philippe Lang
8cbfeddeb0
Child nodes should only be rendered if the user is actually authorized to see them ( #15880 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 06:48:36 +00:00
Jean-Philippe Lang
64afa24a7f
Replaces acts_as_list with an implementation that handles #position= ( #12909 ).
...
Objects are reordered using the regular attribute writer #position= and AR callbacks.
git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +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
Toshi MARUYAMA
c9730d077b
output what language fails at test_number_to_human_size_for_each_language
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 15:32:21 +00:00
Jean-Philippe Lang
cb38ee0e35
Adds a test for #21202 ( #6969 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-11 07:39:09 +00:00
Jean-Philippe Lang
868d949f47
Reverts r14812 ( #6969 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-11 07:34:15 +00:00
Jean-Philippe Lang
c6283d7ce5
Fixed that less-than sign is not escaped by textile formatter ( #6969 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 10:20:57 +00:00
Jean-Philippe Lang
f29aa17f1b
Fixed that #l_hours_short shows 2 h ( #21069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 08:56:19 +00:00
Jean-Philippe Lang
68c192064a
Set locale in tests ( #21060 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 09:05:39 +00:00
Jean-Philippe Lang
2f51dc11cf
Adds Enumeration custom field format ( #21060 ).
...
Similar to List format but stores possible values as records.
git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +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
ebdfe41cff
Add debug info for random test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 19:49:54 +00:00
Jean-Philippe Lang
cf86eae6bb
Reset current user to prevent random test failures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-04 22:22:25 +00:00
Jean-Philippe Lang
42238a74f4
Display all versions in query filter ( #19271 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-26 08:12:44 +00:00
Jean-Philippe Lang
49604a3bae
Table renders wrong if a trailing space is after | symbol ( #18223 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@14611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:02:01 +00:00
Jean-Philippe Lang
5fffbdc016
CSV importer raises I18n::InvalidLocale exception if current user's language is "(auto)" ( #905 , #20535 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 09:19:12 +00:00
Jean-Philippe Lang
c88ecf0e93
Markdown formatter not running on rake test.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-16 18:30:30 +00:00
Jean-Philippe Lang
e911ce7cb4
Remove style tags from html body ( #15716 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-16 18:23:25 +00:00
Jean-Philippe Lang
3ae42cb326
Better handle html-only emails ( #16962 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:16:42 +00:00
Jean-Philippe Lang
3077ed8d3a
Add BOM to UTF-8 encoded CSV ( #7037 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 07:55:30 +00:00
Jean-Philippe Lang
09356f4e67
Can't apply textile modifiers to 1 non-ASCII character ( #19995 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-06 07:15:55 +00:00
Jean-Philippe Lang
c4374cb960
Email addresses with slashes are not linked correctly ( #19735 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-08 07:03:00 +00:00