Commit Graph

1798 Commits

Author SHA1 Message Date
Toshi MARUYAMA
56a74a32b7 remove extra empty line at beginning of lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:24:57 +00:00
Toshi MARUYAMA
92fdcc1ce4 remove git format patch footer (#33357)
git-svn-id: http://svn.redmine.org/redmine/trunk@19752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-05 11:56:05 +00:00
Go MAEDA
3986b6e3b9 Load default custom queries when running redmine:load_default_data rake task (#33296).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-28 07:10:59 +00:00
Go MAEDA
55b9024569 Fix that thumbnail support for PDF attachments may not be detected (#33283).
Patch by VVD VVD.


git-svn-id: http://svn.redmine.org/redmine/trunk@19712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 14:15:18 +00:00
Toshi MARUYAMA
0421636cd7 add Redmine::Database.sqlite? as with postgresql? and postgresql?
git-svn-id: http://svn.redmine.org/redmine/trunk@19711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 02:06:57 +00:00
Jean-Philippe Lang
a2434ed73b Updates for 4.1.1 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@19683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-06 16:52:28 +00:00
Jean-Philippe Lang
895fc12d56 XSS vulnerabilities in textile links (#32934).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@19672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:41:33 +00:00
Jean-Philippe Lang
d257990868 Reverts r19489 (#32934).
git-svn-id: http://svn.redmine.org/redmine/trunk@19671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:35:44 +00:00
Go MAEDA
0f3cece5bb Fix that viewing gantt causes SQL error with SQL Server (#32737).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 07:52:04 +00:00
Go MAEDA
c5ec830b68 Remove duplicate keys from sort criteria (#32737).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 06:22:23 +00:00
Go MAEDA
795ebcc17c Use field_activity rather than label_activity in the context of time tracking (#33186).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-26 05:58:47 +00:00
Go MAEDA
1473996f92 Export to PDF fails when subject of parent task is included in issue list (#33103).
Patch by Marius BALTEANU and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-24 12:16:06 +00:00
Toshi MARUYAMA
20ab5cb4dd scm: mercurial: change template "escape" to "urlescape" for "author" and "desc" (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:15:25 +00:00
Go MAEDA
0a9b72ab9c Fix that end markers in gantt PDF are misaligned (#19248).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 06:19:19 +00:00
Go MAEDA
94777d40b0 Gantt bars for single-day tasks may be rendered wrongly in PDF (#23645).
Patch by Daniel Ritz.


git-svn-id: http://svn.redmine.org/redmine/trunk@19592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 04:48:15 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
007c3a5dab tmp/pdf directory is no longer necessary (#32924).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 15:13:04 +00:00
Go MAEDA
0ba13a0bd3 Fix a RuboCop offence Style/NegatedWhile (#32971).
git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 11:18:18 +00:00
Go MAEDA
2253032ebc Newline between list items break a list (#32971).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 04:21:53 +00:00
Go MAEDA
01f523f165 Rails 6: Fix deprecation warning "Class level methods will no longer inherit scoping" (#32911).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-03 15:12:21 +00:00
Jean-Philippe Lang
e9d5b0b8dc White list protocols allowed for Textile links (#32934).
git-svn-id: http://svn.redmine.org/redmine/trunk@19489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 10:19:16 +00:00
Go MAEDA
b8f7d1419e Right-aligned TOC tag is displayed in exported PDF if the text formatting setting is Markdown (#32477).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-30 08:34:14 +00:00
Go MAEDA
1c5ab7510d Issue list: long text custom field missing in PDF export (#32859).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-26 14:06:10 +00:00
Go MAEDA
8dbbfd6172 Exporting issue as PDF fails when the issue has private journal (#32858).
Patch by Kouhei Sutou.


git-svn-id: http://svn.redmine.org/redmine/trunk@19458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-25 03:07:00 +00:00
Go MAEDA
62fe933eed Ruby 2.7: Remove deprecated URI.escape/unescape (#32752).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 23:28:34 +00:00
Go MAEDA
ba7d4745e2 Fix ruby 2.7 warning: The last argument is used as the keyword parameter (#32542, #31500).
Patch by Seiei Miyagi.


git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 15:42:50 +00:00
Go MAEDA
65d22c7510 FrozenError when exporting gantt to PDF in some languages (#32832).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-18 09:58:39 +00:00
Go MAEDA
6611f5bf5d Make languages in Highlighted code button in toolbar customizable (#32528).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-14 14:38:48 +00:00
Go MAEDA
03a4e21568 Fix missing arrow icon of collapse macro (#32754).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-07 14:56:29 +00:00
Go MAEDA
eb6e390ee8 Reverts r19409 that breaks some tests (#32754).
git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-07 01:51:33 +00:00
Go MAEDA
d06b8bbb53 Fix that arrow icon for {{collapse}} macro is not shown (#32754).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-07 01:34:14 +00:00
Jean-Philippe Lang
046be1c183 Updates for 4.1.0 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@19401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 11:58:27 +00:00
Jean-Philippe Lang
88e940a22d Updates for 4.0.6 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@19396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-20 11:41:13 +00:00
Toshi MARUYAMA
5876324372 filter all possibly class values on code tags in Textile (#25742)
Contributed by Holger Just from Planio.

git-svn-id: http://svn.redmine.org/redmine/trunk@19333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-05 11:25:24 +00:00
Toshi MARUYAMA
67c331f5ca cleanup: rubocop: fix Layout/SpaceAfterComma in lib/redmine/export/pdf/wiki_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:26 +00:00
Toshi MARUYAMA
2c2283bc3a cleanup: rubocop: fix Layout/IndentFirstArgument in lib/redmine/export/pdf/wiki_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:16 +00:00
Toshi MARUYAMA
18e8a45752 code layout clean up lib/redmine/field_format.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:47:52 +00:00
Toshi MARUYAMA
a7824755ee cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in lib/redmine/field_format.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:50 +00:00
Toshi MARUYAMA
0bc794965f cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/helpers/gantt.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:43 +00:00
Toshi MARUYAMA
672d3f3917 cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:32 +00:00
Toshi MARUYAMA
5f6a86a774 cleanup: rubocop: fix Layout/SpaceAfterComma in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:27:31 +00:00
Toshi MARUYAMA
6a1e4b86af cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:27:20 +00:00
Toshi MARUYAMA
68b4701a65 cleanup: rubocop: fix Style/MultilineIfModifier and Style/MultilineTernaryOperator in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:27:09 +00:00
Toshi MARUYAMA
df7188a2e5 cleanup: rubocop: fix Layout/IndentFirstHashElement in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:26:58 +00:00
Toshi MARUYAMA
75acf141d5 cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:26:48 +00:00
Toshi MARUYAMA
741aa901b0 cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:04:46 +00:00
Toshi MARUYAMA
ce76bc8b16 cleanup: rubocop: fix Style/MultilineIfModifier in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 07:58:02 +00:00
Toshi MARUYAMA
fd3703b830 cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 07:57:51 +00:00
Toshi MARUYAMA
bcd9ce0a53 cleanup: rubocop: fix Layout/IndentFirstHashElement in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 07:57:40 +00:00
Toshi MARUYAMA
20e17f14e7 cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 07:57:30 +00:00