Skip to content

Commit d452b08

Browse files
committed
Merge branch 'master' into develop
2 parents 827371b + fc87e4c commit d452b08

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.gitchangelog.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ subject_process = (strip |
151151
ReSub(r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?(.*)$', r'\4') |
152152
ReSub(r' @\d+(h|m|min)?', r'') |
153153
ReSub(r'pkg changed', r'changed') |
154+
ReSub(r'To fix mail sending error', r'fix mail sending error') |
154155
ucfirst | final_dot)
155156

156157

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33

44
## development (unreleased)
55

6+
### v1.4.5 (2022-12-09)
7+
8+
* Fix mail sending error. [Hunt Lin]
9+
10+
11+
## v1.4.4 (2022-09-13)
12+
613
### Changes
714

15+
* Updated the changelog. [Michele Tessaro]
16+
817
* Changed version for the new release. [Michele Tessaro]
918

1019
### Fix

init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name 'Redmine Drawio plugin'
55
author 'Michele Tessaro'
66
description 'Wiki macro plugin for inserting drawio diagrams into Wiki pages and Issues'
7-
version '1.4.4'
7+
version '1.4.5'
88
url 'https://github.com/mikitex70/redmine_drawio'
99
author_url 'https://github.com/mikitex70'
1010

lib/redmine_drawio/macros.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,9 @@ def svg_enabled?
462462
end
463463

464464
def pdf?(controller)
465-
controller.params[:format] == "pdf"
465+
return false if controller.is_a?(Mailer)
466+
467+
controller.params[:format]
466468
end
467469

468470
end

0 commit comments

Comments
 (0)