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...> - 2003-08-24 18:43:36
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory sc8-pr-cvs1:/tmp/cvs-serv13700/lib/SandWeb Modified Files: Auth.pm Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: Auth.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth.pm,v retrieving revision 1.26 retrieving revision 1.27 diff -U2 -r1.26 -r1.27 --- Auth.pm 9 Jul 2003 06:23:33 -0000 1.26 +++ Auth.pm 24 Aug 2003 18:43:32 -0000 1.27 @@ -47,10 +47,10 @@ my $login = $auth->login( - 'log_obj' => $log, - 'data_dir' => $config->{'paths'}->{'data_dir'}, - 'users_dir' => $config->{'paths'}->{'users_dir'}, - 'cookie_path' => $config->{'cookie'}->{'path'}, - 'cookie_domain' => $config->{'cookie'}->{'domain'}, - ); + 'log_obj' => $log, + 'data_dir' => $config->{'paths'}->{'data_dir'}, + 'users_dir' => $config->{'paths'}->{'users_dir'}, + 'cookie_path' => $config->{'cookie'}->{'path'}, + 'cookie_domain' => $config->{'cookie'}->{'domain'}, + ); @@ -61,37 +61,37 @@ PARAMETERS - log_obj (type: string) (required) - + log_obj (type: string) (required) + This contains a reference to an instantiated log object. - Default: none. + Default: none. - data_dir (type: string) (required) + data_dir (type: string) (required) - This is the path to SandWeb's data directory. + This is the path to SandWeb's data directory. - Default: none. + Default: none. - cookie_path (type: string) (required) + cookie_path (type: string) (required) - This is the path on the server side where cookie data is stored. + This is the path on the server side where cookie data is stored. - Default: none. - - cookie_domain (type: string) (required) + Default: none. + + cookie_domain (type: string) (required) This is the domain that we tell the browser this cookie belongs to. - Default: none. + Default: none. RETURN CODES - 1 = The operation completed successfully. + 1 = The operation completed successfully. - 0 = This means that the method got an error proccessing your request. - Perhaps an invalid parameter? + 0 = This means that the method got an error proccessing your request. + Perhaps an invalid parameter? -1 = This return value means that there was not sufficient permision to - read the files specified, or they did not exist. + read the files specified, or they did not exist. -------------------------------------------------------------------------------- @@ -100,17 +100,18 @@ sub new { - my $class = shift; - my %args = @_; + my $class = shift; + my %args = @_; - my $self = bless { - 'user_info' => {}, - '_log_obj' => $args{'log_obj'}, - '_data_dir' => $args{'data_dir'}, - '_users_dir' => $args{'users_dir'}, - '_cookie_path' => $args{'cookie_path'}, - '_cookie_domain' => $args{'cookie_domain'}, - }, $class; + my $self = bless { + 'user_info' => {}, + '_log_obj' => $args{'log_obj'}, + '_data_dir' => $args{'data_dir'}, + '_users_dir' => $args{'users_dir'}, + '_cookie_path' => $args{'cookie_path'}, + '_cookie_domain' => $args{'cookie_domain'}, + '_auth_type' => $args{'auth_type'}, + }, $class; - return $self; + return $self; } @@ -126,5 +127,5 @@ password => $password, salt => $salt, - ); + ); @@ -136,27 +137,27 @@ PARAMETERS - username (type: string) (required) + username (type: string) (required) Contains a username to check for authenticity. - - Default: none. + + Default: none. - username (type: string) (required) + username (type: string) (required) Contains an encrypted password to check for authenticity. - Default: none. + Default: none. - username (type: string) (required) + username (type: string) (required) - Contains the salt for the encrypted password. - - Default: none. + Contains the salt for the encrypted password. + + Default: none. RETURN CODES - 1 = The user is authentic. + 1 = The user is authentic. - 0 = The user is not authentic. + 0 = The user is not authentic. -------------------------------------------------------------------------------- @@ -165,37 +166,54 @@ sub login { - my $self = shift; - my %args = @_; + my $self = shift; + my %args = @_; + + my $username = $args{'username'}; + my $password = $args{'password'}; + my $auth; + my $salt; + my $verified; + + my $log = $self->_logobj(); + $log->debug("username: $username, password: $password\n"); + $log->debug("auth type is: ".$self->_get_auth_type()."\n"); + + $log->debug("data_dir is: ".$self->_get_data_dir()); + + if ($self->_get_auth_type() eq 'flatfile'){ + $auth = SandWeb::Auth::FlatFile::->new( + 'log_obj' => $log, + ); + $salt = $args{'salt'}; + $verified = $auth->verify_password( + $username, + $password, + $self->_get_data_dir(), + $salt + ); + } - my $username = $args{'username'}; - my $password = $args{'password'}; - #my $salt = $args{'salt'}; - - my $log = $self->_logobj(); - $log->debug("username: $username, password: $password\n"); - - #my $auth = SandWeb::Auth::FlatFile::->new( - # 'log_obj' => $log, - #); - my $auth = SandWeb::Auth::Unix::->new( - 'log_obj' => $log, - ); - - my $verified = $auth->verify_password( - $username, - $password, - $self->_get_users_dir(), - ); + if ($self->_get_auth_type() eq 'unix'){ + $auth = SandWeb::Auth::Unix::->new( + 'log_obj' => $log, + ); + $verified = $auth->verify_password( + $username, + $password, + $self->_get_users_dir() + ); + } + - if ($verified) { + if ($verified) { $self->_set_user_info_username($username); $self->_set_user_info_password($password); $log->standard("$username logged on."); return 1; - } + } - else { - return 0; - } + else { + return 0; + } } @@ -219,10 +237,10 @@ Takes value of the user's cookie as an argument. - + RETURN CODES - 1 = The cookie is valid, and the load completed successfully. + 1 = The cookie is valid, and the load completed successfully. - 0 = The cookie is not valid, the user info was not loaded. + 0 = The cookie is not valid, the user info was not loaded. @@ -232,18 +250,18 @@ sub load_user { - # verifies cookie - # and loads userinfo + # verifies cookie + # and loads userinfo - my $self = shift; - my $cookie_value = shift; + my $self = shift; + my $cookie_value = shift; - my $username = $self->_search_cookiedata($cookie_value); - unless ($username) { - return 0; - } - - $self->_set_user_info_username($username); - $self->_set_user_info_cookie($cookie_value); - return 1; + my $username = $self->_search_cookiedata($cookie_value); + unless ($username) { + return 0; + } + + $self->_set_user_info_username($username); + $self->_set_user_info_cookie($cookie_value); + return 1; } @@ -267,8 +285,8 @@ RETURN CODES - 1 = The operation completed successfully. + 1 = The operation completed successfully. - 0 = This means that the method got an error proccessing your request. - Maybe the cookie file could not be written to? + 0 = This means that the method got an error proccessing your request. + Maybe the cookie file could not be written to? -------------------------------------------------------------------------------- @@ -277,9 +295,9 @@ sub logout { - my $self = shift; - my %args = @_; - # need to remove cookie or invalidate it somehow - my $username = $self->get_username(); - return $self->_remove_cookiedata($username); + my $self = shift; + my %args = @_; + # need to remove cookie or invalidate it somehow + my $username = $self->get_username(); + return $self->_remove_cookiedata($username); } @@ -303,7 +321,7 @@ RETURN CODES - Returns a string. + Returns a string. - 0 = This means that the method got an error proccessing your request. + 0 = This means that the method got an error proccessing your request. -------------------------------------------------------------------------------- @@ -312,6 +330,6 @@ sub get_username { - my $self = shift; - my $value = shift; + my $self = shift; + my $value = shift; return $self->{user_info}->{'username'}; } @@ -337,29 +355,29 @@ - Returns a randomly generated string. + Returns a randomly generated string. - 0 = This means that the method got an error proccessing your request. + 0 = This means that the method got an error proccessing your request. =cut sub set_auth_cookie { - my $self = shift; - my $log = $self->_logobj(); - unless ($self->get_username()) { + my $self = shift; + my $log = $self->_logobj(); + unless ($self->get_username()) { $log->error("set_cookie called when user_info not set (no login)"); - return 0; - } - - my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9 ); - my $random = join("", @chars[ map { rand @chars } ( 1 .. 20 ) ]); - my $cookie_path = $self->_get_cookie_path(); - my $cookie_domain = $self->_get_cookie_domain(); - - $self->_store_cookie_info($random); - - return ( - -name => "sandweb_auth", - -value => $random, - ); + return 0; + } + + my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9 ); + my $random = join("", @chars[ map { rand @chars } ( 1 .. 20 ) ]); + my $cookie_path = $self->_get_cookie_path(); + my $cookie_domain = $self->_get_cookie_domain(); + + $self->_store_cookie_info($random); + + return ( + -name => "sandweb_auth", + -value => $random, + ); } @@ -384,7 +402,7 @@ - Returns the highest level group user is associated with. + Returns the highest level group user is associated with. - 0 = This means that the method got an error proccessing your request. + 0 = This means that the method got an error proccessing your request. =cut @@ -437,123 +455,127 @@ sub _store_cookie_info { - my $self = shift; - my $cookie_value = shift; - my $log = $self->_logobj(); + my $self = shift; + my $cookie_value = shift; + my $log = $self->_logobj(); - unless ($self->_write_cookiedata($cookie_value)) { + unless ($self->_write_cookiedata($cookie_value)) { $log->error("Unable to write cookiedata"); $log->debug("Unable to write cookiedata"); - return 0; - } + return 0; + } - return 1; + return 1; } sub _search_cookiedata { - # returns username that matches auth cookie value - my $self = shift; - my $cookie_value = shift; - chomp $cookie_value; - my $data_dir = $self->_get_data_dir(); - my $file = "$data_dir/cookies"; - - unless (-f $file) { - return 0; - } - - open(CF, "<$file"); - my @lines = <CF>; - close CF; + # returns username that matches auth cookie value + my $self = shift; + my $cookie_value = shift; + chomp $cookie_value; + my $data_dir = $self->_get_data_dir(); + my $file = "$data_dir/cookies"; - foreach my $line (@lines) { + unless (-f $file) { + return 0; + } + + open(CF, "<$file"); + my @lines = <CF>; + close CF; + + foreach my $line (@lines) { chomp $line; - my ($u, $c) = split(':', $line); + my ($u, $c) = split(':', $line); if ($c eq $cookie_value) { - return $u; + return $u; + } } - } - return 0; + return 0; } sub _write_cookiedata { - my $self = shift; - my $cookie_value = shift; - chomp $cookie_value; - my $username = $self->get_username(); - my $data_dir = $self->_get_data_dir(); - my $file = "$data_dir/cookies"; - - open (CF, ">>$file") or return 0; - print CF "$username:$cookie_value\n"; - close CF; + my $self = shift; + my $cookie_value = shift; + chomp $cookie_value; + my $username = $self->get_username(); + my $data_dir = $self->_get_data_dir(); + my $file = "$data_dir/cookies"; - return 1; + open (CF, ">>$file") or return 0; + print CF "$username:$cookie_value\n"; + close CF; + + return 1; } sub _remove_cookiedata { - my $self = shift; - my $username = shift; - my $file = $self->_get_data_dir() . "/cookies"; - my $log = $self->_logobj(); - - open (CF, "<$file") or $log->debug(" - Unable to read file '$file': $!"); - my @current_file = <CF>; - close CF; + my $self = shift; + my $username = shift; + my $file = $self->_get_data_dir() . "/cookies"; + my $log = $self->_logobj(); - open (CF, ">$file") or $log->debug(" - Unable to open file '$file': $!"); - foreach my $line (@current_file) { + open (CF, "<$file") or $log->debug(" - Unable to read file '$file': $!"); + my @current_file = <CF>; + close CF; + + open (CF, ">$file") or $log->debug(" - Unable to open file '$file': $!"); + foreach my $line (@current_file) { chomp $line; next unless ($line); - my ($u,$c) = split(':', $line); + my ($u,$c) = split(':', $line); unless ($u eq $username) { - print CF "$u:$c\n"; - } - } - close CF; - - return 1; + print CF "$u:$c\n"; + } + } + close CF; + + return 1; } sub _set_user_info_username { - my $self = shift; - my $set = shift; - $self->{user_info}->{username} = $set; - return 1; + my $self = shift; + my $set = shift; + $self->{user_info}->{username} = $set; + return 1; } sub _set_user_info_cookie { - my $self = shift; - my $set = shift; - $self->{user_info}->{cookie} = $set; - return 1; + my $self = shift; + my $set = shift; + $self->{user_info}->{cookie} = $set; + return 1; } sub _set_user_info_password { - my $self = shift; - my $set = shift; - $self->{user_info}->{password} = $set; - return 1; + my $self = shift; + my $set = shift; + $self->{user_info}->{password} = $set; + return 1; } sub _get_data_dir { - my $self = shift; - return $self->{'_data_dir'}; + my $self = shift; + return $self->{'_data_dir'}; } sub _get_users_dir { - my $self = shift; - return $self->{'_users_dir'}; + my $self = shift; + return $self->{'_users_dir'}; } sub _logobj { - my $self = shift; - return $self->{'_log_obj'}; + my $self = shift; + return $self->{'_log_obj'}; } sub _get_cookie_path { - my $self = shift; - return $self->{'_cookie_path'}; + my $self = shift; + return $self->{'_cookie_path'}; } sub _get_cookie_domain { - my $self = shift; - return $self->{'_cookie_domain'}; + my $self = shift; + return $self->{'_cookie_domain'}; +} +sub _get_auth_type{ + my $self = shift; + return $self->{'_auth_type'}; } |
From: Rob H. <for...@us...> - 2003-08-24 18:43:36
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Auth In directory sc8-pr-cvs1:/tmp/cvs-serv13700/lib/SandWeb/Auth Modified Files: FlatFile.pm Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: FlatFile.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth/FlatFile.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -U2 -r1.12 -r1.13 --- FlatFile.pm 8 Jul 2003 22:07:51 -0000 1.12 +++ FlatFile.pm 24 Aug 2003 18:43:32 -0000 1.13 @@ -161,5 +161,5 @@ my $log = $self->_logobj(); open (PF, "< $data_dir/passwd") or - $log->debug("Could not open password file : $! \n"); + $log->debug("Could not open password file $data_dir/passwd : $! \n"); while (<PF>) { my $passwd_file = $_; |
From: Rob H. <for...@us...> - 2003-08-24 18:43:35
|
Update of /cvsroot/sandweb/sandweb/etc In directory sc8-pr-cvs1:/tmp/cvs-serv13700/etc Modified Files: sandweb.cfg Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: sandweb.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/etc/sandweb.cfg,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- sandweb.cfg 1 Apr 2003 02:46:26 -0000 1.29 +++ sandweb.cfg 24 Aug 2003 18:43:32 -0000 1.30 @@ -42,4 +42,5 @@ bindir="/usr/local/bin" timeout="300" + auth_type="unix" /> |
From: Rob H. <for...@us...> - 2003-08-24 18:43:35
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv13700/bin Modified Files: sandweb.cgi sandweb-admin Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.365 retrieving revision 1.366 diff -U2 -r1.365 -r1.366 --- sandweb.cgi 21 Aug 2003 02:19:58 -0000 1.365 +++ sandweb.cgi 24 Aug 2003 18:43:32 -0000 1.366 @@ -709,24 +709,40 @@ my $salt = rand(0xffffffff); - my $content = $ui->get_menu( - MENU => 'login', - PROGNAME => "$progname", - #SALT => $salt, - ); + print $cgi->header; - #my $javascript = $ui->get_javascript( - # SCRIPT => 'md5', - #); + if ($config->{'system'}->{'auth_type'} eq 'flatfile') { + my $content = $ui->get_menu( + MENU => 'login_md5', + PROGNAME => "$progname", + SALT => $salt, + ); + + my $javascript = $ui->get_javascript( + SCRIPT => 'md5', + ); + $ui->print_screen( + TITLE => 'SandWeb : login', + MENU_TITLE => 'SandWeb', + SUBMENU_TITLE => 'login', + FOOTER => '', + CONTENT => $content, + JAVASCRIPT => $javascript, + MESSAGE => $message, + ); + } else { + my $content = $ui->get_menu( + MENU => 'login', + PROGNAME => "$progname", + ); + $ui->print_screen( + TITLE => 'SandWeb : login', + MENU_TITLE => 'SandWeb', + SUBMENU_TITLE => 'login', + FOOTER => '', + CONTENT => $content, + MESSAGE => $message, + ); + } - print $cgi->header; - $ui->print_screen( - TITLE => 'SandWeb : login', - MENU_TITLE => 'SandWeb', - SUBMENU_TITLE => 'login', - FOOTER => '', - CONTENT => $content, - #JAVASCRIPT => $javascript, - MESSAGE => $message, - ); exit 0; } Index: sandweb-admin =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-admin,v retrieving revision 1.16 retrieving revision 1.17 diff -U2 -r1.16 -r1.17 --- sandweb-admin 12 Jan 2003 11:12:08 -0000 1.16 +++ sandweb-admin 24 Aug 2003 18:43:32 -0000 1.17 @@ -131,29 +131,29 @@ } - # get password - print "Enter password for $name: "; - system("stty", "-echo"); - my $tmp = <STDIN>; - system("stty", "sane"); - print "\n"; - chomp ($tmp); - if ($tmp) { - #encrypt passwd -# my $salt = substr($tmp, 0, 2); -# $enc_pwd = crypt($tmp, $salt); - $enc_pwd = md5_hex($tmp); + if ($config->{'system'}->{'auth_type'} eq 'flatfile'){ + # get password + print "Enter password for $name: "; + system("stty", "-echo"); + my $tmp = <STDIN>; + system("stty", "sane"); + print "\n"; + chomp ($tmp); + if ($tmp) { + #encrypt passwd + $enc_pwd = md5_hex($tmp); + } + else { + fexit('24', "error: no password entered, aborting."); + } + + $max_uid++; + open(PW, ">>$passwd_file") or + fexit('26', "Unable to open $passwd_file : $!"); + print PW "$name:$max_uid:$enc_pwd\n"; + close PW; } - else { - fexit('24', "error: no password entered, aborting."); - } - - $max_uid++; - open(PW, ">>$passwd_file") or - fexit('26', "Unable to open $passwd_file : $!"); - print PW "$name:$max_uid:$enc_pwd\n"; - close PW; - # added user's sandbox dir + # add user's sandbox dir system('mkdir', "$users_dir/$name"); if ($?) { |
From: Rob H. <for...@us...> - 2003-08-24 18:43:35
|
Update of /cvsroot/sandweb/sandweb/debian In directory sc8-pr-cvs1:/tmp/cvs-serv13700/debian Modified Files: sandweb.cfg Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: sandweb.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/debian/sandweb.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- sandweb.cfg 8 Jul 2003 22:08:32 -0000 1.4 +++ sandweb.cfg 24 Aug 2003 18:43:32 -0000 1.5 @@ -43,4 +43,5 @@ bindir="/usr/bin" timeout="300" + auth_type="flatfile" /> |
From: Rob H. <for...@us...> - 2003-08-24 18:43:35
|
Update of /cvsroot/sandweb/sandweb/lib In directory sc8-pr-cvs1:/tmp/cvs-serv13700/lib Modified Files: SandWeb.pm Log Message: integrated Unix support, you can configure between unix and flatfile auth_type in sandweb.cfg sandweb-admin still needs to be run to create the user directory, but it won't ask for a password if you're a "unix" user. Index: SandWeb.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- SandWeb.pm 8 Jul 2003 22:07:51 -0000 1.29 +++ SandWeb.pm 24 Aug 2003 18:43:32 -0000 1.30 @@ -220,5 +220,5 @@ 'cookie_path' => $config->{'cookie'}->{'path'}, 'cookie_domain' => $config->{'cookie'}->{'domain'}, - + 'auth_type' => $config->{'system'}->{'auth_type'}, ); return $auth; |
From: Rob H. <for...@us...> - 2003-08-22 23:56:30
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1:/tmp/cvs-serv9941 Modified Files: install.cfg Log Message: ViewCVS URLs can now be specified per-repository Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.25 retrieving revision 1.26 diff -U2 -r1.25 -r1.26 --- install.cfg 18 Aug 2003 21:08:26 -0000 1.25 +++ install.cfg 21 Aug 2003 02:19:58 -0000 1.26 @@ -2,13 +2,13 @@ package config; -$bindir = '/usr/local/bin'; -$cfgdir = '/usr/local/etc/sandweb'; -$cgidir = '/var/www/cgi-bin'; -$imgdir = '/var/www/html/images'; -$tmpldir = '/usr/local/lib/sandweb/templates'; -$cachedir = '/usr/local/share/sandweb'; -$logdir = '/var/log'; -$httpuser = 'apache'; +$cfgdir = './debian/tmp/etc/sandweb'; +$cgidir = './debian/tmp/usr/lib/cgi-bin'; +$imgdir = './debian/tmp/var/www/images'; +$tmpldir = './debian/tmp/usr/lib/sandweb/templates'; +$cachedir = './debian/tmp/usr/share/sandweb'; +$logdir = './debian/tmp/var/log'; +$httpuser = 'www-data'; $expectbin = '/usr/bin/expect'; +$bindir = './debian/tmp/usr/bin'; $ssh_bin = '/usr/bin/ssh'; $cvs_bin = '/usr/bin/cvs'; |
From: Rob H. <for...@us...> - 2003-08-22 10:05:43
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory sc8-pr-cvs1:/tmp/cvs-serv9941/lib/SandWeb Modified Files: Config.pm Log Message: ViewCVS URLs can now be specified per-repository Index: Config.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Config.pm,v retrieving revision 1.36 retrieving revision 1.37 diff -U2 -r1.36 -r1.37 --- Config.pm 23 Apr 2003 22:48:23 -0000 1.36 +++ Config.pm 21 Aug 2003 02:19:58 -0000 1.37 @@ -463,4 +463,5 @@ password => $repo_password, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, connection => $repo_connection, type => $repo_type, @@ -506,4 +507,10 @@ Default: none. + viewcvs_url (type: string) (optional) + + ViewCVS URL to use for this repo, if desired. + + Default: none. + connection (type: string) (required) @@ -543,4 +550,5 @@ my $username = $args{'username'} || ''; my $remember_repo_password = $args{'remember_repo_password'} || ''; + my $viewcvs_url = $args{'viewcvs_url'} || ''; my $password = $args{'password'} || ''; my $connection = $args{'connection'} || ''; @@ -556,4 +564,5 @@ $self->{'repo'}->{$name}->{'username'} = $username; $self->{'repo'}->{$name}->{'remember_repo_password'} = $remember_repo_password; + $self->{'repo'}->{$name}->{'viewcvs_url'} = $viewcvs_url; $self->{'repo'}->{$name}->{'password'} = $password; $self->{'repo'}->{$name}->{'connection'} = $connection; @@ -577,4 +586,5 @@ password => $repo_password, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, connection => $repo_connection, type => $repo_type, @@ -619,4 +629,10 @@ Default: none. + viewcvs_url (type: string) (optional) + + ViewCVS URL for this repository, if desired. + + Default: none. + connection (type: string) (required) @@ -658,4 +674,5 @@ my $password = $args{'password'} || ''; my $remember_repo_password = $args{'remember_repo_password'} || ''; + my $viewcvs_url = $args{'viewcvs_url'} || ''; my $connection = $args{'connection'} || ''; my $type = $args{'type'} || ''; @@ -668,4 +685,5 @@ $self->{'repo'}->{$name}->{'password'} = $password; $self->{'repo'}->{$name}->{'remember_repo_password'} = $remember_repo_password; + $self->{'repo'}->{$name}->{'viewcvs_url'} = $viewcvs_url; $self->{'repo'}->{$name}->{'connection'} = $connection; $self->{'repo'}->{$name}->{'type'} = $type; @@ -1046,5 +1064,5 @@ METHOD - get_rememer_repo_password + get_remember_repo_password SYNOPSIS @@ -1084,5 +1102,5 @@ my $repo_name = $args{'repo'}; if ($self->repository_exists(repo => $repo_name)) { - return $self->{'repo'}->{$repo_name}->{'remember_repo_password'} || '' + return $self->{'repo'}->{$repo_name}->{'remember_repo_password'} || ''; } else { return ''; @@ -1094,5 +1112,5 @@ METHOD - set_rememer_repo_password + set_remember_repo_password SYNOPSIS @@ -1147,4 +1165,111 @@ } +=head1 + + +METHOD + + get_viewcvs_url + +SYNOPSIS + + my $viewcvs_url = SandWeb::Config->get_viewcvs_url(); + + +DESCRIPTION + + get ViewCVS URL for this repository + +PARAMETERS + + repo_name (type: string) (required) + + The name of the current repository. + + Default: none. + + +RETURN CODES + + 1 = The operation completed successfully. + + 0 = This means that the method got an error proccessing your request. + Perhaps an invalid parameter? + + -1 = This return value means that there was not sufficient permision to + read the files specified, or they did not exist. + + +=cut + +sub get_viewcvs_url { + my $self = shift; + my %args = @_; + my $log = $self->{'log_obj'}; + my $repo_name = $args{'repo'}; + if ($self->repository_exists(repo => $repo_name)) { + return $self->{'repo'}->{$repo_name}->{'viewcvs_url'} || ''; + } else { + $log->debug("no viewcvs URL!"); + return ''; + } +} + +=head1 + +METHOD + + set_viewcvs_url + +SYNOPSIS + + my $viewcvs_url = SandWeb::Config->set_viewcvs_url(); + + +DESCRIPTION + + get ViewCVS URL for this repository + +PARAMETERS + + repo_name (type: string) (required) + + The name of the current repository. + + Default: none. + + repo_server (type: string) (required) + + The name of the current repository server. + + Default: none. + + + +RETURN CODES + + 1 = The operation completed successfully. + + 0 = This means that the method got an error proccessing your request. + Perhaps an invalid parameter? + + -1 = This return value means that there was not sufficient permision to + read the files specified, or they did not exist. + + +=cut + +sub set_viewcvs_url { + my $self = shift; + my %args = @_; + my $repo_name = $args{'repo'}; + my $repo_server = $args{'value'}; + if ($self->repository_exists(repo => $repo_name)) { + $self->{'repo'}->{$repo_name}->{'viewcvs_url'} = $value || ''; + return 1; + } else { + return 0; + } +} =head1 |
From: Rob H. <for...@us...> - 2003-08-22 05:32:29
|
Update of /cvsroot/sandweb/sandweb/images In directory sc8-pr-cvs1:/tmp/cvs-serv3714 Modified Files: batch_download.png batch_download.xcf create_folder.png create_folder.xcf delete.png delete.xcf go.png go.xcf rename.png rename.xcf upload.png upload.xcf yes.png yes.xcf Log Message: IE does weird, random things to the backgrounds of transparent PNGs.. sigh. Stuck an extra layer in the back of the XCFs that's the same color as the default SW background, just like the old ones. Index: batch_download.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/batch_download.png,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 Binary files /tmp/cvsrD1Bt5 and /tmp/cvsKpi0K0 differ Index: batch_download.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/batch_download.xcf,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 Binary files /tmp/cvsF5roA6 and /tmp/cvseRTqY2 differ Index: create_folder.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/create_folder.png,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsYfMM56 and /tmp/cvs4WQyY3 differ Index: create_folder.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/create_folder.xcf,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvs7iT8l8 and /tmp/cvsggx1t6 differ Index: delete.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/delete.png,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvs8tKHx9 and /tmp/cvs4U2lS8 differ Index: delete.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/delete.xcf,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvslnTRMa and /tmp/cvsyjpPmb differ Index: go.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/go.png,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsM1kn1b and /tmp/cvsGgT4Rd differ Index: go.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/go.xcf,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsFAYRhd and /tmp/cvsqlT3og differ Index: rename.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/rename.png,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsNXbIxe and /tmp/cvsWHBrSi differ Index: rename.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/rename.xcf,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsoxMKNf and /tmp/cvsETzNql differ Index: upload.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/upload.png,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsfFWc4g and /tmp/cvsmZEkWn differ Index: upload.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/upload.xcf,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 Binary files /tmp/cvsAVCr3h and /tmp/cvso9bGVp differ Index: yes.png =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/yes.png,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 Binary files /tmp/cvsqzb2kj and /tmp/cvsIdwits differ Index: yes.xcf =================================================================== RCS file: /cvsroot/sandweb/sandweb/images/yes.xcf,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 Binary files /tmp/cvsYQApbb and /tmp/cvsG2EC9b differ |
From: Rob H. <for...@us...> - 2003-08-22 05:31:44
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv4662/bin Modified Files: sandweb.cgi Log Message: turned status support back on (it's slow, but I'll make it configurable per-repo) and clarified a FIXME note about viewcvs support Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.363 retrieving revision 1.364 diff -U2 -r1.363 -r1.364 --- sandweb.cgi 18 Aug 2003 21:31:25 -0000 1.363 +++ sandweb.cgi 19 Aug 2003 22:48:55 -0000 1.364 @@ -74,6 +74,5 @@ my $config_dir = '../etc'; -# FIXME needs to be in the config file -# for viewcvs support in browser +# FIXME needs to be implemented per-repo in repository_menu my $viewcvs='http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sandweb/'; @@ -1020,7 +1019,7 @@ $log->debug("current_location: ".$location); - #my %localstatus = $repository->status(file => ".", recurse => "false" ); - #my @localstatusoutput=$localstatus{output}; - my @localstatusoutput = ''; + my %localstatus = $repository->status(file => ".", recurse => "false" ); + my @localstatusoutput=$localstatus{output}; + #my @localstatusoutput = ''; my %browser = $browse->get_browser( |
From: Rob H. <for...@us...> - 2003-08-22 04:01:17
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv9941/bin Modified Files: sandweb.cgi Log Message: ViewCVS URLs can now be specified per-repository Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.364 retrieving revision 1.365 diff -U2 -r1.364 -r1.365 --- sandweb.cgi 19 Aug 2003 22:48:55 -0000 1.364 +++ sandweb.cgi 21 Aug 2003 02:19:58 -0000 1.365 @@ -74,7 +74,4 @@ my $config_dir = '../etc'; -# FIXME needs to be implemented per-repo in repository_menu -my $viewcvs='http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sandweb/'; - # internal global vars my $message = ''; @@ -213,4 +210,8 @@ characters => "$unsafe_remember_repo_password", ); + my $unsafe_viewcvs_url = $cgi->param('viewcvs_url') || ''; + my $viewcvs_url = $secure->shell( + characters => "$unsafe_viewcvs_url", + ); my $unsafe_repo_type = $cgi->param('repo_type') || ''; my $repo_type = $secure->shell( @@ -623,4 +624,5 @@ repo_password => $repo_password, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, repo_type => $repo_type, repo_connection => $repo_connection, @@ -637,4 +639,5 @@ repo_username => $repo_username, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, repo_type => $repo_type, repo_connection => $repo_connection, @@ -904,4 +907,5 @@ my $repo_type = $user->get_repo_type(repo => $repo_name); my $repo_connection = $user->get_repo_connection(repo => $repo_name); + my $viewcvs_url = $user->get_viewcvs_url(repo => $repo_name); my $repo_root = $user->get_repo_root(repo => $repo_name); my $system_timeout = $config->{'system'}->{'timeout'}; @@ -910,4 +914,6 @@ my $bindir = $config->{'system'}->{'bindir'}; + $log->debug("viewcvs url: ".$viewcvs_url); + $log->debug("creating Repository object"); my $repository = SandWeb::Repository->new( @@ -971,5 +977,5 @@ # must be in a group to get the toolbar - my $group = $auth->get_group(); + $group = $auth->get_group(); if ($group){ @@ -1029,5 +1035,5 @@ 'repo_name' => $repo_name, 'sort' => $sort, - 'viewcvs' => $viewcvs, + 'viewcvs' => $viewcvs_url, 'localstatus' => \@localstatusoutput, ); @@ -1148,4 +1154,5 @@ my $repo_username = $args{'repo_username'}; my $repo_password = $args{'repo_password'}; + my $viewcvs_url = $args{'viewcvs_url'}; my $repo_type = $args{'repo_type'}; my $repo_connection = $args{'repo_connection'}; @@ -1196,4 +1203,5 @@ $repo_server = ''; $repo_username = ''; + $viewcvs_url = ''; $repo_password = ''; $remember_repo_password = ''; @@ -1209,4 +1217,6 @@ $repo_username = $user->get_repo_username(repo => $repo_name); + $viewcvs_url = + $user->get_viewcvs_url(repo => $repo_name); my $repo_password = $user->get_repo_password(repo => $repo_name); @@ -1299,4 +1309,5 @@ REPO_SERVER => $repo_server, REPO_USERNAME => $repo_username, + VIEWCVS_URL => $viewcvs_url, REMEMBER_REPO_PASSWORD => $remember_repo_password, IMAGE_DIR => $image_dir, @@ -1429,5 +1440,5 @@ my $count = 0; # must be in a group to get the toolbar - my $group = $auth->get_group(); + $group = $auth->get_group(); if ($group){ my %toolbar = $browse->get_tool_bar( @@ -1452,5 +1463,5 @@ } - my $image_dir = $config->{'webserver'}->{'image_dir'}; + $image_dir = $config->{'webserver'}->{'image_dir'}; # javascript for pop-ups @@ -3290,4 +3301,5 @@ my $repo_password = $args{'repo_password'}; my $remember_repo_password = $args{'remember_repo_password'}; + my $viewcvs_url = $args{'viewcvs_url'}; my $repo_type = $args{'repo_type'}; my $repo_connection = $args{'repo_connection'}; @@ -3333,4 +3345,5 @@ password => $repo_password, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, connection => $repo_connection, type => $repo_type, @@ -3345,4 +3358,5 @@ password => $repo_password, remember_repo_password => $remember_repo_password, + viewcvs_url => $viewcvs_url, connection => $repo_connection, type => $repo_type, |
From: Rob H. <for...@us...> - 2003-08-21 10:25:02
|
Update of /cvsroot/sandweb/sandweb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv9941/templates Modified Files: repository.html Log Message: ViewCVS URLs can now be specified per-repository Index: repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.html,v retrieving revision 1.23 retrieving revision 1.24 diff -U2 -r1.23 -r1.24 --- repository.html 6 Jan 2003 01:25:56 -0000 1.23 +++ repository.html 21 Aug 2003 02:19:58 -0000 1.24 @@ -69,4 +69,12 @@ <tr> <td width="20%" align="right"> + ViewCVS URL : + </td> + <td width="90%" align="left"> + <input type="text" name="viewcvs_url" value="<TMPL_VAR NAME=VIEWCVS_URL>"> + </td> + </tr> + <tr> + <td width="20%" align="right"> Connection : </td> |
From: Rob H. <for...@us...> - 2003-08-18 21:31:29
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv24051/bin Modified Files: sandweb.cgi Log Message: cool, the $repo_type is replaced properly on the tool_bar now. I was creating a dummy Repository object that didn't have that info =/ Now we pull it out of the user's config for the current repo we are in. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.362 retrieving revision 1.363 diff -U2 -r1.362 -r1.363 --- sandweb.cgi 18 Aug 2003 21:23:42 -0000 1.362 +++ sandweb.cgi 18 Aug 2003 21:31:25 -0000 1.363 @@ -1367,4 +1367,5 @@ $log->debug("viewing file : $filename"); + $log->debug("repo_type : $repo_type"); $log->debug("creating File object: $filename"); @@ -1424,6 +1425,4 @@ $username = $auth->get_username(); my @file_commands = $file->get_file_commands(); - my $repo_type = $repository->get_repo_type(); - my $toolbar_menu = ''; |
From: Rob H. <for...@us...> - 2003-08-18 21:23:45
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv22351/bin Modified Files: sandweb.cgi Log Message: hmm.. images were not displaying in the view_file menu, this fixes it. the $repo_name seems to not be getting through either, will fix shortly. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.361 retrieving revision 1.362 diff -U2 -r1.361 -r1.362 --- sandweb.cgi 17 Aug 2003 04:55:53 -0000 1.361 +++ sandweb.cgi 18 Aug 2003 21:23:42 -0000 1.362 @@ -928,5 +928,5 @@ 'bindir' => $bindir, 'log_obj' => $log, - 'sandbox' => "$users_dir/$username/$repo_name/$module_name", + 'sandbox' => "$users_dir/$username/$repo_name/$module_name", ); @@ -1362,5 +1362,7 @@ my $filename = $args{'filename'}; my $repo_root = $args{'repo_root'}; - my $image_dir = $args{'image_dir'}; + + my $image_dir = $config->{'webserver'}->{'image_dir'}; + my $repo_type = $user->get_repo_type(repo => $repo_name); $log->debug("viewing file : $filename"); |
From: Rob H. <for...@us...> - 2003-08-18 21:08:29
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1:/tmp/cvs-serv19193 Modified Files: install.cfg Log Message: oops, accidently checked in the install.cfg modified by the debian packaging script! The defaults are kind of weird, I set them to work out-of-the-box with RedHat, since Debian users probably will just use the pkg. Other Unixes will just have to configure it manually (as usual ;)) Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.24 retrieving revision 1.25 diff -U2 -r1.24 -r1.25 --- install.cfg 8 Jun 2003 05:03:41 -0000 1.24 +++ install.cfg 18 Aug 2003 21:08:26 -0000 1.25 @@ -2,13 +2,13 @@ package config; -$cfgdir = './debian/tmp/etc/sandweb'; -$cgidir = './debian/tmp/usr/lib/cgi-bin'; -$imgdir = './debian/tmp/var/www/images'; -$tmpldir = './debian/tmp/usr/lib/sandweb/templates'; -$cachedir = './debian/tmp/usr/share/sandweb'; -$logdir = './debian/tmp/var/log'; -$httpuser = 'www-data'; +$bindir = '/usr/local/bin'; +$cfgdir = '/usr/local/etc/sandweb'; +$cgidir = '/var/www/cgi-bin'; +$imgdir = '/var/www/html/images'; +$tmpldir = '/usr/local/lib/sandweb/templates'; +$cachedir = '/usr/local/share/sandweb'; +$logdir = '/var/log'; +$httpuser = 'apache'; $expectbin = '/usr/bin/expect'; -$bindir = './debian/tmp/usr/bin'; $ssh_bin = '/usr/bin/ssh'; $cvs_bin = '/usr/bin/cvs'; |
From: Rob H. <for...@us...> - 2003-08-17 19:31:21
|
Update of /cvsroot/sandweb/sandweb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv18512/templates Modified Files: openwindow.js Log Message: display "loading..." message in pop-up windows Index: openwindow.js =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/openwindow.js,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- openwindow.js 13 Jan 2003 08:07:27 -0000 1.3 +++ openwindow.js 17 Aug 2003 19:31:18 -0000 1.4 @@ -1,5 +1,5 @@ window.name = "mainWindow"; function myOpenWindow() { - window.open('about:blank','popUp','width=640,height=480,scrollbars=yes,resizable=yes'); + window.open('javascript:document.write("<html><title>SandWeb Loading...</title><center><h1>Loading...</h1></center></html>")','popUp','width=640,height=480,scrollbars=yes,resizable=yes'); } |
From: Rob H. <for...@us...> - 2003-08-17 04:56:22
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1:/tmp/cvs-serv22032 Modified Files: Tag: release-1_0-branch ChangeLog Log Message: updating changelog for 1.0RC4 release Index: ChangeLog =================================================================== RCS file: /cvsroot/sandweb/sandweb/ChangeLog,v retrieving revision 1.8.2.2 retrieving revision 1.8.2.3 diff -U2 -r1.8.2.2 -r1.8.2.3 --- ChangeLog 17 Aug 2003 04:42:07 -0000 1.8.2.2 +++ ChangeLog 17 Aug 2003 04:56:19 -0000 1.8.2.3 @@ -1,2 +1,11 @@ +2003-08-16 21:54 formnull + + * bin/sandweb.cgi: removed FIXME note about inline editor + +2003-08-16 21:42 formnull + + * ChangeLog, README, debian/changelog, lib/SandWeb.pm: changing + vers. no. for release + 2003-08-09 17:18 formnull |
From: Rob H. <for...@us...> - 2003-08-17 04:55:56
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv21800/bin Modified Files: sandweb-expect sandweb.cgi Log Message: reenabled inline editor, and moved bugfix for passwords not failing immediately if incorrect from branch Index: sandweb-expect =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-expect,v retrieving revision 1.15 retrieving revision 1.16 diff -U2 -r1.15 -r1.16 --- sandweb-expect 9 Jul 2003 07:22:07 -0000 1.15 +++ sandweb-expect 17 Aug 2003 04:55:53 -0000 1.16 @@ -24,4 +24,12 @@ } expect { + "assword:" { send "$vcs_password\r" } + eof { exit 0 } + } + expect { + "assword:" { send "$vcs_password\r" } + eof { exit 0 } + } + expect { "denied" { exit 2 } "failure" { exit 2 } Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.360 retrieving revision 1.361 diff -U2 -r1.360 -r1.361 --- sandweb.cgi 18 Jul 2003 11:14:25 -0000 1.360 +++ sandweb.cgi 17 Aug 2003 04:55:53 -0000 1.361 @@ -1400,8 +1400,5 @@ } - # XXX FIXME - # the inline editor is disabled - - $edit = 0; + $edit = 1; $log->debug("creating Repository object"); @@ -1523,8 +1520,4 @@ ############################################################################### -# XXX FIXME the inline editor is disabled until such time as we can replace -# it with something better than a regular HTML input field, which -# has too many quirks ( e.g. strange EOL conventions ) to be -# a good enough editor # # edit file menu @@ -2326,8 +2319,4 @@ =head1 ############################################################################### -# XXX FIXME the inline editor is disabled until such time as we can replace -# it with something better than a regular HTML input field, which -# has too many quirks ( e.g. strange EOL conventions ) to be -# a good enough editor # # edit_file_commit is called by edit_file_menu to save edited data |
From: Rob H. <for...@us...> - 2003-08-17 04:54:51
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv21889/bin Modified Files: Tag: release-1_0-branch sandweb.cgi Log Message: removed FIXME note about inline editor Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.348.2.7 retrieving revision 1.348.2.8 diff -U2 -r1.348.2.7 -r1.348.2.8 --- sandweb.cgi 10 Aug 2003 00:18:43 -0000 1.348.2.7 +++ sandweb.cgi 17 Aug 2003 04:54:48 -0000 1.348.2.8 @@ -1459,8 +1459,4 @@ ############################################################################### -# XXX FIXME the inline editor is disabled until such time as we can replace -# it with something better than a regular HTML input field, which -# has too many quirks ( e.g. strange EOL conventions ) to be -# a good enough editor # # edit file menu @@ -2161,8 +2157,4 @@ =head1 ############################################################################### -# XXX FIXME the inline editor is disabled until such time as we can replace -# it with something better than a regular HTML input field, which -# has too many quirks ( e.g. strange EOL conventions ) to be -# a good enough editor # # edit_file_commit is called by edit_file_menu to save edited data |
From: Rob H. <for...@us...> - 2003-08-17 04:42:10
|
Update of /cvsroot/sandweb/sandweb/debian In directory sc8-pr-cvs1:/tmp/cvs-serv20491/debian Modified Files: Tag: release-1_0-branch changelog Log Message: changing vers. no. for release Index: changelog =================================================================== RCS file: /cvsroot/sandweb/sandweb/debian/changelog,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -U2 -r1.4 -r1.4.2.1 --- changelog 22 Apr 2003 17:12:49 -0000 1.4 +++ changelog 17 Aug 2003 04:42:07 -0000 1.4.2.1 @@ -1,2 +1,8 @@ +sandweb (1.0rc4-1) unstable; urgency=low + + * 4th Release candidate. + + -- rhelmer <rh...@li...> Wed, 16 Apr 2003 21:39:58 -0800 + sandweb (1.0rc3-1) unstable; urgency=low |
From: Rob H. <for...@us...> - 2003-08-17 04:42:10
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1:/tmp/cvs-serv20491 Modified Files: Tag: release-1_0-branch ChangeLog README Log Message: changing vers. no. for release Index: ChangeLog =================================================================== RCS file: /cvsroot/sandweb/sandweb/ChangeLog,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -U2 -r1.8.2.1 -r1.8.2.2 --- ChangeLog 11 Jul 2003 22:42:16 -0000 1.8.2.1 +++ ChangeLog 17 Aug 2003 04:42:07 -0000 1.8.2.2 @@ -1,2 +1,116 @@ +2003-08-09 17:18 formnull + + * bin/sandweb.cgi: edit still works, reenabling <shrug> it can't + hurt anything, but it bugs me that the browsers insert DOS EOL + chars + +2003-08-09 17:18 formnull + + * bin/sandweb-expect: gets around the problem Micah Anderson + noticed, when you have the wrong password + [...1959 lines suppressed...] - templates/framework.html, templates/login.html, - templates/menu_bar.html, templates/template.html: Initial revision + lib/SandWeb/ErrHndlr.pm, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, + lib/SandWeb/Auth.pm, var/data/cookies, var/data/info.txt, + var/log/cvswebclient.log, var/log/info.txt, var/log/sandweb.loh, + etc/sandweb.cfg, templates/framework.html, templates/login.html, + templates/logo_CWC.png, templates/menu_bar.html, + templates/template.html: Initial revision + +2001-05-02 15:04 njennings + + * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Config.pm, + lib/SandWeb/ErrHndlr.pm, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, + lib/SandWeb/Auth.pm, var/data/cookies, var/data/info.txt, + var/log/cvswebclient.log, var/log/info.txt, var/log/sandweb.loh, + etc/sandweb.cfg, templates/framework.html, templates/login.html, + templates/logo_CWC.png, templates/menu_bar.html, + templates/template.html: importing SandWeb code from + cvswebclient-new (all name changes complete) Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -U2 -r1.13 -r1.13.2.1 --- README 22 Apr 2003 17:12:48 -0000 1.13 +++ README 17 Aug 2003 04:42:07 -0000 1.13.2.1 @@ -1,4 +1,4 @@ ============================================================================ -SandWeb Summary - 1.0RC3 Release +SandWeb Summary - 1.0RC4 Release ============================================================================ @@ -8,5 +8,5 @@ It is essentially a multi-user client to version control systems ( VCS ) such as CVS, SVN ( Subversion ), arch or RCS ( only CVS is supported for -the 1.0RC3 release ). +the 1.0RC4 release ). SandWeb requires a user agent that supports and allows Javascript @@ -20,5 +20,5 @@ using SandWeb. -The 1.0RC3 release only supports "FlatFile" authentication, in +The 1.0RC4 release only supports "FlatFile" authentication, in which SandWeb uses it's own password file and format. More authentication systems are planned for future releases. @@ -86,5 +86,5 @@ You are now at the repository menu. You can enter username, password, version control system, server name and version control root for as -many repositories as you want. For the 1.0RC3 release, SandWeb supports +many repositories as you want. For the 1.0RC4 release, SandWeb supports "local", "pserver" and "SSH" CVS repositories. |
From: Rob H. <for...@us...> - 2003-08-17 04:42:10
|
Update of /cvsroot/sandweb/sandweb/lib In directory sc8-pr-cvs1:/tmp/cvs-serv20491/lib Modified Files: Tag: release-1_0-branch SandWeb.pm Log Message: changing vers. no. for release Index: SandWeb.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb.pm,v retrieving revision 1.27 retrieving revision 1.27.2.1 diff -U2 -r1.27 -r1.27.2.1 --- SandWeb.pm 22 Apr 2003 17:12:50 -0000 1.27 +++ SandWeb.pm 17 Aug 2003 04:42:07 -0000 1.27.2.1 @@ -94,5 +94,5 @@ =cut -$VERSION = '1.0RC3'; +$VERSION = '1.0RC4'; sub get_version { return $VERSION; |
From: Rob H. <for...@us...> - 2003-08-10 00:18:46
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv11490/bin Modified Files: Tag: release-1_0-branch sandweb.cgi Log Message: edit still works, reenabling <shrug> it can't hurt anything, but it bugs me that the browsers insert DOS EOL chars Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.348.2.6 retrieving revision 1.348.2.7 diff -U2 -r1.348.2.6 -r1.348.2.7 --- sandweb.cgi 1 Jun 2003 20:24:42 -0000 1.348.2.6 +++ sandweb.cgi 10 Aug 2003 00:18:43 -0000 1.348.2.7 @@ -1347,8 +1347,5 @@ } - # XXX FIXME - # the inline editor is disabled - - $edit = 0; + $edit = 1; $log->debug("creating Repository object"); |
From: Rob H. <for...@us...> - 2003-08-10 00:18:09
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1:/tmp/cvs-serv11381/bin Modified Files: Tag: release-1_0-branch sandweb-expect Log Message: gets around the problem Micah Anderson noticed, when you have the wrong password Index: sandweb-expect =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-expect,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -U2 -r1.13 -r1.13.2.1 --- sandweb-expect 1 Apr 2003 20:14:11 -0000 1.13 +++ sandweb-expect 10 Aug 2003 00:18:05 -0000 1.13.2.1 @@ -24,4 +24,12 @@ } expect { + "password:" { send "$vcs_password\r" } + eof { exit 0 } + } + expect { + "password:" { send "$vcs_password\r" } + eof { exit 0 } + } + expect { "denied" { exit 2 } eof { exit 0 } |
From: Rob H. <for...@us...> - 2003-07-22 04:05:35
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Repository In directory sc8-pr-cvs1:/tmp/cvs-serv9291/lib/SandWeb/Repository Modified Files: Tag: release-1_0-branch cvs.pm Log Message: put single quotes around directory that we "cd" to, so we can have spaces in directory names. (merged from trunk) Index: cvs.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository/cvs.pm,v retrieving revision 1.46.2.4 retrieving revision 1.46.2.5 diff -U2 -r1.46.2.4 -r1.46.2.5 --- cvs.pm 25 Jun 2003 07:40:26 -0000 1.46.2.4 +++ cvs.pm 22 Jul 2003 04:05:32 -0000 1.46.2.5 @@ -2597,5 +2597,5 @@ my %return = $shell->execute( - 'command' => "cd $sandbox && MESSAGE_FILE=\"$users_dir/commitmsg\" && export MESSAGE_FILE && CVSEDITOR=$bindir/sandweb-editor && export CVSEDITOR && SSH_BIN=$ssh_bin && export SSH_BIN && CVS_RSH=$bindir/sandweb-ssh && export CVS_RSH && $cvs_bin -q -d \"$root\" $param \'$file\'", + 'command' => "cd \'$sandbox\' && MESSAGE_FILE=\"$users_dir/commitmsg\" && export MESSAGE_FILE && CVSEDITOR=$bindir/sandweb-editor && export CVSEDITOR && SSH_BIN=$ssh_bin && export SSH_BIN && CVS_RSH=$bindir/sandweb-ssh && export CVS_RSH && $cvs_bin -q -d \"$root\" $param \'$file\'", ); |