[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf doc/loncapafiles loncapafiles.lpml

raeburn raeburn@source.lon-capa.org
Wed, 05 Aug 2009 00:15:16 -0000


raeburn		Wed Aug  5 00:15:16 2009 EDT

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
    /loncom	loncapa_apache.conf 
  Log:
  - Install handlers which generate 
    (a) course request form and 
    (b) directory search form in pop-up window to find users to include as 
        course personnel in the course request.
  
  
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.654 doc/loncapafiles/loncapafiles.lpml:1.655
--- doc/loncapafiles/loncapafiles.lpml:1.654	Tue Jul 14 12:45:00 2009
+++ doc/loncapafiles/loncapafiles.lpml	Wed Aug  5 00:15:01 2009
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- loncapafiles.lpml -->
 
-<!-- $Id: loncapafiles.lpml,v 1.654 2009/07/14 12:45:00 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.655 2009/08/05 00:15:01 raeburn Exp $ -->
 
 <!--
 
@@ -2090,6 +2090,15 @@
 <status>works/unverified</status>
 </file>
 <file>
+<source>loncom/interface/lonpickuser.pm</source>
+<target dist='default'>home/httpd/lib/perl/Apache/lonpickuser.pm</target>
+<categoryname>handler</categoryname>
+<description>
+Handler to pick a user from a directory search
+</description>
+<status>works/unverified</status>
+</file>
+<file>
 <source>loncom/interface/lonbulletin.pm</source>
 <target dist='default'>home/httpd/lib/perl/Apache/lonbulletin.pm</target>
 <categoryname>handler</categoryname>
@@ -3488,6 +3497,15 @@
   <status>works/unverified</status>
 </file>
 <file>
+<source>loncom/interface/lonrequestcourse.pm</source>
+<target dist='default'>home/httpd/lib/perl/Apache/lonrequestcourse.pm</target>
+<categoryname>handler</categoryname>
+<description>
+Allows submission of course requests by users with the right to request them 
+</description>
+<status>works/unverified</status>
+</file>
+<file>
 <source>loncom/interface/loncreateuser.pm</source>
 <target dist='default'>home/httpd/lib/perl/Apache/loncreateuser.pm</target>
 <categoryname>handler</categoryname>
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.186 loncom/loncapa_apache.conf:1.187
--- loncom/loncapa_apache.conf:1.186	Tue Jul  7 19:50:44 2009
+++ loncom/loncapa_apache.conf	Wed Aug  5 00:15:15 2009
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.186 2009/07/07 19:50:44 droeschl Exp $
+## $Id: loncapa_apache.conf,v 1.187 2009/08/05 00:15:15 raeburn Exp $
 ##
 
 #
@@ -527,6 +527,17 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/pickuser>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickuser
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/pickcourse>
 AuthType LONCAPA
 Require valid-user
@@ -733,6 +744,17 @@
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/requestcourse>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonrequestcourse
+ErrorDocument     403 /adm/login
+ErrorDocument     406 /adm/roles
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <Location /adm/createcourse>
 AuthType LONCAPA
 Require valid-user