Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /insurrection/src/, /insurrection/src/rewrite-test/

Project highlights: A modern, light-weight, self-contained, web-based toolset for Subversion repository browsing and administration.  A live system can be seen in action here.

insurrection
Discussion topic

Back to topic list

CVS update: /insurrection/src/, /insurrection/src/rewrite-test/

Author mksoft
Full name Michae Sinz
Date 2005-05-14 05:32:56 PDT
Message User: mksoft
Date: 2005/05/14 05:32:56

Modified:
   insurrection/src/admin.cgi
   insurrection/src/rew​rite-test/index.html​

Log:
 Anonymous user access options should only be no-access and read-only access.
 I don't want to support non-authenticated write access. (It has too many
 problems with it.)

File Changes:

Directory: /insurrection/src/
=============================

File [changed]: admin.cgi
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/admin.cgi?r1=1.13​&r2=1.14
Delta lines: +5 -3
-------------------
--- admin.cgi 7 May 2005 03:56:35 -0000 1.13
+++ admin.cgi 14 May 2005 12:32:54 -0000 1.14
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: admin.cgi,v 1.13 2005/05/07 03:56:35 mksoft Exp $
+# $Id: admin.cgi,v 1.14 2005/05/14 12:32:54 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This script handles the management of the web/svn access
@@ -96,6 +96,8 @@
                my $type = $cgi->param($id);
                if (defined $type)
                {
+ ## The "*" user can only be 0 or 1
+ $type = 1 if (($type > 1) && ($user eq '*'));
                   ${$groupUsers{$group}}{$user} = 'r' if ($type == 1);
                   ${$groupUsers{$group}}{$user} = 'rw' if ($type > 1);
 
@@ -303,7 +305,7 @@
           , 'var val = document.getElementById(id);'
           , 'var t = val.value;'
           , 't++;'
- , 'if (t > 2) {t = 0;}'
+ , 'if (t > 1) {t = 0;}'
           , 'val.value = t;'
           , 'me.innerHTML = states[t];'
           , '}';
@@ -430,7 +432,7 @@
 
 print '</center>';
 
-&svn_TRAILER('$Id: admin.cgi,v 1.13 2005/05/07 03:56:35 mksoft Exp $');
+&svn_TRAILER('$Id: admin.cgi,v 1.14 2005/05/14 12:32:54 mksoft Exp $');
 
 # all done...
 exit 0;

Directory: /insurrection/src/rewrite-test/
====================​====================​==

File [changed]: index.html
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/rewrite-test/index​.html?r1=1.1&r2=​1.2
Delta lines: +4 -2
-------------------
--- index.html 11 May 2005 23:05:26 -0000 1.1
+++ index.html 14 May 2005 12:32:54 -0000 1.2
@@ -16,7 +16,9 @@
 </p>
 <h3>Apache 2.0.54 mod_rewrite problems</h3>
 <p>
- All of this was tested with the latest Apache, version 2.0.54, compiled on various Linux platforms.
+ All of this was tested with the latest Apache, version 2.0.54, compiled on various Linux platforms.&nbsp;
+ I have files bug report <a href="http://issues.apache​.org/bugzilla/show_b​ug.cgi?id=34602" target="_top">#34​602</a>
+ with the Apache project.
 </p>
 <p>
   What I have found is that the redirect rewrite rules cause URL encoded characters within the parameters
@@ -45,4 +47,4 @@
   <a href="http://svn.sinz.com:​8000/svn/Web/rewrite​-test/">http://svn.sinz.com:​8000/svn/Web/rewrite​-test/</a>.
 </p>
 </div>
-<div class="footer">$Id: index.html,v 1.1 2005/05/11 23:05:26 mksoft Exp $</div></td><td id="right"><img src="/blank.gif" alt="" height="1" width="1"></td​></tr><t​r><td id="bottom-left"><img src="/blank.gif" alt="" height="1" width="1"></td><td id="bottom"><img src="/blank.gif" alt="" height="1" width="1"></td><td id="bottom-right"><img src="/blank.gif" alt="" height="1" width="1"></td​></tr></​tbody></table​></body><​/html>
+<div class="footer">$Id: index.html,v 1.2 2005/05/14 12:32:54 mksoft Exp $</div></td><td id="right"><img src="/blank.gif" alt="" height="1" width="1"></td​></tr><t​r><td id="bottom-left"><img src="/blank.gif" alt="" height="1" width="1"></td><td id="bottom"><img src="/blank.gif" alt="" height="1" width="1"></td><td id="bottom-right"><img src="/blank.gif" alt="" height="1" width="1"></td​></tr></​tbody></table​></body><​/html>

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /insurrection/src/, /insurrection/src/rewrite-test/ mksoft Michae Sinz 2005-05-14 05:32:56 PDT
Messages per page: