[Fusionforge-commits] FusionForge branch 6.0 updated. 6dd2efb tracker: on item update, notify users who monitor the whole tracker (as documented)

Sylvain Beucler beuc-inria at libremir.placard.fr.eu.org
Mon Jun 15 17:29:44 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  6dd2efba3941a5d7f0ec05d37a20bd0abd76ba5b (commit)
      from  39a2a375f609f6c19753b59fe4186925183cc767 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6dd2efba3941a5d7f0ec05d37a20bd0abd76ba5b
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Mon Jun 15 17:29:18 2015 +0200

    tracker: on item update, notify users who monitor the whole tracker (as documented)

diff --git a/src/CHANGES b/src/CHANGES
index caa1fee..eb056d9 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -8,6 +8,7 @@ FusionForge 6.0.1:
 * Tracker: fix description re-html-ization when editing item (Inria)
 * Tracker: fix HTML entities in mail notifications (Inria)
 * Tracker: provide a "Submit" button below the "add a comment" field [#776] (TrivialDev)
+* Tracker: on item update, notify users who monitor the whole tracker (Inria)
 * Tracker/FRS/Docman/Forum: allow viewing text and image files within the browser [#773] (Inria)
 * Widgets: MyProjects: only display active projects (Inria)
 * SCM SVN: fix double-compression in ViewVC (Inria)
diff --git a/src/common/tracker/Artifact.class.php b/src/common/tracker/Artifact.class.php
index 363b307..093cd55 100644
--- a/src/common/tracker/Artifact.class.php
+++ b/src/common/tracker/Artifact.class.php
@@ -1614,7 +1614,7 @@ class Artifact extends Error {
 
 		if ($type > 1) {
 			// get all the email addresses that are monitoring this request or the ArtifactType
-			$monitor_ids = $this->getMonitorIds();
+			$monitor_ids = array_merge($this->getMonitorIds(), $this->ArtifactType->getMonitorIds());
 		} else {
 			// initial creation, we just get the users monitoring the ArtifactType
 			$monitor_ids = $this->ArtifactType->getMonitorIds();

-----------------------------------------------------------------------

Summary of changes:
 src/CHANGES                           | 1 +
 src/common/tracker/Artifact.class.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/CHANGES b/src/CHANGES
index caa1fee..eb056d9 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -8,6 +8,7 @@ FusionForge 6.0.1:
 * Tracker: fix description re-html-ization when editing item (Inria)
 * Tracker: fix HTML entities in mail notifications (Inria)
 * Tracker: provide a "Submit" button below the "add a comment" field [#776] (TrivialDev)
+* Tracker: on item update, notify users who monitor the whole tracker (Inria)
 * Tracker/FRS/Docman/Forum: allow viewing text and image files within the browser [#773] (Inria)
 * Widgets: MyProjects: only display active projects (Inria)
 * SCM SVN: fix double-compression in ViewVC (Inria)
diff --git a/src/common/tracker/Artifact.class.php b/src/common/tracker/Artifact.class.php
index 363b307..093cd55 100644
--- a/src/common/tracker/Artifact.class.php
+++ b/src/common/tracker/Artifact.class.php
@@ -1614,7 +1614,7 @@ class Artifact extends Error {
 
 		if ($type > 1) {
 			// get all the email addresses that are monitoring this request or the ArtifactType
-			$monitor_ids = $this->getMonitorIds();
+			$monitor_ids = array_merge($this->getMonitorIds(), $this->ArtifactType->getMonitorIds());
 		} else {
 			// initial creation, we just get the users monitoring the ArtifactType
 			$monitor_ids = $this->ArtifactType->getMonitorIds();


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list