You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(28) |
Nov
(58) |
Dec
(85) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(125) |
Feb
(222) |
Mar
(274) |
Apr
(51) |
May
(22) |
Jun
(50) |
Jul
(15) |
Aug
(33) |
Sep
(11) |
Oct
(29) |
Nov
(17) |
Dec
(1) |
2003 |
Jan
(100) |
Feb
(21) |
Mar
(7) |
Apr
(45) |
May
|
Jun
(43) |
Jul
(27) |
Aug
(24) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
(1) |
Feb
|
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Rob H. <for...@us...> - 2002-01-28 19:11:36
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv4918 Modified Files: sandweb.cgi Log Message: noticed a bug with cookie handling; header was being set with CGI::header( -ck_auth => $ck_auth ) should be CGI::header( -cookie => $ck_auth ) Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.132 retrieving revision 1.133 diff -U2 -r1.132 -r1.133 --- sandweb.cgi 2002/01/28 01:09:26 1.132 +++ sandweb.cgi 2002/01/28 19:11:33 1.133 @@ -290,5 +290,5 @@ $content = "Data Dump<br /><pre>" . $content . "</pre>"; - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Debug Menu', @@ -341,5 +341,5 @@ my $username = $auth->get_userinfo('username'); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Browse Menu', @@ -433,5 +433,5 @@ my $content = $browse->browse("$location", "$progname", "@vcs_commands", "@file_commands", $repo_type); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Browse Repository Menu', @@ -591,5 +591,5 @@ ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : View File', @@ -649,5 +649,5 @@ ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Edit File', @@ -678,5 +678,5 @@ ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Create File', @@ -705,5 +705,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE => 'SandWeb : Create Folder', @@ -744,5 +744,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Upload File', @@ -762,5 +762,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Checkout', @@ -859,5 +859,5 @@ VCS_ERROR => "@vcs_error", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> "SandWeb : VCS $vcs_command", @@ -877,5 +877,5 @@ FILENAME => "@filename", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Commit', @@ -909,5 +909,5 @@ VCS_ERROR => "@vcs_error", ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> "SandWeb : VCS $vcs_command", @@ -943,5 +943,5 @@ ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Preferences Menu', @@ -1025,5 +1025,5 @@ ); - print CGI::header( -ck_auth => $ck_auth ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Preferences Menu', |
From: Rob H. <for...@us...> - 2002-01-28 09:19:51
|
Update of /cvsroot/sandweb/sandweb/var/work In directory usw-pr-cvs1:/tmp/cvs-serv1903/work Removed Files: info.txt Log Message: we're not using this dir, removing info.txt --- info.txt DELETED --- |
From: Nick J. <nje...@us...> - 2002-01-28 01:09:29
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv30022/lib/SandWeb Modified Files: Auth.pm Log Message: * changed generic 'sandweb' cookie, to 'sandweb_auth' and throught the CGI it is reffered to (and passed to functions as) ck_auth. ($ck_auth). This will seperate out ck_* to be able to use cookies for different things, like: ck_curr_menu (sandweb_curr_menu) ck_prev_menu (sandweb_prev_menu) Index: Auth.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth.pm,v retrieving revision 1.13 retrieving revision 1.14 diff -U2 -r1.13 -r1.14 --- Auth.pm 2001/10/06 08:17:12 1.13 +++ Auth.pm 2002/01/28 01:09:26 1.14 @@ -40,8 +40,8 @@ if ($verified) { - $self->_set_user_info_username($username); - $self->_set_user_info_password($password); - $log->standard("$username logged on.\n"); - return 1; + $self->_set_user_info_username($username); + $self->_set_user_info_password($password); + $log->standard("$username logged on.\n"); + return 1; } @@ -89,9 +89,9 @@ } -sub set_cookie { +sub set_auth_cookie { my $self = shift; my $log = $self->_logobj(); unless ($self->get_userinfo('username')) { - $log->error("set_cookie called when user_info not set (no login)\n"); + $log->error("set_cookie called when user_info not set (no login)\n"); return 0; } @@ -105,5 +105,5 @@ return ( - -name => "sandweb", + -name => "sandweb_auth", -value => $random, ); @@ -125,5 +125,5 @@ sub _search_cookiedata { - # returns username that matches cookie value + # returns username that matches auth cookie value my $self = shift; my $cookie_value = shift; |
From: Nick J. <nje...@us...> - 2002-01-28 01:09:29
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv30022/bin Modified Files: sandweb.cgi Log Message: * changed generic 'sandweb' cookie, to 'sandweb_auth' and throught the CGI it is reffered to (and passed to functions as) ck_auth. ($ck_auth). This will seperate out ck_* to be able to use cookies for different things, like: ck_curr_menu (sandweb_curr_menu) ck_prev_menu (sandweb_prev_menu) Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.131 retrieving revision 1.132 diff -U2 -r1.131 -r1.132 --- sandweb.cgi 2002/01/27 02:39:55 1.131 +++ sandweb.cgi 2002/01/28 01:09:26 1.132 @@ -69,19 +69,19 @@ } else { - # if cookie exists, this will return it's data - my $cookie = cookie('sandweb'); + # if auth cookie exists, this will return it's data + my $ck_auth = CGI::cookie('sandweb_auth'); - if ($cookie) { - # cookie has been set - # verify cookie, and load user info - my $stat = $auth->load_user($cookie); + if ($ck_auth) { + # auth cookie has been set + # verify auth cookie, and load user info + my $stat = $auth->load_user($ck_auth); unless ($stat) { - # unable to load user with cookie, or cookie expired + # unable to load user with auth cookie, or auth cookie expired set_error("Please login first."); - $log->debug("unable to get valid cookie: '$cookie'"); + $log->debug("unable to get valid authentication cookie: '$ck_auth'"); login_menu(); exit 0; } - # has valid cookie + # has valid auth cookie @@ -91,6 +91,6 @@ # unless ($action) { - # with cookie, default is main_menu - main_menu( cookie => $cookie ); + # with auth cookie, default is main_menu + main_menu( ck_auth => $ck_auth ); } else { @@ -101,18 +101,18 @@ if ( $action eq 'main_menu' ) { # called main menu - main_menu( cookie => $cookie ); + main_menu( ck_auth => $ck_auth ); } elsif ( $action eq 'debug_menu' ) { # called test menu - debug_menu( cookie => $cookie ); + debug_menu( ck_auth => $ck_auth ); } elsif ( $action eq 'preferences_menu' ) { if (! CGI::param('Submit')) { # call preferences menu - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } else { # commit menu data - preferences_commit( cookie => $cookie,); + preferences_commit( ck_auth => $ck_auth,); } } @@ -128,5 +128,5 @@ } browse_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -139,5 +139,5 @@ } browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -148,5 +148,5 @@ @filename = CGI::param('filename'), file( - cookie => $cookie, + ck_auth => $ck_auth, file_command => CGI::param('file_command'), filename => \@filename, @@ -165,5 +165,5 @@ vcsaction( - cookie => $cookie, + ck_auth => $ck_auth, vcs_command => CGI::param('vcs_command'), location => CGI::param('location'), @@ -186,5 +186,5 @@ } vcs_prefs_menu( - cookie => $cookie, + ck_auth => $ck_auth, filename => $filename, command => $command, @@ -198,11 +198,15 @@ $log->error("$msg"); set_error("$msg"); - debug_menu( cookie => $cookie ); + # load current menu (instead of going to new one) + #no strict 'refs'; + #my $curr_menu = CGI::param('curr_menu'); + #&$curr_menu( ck_auth => $ck_auth); + debug_menu( ck_auth => $ck_auth ); } } - } + } else { - # no cookie, default login_menu - $log->debug("no cookie found: '$cookie'"); + # no auth cookie, default login_menu + $log->debug("no authentication cookie found: '$ck_auth'"); login_menu(); } @@ -246,6 +250,6 @@ $log->debug("entering main menu"); - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -253,10 +257,10 @@ if (! load_prefs()) { # no existing user config, forward to prefs menu - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } - $log->debug("cookie: '$cookie'"); + $log->debug("auth cookie: '$ck_auth'"); - print CGI::header( -cookie => $cookie ); + print CGI::header( -cookie => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Main Menu', @@ -276,6 +280,6 @@ $log->debug("entering debug menu"); - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -286,5 +290,5 @@ $content = "Data Dump<br /><pre>" . $content . "</pre>"; - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Debug Menu', @@ -303,5 +307,5 @@ sub browse_menu { my %args = @_; - my $cookie = $args{'cookie'}; + my $ck_auth = $args{'ck_auth'}; my $no_modules = 0; # true if user has no repositories defined @@ -309,5 +313,5 @@ $log->debug("entering browse_menu()"); - unless ($cookie) { + unless ($ck_auth) { &login_menu(); exit 0; @@ -337,5 +341,5 @@ my $username = $auth->get_userinfo('username'); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Browse Menu', @@ -353,14 +357,14 @@ # # location - scalar to specify where to browse. -# cookie - the sessions cookie +# ck_auth - the sessions cookie # sub browse_module_menu { my %args = @_; my $location = $args{'location'} || ''; - my $cookie = $args{'cookie'}; + my $ck_auth = $args{'ck_auth'}; $log->debug("entering browse_module_menu()"); - unless ($cookie) { + unless ($ck_auth) { &login_menu(); exit 0; @@ -368,5 +372,5 @@ if (! load_prefs()) { # no existing user config, forward to prefs menu - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } my $username = $auth->get_userinfo('username'); @@ -429,5 +433,5 @@ my $content = $browse->browse("$location", "$progname", "@vcs_commands", "@file_commands", $repo_type); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Browse Repository Menu', @@ -449,6 +453,6 @@ $log->debug("entering file handling routine"); - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -456,5 +460,5 @@ if (! load_prefs()) { # no existing user config, forward to prefs menu - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } @@ -490,5 +494,5 @@ set_error("Please select file(s) or folder(s) to remove."); browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -519,5 +523,5 @@ browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -587,5 +591,5 @@ ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : View File', @@ -615,5 +619,5 @@ file( - cookie => $cookie, + ck_auth => $ck_auth, file_command => "view", filename => \@filename, @@ -625,5 +629,5 @@ set_error("This does not appear to be a text file."); file( - cookie => $cookie, + ck_auth => $ck_auth, file_command => "view", filename => $filename, @@ -645,5 +649,5 @@ ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Edit File', @@ -662,5 +666,5 @@ $file->create_file(); browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -674,5 +678,5 @@ ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Create File', @@ -689,5 +693,5 @@ $file->create_folder(); browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -701,5 +705,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE => 'SandWeb : Create Folder', @@ -729,5 +733,5 @@ browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -740,5 +744,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Upload File', @@ -758,5 +762,5 @@ FULLPATH => "$users_dir/$username/$location", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Checkout', @@ -775,5 +779,5 @@ set_error("Invalid selection: $file_command"); browse_module_menu( - cookie => $cookie, + ck_auth => $ck_auth, location => $location, ); @@ -788,6 +792,6 @@ my %args = @_; - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -795,5 +799,5 @@ if (! load_prefs()) { # no existing user config, forward to prefs menu - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } @@ -855,5 +859,5 @@ VCS_ERROR => "@vcs_error", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> "SandWeb : VCS $vcs_command", @@ -873,5 +877,5 @@ FILENAME => "@filename", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Commit', @@ -905,5 +909,5 @@ VCS_ERROR => "@vcs_error", ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> "SandWeb : VCS $vcs_command", @@ -921,6 +925,6 @@ sub preferences_menu { my %args = @_; - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -939,5 +943,5 @@ ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Preferences Menu', @@ -953,6 +957,6 @@ sub vcs_prefs_menu { my %args = @_; - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -1021,5 +1025,5 @@ ); - print CGI::header( -cookie => $cookie ); + print CGI::header( -ck_auth => $ck_auth ); $ui->print_screen( TITLE=> 'SandWeb : Preferences Menu', @@ -1040,6 +1044,6 @@ sub preferences_commit { my %args = @_; - my $cookie = $args{'cookie'}; - unless ($cookie) { + my $ck_auth = $args{'ck_auth'}; + unless ($ck_auth) { &login_menu(); exit 0; @@ -1085,9 +1089,9 @@ $log->error("$msg"); set_error("$msg"); - preferences_menu( cookie => $cookie ); + preferences_menu( ck_auth => $ck_auth ); } # when finished go to main menu. (this should be dynamic probably, so it # returns to whichever menu they wanted to go to in the first place). - main_menu( cookie => $cookie ); + main_menu( ck_auth => $ck_auth ); } @@ -1164,10 +1168,10 @@ if ($stat) { $log->standard("$username logged on."); - my $cookie = cookie( $auth->set_cookie() ); - unless ($cookie) { - set_error("unable to set cookie: '$cookie'"); + my $ck_auth = CGI::cookie( $auth->set_auth_cookie() ); + unless ($ck_auth) { + set_error("unable to set authentication cookie: '$ck_auth'"); login_menu(); } - main_menu( cookie => $cookie ); + main_menu( ck_auth => $ck_auth ); } else { |
From: Nick J. <nje...@us...> - 2002-01-27 20:37:00
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv1974 Modified Files: browse.html Log Message: * took all instances of sandweb.cgi out of browse.html and replaced with <TMPL_VAR NAME="PROGNAME"> Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.58 retrieving revision 1.59 diff -U2 -r1.58 -r1.59 --- browse.html 2002/01/27 02:39:57 1.58 +++ browse.html 2002/01/27 20:36:56 1.59 @@ -15,7 +15,7 @@ <tr> <td width="80%" align="center" bgcolor="#CCCCCC"> - <a href="sandweb.cgi?action=module_checkout_menu">checkout a module</a> + <a href="<TMPL_VAR NAME=PROGNAME>?action=module_checkout_menu">checkout a module</a>   |   - <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">add a new repository</a> + <a href="<TMPL_VAR NAME=PROGNAME>?action=repository_settings_menu&repository_name=new">add a new repository</a> </td> <td width="20%" align="center"> @@ -51,5 +51,5 @@ <tr> <td width="20%" align="left"> -   <a href="sandweb.cgi?action=browse_module_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a> +   <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_module_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a> </td> <td width="40%" align="left"> @@ -60,5 +60,5 @@ </td> <td width="15%" align="center"> -   <font size="2">[<a href="sandweb.cgi?action=module_delete_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">">delete</a>]</font> +   <font size="2">[<a href="<TMPL_VAR NAME=PROGNAME>?action=module_delete_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">">delete</a>]</font> </td> </tr> |
From: Nick J. <nje...@us...> - 2002-01-27 02:40:00
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv6628/templates Modified Files: browse.html Log Message: * working on multi-module settings and management of repositories/module, at a good stopping point for the moment but not everything will work. Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.57 retrieving revision 1.58 diff -U2 -r1.57 -r1.58 --- browse.html 2002/01/27 02:05:52 1.57 +++ browse.html 2002/01/27 02:39:57 1.58 @@ -3,11 +3,11 @@ <table width="100%" align="left" border="0"> <tr> - <td width="100%" align="center" colspan="2"> + <td width="100%" align="center"> <table width="100%" align="left" border="0"> <tr> - <td width="80%" align="center"> + <td width="90%" align="center"> <b>Please select a module to browse.</b><br> </td> - <td width="20%" align="center"> + <td width="10%" align="center">   </td> @@ -15,5 +15,7 @@ <tr> <td width="80%" align="center" bgcolor="#CCCCCC"> - <a href="sandweb.cgi?action=module_checkout_menu">checkout a module</a> | <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">create a new repository</a> + <a href="sandweb.cgi?action=module_checkout_menu">checkout a module</a> +   |   + <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">add a new repository</a> </td> <td width="20%" align="center"> @@ -25,18 +27,44 @@ </tr> <tr> - <td width="100%" align="left" colspan="2"> + <td width="100%" align="left"> <TMPL_VAR NAME="NO_MODULES"><br> </td> </tr> -<TMPL_LOOP NAME="MODULE_LOOP"> <tr> - <td width="40%" align="left"> -   <a href="sandweb.cgi?action=browse_repository_menu&repository_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a> - </td> - <td width="60%" align="left"> -   <font size="2">[<a href="sandweb.cgi?action=repository_settings_menu&repository_name=<TMPL_VAR NAME="MODULE_NAME">">modify</a>]</font> + <td width="100%" align="left"> + <table width="100%" align="left" border="1"> + <tr> + <td width="20%" align="center" bgcolor="#CCCCCC"> + Module Name + </td> + <td width="40%" align="center" bgcolor="#CCCCCC"> + Description + </td> + <td width="25%" align="center" bgcolor="#CCCCCC"> + Repository + </td> + <td width="15%" align="center" bgcolor="#CCCCCC"> + Function + </td> + </tr> + <TMPL_LOOP NAME="MODULE_LOOP"> + <tr> + <td width="20%" align="left"> +   <a href="sandweb.cgi?action=browse_module_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a> + </td> + <td width="40%" align="left"> +   <TMPL_VAR NAME="MODULE_DESC"> + </td> + <td width="25%" align="center"> + <TMPL_VAR NAME="REPOSITORY"> + </td> + <td width="15%" align="center"> +   <font size="2">[<a href="sandweb.cgi?action=module_delete_menu&module_name=<TMPL_VAR NAME="MODULE_NAME">">delete</a>]</font> + </td> + </tr> + </TMPL_LOOP> + </table> </td> </tr> -</TMPL_LOOP> </table> </form> |
From: Nick J. <nje...@us...> - 2002-01-27 02:40:00
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv6628/bin Modified Files: sandweb.cgi Log Message: * working on multi-module settings and management of repositories/module, at a good stopping point for the moment but not everything will work. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.130 retrieving revision 1.131 diff -U2 -r1.130 -r1.131 --- sandweb.cgi 2002/01/27 01:55:02 1.130 +++ sandweb.cgi 2002/01/27 02:39:55 1.131 @@ -323,4 +323,6 @@ my %entry; $entry{'MODULE_NAME'} = $module; + $entry{'MODULE_DESC'} = $module_settings->{$module}->{'description'}; + $entry{'REPOSITORY'} = $module_settings->{$module}->{'repository'}; push @module_loop, \%entry; } @@ -1129,12 +1131,21 @@ (ref(\$userprefs->{'repository'}->{'repo_type'}) eq 'SCALAR')) { - $log->debug("repo_type is not a repository entry."); my %temp = %{$userprefs->{'repository'}}; - #delete $userprefs->{'repository'}; %{$userprefs->{'repository'}} = (); %{$userprefs->{'repository'}->{$temp{'name'}}} = %temp; } - $repository_settings = $userprefs->{'repository'}; + + $log->debug("verifying modules data structure"); + # make sure data structure containing repositories is consistent + if ( ($userprefs->{'module'}->{'name'}) && + (ref(\$userprefs->{'module'}->{'name'}) eq 'SCALAR')) { + + my %temp = %{$userprefs->{'module'}}; + %{$userprefs->{'module'}} = (); + %{$userprefs->{'module'}->{$temp{'name'}}} = %temp; + } + $module_settings = $userprefs->{'module'}; + return 1; } |
From: Nick J. <nje...@us...> - 2002-01-27 02:05:54
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv810/templates Modified Files: browse.html Log Message: * minor changes to browse.html (added create module menu) Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.56 retrieving revision 1.57 diff -U2 -r1.56 -r1.57 --- browse.html 2002/01/27 01:55:02 1.56 +++ browse.html 2002/01/27 02:05:52 1.57 @@ -7,5 +7,5 @@ <tr> <td width="80%" align="center"> - <b>Please select a repository to browse, or create a new one.</b><br> + <b>Please select a module to browse.</b><br> </td> <td width="20%" align="center"> @@ -15,5 +15,5 @@ <tr> <td width="80%" align="center" bgcolor="#CCCCCC"> - <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">create a new repository</a> + <a href="sandweb.cgi?action=module_checkout_menu">checkout a module</a> | <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">create a new repository</a> </td> <td width="20%" align="center"> |
From: Nick J. <nje...@us...> - 2002-01-27 01:55:05
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv31583/templates Modified Files: browse.html Log Message: * working on sorting out repositoy/module mess Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.55 retrieving revision 1.56 diff -U2 -r1.55 -r1.56 --- browse.html 2002/01/27 01:51:11 1.55 +++ browse.html 2002/01/27 01:55:02 1.56 @@ -26,5 +26,5 @@ <tr> <td width="100%" align="left" colspan="2"> - <TMPL_VAR NAME="NO_REPOSITORIES"><br> + <TMPL_VAR NAME="NO_MODULES"><br> </td> </tr> @@ -32,8 +32,8 @@ <tr> <td width="40%" align="left"> -   <a href="sandweb.cgi?action=browse_module_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">"><TMPL_VAR NAME="REPOSITORY_NAME"></a> +   <a href="sandweb.cgi?action=browse_repository_menu&repository_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a> </td> <td width="60%" align="left"> -   <font size="2">[<a href="sandweb.cgi?action=repository_settings_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">">modify</a>]</font> +   <font size="2">[<a href="sandweb.cgi?action=repository_settings_menu&repository_name=<TMPL_VAR NAME="MODULE_NAME">">modify</a>]</font> </td> </tr> |
From: Nick J. <nje...@us...> - 2002-01-27 01:55:05
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv31583/bin Modified Files: sandweb.cgi Log Message: * working on sorting out repositoy/module mess Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.129 retrieving revision 1.130 diff -U2 -r1.129 -r1.130 --- sandweb.cgi 2002/01/27 00:34:34 1.129 +++ sandweb.cgi 2002/01/27 01:55:02 1.130 @@ -48,5 +48,7 @@ # these variables are declared here, they will be # instantiated below ( if needed ) -my $userprefs; # data loaded from users prefs config file +my $userprefs; # user data loaded from users prefs config file +my $repository_settings; # repository data loaded from users prefs config file +my $module_settings; # module data loaded from users prefs config file # internal variable configs for development ease @@ -96,12 +98,5 @@ load_prefs(1); $log->debug("loading prefs"); - my $username = $auth->get_userinfo('username'); - my $repo = $userprefs->{'repository'}->{'name'}; - my $repo_type = $userprefs->{'repository'}->{'VCS'}; - my $root = $userprefs->{'repository'}->{'root'}; - my $server = $userprefs->{'repository'}->{'server'}; - my $sandbox = $userprefs->{'paths'}->{'users_dir'} . "/$username"; - if ( $action eq 'main_menu' ) { # called main menu @@ -137,5 +132,5 @@ ); } - elsif ( $action eq 'browse_repository_menu' ) { + elsif ( $action eq 'browse_module_menu' ) { # called sandbox viewer my $location = CGI::param('location'); @@ -143,5 +138,5 @@ $location = ""; } - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -310,4 +305,7 @@ my $cookie = $args{'cookie'}; + my $no_modules = 0; # true if user has no repositories defined + my @module_loop = (); + $log->debug("entering browse_menu()"); unless ($cookie) { @@ -317,7 +315,21 @@ load_prefs(1); + my @modules = keys %{$module_settings}; + if ($#modules < 0) { + $no_modules = 1; + } else { + # build repository list for template + foreach my $module (@modules) { + my %entry; + $entry{'MODULE_NAME'} = $module; + push @module_loop, \%entry; + } + } + my $content = $ui->get_menu( MENU => 'browse', PROGNAME => "$progname", + NO_MODULES => ($no_modules) ? "No exisiting modules.\n" : "", + MODULE_LOOP => \@module_loop, ); @@ -341,10 +353,10 @@ # cookie - the sessions cookie # -sub browse_repository_menu { +sub browse_module_menu { my %args = @_; my $location = $args{'location'} || ''; my $cookie = $args{'cookie'}; - $log->debug("entering browse_repository_menu()"); + $log->debug("entering browse_module_menu()"); unless ($cookie) { @@ -475,5 +487,5 @@ $log->debug("no files selected for removal"); set_error("Please select file(s) or folder(s) to remove."); - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -504,5 +516,5 @@ } - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -647,5 +659,5 @@ if ($file) { $file->create_file(); - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -674,5 +686,5 @@ if ($file) { $file->create_folder(); - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -714,5 +726,5 @@ ); - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -760,5 +772,5 @@ else { set_error("Invalid selection: $file_command"); - browse_repository_menu( + browse_module_menu( cookie => $cookie, location => $location, @@ -1124,4 +1136,5 @@ } + $repository_settings = $userprefs->{'repository'}; return 1; } |
From: Nick J. <nje...@us...> - 2002-01-27 01:51:14
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv30148/templates Modified Files: browse.html Log Message: modified browse_repository_menu to browse_module_menu Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.54 retrieving revision 1.55 diff -U2 -r1.54 -r1.55 --- browse.html 2002/01/27 01:48:04 1.54 +++ browse.html 2002/01/27 01:51:11 1.55 @@ -29,5 +29,5 @@ </td> </tr> -<TMPL_LOOP NAME="REPOSITORY_LOOP"> +<TMPL_LOOP NAME="MODULE_LOOP"> <tr> <td width="40%" align="left"> |
From: Rob H. <for...@us...> - 2002-01-27 01:48:07
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv29540/lib/SandWeb Modified Files: Browse.pm Log Message: changed browse_repository to browse_module Index: Browse.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v retrieving revision 1.34 retrieving revision 1.35 diff -U2 -r1.34 -r1.35 --- Browse.pm 2002/01/27 00:33:30 1.34 +++ Browse.pm 2002/01/27 01:48:04 1.35 @@ -53,5 +53,5 @@ } - my $content = HTML::Template->new( filename => "$template_dir/browse_repository.html" ); + my $content = HTML::Template->new( filename => "$template_dir/browse_module.html" ); if ($location eq '/') { $location = ''; @@ -135,5 +135,5 @@ } $row_data{FILETYPE} = "dir"; - $row_data{LINK} = "action=browse_repository_menu&location=$location/$filename"; + $row_data{LINK} = "action=browse_module_menu&location=$location/$filename"; if ($counter eq "0") { $row_data{COLOR} = "$color0"; |
From: Rob H. <for...@us...> - 2002-01-27 01:48:07
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv29540/templates Modified Files: browse.html edit_file.html vcs_output.html view_file.html Added Files: browse_module.html Removed Files: browse_repository.html Log Message: changed browse_repository to browse_module --- NEW FILE --- <script language="javascript"> function selectAll(field) { for (i = 0; i < field.length; i++) field[i].checked = true ; } function clearAll(field) { for (i = 0; i < field.length; i++) field[i].checked = false ; } </script> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <form method="get" submit="<TMPL_VAR NAME=PROGNAME>" name="browse"> <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> <tr> <td width="100%" align="center" valign="center"> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="50%" align="center" bgcolor="#AAAAAA"> <select name="vcs_command"> <option></option> <TMPL_LOOP NAME="VCS_CMD_LOOP"> <option><TMPL_VAR NAME="VCS_CMD"></option> </TMPL_LOOP> </select>       <input type="submit" name="action" value="vcsaction" /> </td> <td width="50%" align="center" bgcolor="#AAAAAA"> <select name="file_command"> <option></option> <TMPL_LOOP NAME="FILE_CMD_LOOP"> <option><TMPL_VAR NAME="FILE_CMD"></option> </TMPL_LOOP> </select>       <input type="submit" name="action" value="file" /> </td> </tr> </table> </td> </tr> <tr> <td width="100%">   <br /> </td> </tr> <tr> <td width="100%" bgcolor="#000000">   <font color="#22DD22"> Current location : <TMPL_LOOP NAME="LOCATION_LOOP"> <a href="<TMPL_VAR NAME="PROGNAME">?action=browse_module_menu&location=<TMPL_VAR NAME="LOCATION_FULL">"><TMPL_VAR NAME="LOCATION_LINK"></a> </TMPL_LOOP> </font> </td> </tr> <tr> <td width="100%"> <table width="100%" border="1"> <tr> <td width="60%" align="left" colspan="3"> <a href="javascript:selectAll(document.browse.filename)">Select All</a> | <a href="javascript:clearAll(document.browse.filename)">Clear All<a/> </td> </tr> <tr> <td width="60%" align="left" bgcolor="#88FF88"> <font size="2">   <b>File</b> </font> </td> <td width="10%" align="left" bgcolor="#CCCCCC"> <font size="2">   <A href="<TMPL_VAR NAME=PROGNAME>">Size</a> </font> </td> <td width="30%" align="left" bgcolor="#CCCCCC"> <font size="2">   <A href="<TMPL_VAR NAME=PROGNAME>">Age</a> </font> </td> </tr> <TMPL_LOOP NAME="ENTRY_LOOP"> <tr bgcolor="<TMPL_VAR NAME=COLOR>"> <td> <input type="checkbox" name="filename" value="<TMPL_VAR NAME=ENTRY>"> <a name="<TMPL_VAR NAME=ENTRY>"> </input> <a href="<TMPL_VAR NAME=PROGNAME>?<TMPL_VAR NAME=LINK>&file_command=view&location=<TMPL_VAR NAME=LOCATION>"> <img src="/icons/<TMPL_VAR NAME=FILETYPE>.gif" alt="" border=0 width=20 height=22> <TMPL_VAR NAME=ENTRY> </a> </td> <td>   <TMPL_VAR NAME=FILESIZE>/<font size="2"><i>B</i></font> </td> <td>   <font size="2"><TMPL_VAR NAME=FILEAGE></font> </td> </tr> </TMPL_LOOP> </table> </td> </tr> </form> </table> <TMPL_VAR NAME="STATUS"> Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.53 retrieving revision 1.54 diff -U2 -r1.53 -r1.54 --- browse.html 2002/01/27 01:26:40 1.53 +++ browse.html 2002/01/27 01:48:04 1.54 @@ -32,5 +32,5 @@ <tr> <td width="40%" align="left"> -   <a href="sandweb.cgi?action=browse_repository_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">"><TMPL_VAR NAME="REPOSITORY_NAME"></a> +   <a href="sandweb.cgi?action=browse_module_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">"><TMPL_VAR NAME="REPOSITORY_NAME"></a> </td> <td width="60%" align="left"> Index: edit_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/edit_file.html,v retrieving revision 1.15 retrieving revision 1.16 diff -U2 -r1.15 -r1.16 --- edit_file.html 2002/01/27 00:04:22 1.15 +++ edit_file.html 2002/01/27 01:48:04 1.16 @@ -1,5 +1,5 @@ <p> <p> - Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_repository_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> + Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_menu_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> <br /> Current filename : <TMPL_VAR NAME=FILENAME> Index: vcs_output.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/vcs_output.html,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- vcs_output.html 2002/01/27 00:04:22 1.8 +++ vcs_output.html 2002/01/27 01:48:04 1.9 @@ -1,4 +1,4 @@ <p> - Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_repository_menu&location=/<TMPL_VAR NAME=LOCATION>">/<TMPL_VAR NAME=LOCATION></a> + Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_module_menu&location=/<TMPL_VAR NAME=LOCATION>">/<TMPL_VAR NAME=LOCATION></a> <br /> Current filename : <TMPL_VAR NAME=FILENAME> Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.23 retrieving revision 1.24 diff -U2 -r1.23 -r1.24 --- view_file.html 2002/01/27 00:04:22 1.23 +++ view_file.html 2002/01/27 01:48:04 1.24 @@ -6,5 +6,5 @@ <tr> <td width="50%"> - Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_repository_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> + Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_module_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> <br /> </td> --- browse_repository.html DELETED --- |
From: Rob H. <for...@us...> - 2002-01-27 01:28:23
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv26401 Modified Files: browse_repository.html Log Message: fixing bug Index: browse_repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse_repository.html,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- browse_repository.html 2002/01/27 01:26:20 1.2 +++ browse_repository.html 2002/01/27 01:28:20 1.3 @@ -14,4 +14,5 @@ <form method="get" submit="<TMPL_VAR NAME=PROGNAME>" name="browse"> <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> <tr> |
From: Nick J. <nje...@us...> - 2002-01-27 01:26:45
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv26017/templates Modified Files: browse.html framework.html Log Message: * working on the browse.html more. semi-working now. * modified the framekwork.html, changed to color of the left menu to a lighter grey Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.52 retrieving revision 1.53 diff -U2 -r1.52 -r1.53 --- browse.html 2002/01/27 00:41:40 1.52 +++ browse.html 2002/01/27 01:26:40 1.53 @@ -1,10 +1,42 @@ <form submit="<TMPL_VAR NAME=PROGNAME>"> -<input type="hidden" name="action" value="preferences_menu" /> -<table width="100%" align="center" border="0"> +<input type="hidden" name="action" value="browse_menu" /> +<table width="100%" align="left" border="0"> <tr> - <td width="20%" align="right"> - + <td width="100%" align="center" colspan="2"> + <table width="100%" align="left" border="0"> + <tr> + <td width="80%" align="center"> + <b>Please select a repository to browse, or create a new one.</b><br> + </td> + <td width="20%" align="center"> +   + </td> + </tr> + <tr> + <td width="80%" align="center" bgcolor="#CCCCCC"> + <a href="sandweb.cgi?action=repository_settings_menu&repository_name=new">create a new repository</a> + </td> + <td width="20%" align="center"> +   + </td> + </tr> + </td> + </table> + </tr> + <tr> + <td width="100%" align="left" colspan="2"> + <TMPL_VAR NAME="NO_REPOSITORIES"><br> + </td> + </tr> +<TMPL_LOOP NAME="REPOSITORY_LOOP"> + <tr> + <td width="40%" align="left"> +   <a href="sandweb.cgi?action=browse_repository_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">"><TMPL_VAR NAME="REPOSITORY_NAME"></a> + </td> + <td width="60%" align="left"> +   <font size="2">[<a href="sandweb.cgi?action=repository_settings_menu&repository_name=<TMPL_VAR NAME="REPOSITORY_NAME">">modify</a>]</font> </td> </tr> +</TMPL_LOOP> </table> </form> Index: framework.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/framework.html,v retrieving revision 1.7 retrieving revision 1.8 diff -U2 -r1.7 -r1.8 --- framework.html 2001/10/21 08:43:30 1.7 +++ framework.html 2002/01/27 01:26:40 1.8 @@ -19,5 +19,5 @@ </tr> <tr> - <td width="12%" valign="top" align="center" bgcolor="#AAAAAA"> + <td width="12%" valign="top" align="center" bgcolor="#CCCCCC"> <table width="100%" align="center" cellspacing="4"> <TMPL_VAR NAME=MENU_BAR><br /> |
From: Rob H. <for...@us...> - 2002-01-27 01:26:23
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv26019 Modified Files: browse_repository.html Log Message: removing test statements Index: browse_repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse_repository.html,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- browse_repository.html 2002/01/27 00:33:30 1.1 +++ browse_repository.html 2002/01/27 01:26:20 1.2 @@ -11,6 +11,4 @@ </script> -<TMPL_VAR NAME=LOCATION> -<TMPL_VAR NAME=location> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <form method="get" submit="<TMPL_VAR NAME=PROGNAME>" name="browse"> |
From: Nick J. <nje...@us...> - 2002-01-27 00:41:42
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv17838 Modified Files: browse.html Log Message: * browse.html blank template Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.51 retrieving revision 1.52 diff -U2 -r1.51 -r1.52 --- browse.html 2002/01/27 00:32:39 1.51 +++ browse.html 2002/01/27 00:41:40 1.52 @@ -4,67 +4,5 @@ <tr> <td width="20%" align="right"> - Name : - </td> - <td width="90%" align="left"> - <input type="text" name="name" value="<TMPL_VAR NAME=NAME>" /> - </td> - </tr> - <tr> - <td width="20%" align="right"> - Server Hostname : - </td> - <td width="90%" align="left"> - <input type="text" name="server" value="<TMPL_VAR NAME=SERVER>" /> - </td> - </tr> - <tr> - <td width="20%" align="right"> - Username : - </td> - <td width="90%" align="left"> - <input type="text" name="name" value="<TMPL_VAR NAME=USERNAME>" /> - </td> - </tr> - <tr> - <td width="20%" align="right"> - VCS Type : - </td> - <td width="90%" align="left"> - <select name="repo_type"> - <TMPL_LOOP NAME=LOOP_REPO_TYPE> - <TMPL_VAR NAME=REPO_TYPE> - </TMPL_LOOP> - </td> - </tr> - <tr> - <td width="20%" align="right"> - Connection : - </td> - <td width="90%" align="left"> - <select name="connection"> - <TMPL_LOOP NAME=LOOP_CONNECTION> - <TMPL_VAR NAME=CONNECTION> - </TMPL_LOOP> - </select> - </td> - </tr> - <tr> - <td width="20%" align="right"> - Root : - </td> - <td width="90%" align="left"> - <input type="text" name="root" value="<TMPL_VAR NAME=ROOT>" /> - </td> - <tr> -</table> -<table width="100%" align="center" border="0"> - <td width="15%" align="center"> -   <br /> - </td> - <td width="10%" align="center"> - <input type="submit" name="Submit" Value="Done" /> - </td> - <td width="75%" align="center"> -   <br /> + </td> </tr> |
From: Nick J. <nje...@us...> - 2002-01-27 00:34:37
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv16239/bin Modified Files: sandweb.cgi Log Message: * created replacement for browse_menu, old browse_menu now browse_repository_menu Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.128 retrieving revision 1.129 diff -U2 -r1.128 -r1.129 --- sandweb.cgi 2002/01/26 23:30:54 1.128 +++ sandweb.cgi 2002/01/27 00:34:34 1.129 @@ -310,4 +310,26 @@ my $cookie = $args{'cookie'}; + $log->debug("entering browse_menu()"); + unless ($cookie) { + &login_menu(); + exit 0; + } + load_prefs(1); + + my $content = $ui->get_menu( + MENU => 'browse', + PROGNAME => "$progname", + ); + + my $username = $auth->get_userinfo('username'); + print CGI::header( -cookie => $cookie ); + $ui->print_screen( + TITLE=> 'SandWeb : Browse Menu', + MENU_TITLE => 'SandWeb', + SUBMENU_TITLE => 'browse menu', + FOOTER => '', + CONTENT => $content, + ERROR => $error, + ); } @@ -324,5 +346,5 @@ my $cookie = $args{'cookie'}; - $log->debug("entering browse menu"); + $log->debug("entering browse_repository_menu()"); unless ($cookie) { @@ -395,7 +417,7 @@ print CGI::header( -cookie => $cookie ); $ui->print_screen( - TITLE=> 'SandWeb : Browse Menu', + TITLE=> 'SandWeb : Browse Repository Menu', MENU_TITLE => 'SandWeb', - SUBMENU_TITLE => 'browse menu', + SUBMENU_TITLE => 'browse repository menu', FOOTER => '', CONTENT => $content, |
From: Rob H. <for...@us...> - 2002-01-27 00:33:32
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv15986/lib/SandWeb Modified Files: Browse.pm Log Message: changed "browse_repository_menu.html" to "browse_repository.html" Index: Browse.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v retrieving revision 1.33 retrieving revision 1.34 diff -U2 -r1.33 -r1.34 --- Browse.pm 2002/01/27 00:24:44 1.33 +++ Browse.pm 2002/01/27 00:33:30 1.34 @@ -53,5 +53,5 @@ } - my $content = HTML::Template->new( filename => "$template_dir/browse_repository_menu.html" ); + my $content = HTML::Template->new( filename => "$template_dir/browse_repository.html" ); if ($location eq '/') { $location = ''; |
From: Rob H. <for...@us...> - 2002-01-27 00:33:32
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv15986/templates Added Files: browse_repository.html Log Message: changed "browse_repository_menu.html" to "browse_repository.html" --- NEW FILE --- <script language="javascript"> function selectAll(field) { for (i = 0; i < field.length; i++) field[i].checked = true ; } function clearAll(field) { for (i = 0; i < field.length; i++) field[i].checked = false ; } </script> <TMPL_VAR NAME=LOCATION> <TMPL_VAR NAME=location> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <form method="get" submit="<TMPL_VAR NAME=PROGNAME>" name="browse"> <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <tr> <td width="100%" align="center" valign="center"> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="50%" align="center" bgcolor="#AAAAAA"> <select name="vcs_command"> <option></option> <TMPL_LOOP NAME="VCS_CMD_LOOP"> <option><TMPL_VAR NAME="VCS_CMD"></option> </TMPL_LOOP> </select>       <input type="submit" name="action" value="vcsaction" /> </td> <td width="50%" align="center" bgcolor="#AAAAAA"> <select name="file_command"> <option></option> <TMPL_LOOP NAME="FILE_CMD_LOOP"> <option><TMPL_VAR NAME="FILE_CMD"></option> </TMPL_LOOP> </select>       <input type="submit" name="action" value="file" /> </td> </tr> </table> </td> </tr> <tr> <td width="100%">   <br /> </td> </tr> <tr> <td width="100%" bgcolor="#000000">   <font color="#22DD22"> Current location : <TMPL_LOOP NAME="LOCATION_LOOP"> <a href="<TMPL_VAR NAME="PROGNAME">?action=browse_repository_menu&location=<TMPL_VAR NAME="LOCATION_FULL">"><TMPL_VAR NAME="LOCATION_LINK"></a> </TMPL_LOOP> </font> </td> </tr> <tr> <td width="100%"> <table width="100%" border="1"> <tr> <td width="60%" align="left" colspan="3"> <a href="javascript:selectAll(document.browse.filename)">Select All</a> | <a href="javascript:clearAll(document.browse.filename)">Clear All<a/> </td> </tr> <tr> <td width="60%" align="left" bgcolor="#88FF88"> <font size="2">   <b>File</b> </font> </td> <td width="10%" align="left" bgcolor="#CCCCCC"> <font size="2">   <A href="<TMPL_VAR NAME=PROGNAME>">Size</a> </font> </td> <td width="30%" align="left" bgcolor="#CCCCCC"> <font size="2">   <A href="<TMPL_VAR NAME=PROGNAME>">Age</a> </font> </td> </tr> <TMPL_LOOP NAME="ENTRY_LOOP"> <tr bgcolor="<TMPL_VAR NAME=COLOR>"> <td> <input type="checkbox" name="filename" value="<TMPL_VAR NAME=ENTRY>"> <a name="<TMPL_VAR NAME=ENTRY>"> </input> <a href="<TMPL_VAR NAME=PROGNAME>?<TMPL_VAR NAME=LINK>&file_command=view&location=<TMPL_VAR NAME=LOCATION>"> <img src="/icons/<TMPL_VAR NAME=FILETYPE>.gif" alt="" border=0 width=20 height=22> <TMPL_VAR NAME=ENTRY> </a> </td> <td>   <TMPL_VAR NAME=FILESIZE>/<font size="2"><i>B</i></font> </td> <td>   <font size="2"><TMPL_VAR NAME=FILEAGE></font> </td> </tr> </TMPL_LOOP> </table> </td> </tr> </form> </table> <TMPL_VAR NAME="STATUS"> |
From: Nick J. <nje...@us...> - 2002-01-27 00:32:41
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv15868 Added Files: browse.html repository_settings.html Log Message: * adding new menus --- NEW FILE --- <form submit="<TMPL_VAR NAME=PROGNAME>"> <input type="hidden" name="action" value="preferences_menu" /> <table width="100%" align="center" border="0"> <tr> <td width="20%" align="right"> Name : </td> <td width="90%" align="left"> <input type="text" name="name" value="<TMPL_VAR NAME=NAME>" /> </td> </tr> <tr> <td width="20%" align="right"> Server Hostname : </td> <td width="90%" align="left"> <input type="text" name="server" value="<TMPL_VAR NAME=SERVER>" /> </td> </tr> <tr> <td width="20%" align="right"> Username : </td> <td width="90%" align="left"> <input type="text" name="name" value="<TMPL_VAR NAME=USERNAME>" /> </td> </tr> <tr> <td width="20%" align="right"> VCS Type : </td> <td width="90%" align="left"> <select name="repo_type"> <TMPL_LOOP NAME=LOOP_REPO_TYPE> <TMPL_VAR NAME=REPO_TYPE> </TMPL_LOOP> </td> </tr> <tr> <td width="20%" align="right"> Connection : </td> <td width="90%" align="left"> <select name="connection"> <TMPL_LOOP NAME=LOOP_CONNECTION> <TMPL_VAR NAME=CONNECTION> </TMPL_LOOP> </select> </td> </tr> <tr> <td width="20%" align="right"> Root : </td> <td width="90%" align="left"> <input type="text" name="root" value="<TMPL_VAR NAME=ROOT>" /> </td> <tr> </table> <table width="100%" align="center" border="0"> <td width="15%" align="center">   <br /> </td> <td width="10%" align="center"> <input type="submit" name="Submit" Value="Done" /> </td> <td width="75%" align="center">   <br /> </td> </tr> </table> </form> |
From: Nick J. <nje...@us...> - 2002-01-27 00:31:05
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv15490 Modified Files: preferences.html Removed Files: browse.html vcs_prefs.html Log Message: modifying template names Index: preferences.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/preferences.html,v retrieving revision 1.11 retrieving revision 1.12 diff -U2 -r1.11 -r1.12 --- preferences.html 2001/12/04 01:15:35 1.11 +++ preferences.html 2002/01/27 00:31:02 1.12 @@ -24,5 +24,5 @@ </td> <td width="30%" align="center"> - <a href="<TMPL_VAR NAME=PROGNAME>?action=vcs_prefs_menu">Set Up Repository</a> + <!-- <a href="<TMPL_VAR NAME=PROGNAME>?action=vcs_prefs_menu">Set Up Repository</a> --> </td> <td width="65%" align="center"> --- browse.html DELETED --- --- vcs_prefs.html DELETED --- |
From: Rob H. <for...@us...> - 2002-01-27 00:24:47
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv13931 Modified Files: Browse.pm Log Message: changed browse.html to browse_repository_menu.html Index: Browse.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v retrieving revision 1.32 retrieving revision 1.33 diff -U2 -r1.32 -r1.33 --- Browse.pm 2002/01/27 00:03:52 1.32 +++ Browse.pm 2002/01/27 00:24:44 1.33 @@ -53,5 +53,5 @@ } - my $content = HTML::Template->new( filename => "$template_dir/browse.html" ); + my $content = HTML::Template->new( filename => "$template_dir/browse_repository_menu.html" ); if ($location eq '/') { $location = ''; |
From: Nick J. <nje...@us...> - 2002-01-27 00:10:25
|
Update of /cvsroot/sandweb/sandweb/etc In directory usw-pr-cvs1:/tmp/cvs-serv11644/etc Modified Files: sandweb.cfg Log Message: * corrected sandweb.cfg Index: sandweb.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/etc/sandweb.cfg,v retrieving revision 1.13 retrieving revision 1.14 diff -U2 -r1.13 -r1.14 --- sandweb.cfg 2002/01/26 21:34:32 1.13 +++ sandweb.cfg 2002/01/27 00:10:21 1.14 @@ -16,5 +16,5 @@ <!-- config for cgi related information --> - <cgi-bin cgi_path="/cgi-bin/sandweb-robert/bin" + <cgi-bin cgi_path="/cgi-bin/sandweb/bin" cgi_domain="" /> |
From: Rob H. <for...@us...> - 2002-01-27 00:04:25
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv10298 Modified Files: browse.html checkout.html commit.html create_file.html create_folder.html edit_file.html tag.html upload_file.html vcs_output.html view_file.html Log Message: changed path to location and browse_menu to browse_repository_menu Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.48 retrieving revision 1.49 diff -U2 -r1.48 -r1.49 --- browse.html 2002/01/26 23:27:59 1.48 +++ browse.html 2002/01/27 00:04:22 1.49 @@ -11,7 +11,9 @@ </script> +<TMPL_VAR NAME=LOCATION> +<TMPL_VAR NAME=location> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <form method="get" submit="<TMPL_VAR NAME=PROGNAME>" name="browse"> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <tr> Index: checkout.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/checkout.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- checkout.html 2001/12/18 09:07:38 1.4 +++ checkout.html 2002/01/27 00:04:22 1.5 @@ -4,5 +4,5 @@ <input type="hidden" name="action" value="vcsaction" /> <input type="hidden" name="vcs_command" value="checkout" /> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> <input type="text" name="filename" /> Index: commit.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/commit.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- commit.html 2001/12/18 09:07:38 1.4 +++ commit.html 2002/01/27 00:04:22 1.5 @@ -4,4 +4,5 @@ <input type="hidden" name="action" value="vcsaction" /> <input type="hidden" name="vcs_command" value="commit" /> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> Index: create_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_file.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- create_file.html 2001/12/18 09:07:38 1.4 +++ create_file.html 2002/01/27 00:04:22 1.5 @@ -2,5 +2,5 @@ <input name="action" value="file" type="hidden" /> <input name="file_command" value="create_file" type="hidden" /> -<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> +<input name="menu" value="<TMPL_VAR NAME=MENU>" type="hidden" /> <input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> Current location: <TMPL_VAR NAME=LOCATION><br /> Index: create_folder.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_folder.html,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- create_folder.html 2001/12/18 09:07:38 1.3 +++ create_folder.html 2002/01/27 00:04:22 1.4 @@ -2,5 +2,5 @@ <input name="action" value="file" type="hidden" /> <input name="file_command" value="create_folder" type="hidden" /> -<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> +<input name="menu" value="<TMPL_VAR NAME=MENU>" type="hidden" /> <input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> Location: <TMPL_VAR NAME=LOCATION><br /> Index: edit_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/edit_file.html,v retrieving revision 1.14 retrieving revision 1.15 diff -U2 -r1.14 -r1.15 --- edit_file.html 2002/01/26 23:27:59 1.14 +++ edit_file.html 2002/01/27 00:04:22 1.15 @@ -1,5 +1,5 @@ <p> <p> - Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> + Current location : <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_repository_menu&location=<TMPL_VAR NAME=LOCATION>"><TMPL_VAR NAME=LOCATION></a> <br /> Current filename : <TMPL_VAR NAME=FILENAME> @@ -8,4 +8,5 @@ <input name="action" value="file" type="hidden" /> <input name="file_command" value="edit" type="hidden" /> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> <input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> Index: tag.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tag.html,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- tag.html 2001/08/15 22:06:47 1.1 +++ tag.html 2002/01/27 00:04:22 1.2 @@ -3,4 +3,5 @@ <form submit="<TMPL_VAR NAME=FILENAME>" type="get"> <input type="hidden" name="action" value="tag" /> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> Index: upload_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/upload_file.html,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- upload_file.html 2002/01/18 07:37:34 1.3 +++ upload_file.html 2002/01/27 00:04:22 1.4 @@ -3,4 +3,5 @@ <input name="action" value="file" type="hidden" /> <input name="file_command" value="upload" type="hidden" /> +<input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> <input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> Index: vcs_output.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/vcs_output.html,v retrieving revision 1.7 retrieving revision 1.8 diff -U2 -r1.7 -r1.8 --- vcs_output.html 2002/01/26 23:27:59 1.7 +++ vcs_output.html 2002/01/27 00:04:22 1.8 @@ -5,4 +5,5 @@ <br /> <form> + <input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <input name="<TMPL_VAR NAME=LOCATION>" type="hidden"> <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden"> Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.22 retrieving revision 1.23 diff -U2 -r1.22 -r1.23 --- view_file.html 2002/01/26 23:27:59 1.22 +++ view_file.html 2002/01/27 00:04:22 1.23 @@ -2,4 +2,5 @@ <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> +<input type="hidden" name="menu" value="<TMPL_VAR NAME=MENU>" /> <table width="100%"> <tr> |