]> source.dussan.org Git - redmine.git/log
redmine.git
2 years agoAdd current theme and whether it includes JavaScript to Redmine::Info (#32116).
Go MAEDA [Sun, 12 Dec 2021 04:15:42 +0000 (04:15 +0000)]
Add current theme and whether it includes JavaScript to Redmine::Info (#32116).

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21308 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop Rails to 2.12 (#35207).
Go MAEDA [Sat, 11 Dec 2021 05:43:36 +0000 (05:43 +0000)]
Update RuboCop Rails to 2.12 (#35207).

git-svn-id: http://svn.redmine.org/redmine/trunk@21307 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReverts r21305 (#35207).
Go MAEDA [Sat, 11 Dec 2021 05:34:51 +0000 (05:34 +0000)]
Reverts r21305 (#35207).

.rubocop_todo.yml is broken.

git-svn-id: http://svn.redmine.org/redmine/trunk@21306 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop Rails to 2.12 (#35207).
Go MAEDA [Sat, 11 Dec 2021 02:04:40 +0000 (02:04 +0000)]
Update RuboCop Rails to 2.12 (#35207).

git-svn-id: http://svn.redmine.org/redmine/trunk@21305 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop Performance to 1.12 (#35142).
Go MAEDA [Fri, 10 Dec 2021 07:10:35 +0000 (07:10 +0000)]
Update RuboCop Performance to 1.12 (#35142).

git-svn-id: http://svn.redmine.org/redmine/trunk@21304 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Layout/ClosingParenthesisIndentation (#35136).
Go MAEDA [Fri, 10 Dec 2021 05:53:38 +0000 (05:53 +0000)]
Fix RuboCop offense Layout/ClosingParenthesisIndentation (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21303 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate RuboCop to 1.23 (#35136).
Go MAEDA [Fri, 10 Dec 2021 05:46:19 +0000 (05:46 +0000)]
Update RuboCop to 1.23 (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21302 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRegenerate .rubocop_todo.yml (#35136).
Go MAEDA [Fri, 10 Dec 2021 05:30:54 +0000 (05:30 +0000)]
Regenerate .rubocop_todo.yml (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21301 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix redmine:plugins:assets rake task fails (#36287, #32938).
Go MAEDA [Wed, 8 Dec 2021 01:23:51 +0000 (01:23 +0000)]
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

2 years agoBulgarian translation update (#36280).
Go MAEDA [Sun, 5 Dec 2021 05:06:00 +0000 (05:06 +0000)]
Bulgarian translation update (#36280).

Patch by Ivan Cenov.

git-svn-id: http://svn.redmine.org/redmine/trunk@21299 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd a list of supported languages by the code highlighter to the help (#33859).
Go MAEDA [Sun, 5 Dec 2021 05:00:46 +0000 (05:00 +0000)]
Add a list of supported languages by the code highlighter to the help (#33859).

Contributed by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21298 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMenuManagerTest randomly fails (#36241).
Go MAEDA [Mon, 29 Nov 2021 13:50:47 +0000 (13:50 +0000)]
MenuManagerTest randomly fails (#36241).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21297 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRuby 3.1: net-smtp, net-imap, and net-pop are now bundled gems (#36205).
Go MAEDA [Sat, 27 Nov 2021 05:41:20 +0000 (05:41 +0000)]
Ruby 3.1: net-smtp, net-imap, and net-pop are now bundled gems (#36205).

Contributed by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@21296 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix plugin assets are no longer copied under plugin name (#36218, #29914, #32938).
Marius Balteanu [Thu, 25 Nov 2021 21:34:40 +0000 (21:34 +0000)]
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

2 years agoPsych 4: Psych::DisallowedClass exception when unserializing a setting value (#36226).
Go MAEDA [Thu, 25 Nov 2021 05:48:04 +0000 (05:48 +0000)]
Psych 4: Psych::DisallowedClass exception when unserializing a setting value (#36226).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21294 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate Capybara to 3.36 (#35025).
Go MAEDA [Tue, 23 Nov 2021 05:29:14 +0000 (05:29 +0000)]
Update Capybara to 3.36 (#35025).

git-svn-id: http://svn.redmine.org/redmine/trunk@21293 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDownload all attachments in a journal (#35462).
Go MAEDA [Mon, 22 Nov 2021 08:42:44 +0000 (08:42 +0000)]
Download all attachments in a journal (#35462).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoJapanese translation update (#36221).
Go MAEDA [Sun, 21 Nov 2021 07:04:47 +0000 (07:04 +0000)]
Japanese translation update (#36221).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21291 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoTraditional Chinese translation update (#36196).
Go MAEDA [Sun, 21 Nov 2021 02:14:19 +0000 (02:14 +0000)]
Traditional Chinese translation update (#36196).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@21290 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdates .rubocop_todo.yml (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 23:50:38 +0000 (23:50 +0000)]
Updates .rubocop_todo.yml (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21289 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove invalid require (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 21:08:23 +0000 (21:08 +0000)]
Remove invalid require (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21288 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoSwitch to zeitwerk autoloader (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 20:55:08 +0000 (20:55 +0000)]
Switch to zeitwerk autoloader (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoLoad core plugins using require (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 20:52:59 +0000 (20:52 +0000)]
Load core plugins using require (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21286 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd core extensions in prepare method (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 20:47:53 +0000 (20:47 +0000)]
Add core extensions in prepare method (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21285 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMove preparation code to redmine/preparation.rb (#29914, #32938).
Marius Balteanu [Wed, 17 Nov 2021 20:45:39 +0000 (20:45 +0000)]
Move preparation code to redmine/preparation.rb (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoExtract Redmine::PluginLoader from Redmine::Plugin (#32938).
Marius Balteanu [Wed, 17 Nov 2021 20:36:53 +0000 (20:36 +0000)]
Extract Redmine::PluginLoader from Redmine::Plugin (#32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21283 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate locales (#35795).
Marius Balteanu [Mon, 15 Nov 2021 22:03:00 +0000 (22:03 +0000)]
Update locales (#35795).

git-svn-id: http://svn.redmine.org/redmine/trunk@21282 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoYou can configure default project queries in the following places (#35795):
Marius Balteanu [Mon, 15 Nov 2021 21:58:39 +0000 (21:58 +0000)]
You can configure default project queries in the following places (#35795):
* App-level: Administration > Projects > Default query (Projects list defaults section)
* User-level: My account > Default project query

git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMigrate @setting_default_issue_query@ locale key to @label_default_query@ (#7360).
Marius Balteanu [Mon, 15 Nov 2021 21:13:22 +0000 (21:13 +0000)]
Migrate @setting_default_issue_query@ locale key to @label_default_query@ (#7360).

git-svn-id: http://svn.redmine.org/redmine/trunk@21280 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdopt 2FA emails to new Mailer interface (#36005).
Go MAEDA [Sat, 13 Nov 2021 09:24:53 +0000 (09:24 +0000)]
Adopt 2FA emails to new Mailer interface (#36005).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21279 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoBulgarian translation update (#36192).
Go MAEDA [Sat, 13 Nov 2021 06:40:09 +0000 (06:40 +0000)]
Bulgarian translation update (#36192).

Patch by Ivan Cenov.

git-svn-id: http://svn.redmine.org/redmine/trunk@21278 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd missing fixtures to UserTest (#35975).
Go MAEDA [Thu, 11 Nov 2021 09:24:22 +0000 (09:24 +0000)]
Add missing fixtures to UserTest (#35975).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21277 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoTraditional Chinese translation update (#36163).
Go MAEDA [Tue, 9 Nov 2021 06:14:45 +0000 (06:14 +0000)]
Traditional Chinese translation update (#36163).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@21276 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix typo in class 'icon-expended' (#36149).
Marius Balteanu [Mon, 8 Nov 2021 20:14:49 +0000 (20:14 +0000)]
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

2 years agoUpdate locales (#6033).
Go MAEDA [Mon, 8 Nov 2021 14:24:08 +0000 (14:24 +0000)]
Update locales (#6033).

git-svn-id: http://svn.redmine.org/redmine/trunk@21274 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAllow addition/removal of subtasks to show in parent's history (#6033).
Go MAEDA [Mon, 8 Nov 2021 14:22:06 +0000 (14:22 +0000)]
Allow addition/removal of subtasks to show in parent's history (#6033).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Naming/MethodName due to r21269 (#29076).
Go MAEDA [Mon, 8 Nov 2021 14:12:05 +0000 (14:12 +0000)]
Fix RuboCop offense Naming/MethodName due to r21269 (#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21272 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoTraditional Chinese translation update (#36151).
Go MAEDA [Mon, 8 Nov 2021 09:10:03 +0000 (09:10 +0000)]
Traditional Chinese translation update (#36151).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@21271 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate locales (#29076).
Marius Balteanu [Sat, 6 Nov 2021 19:38:50 +0000 (19:38 +0000)]
Update locales (#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21270 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdds button to "Create and follow" when adding a subtask from the parent issue. Now...
Marius Balteanu [Sat, 6 Nov 2021 09:11:58 +0000 (09:11 +0000)]
Adds button to "Create and follow" when adding a subtask from the parent issue. Now the user have the following options:
* Create: redirects the user to the parent task (existing behaviour)
* Create and follow: redirects the user to the newly created subtask (new behaviour)
* Create and add another: redirects the user to new subtask (existing behaviour).

(#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoClose the flyout menu only when clicking on main (#30448).
Marius Balteanu [Tue, 2 Nov 2021 22:01:58 +0000 (22:01 +0000)]
Close the flyout menu only when clicking on main (#30448).

git-svn-id: http://svn.redmine.org/redmine/trunk@21268 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRename CoreExtensions to CoreExt (#29914, #32938).
Marius Balteanu [Wed, 27 Oct 2021 22:27:03 +0000 (22:27 +0000)]
Rename CoreExtensions to CoreExt (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21267 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix cursor no longer shown as pointer on whole wrapper when flyout menu is active...
Marius Balteanu [Wed, 27 Oct 2021 22:01:54 +0000 (22:01 +0000)]
Fix cursor no longer shown as pointer on whole wrapper when flyout menu is active (#30448).

Patch Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21266 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd require to acts_as_tree (#29914, #32938).
Marius Balteanu [Wed, 27 Oct 2021 20:53:13 +0000 (20:53 +0000)]
Add require to acts_as_tree (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21265 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUse full full path for require (#29914, #32938).
Marius Balteanu [Wed, 27 Oct 2021 20:52:38 +0000 (20:52 +0000)]
Use full full path for require (#29914, #32938).

Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21264 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove extra blank line (#29914, #32938).
Marius Balteanu [Wed, 27 Oct 2021 20:43:02 +0000 (20:43 +0000)]
Remove extra blank line (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21263 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMove @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ class...
Marius Balteanu [Wed, 27 Oct 2021 20:42:10 +0000 (20:42 +0000)]
Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ class to its own file (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove extra blank line (#29914, #32938).
Marius Balteanu [Sun, 24 Oct 2021 10:46:29 +0000 (10:46 +0000)]
Remove extra blank line (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21261 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoExtract @Shell@ and @DateCalculation@ classes from @lib/redmine/utils.rb@ to their...
Marius Balteanu [Sun, 24 Oct 2021 10:45:24 +0000 (10:45 +0000)]
Extract @Shell@ and @DateCalculation@ classes from @lib/redmine/utils.rb@ to their own files (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21260 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoExtract @Diff@ and @DiffTable@ from @lib/redmine/unified_diff.rb@ to their own files...
Marius Balteanu [Sun, 24 Oct 2021 10:05:03 +0000 (10:05 +0000)]
Extract @Diff@ and @DiffTable@ from @lib/redmine/unified_diff.rb@ to their own files (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21259 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMove custom DateValidator from @lib/redmine/core_ext/active_record.rb@ to @app/valida...
Marius Balteanu [Sun, 24 Oct 2021 09:57:56 +0000 (09:57 +0000)]
Move custom DateValidator from @lib/redmine/core_ext/active_record.rb@ to @app/validators/date_validator.rb@ (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21258 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoPin webdrivers gem to 4.6.1.
Marius Balteanu [Fri, 22 Oct 2021 06:23:37 +0000 (06:23 +0000)]
Pin webdrivers gem to 4.6.1.

git-svn-id: http://svn.redmine.org/redmine/trunk@21257 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoPin selenium-webdriver to 3.142.7.
Marius Balteanu [Thu, 21 Oct 2021 19:16:30 +0000 (19:16 +0000)]
Pin selenium-webdriver to 3.142.7.

git-svn-id: http://svn.redmine.org/redmine/trunk@21256 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove extra blank line.
Marius Balteanu [Thu, 21 Oct 2021 19:15:36 +0000 (19:15 +0000)]
Remove extra blank line.

git-svn-id: http://svn.redmine.org/redmine/trunk@21255 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRevert changes made in r21251 due to a test fail (#29914, #32938).
Marius Balteanu [Thu, 21 Oct 2021 06:30:52 +0000 (06:30 +0000)]
Revert changes made in r21251 due to a test fail (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21254 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate .rubocop_todo and fix Style/AndOr offense (#29914, #32938).
Marius Balteanu [Wed, 20 Oct 2021 22:21:19 +0000 (22:21 +0000)]
Update .rubocop_todo and fix Style/AndOr offense (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21253 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoSplit multiple classes and modules that existed in the same file (#29914, #32938).
Marius Balteanu [Wed, 20 Oct 2021 22:18:49 +0000 (22:18 +0000)]
Split multiple classes and modules that existed in the same file (#29914, #32938).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix rubocop "Style/CombinableLoops" offense in wiki_page.rb (#29914, #32938).
Marius Balteanu [Wed, 20 Oct 2021 22:02:03 +0000 (22:02 +0000)]
Fix rubocop "Style/CombinableLoops" offense in wiki_page.rb (#29914, #32938).

git-svn-id: http://svn.redmine.org/redmine/trunk@21251 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate locales (#35770).
Go MAEDA [Wed, 20 Oct 2021 08:09:36 +0000 (08:09 +0000)]
Update locales (#35770).

git-svn-id: http://svn.redmine.org/redmine/trunk@21250 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdate locales (#32424).
Go MAEDA [Wed, 20 Oct 2021 08:05:50 +0000 (08:05 +0000)]
Update locales (#32424).

git-svn-id: http://svn.redmine.org/redmine/trunk@21249 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoChange the "Edit" label in the context menu to "Bulk Edit" when multiple issues are...
Go MAEDA [Wed, 20 Oct 2021 07:55:44 +0000 (07:55 +0000)]
Change the "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected (#35770).

Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21248 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUpdates for 4.2.3 release.
Go MAEDA [Sun, 10 Oct 2021 02:10:52 +0000 (02:10 +0000)]
Updates for 4.2.3 release.

git-svn-id: http://svn.redmine.org/redmine/trunk@21243 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix random failing test introduced in r21130 (#35957, #34169).
Marius Balteanu [Sat, 9 Oct 2021 06:52:27 +0000 (06:52 +0000)]
Fix random failing test introduced in r21130 (#35957, #34169).

git-svn-id: http://svn.redmine.org/redmine/trunk@21242 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoDisable rubocop Lint/IneffectiveAccessModifier for @self.tokenized_like_conditions...
Marius Balteanu [Sat, 9 Oct 2021 06:47:54 +0000 (06:47 +0000)]
Disable rubocop Lint/IneffectiveAccessModifier for @self.tokenized_like_conditions@ in @app/models/query.rb@ (#35764).

git-svn-id: http://svn.redmine.org/redmine/trunk@21241 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoExplicitly specify escape character using an ESCAPE on SQLite (#35073).
Marius Balteanu [Sat, 9 Oct 2021 06:35:47 +0000 (06:35 +0000)]
Explicitly specify escape character using an ESCAPE on SQLite (#35073).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21240 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoAdd tests for #35764.
Marius Balteanu [Tue, 5 Oct 2021 19:55:10 +0000 (19:55 +0000)]
Add tests for #35764.

git-svn-id: http://svn.redmine.org/redmine/trunk@21239 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoTokenize search parameter in order to allow multiple search terms in:
Marius Balteanu [Tue, 5 Oct 2021 19:54:31 +0000 (19:54 +0000)]
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

3 years agoEnforce stricter class filtering in WatchersController (35463).
Marius Balteanu [Tue, 5 Oct 2021 16:46:03 +0000 (16:46 +0000)]
Enforce stricter class filtering in WatchersController (35463).

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21235 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix rubocop offense (#35073).
Marius Balteanu [Sun, 3 Oct 2021 19:56:00 +0000 (19:56 +0000)]
Fix rubocop offense (#35073).

git-svn-id: http://svn.redmine.org/redmine/trunk@21234 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoReplace send with direct call because sanitize_sql_for_conditions is now public ...
Marius Balteanu [Sun, 3 Oct 2021 19:46:53 +0000 (19:46 +0000)]
Replace send with direct call because sanitize_sql_for_conditions is now public (#35073).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21233 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUse sanitize_sql_like in Query#sql_contains (#35073).
Marius Balteanu [Sun, 3 Oct 2021 19:45:20 +0000 (19:45 +0000)]
Use sanitize_sql_like in Query#sql_contains (#35073).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21232 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUse sanitize_sql_like in like scopes (#35073).
Marius Balteanu [Sun, 3 Oct 2021 19:44:39 +0000 (19:44 +0000)]
Use sanitize_sql_like in like scopes (#35073).

Patch Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUse sanitize_sql_like on search tokens (#35073).
Marius Balteanu [Sun, 3 Oct 2021 19:43:19 +0000 (19:43 +0000)]
Use sanitize_sql_like on search tokens (#35073).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21230 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoRemoves '%' signs from test strings in search test (#35073).
Marius Balteanu [Sun, 3 Oct 2021 19:42:31 +0000 (19:42 +0000)]
Removes '%' signs from test strings in search test (#35073).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21229 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoAppend two spaces to lines when importing an email on CommonMark with hardbreaks...
Marius Balteanu [Sun, 3 Oct 2021 19:20:04 +0000 (19:20 +0000)]
Append two spaces to lines when importing an email on CommonMark with hardbreaks disabled (#32424).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoMake hardbreaks behaviour configurable in config/configuration.yml (#32424).
Marius Balteanu [Sun, 3 Oct 2021 05:17:18 +0000 (05:17 +0000)]
Make hardbreaks behaviour configurable in config/configuration.yml (#32424).

git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoStick commonmarker gem to 0.23.1 when Ruby version >= 2.6 (#35892, #32424).
Marius Balteanu [Sat, 2 Oct 2021 15:43:22 +0000 (15:43 +0000)]
Stick commonmarker gem to 0.23.1 when Ruby version >= 2.6 (#35892, #32424).

git-svn-id: http://svn.redmine.org/redmine/trunk@21226 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoAdd information about whether an issue is open or closed to Issues API response ...
Go MAEDA [Sat, 2 Oct 2021 06:16:15 +0000 (06:16 +0000)]
Add information about whether an issue is open or closed to Issues API response (#15855).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@21225 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoLine breaks in the description of a custom field are ignored in a tooltip (#34834).
Go MAEDA [Fri, 24 Sep 2021 02:05:30 +0000 (02:05 +0000)]
Line breaks in the description of a custom field are ignored in a tooltip (#34834).

Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21222 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix Layout/ClosingParenthesisIndentation offense (#35683).
Marius Balteanu [Sat, 11 Sep 2021 10:14:14 +0000 (10:14 +0000)]
Fix Layout/ClosingParenthesisIndentation offense (#35683).

git-svn-id: http://svn.redmine.org/redmine/trunk@21220 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoDisable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).
Marius Balteanu [Sat, 11 Sep 2021 10:08:37 +0000 (10:08 +0000)]
Disable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).

git-svn-id: http://svn.redmine.org/redmine/trunk@21219 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix Layout/MultilineArrayBraceLayout offense (#21210).
Marius Balteanu [Sat, 11 Sep 2021 10:07:01 +0000 (10:07 +0000)]
Fix Layout/MultilineArrayBraceLayout offense (#21210).

git-svn-id: http://svn.redmine.org/redmine/trunk@21218 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix NoMethodError when generating a link to a locked user (#12795, #35823).
Go MAEDA [Tue, 7 Sep 2021 14:59:40 +0000 (14:59 +0000)]
Fix NoMethodError when generating a link to a locked user (#12795, #35823).

git-svn-id: http://svn.redmine.org/redmine/trunk@21217 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoInterpret thumbnail macro in description, notes and formatted custom fields in issues...
Marius Balteanu [Mon, 6 Sep 2021 19:22:50 +0000 (19:22 +0000)]
Interpret thumbnail macro in description, notes and formatted custom fields in issues list PDF export (35683).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21213 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoRetrieve filenames of thumbnails when rendering a PDF (#35683).
Marius Balteanu [Mon, 6 Sep 2021 19:21:38 +0000 (19:21 +0000)]
Retrieve filenames of thumbnails when rendering a PDF (#35683).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21212 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoExpand macros in full-width custom fields when exporting issue to PDF (#35683).
Marius Balteanu [Mon, 6 Sep 2021 19:19:29 +0000 (19:19 +0000)]
Expand macros in full-width custom fields when exporting issue to PDF (#35683).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21211 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix that deleting a closed or archived projects not working anymore after r20034...
Marius Balteanu [Mon, 6 Sep 2021 19:11:59 +0000 (19:11 +0000)]
Fix that deleting a closed or archived projects not working anymore after r20034 (#35827).

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoReturn 404 when filtering by a non-visible user in activity view (#35789).
Marius Balteanu [Mon, 6 Sep 2021 18:40:14 +0000 (18:40 +0000)]
Return 404 when filtering by a non-visible user in activity view (#35789).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21209 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUse ids instead of pluck(:id) (#32977).
Marius Balteanu [Mon, 6 Sep 2021 18:33:14 +0000 (18:33 +0000)]
Use ids instead of pluck(:id) (#32977).

git-svn-id: http://svn.redmine.org/redmine/trunk@21208 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoRemove references to deleted user from "user"-Format CustomFields when destroying...
Marius Balteanu [Mon, 6 Sep 2021 18:30:04 +0000 (18:30 +0000)]
Remove references to deleted user from "user"-Format CustomFields when destroying an user (#32977).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoAllow Roadmap view without any related issues (#6432).
Go MAEDA [Sat, 4 Sep 2021 01:43:50 +0000 (01:43 +0000)]
Allow Roadmap view without any related issues (#6432).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21204 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoFix that test_link_to_principal_should_link_to_user does not actually test anything...
Go MAEDA [Tue, 31 Aug 2021 02:17:34 +0000 (02:17 +0000)]
Fix that test_link_to_principal_should_link_to_user does not actually test anything (#12795).

git-svn-id: http://svn.redmine.org/redmine/trunk@21203 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoHide graphs when printing the Issues Report details (#35669).
Go MAEDA [Sat, 28 Aug 2021 07:04:38 +0000 (07:04 +0000)]
Hide graphs when printing the Issues Report details (#35669).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21202 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoTraditional Chinese translation update (#35807).
Go MAEDA [Tue, 24 Aug 2021 05:52:52 +0000 (05:52 +0000)]
Traditional Chinese translation update (#35807).

Patch by ChunChang Lo.

git-svn-id: http://svn.redmine.org/redmine/trunk@21201 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoQuery links for related issues on issue page (#35559).
Go MAEDA [Mon, 23 Aug 2021 12:59:48 +0000 (12:59 +0000)]
Query links for related issues on issue page (#35559).

Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@21200 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoUpdate Rails to 6.1.4.1 (#29914).
Go MAEDA [Mon, 23 Aug 2021 12:48:34 +0000 (12:48 +0000)]
Update Rails to 6.1.4.1 (#29914).

git-svn-id: http://svn.redmine.org/redmine/trunk@21199 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoBulgarian translation update (#35791).
Go MAEDA [Sun, 22 Aug 2021 02:16:24 +0000 (02:16 +0000)]
Bulgarian translation update (#35791).

Patch by Ivan Cenov.

git-svn-id: http://svn.redmine.org/redmine/trunk@21198 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoRemove redefinition of ActionMailer::LogSubscriber#deliver which is no longer necessa...
Go MAEDA [Thu, 19 Aug 2021 13:53:07 +0000 (13:53 +0000)]
Remove redefinition of ActionMailer::LogSubscriber#deliver which is no longer necessary because of the removal of Setting.bcc_recipients. (#31035).

git-svn-id: http://svn.redmine.org/redmine/trunk@21197 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoRemove unused argument from Redmine::Helpers::TimeReport (#33079).
Go MAEDA [Thu, 19 Aug 2021 13:13:26 +0000 (13:13 +0000)]
Remove unused argument from Redmine::Helpers::TimeReport (#33079).

Patch by Kevin Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81

3 years agoMove sidebar content on versions index view (roadmap) into a separate partial (#35773).
Go MAEDA [Thu, 19 Aug 2021 09:49:49 +0000 (09:49 +0000)]
Move sidebar content on versions index view (roadmap) into a separate partial (#35773).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21195 e93f8b46-1217-0410-a6f0-8f06a7374b81