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