Go MAEDA
878f4c3455
Add tests for r18383 ( #31231 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 07:03:01 +00:00
Go MAEDA
70284ee244
MarkdownFormatterTest#test_should_support_underlined_text is declared as private ( #31929 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-21 00:31:54 +00:00
Go MAEDA
489a563ece
Update Rouge to 3.8.0 ( #31556 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 05:23:46 +00:00
Go MAEDA
31e8e736f3
Code cleanup: RuboCop: Layout/TrailingBlankLines
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 03:02:20 +00:00
Go MAEDA
f5c7a4a420
Convert HTML links to Textile/Markdown links when creating an issue from an email ( #31695 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-11 05:01:37 +00:00
Go MAEDA
8d87f23370
Update redcarpet to 3.5.0 ( #31847 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-05 00:20:00 +00:00
Toshi MARUYAMA
9fa084133b
code clean up test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:26 +00:00
Toshi MARUYAMA
6e6b01a65e
rubocop: fix Layout/BlockAlignment of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:14 +00:00
Toshi MARUYAMA
4b95697d23
rubocop: fix Layout/CaseIndentation of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-03 05:33:57 +00:00
Toshi MARUYAMA
ec4177a2f3
rubocop: fix Layout/AlignArray of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-29 12:47:01 +00:00
Go MAEDA
a60bac1770
Add missing fixtures in AttachmentFormatVisibilityTest ( #31705 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-12 07:26:16 +00:00
Jean-Philippe Lang
b4d3e429df
Test failure ( #31444 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 16:35:51 +00:00
Jean-Philippe Lang
c4a9d4cd4d
Issue macro for flexible linking to issues ( #29489 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 14:01:50 +00:00
Jean-Philippe Lang
28f37adcd3
Add "<< me >>" option to user format issue custom fields ( #31444 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 09:05:36 +00:00
Jean-Philippe Lang
c0a638721c
Text may unexpectedly be enclosed in pre tags when an issue is created via HTML email ( #31232 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:38:19 +00:00
Go MAEDA
dd55d8f7e7
Update Rouge to 3.4.1 ( #31556 ).
...
Patch by Marius BALTEANU and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 10:46:27 +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
a7fbb4719a
Add missing frozen string literals and copyrights ( #31508 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-04 06:36:20 +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
29403e710a
Adds favorites and recently used projects lists to project jump box ( #31355 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +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
f9e708728a
Code cleanup: remove a unused variable last_rev_author from test_last_rev_with_spaces_in_filename.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-06 14:36:59 +00:00
Go MAEDA
400e1ca2ff
Attachment preview does not work for some source files such as JavaScript and Go ( #29259 ).
...
Patch by Go MAEDA with the help of Stephan Wenzel's contribution.
git-svn-id: http://svn.redmine.org/redmine/trunk@18122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 09:32:05 +00:00
Go MAEDA
dea03717b9
Redmine::SyntaxHighlighting.highlight_by_filename may not be able to determine the language by filename alone ( #31285 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-03 07:31:46 +00:00
Toshi MARUYAMA
451b6a98f7
fix source code indents in GitAdapterTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 08:48:47 +00:00
Go MAEDA
9cce7e85a2
Raise an exception if the plugin directory name differs from the plugin id ( #31110 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-19 15:30:41 +00:00
Go MAEDA
18a4f64547
Fix plugins test to use correct plugin name and directory ( #31110 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-19 15:23:54 +00:00
Toshi MARUYAMA
ec557a67a4
scm: git: fix non ascii branch and tag browsing ( #16881 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:41:08 +00:00
Toshi MARUYAMA
d9799f25a3
code clean up GitAdapterTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:40:57 +00:00
Toshi MARUYAMA
ae0939952e
scm: git: add new one latin1 tag to test repository ( #16881 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 06:48:37 +00:00
Toshi MARUYAMA
5d2c03a196
scm: git: add new two latin1 branches to test repository ( #16881 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 05:30:18 +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
606e75d12d
Use #b shortcut instead of #force_encoding ( #31059 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 01:36:44 +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
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
e70c283a22
Remove unnecessary encoding magic comment ( #31034 ).
...
The default script encoding is UTF-8 in Ruby 2.0 or later.
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 06:26:33 +00:00
Jean-Philippe Lang
5da9cc59ee
PluginRequirementError is now raised instead of PluginNotFound ( #31030 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:49:04 +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
019b640d81
Reverts r17891 ( #30099 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-10 23:37: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
ef9c879718
Multiple blank lines in pre tags are not preserved in Textile ( #30099 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@17891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-20 10:31:30 +00:00
Go MAEDA
5509358885
"rake db:fixtures:load" does not work ( #30811 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@17889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-19 11:03:10 +00:00
Go MAEDA
bce44769ff
Redmine::WikiFormattingTest#test_links_separated_with_line_break_should_link tests nothing ( #30347 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-10 09:07:05 +00:00
Go MAEDA
6ece31ff63
Remove trailing whitespaces from test/unit/lib/redmine/wiki_formatting_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-10 09:03:34 +00:00
Go MAEDA
6765505b2d
Add missing fixtures to several tests ( #30276 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-09 14:26:56 +00:00
Go MAEDA
1ffdaafb3b
Test for r17763 ( #30171 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-17 04:52:36 +00:00
Jean-Philippe Lang
2576292959
Set User.current to nil before unit tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:31 +00:00
Jean-Philippe Lang
4bbe2fc7e6
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:07:52 +00:00
Jean-Philippe Lang
2fdbcd35dd
Adds a permission to log time for another user ( #3848 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:28:22 +00:00