Commit Graph

881 Commits

Author SHA1 Message Date
Marius Balteanu
95336e48ad Add a test for #36958.
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-03 16:50:52 +00:00
Marius Balteanu
a554e1d7bd Add test for #36932.
git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:56:52 +00:00
Marius Balteanu
40ffbff49d Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:47:54 +00:00
Go MAEDA
b51d40fe38 Comments for Textile text formatting (#20511).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
ba74ba1c70 Allow users to be mentioned using @ in issues and wiki pages (#13919):
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned



git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Marius Balteanu
4807beaebf Explicitly specify text formatting in the tests (#35952).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Marius Balteanu
380a3b0345 Enable task list items for Common Mark text formatting (#35742).
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
8c147ca2b1 Fix that I18nTest#test_custom_pluralization_rules randomly fails (#36396, #36461).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:16:19 +00:00
Go MAEDA
09dc778eb2 Custom I18n Pluralization rules are not applied correctly (#36396).
Contributed by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
f670f0e572 Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +00:00
Go MAEDA
ec0ce00b95 Auto guess file encoding when importing CSV file (#34718).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:29:55 +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
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
e623582536 Lazy load inline images (#36294).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 01:24:13 +00:00
Go MAEDA
1ae29debf4 Fix redmine:plugins:assets rake task fails (#36287, #32938).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-08 01:23:51 +00:00
Marius Balteanu
79e7cde849 Fix plugin assets are no longer copied under plugin name (#36218, #29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-25 21:34:40 +00:00
Marius Balteanu
1245708ba7 Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +00:00
Marius Balteanu
506fc9d74c Tokenize search parameter in order to allow multiple search terms in:
* the "contains" operator of text filters
* in issue autocomplete

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:54:31 +00:00
Marius Balteanu
b7798e6e1c Unify code block and add "data-language" attribute with the user-supplied language for Textile and Markdown formaters (#35104).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 21:00:16 +00:00
Marius Balteanu
5699253da6 Add "data-language" attribute to code block with the user-supplied language for CommonMark formater (#35104, #32424).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 20:59:04 +00:00
Marius Balteanu
9651398469 Update failing test after hardbreaks enabled by default (#35754, #32424).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 05:57:57 +00:00
Marius Balteanu
c1b3804555 Fixed failing test on CommonMark by striping the trailing whitespace returned by the footnote (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:51:23 +00:00
Marius Balteanu
d92b75d49e Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using <<~ instead of <<- (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:50:52 +00:00
Marius Balteanu
e8c911577f Relax allowed protocols in links by denying specific protocols for CommonMark text formatting (#32424).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:49:27 +00:00
Marius Balteanu
9af2ba2c13 Adds CommonMark Markdown (GitHub Flavored) as third text formatting option (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:40:56 +00:00
Go MAEDA
68eede7e75 Add missing fixtures to Redmine::ProjectJumpBoxTest (#35727).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 12:30:14 +00:00
Go MAEDA
d496d8c4ed Rename test/fixtures/configuration/*.yml.example to test/fixtures/files/configuration/*.yml (#35466).
git-svn-id: http://svn.redmine.org/redmine/trunk@21067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-10 08:47:19 +00:00
Go MAEDA
183642ba20 Markdown text sections broken by thematic breaks (horizontal rules) (#35036).
Patch by Martin Cizek.


git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-14 09:39:12 +00:00
Go MAEDA
474c1d4e35 Fix ArgumentError: wrong number of arguments (given 1, expected 3) (#29914).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:05:15 +00:00
Go MAEDA
919c9cfdd0 Support for Git repositories with default branch "main" (#34942).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 03:48:32 +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
Go MAEDA
124c94df94 Only show currently visible projects in the project jump box (#34595).
Patch by Holger Just and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-16 02:47:09 +00:00
Toshi MARUYAMA
15e78eb472 shorten long line of test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:27 +00:00
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
cef7e91777 shorten long line of test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:12 +00:00
Toshi MARUYAMA
c334fe23b1 add 'freeze' to avoid immutable array literals in loops at MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 15:49:59 +00:00
Toshi MARUYAMA
b92a5ab4b7 remove empty line at method body end of test/unit/lib/redmine/menu_manager/menu_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:18:11 +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
a8a333e58d shorten long line of test/unit/lib/redmine/menu_manager/mapper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:17:27 +00:00
Toshi MARUYAMA
bc47c95f17 shorten long line of test/unit/lib/redmine/field_format/version_field_format_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-09 14:12:08 +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
36c99ba9f1 shorten long line of test/unit/lib/redmine/notifiable_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:20:03 +00:00
Toshi MARUYAMA
1a2fcf1de4 fix source indent of GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:31 +00:00
Toshi MARUYAMA
fd3b7dd4ca fix source indent of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:15 +00:00
Toshi MARUYAMA
4fba0c5240 use "skip" instead of "if statement" whether Redcarpet is installed at markdown_formatter_test
git-svn-id: http://svn.redmine.org/redmine/trunk@20531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:44 +00:00
Toshi MARUYAMA
65425463f1 shorten long line of test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:14 +00:00
Toshi MARUYAMA
90748779df fix source indent of test/unit/lib/redmine/menu_manager/menu_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:48:08 +00:00
Toshi MARUYAMA
594d9079f9 remove spaces inside {} of test/unit/lib/redmine/plugin_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:52:00 +00:00
Toshi MARUYAMA
3ff17c2b0d fix source indent of test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:51:51 +00:00
Toshi MARUYAMA
c7bfcd77dc shorten long line of test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:51:42 +00:00