You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2010/06/09 06:51:55 UTC

svn commit: r952900 - in /forrest/trunk: site-author/ site-author/content/xdocs/tools/ tools/forrestbar/xpi/chrome/content/

Author: crossley
Date: Wed Jun  9 04:51:54 2010
New Revision: 952900

URL: http://svn.apache.org/viewvc?rev=952900&view=rev
Log:
Added new search facility to ForrestBar to enable search for a mail Message-Id (only at Gmane.org).

Modified:
    forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml
    forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi
    forrest/trunk/site-author/status.xml
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml?rev=952900&r1=952899&r2=952900&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml (original)
+++ forrest/trunk/site-author/content/xdocs/tools/forrestbar.xml Wed Jun  9 04:51:54 2010
@@ -198,6 +198,11 @@
           Subversion revision gives you a direct access to the revision you
           entered in the search field (let's say 521779).
         </note>
+        <note label="Mail Message-Id">
+          This is very useful to obtain a URL to reference a previous
+          discussion. Searches for a Message-Id at the Gmane.org service.
+          Select "Subject" to obtain a "thread-and-focus" URL.
+        </note>
       </section>
       <section>
         <title>Contracts-dev menu</title>

Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/tools/forrestbar.xpi?rev=952900&r1=952899&r2=952900&view=diff
==============================================================================
Binary files - no diff available.

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=952900&r1=952899&r2=952900&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Wed Jun  9 04:51:54 2010
@@ -154,6 +154,10 @@
         <link href="site:upgrading_09">upgrading to v0.9</link>
       </action>
 <!-- 2010-06 -->
+      <action context="code" type="add" dev="DC">
+        Added new search facility to ForrestBar to enable search for a mail
+        Message-Id (only at Gmane.org).
+      </action>
       <action context="code" type="update" dev="DC,TWW" fixes-bug="FOR-1198">
         Use plain svn commands rather than JSVN for forrestbot and plugins
         deployment.

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?rev=952900&r1=952899&r2=952900&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Wed Jun  9 04:51:54 2010
@@ -102,6 +102,12 @@ function searchIssue(searchID)
   navigate('http://issues.apache.org/jira/secure/IssueNavigator.jspa?query=' + searchItem.value + '&summary=true&description=true&reset=true&body=true&pid=12310000');
 }
 
+function searchMidGmane(searchID)
+{
+  var searchItem = document.getElementById(searchID);
+  navigate('http://mid.gmane.org/' + searchItem.value);
+}
+
 function searchSite(searchID)
 {
   var searchItem = document.getElementById(searchID);

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul?rev=952900&r1=952899&r2=952900&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Wed Jun  9 04:51:54 2010
@@ -122,6 +122,7 @@
             <menuitem label="Commits (The Mail Archive)" onclick="searchCommits('mailArchive', 'forrestbar-input');" hidden="false"/>
             <menuitem label="Site Commits (MARC)" onclick="searchSiteCommits('marc', 'forrestbar-input');" hidden="false"/>
             <menuitem label="Site Commits (The Mail Archive)" onclick="searchSiteCommits('mailArchive', 'forrestbar-input');" hidden="false"/>
+            <menuitem label="Mail Message-Id (Gmane)" onclick="searchMidGmane('forrestbar-input');" hidden="false"/>
             <menuitem label="Forrest Site" onclick="searchSite('forrestbar-input');" hidden="false"/>
             <menuitem label="JIRA Issues" onclick="searchIssue('forrestbar-input');" hidden="false"/>
             <menuitem label="SVN Revision" onclick="searchSVN('forrestbar-input');" hidden="false"/>