[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf /html/res/adm/pages mail.gif /interface mydesk.tab doc/loncapafiles loncapafiles.lpml

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 10 Oct 2005 15:38:20 -0000


raeburn		Mon Oct 10 11:38:20 2005 EDT

  Added files:                 
    /loncom/html/res/adm/pages	mail.gif 

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
    /loncom/interface	mydesk.tab 
    /loncom	loncapa_apache.conf 
  Log:
  Adding button for Domain Coordinators to use lonnotify; updating apache config to make lonnotify accessible.
  
  
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.455 doc/loncapafiles/loncapafiles.lpml:1.456
--- doc/loncapafiles/loncapafiles.lpml:1.455	Mon Sep 12 13:13:45 2005
+++ doc/loncapafiles/loncapafiles.lpml	Mon Oct 10 11:38:18 2005
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- loncapafiles.lpml -->
 
-<!-- $Id: loncapafiles.lpml,v 1.455 2005/09/12 17:13:45 albertel Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.456 2005/10/10 15:38:18 raeburn Exp $ -->
 
 <!--
 
@@ -5655,6 +5655,7 @@
 ledsend.gif;
 list.gif;
 logout.gif;
+mail.gif;
 mcrs.gif;
 mrk.gif;
 nav.gif;
@@ -6032,6 +6033,15 @@
 </description>
 </file>
 <file>
+  <source>loncom/interface/lonnotify.pm</source>
+  <target dist='default'>home/httpd/lib/perl/Apache/lonnotify.pm</target>
+  <categoryname>handler</categoryname>
+  <description>
+    Interface for Domain Coordinators to (a) send broadcast e-mail to groups 
+of users, and (b) to display e-mail of this type sent in the past.
+  </description>
+</file>
+<file>
   <source>loncom/interface/lonhelpmenu.pm</source>
   <target dist='default'>home/httpd/lib/perl/Apache/lonhelpmenu.pm</target>
   <categoryname>handler</categoryname>
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.65 loncom/interface/mydesk.tab:1.66
--- loncom/interface/mydesk.tab:1.65	Mon Jun 20 14:35:24 2005
+++ loncom/interface/mydesk.tab	Mon Oct 10 11:38:18 2005
@@ -63,6 +63,7 @@
 10:1:any:any:anno.gif:calendar[_1]:announce[_1]:go('/adm/announcements');:Course announcements and my calendar
 10:2:any:any:com.gif:commu-[_1]:nication[_1]:go('/adm/communicate');:Send and receive messages
 10:3:clear
+10:3:ppsa:$requested_domain:mail.gif:bulk[_1]:e-mail[_1]:go('/adm/notify');:Send and display broadcast e-mail
 10:3:course_plc:any:bchat.gif:course[_10]:chat[_1]:chat_win();:Enter the chatroom for the course
 11:1:clear
 11:1:course:any:src.gif:search[_1]:course[_11]:go('/adm/searchcat');:Search the contents of this course
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.115 loncom/loncapa_apache.conf:1.116
--- loncom/loncapa_apache.conf:1.115	Wed Sep 21 09:40:05 2005
+++ loncom/loncapa_apache.conf	Mon Oct 10 11:38:18 2005
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.115 2005/09/21 13:40:05 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.116 2005/10/10 15:38:18 raeburn Exp $
 ##
 
 #
@@ -457,6 +457,14 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/notify>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonnotify
+ErrorDocument     403 /adm/login
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/parmset>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script