]> source.dussan.org Git - redmine.git/log
redmine.git
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

3 years agoDon't unlink files before closing them (#35539, #35721).
Go MAEDA [Wed, 18 Aug 2021 02:47:32 +0000 (02:47 +0000)]
Don't unlink files before closing them (#35539, #35721).

Patch by Pavel Rosický.

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

3 years agoFix that binmode specified twice (#35539, #35720).
Go MAEDA [Wed, 18 Aug 2021 02:34:46 +0000 (02:34 +0000)]
Fix that binmode specified twice (#35539, #35720).

Patch by Pavel Rosický.

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

3 years agoUpdate locales (#34494).
Go MAEDA [Tue, 17 Aug 2021 12:46:45 +0000 (12:46 +0000)]
Update locales (#34494).

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

3 years agoRename the save, edit and delete buttons on the query form to clarify the scope ...
Go MAEDA [Tue, 17 Aug 2021 12:41:58 +0000 (12:41 +0000)]
Rename the save, edit and delete buttons on the query form to clarify the scope (#34494).

Patch by Mizuki ISHIKAWA.

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

3 years agoMove subtasks section on issues show view into a separate partial (#35671).
Go MAEDA [Tue, 17 Aug 2021 09:42:54 +0000 (09:42 +0000)]
Move subtasks section on issues show view into a separate partial (#35671).

Patch by Mischa The Evil.

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

3 years agoGalician translation update (#35687).
Go MAEDA [Mon, 16 Aug 2021 12:26:31 +0000 (12:26 +0000)]
Galician translation update (#35687).

Patch by Guillermo ML.

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

3 years agoGalician translation update for 4.2-stable (jstoolbar-gl.js) (#35766).
Go MAEDA [Mon, 16 Aug 2021 12:20:51 +0000 (12:20 +0000)]
Galician translation update for 4.2-stable (jstoolbar-gl.js) (#35766).

Patch by Guillermo ML.

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

3 years agoGalician translation update for 4.2-stable (#35766).
Go MAEDA [Mon, 16 Aug 2021 12:10:20 +0000 (12:10 +0000)]
Galician translation update for 4.2-stable (#35766).

Patch by Guillermo ML.

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

3 years agoUnify code block and add "data-language" attribute with the user-supplied language...
Marius Balteanu [Sun, 15 Aug 2021 21:00:16 +0000 (21:00 +0000)]
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

3 years agoAdd "data-language" attribute to code block with the user-supplied language for Commo...
Marius Balteanu [Sun, 15 Aug 2021 20:59:04 +0000 (20:59 +0000)]
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

3 years agoPreserve the code block and remove the class from it when the language is not support...
Marius Balteanu [Sun, 15 Aug 2021 20:57:38 +0000 (20:57 +0000)]
Preserve the code block and remove the class from it when the language is not supported in CommonMark formatter (#35765, 32424).

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

3 years agoRevert r21179 (#35729).
Marius Balteanu [Sun, 15 Aug 2021 08:59:50 +0000 (08:59 +0000)]
Revert r21179 (#35729).

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

3 years agoUpdate jQuery to 3.6.0 (#35729).
Marius Balteanu [Sun, 15 Aug 2021 08:20:01 +0000 (08:20 +0000)]
Update jQuery to 3.6.0 (#35729).

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

3 years agoDon't try to install CommonMarker 0.22 on Ruby 2.6.0-rc (#32424).
Go MAEDA [Sun, 15 Aug 2021 06:51:31 +0000 (06:51 +0000)]
Don't try to install CommonMarker 0.22 on Ruby 2.6.0-rc (#32424).

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

3 years agoUpdate failing test after hardbreaks enabled by default (#35754, #32424).
Marius Balteanu [Sun, 15 Aug 2021 05:57:57 +0000 (05:57 +0000)]
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

3 years agoAdd some space around the versions on the Roadmap (#35758).
Go MAEDA [Sun, 15 Aug 2021 04:32:07 +0000 (04:32 +0000)]
Add some space around the versions on the Roadmap (#35758).

Patch by Mischa The Evil.

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

3 years agoFile upload fails when run with uWSGI (#35715).
Go MAEDA [Sat, 14 Aug 2021 01:38:26 +0000 (01:38 +0000)]
File upload fails when run with uWSGI (#35715).

Contributed by Pavel Rosický and Holger Just.

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

3 years agoBulgarian translation update (#35759).
Go MAEDA [Sat, 14 Aug 2021 01:00:15 +0000 (01:00 +0000)]
Bulgarian translation update (#35759).

Patch by Ivan Cenov.

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

3 years agoPin sanitize to 6.0 (#35752, #32424).
Marius Balteanu [Fri, 13 Aug 2021 06:37:57 +0000 (06:37 +0000)]
Pin sanitize to 6.0 (#35752, #32424).

Patch by Go MAEDA.

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

3 years agoPreserve leading spaces when using the Quote function (#35677).
Go MAEDA [Fri, 13 Aug 2021 03:10:39 +0000 (03:10 +0000)]
Preserve leading spaces when using the Quote function (#35677).

Patch by Jens Krämer.

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

3 years agoPassword and Confirmation fields are marked as required when editing a user (#35731).
Go MAEDA [Fri, 13 Aug 2021 02:56:04 +0000 (02:56 +0000)]
Password and Confirmation fields are marked as required when editing a user (#35731).

Patch by Go MAEDA.

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

3 years agoFixed Replace class var @@allowlist with a class instance var (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:52:37 +0000 (21:52 +0000)]
Fixed Replace class var @@allowlist with a class instance var (#32424).

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

3 years agoRender markdown attachments using markdown or common_mark based on the text formattin...
Marius Balteanu [Wed, 11 Aug 2021 21:52:04 +0000 (21:52 +0000)]
Render markdown attachments using markdown or common_mark based on the text formatting setting (#32424).

Patch by Marius BĂLTEANU and Martin Cizek.

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

3 years agoFixed failing test on CommonMark by striping the trailing whitespace returned by...
Marius Balteanu [Wed, 11 Aug 2021 21:51:23 +0000 (21:51 +0000)]
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

3 years agoFixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using...
Marius Balteanu [Wed, 11 Aug 2021 21:50:52 +0000 (21:50 +0000)]
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

3 years agoReplace deprecated Sanitize keywords (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:50:16 +0000 (21:50 +0000)]
Replace deprecated Sanitize keywords (#32424).

Patch by Martin Cizek.

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

3 years agoRelax allowed protocols in links by denying specific protocols for CommonMark text...
Marius Balteanu [Wed, 11 Aug 2021 21:49:27 +0000 (21:49 +0000)]
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

3 years agoMark CommonMark Markdown (GitHub Flavored) as experimental (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:48:18 +0000 (21:48 +0000)]
Mark CommonMark Markdown (GitHub Flavored) as experimental (#32424).

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

3 years agoPin sanitize to 5.2 (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:47:29 +0000 (21:47 +0000)]
Pin sanitize to 5.2 (#32424).

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

3 years agoPin html-pipeline to 2.13.2 (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:46:59 +0000 (21:46 +0000)]
Pin html-pipeline to 2.13.2 (#32424).

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

3 years agoPin commonmarker to 0.22 if Ruby version is greater than 2.5 (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:45:07 +0000 (21:45 +0000)]
Pin commonmarker to 0.22 if Ruby version is greater than 2.5 (#32424).

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

3 years agoAdds CommonMark Markdown (GitHub Flavored) as third text formatting option (#32424).
Marius Balteanu [Wed, 11 Aug 2021 21:40:56 +0000 (21:40 +0000)]
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

3 years agoFixed "Layout/IndentationWidth: Use 2 (not 4) spaces for indentation." introduced...
Marius Balteanu [Tue, 10 Aug 2021 20:26:23 +0000 (20:26 +0000)]
Fixed "Layout/IndentationWidth: Use 2 (not 4) spaces for indentation." introduced by r21141 (#35634).

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

3 years agoRemove wrapper2 and wrapper3 wrapping containers (#30448).
Marius Balteanu [Tue, 10 Aug 2021 19:59:00 +0000 (19:59 +0000)]
Remove wrapper2 and wrapper3 wrapping containers (#30448).

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

3 years agoFixed create duplicate follow relation fails with 500 internal error (#35655).
Marius Balteanu [Tue, 10 Aug 2021 19:35:53 +0000 (19:35 +0000)]
Fixed create duplicate follow relation fails with 500 internal error (#35655).

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

3 years agoAdd missing fixtures to Redmine::ProjectJumpBoxTest (#35727).
Go MAEDA [Tue, 10 Aug 2021 12:30:14 +0000 (12:30 +0000)]
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

3 years agoFixed attachments deletable by user without edit issue permission on tracker (#35634).
Marius Balteanu [Thu, 5 Aug 2021 23:50:11 +0000 (23:50 +0000)]
Fixed attachments deletable by user without edit issue permission on tracker (#35634).

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

3 years agoAdds tests for issue attachment edit by user without edit issue permission on tracker...
Marius Balteanu [Thu, 5 Aug 2021 23:48:47 +0000 (23:48 +0000)]
Adds tests for issue attachment edit by user without edit issue permission on tracker (#35634).

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

3 years agoFix typo (#33521).
Marius Balteanu [Thu, 5 Aug 2021 23:46:17 +0000 (23:46 +0000)]
Fix typo (#33521).

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

3 years agoFix that updating an issue from context menu to a none value do not set the field...
Marius Balteanu [Thu, 5 Aug 2021 23:41:01 +0000 (23:41 +0000)]
Fix that updating an issue from context menu to a none value do not set the field to blank (#33521).

Patch by Mizuki ISHIKAWA.

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

3 years agoUpdate Nokogiri to 1.12 (#35691).
Go MAEDA [Thu, 5 Aug 2021 23:26:04 +0000 (23:26 +0000)]
Update Nokogiri to 1.12 (#35691).

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

3 years agoLong text custom field values are not aligned with their labels (#35642).
Go MAEDA [Thu, 5 Aug 2021 21:51:15 +0000 (21:51 +0000)]
Long text custom field values are not aligned with their labels (#35642).

Patch by Go MAEDA.

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

3 years agoMongolian translation update for "Notes", "Totals", and "% Done" (#35662).
Go MAEDA [Wed, 4 Aug 2021 13:38:31 +0000 (13:38 +0000)]
Mongolian translation update for "Notes", "Totals", and "% Done" (#35662).

Patch by Munkh B.

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

3 years agoAvoid executing the same SQL statement multiple times to get the default custom query...
Go MAEDA [Wed, 4 Aug 2021 12:48:54 +0000 (12:48 +0000)]
Avoid executing the same SQL statement multiple times to get the default custom query (#7360).

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

3 years agoUpdate custom field path on the context menu (#33521).
Marius Balteanu [Tue, 3 Aug 2021 20:25:20 +0000 (20:25 +0000)]
Update custom field path on the context menu (#33521).

Patch by Mizuki ISHIKAWA.

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

3 years agoFix update status path on the context menu (#33521).
Marius Balteanu [Tue, 3 Aug 2021 20:21:41 +0000 (20:21 +0000)]
Fix update status path on the context menu (#33521).

Patch by Mizuki ISHIKAWA.

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

3 years agoRemove 'setting_bcc_recipients' from locales (##30820).
Marius Balteanu [Sun, 1 Aug 2021 17:38:53 +0000 (17:38 +0000)]
Remove 'setting_bcc_recipients' from locales (##30820).

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

3 years agoRemove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
Marius Balteanu [Sun, 1 Aug 2021 17:25:13 +0000 (17:25 +0000)]
Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).

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

3 years agoUpdates for 4.2.2 release.
Marius Balteanu [Sun, 1 Aug 2021 07:07:48 +0000 (07:07 +0000)]
Updates for 4.2.2 release.

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

3 years agoJapanese translation update (#35646).
Go MAEDA [Sat, 31 Jul 2021 07:06:48 +0000 (07:06 +0000)]
Japanese translation update (#35646).

Patch by Go MAEDA.

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

3 years agoLithuanian translation update for 4.2-stable (jstoolbar-lt.js) (#35110).
Go MAEDA [Sat, 31 Jul 2021 06:53:40 +0000 (06:53 +0000)]
Lithuanian translation update for 4.2-stable (jstoolbar-lt.js) (#35110).

Patch by Mindaugas Muckus.

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

3 years agoLithuanian translation update for 4.2-stable (#35110).
Go MAEDA [Sat, 31 Jul 2021 06:50:24 +0000 (06:50 +0000)]
Lithuanian translation update for 4.2-stable (#35110).

Patch by Mindaugas Muckus.

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

3 years agoProgress bar for a shared version on gantt disappears when the tree is collapsed...
Go MAEDA [Sat, 31 Jul 2021 06:21:35 +0000 (06:21 +0000)]
Progress bar for a shared version on gantt disappears when the tree is collapsed and then expanded (#34694).

Patch by Yuichi HARADA.

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

3 years agoLink to the profile page from users on the group page (#12795).
Go MAEDA [Sat, 31 Jul 2021 05:33:33 +0000 (05:33 +0000)]
Link to the profile page from users on the group page (#12795).

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

3 years agoGroupsController#show should only display visible users (#12795).
Go MAEDA [Sat, 31 Jul 2021 00:53:08 +0000 (00:53 +0000)]
GroupsController#show should only display visible users (#12795).

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

3 years agoTraditional Chinese translation update (#35643).
Go MAEDA [Fri, 30 Jul 2021 09:26:38 +0000 (09:26 +0000)]
Traditional Chinese translation update (#35643).

Patch by ChunChang Lo.

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

3 years agoUpdate locales (#35562).
Go MAEDA [Fri, 30 Jul 2021 03:52:48 +0000 (03:52 +0000)]
Update locales (#35562).

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

3 years agoShow warning in admin/info when there are pending migrations (#35562).
Go MAEDA [Fri, 30 Jul 2021 03:51:19 +0000 (03:51 +0000)]
Show warning in admin/info when there are pending migrations (#35562).

Patch by Go MAEDA.

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

3 years agoBulgarian translation update (#35628).
Go MAEDA [Thu, 29 Jul 2021 01:29:48 +0000 (01:29 +0000)]
Bulgarian translation update (#35628).

Patch by Ivan Cenov.

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