From 37784703eba80cb61d1734a11e09b62fa0eaeae9 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 16 Feb 2018 14:24:54 -0500 Subject: Bumped versions post-release --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index b4d22f8bf..edaa8baa5 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -200,7 +200,7 @@ use Memoize; # CONSTANTS # # Bugzilla version -use constant BUGZILLA_VERSION => "5.0.4"; +use constant BUGZILLA_VERSION => "5.0.4+"; # A base link to the current REST Documentation. We place it here # as it will need to be updated to whatever the current release is. -- cgit v1.2.3-65-gdbad From c31565fe3c9520bed4dc9751f512ee312b63006b Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 20 Mar 2018 18:52:16 -0700 Subject: bug 1429243 - Fix default values for version and op_sys when importing from Jitterbugs --- contrib/jb2bz.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/jb2bz.py b/contrib/jb2bz.py index caaa0c5e2..170e82d70 100755 --- a/contrib/jb2bz.py +++ b/contrib/jb2bz.py @@ -30,7 +30,7 @@ if not mimetypes.encodings_map.has_key('.bz2'): bug_status='CONFIRMED' component="default" -version="" +version="unspecified" product="" # this is required, the rest of these are defaulted as above """ @@ -230,6 +230,7 @@ def process_jitterbug(filename): "bug_id=%s," \ "priority='---'," \ "bug_severity='normal'," \ + "op_sys='All'," \ "bug_status=%s," \ "creation_ts=%s," \ "delta_ts=%s," \ -- cgit v1.2.3-65-gdbad From d7cf1c91949248222806f5a32f485b12eab8806f Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Mar 2018 22:06:11 -0400 Subject: add a new hook: template_after_create (#60) --- Bugzilla/Hook.pm | 15 +++++++++++++++ Bugzilla/Template.pm | 1 + extensions/Example/Extension.pm | 13 +++++++++++++ 3 files changed, 29 insertions(+) diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index d6ba5e1d0..d8ae67463 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -1479,6 +1479,21 @@ look at the code for C in L.) =back +=head2 template_after_create + +This hook allows you to manipulate the Template object before it is used. +You can use this to define new vmethods or filters in extensions. + +Params: + +=over + +=item C