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: Nick J. <nje...@us...> - 2002-03-19 06:07:50
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv4199/lib/SandWeb Modified Files: File.pm Log Message: * set mode for File.pm Index: File.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/File.pm,v retrieving revision 1.55 retrieving revision 1.56 diff -U2 -r1.55 -r1.56 --- File.pm 18 Mar 2002 00:07:25 -0000 1.55 +++ File.pm 19 Mar 2002 06:07:44 -0000 1.56 @@ -231,5 +231,5 @@ $log->debug("creating folder : $location/$filename"); - if (mkdir( "$location/$filename", 755 )) { + if (mkdir( "$location/$filename", 0750 )) { $return = 1; } else { |
From: Nick J. <nje...@us...> - 2002-03-19 05:47:20
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv567/bin Modified Files: sandweb.cgi Log Message: * repository_commit now will create users dir if it doesn't exist, even if it's just doing an "update" Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.275 retrieving revision 1.276 diff -U2 -r1.275 -r1.276 --- sandweb.cgi 18 Mar 2002 19:09:17 -0000 1.275 +++ sandweb.cgi 19 Mar 2002 05:47:16 -0000 1.276 @@ -2254,16 +2254,4 @@ repository_menu( ck_auth => $ck_auth ); exit(0); - } - elsif ($user->repository_exists(repo => $repo_name)) { - $log->debug("updating: username '$repo_username'\n"); - $user->update_repo( - name => $repo_name, - server => $repo_server, - username => $repo_username, - connection => $repo_connection, - type => $repo_type, - root => $repo_root, - ); - set_message("$repo_name updated."); } else { # create repo directory @@ -2273,19 +2261,33 @@ 'location' => $config->{'paths'}->{'users_dir'} . "/" . $auth->get_username(), ); - if (!$file->create_folder()) { - set_message("unable to create repository directory"); - sandbox_menu( ck_auth => $ck_auth ); - exit(0); + if (! -d $config->{'paths'}->{'users_dir'} . "/" . $auth->get_username() . $repo_name ) { + if (!$file->create_folder()) { + set_message("unable to create repository directory"); + repository_menu( ck_auth => $ck_auth ); + exit(0); + } } # directory created, not create repository data struct - $user->create_repo( - name => $repo_name, - server => $repo_server, - username => $repo_username, - connection => $repo_connection, - type => $repo_type, - root => $repo_root, - ); - set_message("$repo_name created."); + if ($user->repository_exists(repo => $repo_name)) { + $user->update_repo( + name => $repo_name, + server => $repo_server, + username => $repo_username, + connection => $repo_connection, + type => $repo_type, + root => $repo_root, + ); + set_message("$repo_name updated."); + } else { + $user->create_repo( + name => $repo_name, + server => $repo_server, + username => $repo_username, + connection => $repo_connection, + type => $repo_type, + root => $repo_root, + ); + set_message("$repo_name created."); + } } |
From: Nick J. <nje...@us...> - 2002-03-19 01:11:11
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv10094 Modified Files: README Log Message: * little line format change Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- README 18 Mar 2002 22:43:46 -0000 1.6 +++ README 19 Mar 2002 01:11:05 -0000 1.7 @@ -75,7 +75,7 @@ ------------------- +-------------------------- - Setting up a repository: ------------------- +-------------------------- Before you can start working with sandboxes and checking out modules, |
From: Rob H. <for...@us...> - 2002-03-18 22:43:49
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv31635 Modified Files: README Log Message: a wee bit o' rewording Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- README 18 Mar 2002 22:11:46 -0000 1.5 +++ README 18 Mar 2002 22:43:46 -0000 1.6 @@ -76,5 +76,5 @@ ------------------ -- Repository Menu: +- Setting up a repository: ------------------ @@ -127,5 +127,5 @@ These are mostly not implemented because of user interface -concerns, we plan on supporting all useful features from every +concerns. We plan on supporting all useful features from every supported version control system in future releases, starting with CVS. |
From: Nick J. <nje...@us...> - 2002-03-18 22:26:06
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv20476 Modified Files: README Log Message: * made several changes & formatting modifications to the README Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- README 18 Mar 2002 21:45:07 -0000 1.4 +++ README 18 Mar 2002 22:11:46 -0000 1.5 @@ -1,12 +1,12 @@ ---- -SandWeb - ALPHA Release ---- +============================================================================ +SandWeb Summary - ALPHA Release +============================================================================ SandWeb is a web-based Version Control Management system, released under the GPL ( see http://sandweb.sf.net for more info ). -It is essentially a multi-user client to version control systems (VCS ) -such as CVS, SVN or RCS ( only CVS is supported for the ALPHA -release ). +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 ALPHA release ). SandWeb requires a user agent that supports and allows Javascript @@ -16,9 +16,17 @@ The ALPHA release only supports "FlatFile" authentication, in which SandWeb uses it's own password file and format. More -authentication systems are planned for future releases. +authentication systems are planned for future releases. Including +authentication against the system password file, to support existing +system accounts. ---- + + +============================================================================ Getting Started ---- +============================================================================ + +---------------------- +- Creating an account: +---------------------- The first thing you will need to do after installing SandWeb @@ -33,4 +41,9 @@ You will be prompted for a password. + +------------------------ +- Connecting to SandWeb: +------------------------ + After the user has been created successfully, you are ready to log in and begin using SandWeb. Connect to the web server that is hosting @@ -39,20 +52,34 @@ http://server/cgi-bin/sandweb.cgi -Where "server" is the hostname of the web server. You should see -a login screen. Log in using the username and password that you -specified when using sandweb-admin. +Where "server" is the hostname of the web server ( NOTE: if, during +the installation, the sandweb.cgi has been placed elsewhere, please +modify the URL accordingly ). + +You should see a login screen. Log in using the username and password +that you specified when using sandweb-admin. + + +------------- +- Logging in: +------------- SandWeb will prompt you for your full name and local work directory. Your local work directory is where SandWeb will attempt to send downloaded files to on your local workstation -( note that this feature is not functional in the ALPHA release ). +( note that neither of these features are functional in the ALPHA release, +however the questions are still asked ). After submitting this information, you will be left at the Sandbox menu. This is how you will get to your working area, or "sandbox", -to do work that you intend to check in to your version control system. +to do work that you intend on your various checked out modules. -Before you can start working with sandboxes, you will need to specify -a repository. Click the word "repository" on the menu bar that is on -top of the screen. + +------------------ +- Repository Menu: +------------------ + +Before you can start working with sandboxes and checking out modules, +you will need to specify a repository to check the modules out from. +Click the word "repository" on the menu bar that is on top of the screen. You are now at the repository menu. You can enter username, password, @@ -62,4 +89,9 @@ "pserver" it is non-trivial to set up and not supported at this time. + +------------------------ +- Checking out a module: +------------------------ + After submitting this information, click on the word "sandbox" on the menu bar. You will be back at the sandbox menu, and the repository @@ -67,5 +99,5 @@ "Repository" column. -To create a sandbox, enter a module name and description and select +To checkout a module, enter a module name and description and select the appropriate repository, then click the "Checkout" button. You will get a pop-up window with the output of your VCS command. @@ -75,4 +107,9 @@ you checked out to begin working with your repository. + +------------------- +- Browsing modules: +------------------- + You will see a list of files and folders ( if any ) that exist in the module you checked out. You can click on a directory to @@ -94,10 +131,12 @@ with CVS. ---- + + +============================================================================ Problems or contributions ---- +============================================================================ -If you see something not covered by this document, or have corrections -to this document and/or want to contribute to SandWeb in some way, +If you have questions about something not covered by this document, +are having problems, want to contribute to SandWeb in some way, or just want to keep up-to-date on SandWeb development, please join the appropriate mailing list : |
From: Rob H. <for...@us...> - 2002-03-18 21:45:13
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv10839 Modified Files: README Log Message: added more to "Getting started" section, and added "Problems or contributions" section Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- README 18 Mar 2002 21:31:53 -0000 1.3 +++ README 18 Mar 2002 21:45:07 -0000 1.4 @@ -1,3 +1,4 @@ -SandWeb - ALPHA +--- +SandWeb - ALPHA Release --- @@ -9,4 +10,8 @@ release ). +SandWeb requires a user agent that supports and allows Javascript +and cookies. It has been tested with Netscape 6.2 and Internet Explorer +5.0, as well as various releases of Mozilla. + The ALPHA release only supports "FlatFile" authentication, in which SandWeb uses it's own password file and format. More @@ -79,2 +84,23 @@ ( right under the menu bar ). If you do not select a file, these commands use the current directory as an argument. + +Most CVS commands are supported at this time, although not +all options are available ( like branches, and updating to +specific revisions/tags dates ). + +These are mostly not implemented because of user interface +concerns, we plan on supporting all useful features from every +supported version control system in future releases, starting +with CVS. + +--- +Problems or contributions +--- + +If you see something not covered by this document, or have corrections +to this document and/or want to contribute to SandWeb in some way, +or just want to keep up-to-date on SandWeb development, please join +the appropriate mailing list : + +http://sourceforge.net/mail/?group_id=25671 + |
From: Rob H. <for...@us...> - 2002-03-18 21:38:07
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv2735 Added Files: README Log Message: started README file for ALPHA release --- NEW FILE --- SandWeb - ALPHA --- SandWeb is a web-based Version Control Management system, released under the GPL ( see http://sandweb.sf.net for more info ). It is essential a multi-user client to version control systems such as CVS, SVN or RCS ( only CVS is supported for the ALPHA release ). The ALPHA release only supports "FlatFile" authentication, in which SandWeb uses it's own password file and format. More authentication systems are planned for future releases. --- Getting Started --- The first thing you will need to do after installing SandWeb ( please read the INSTALL file if you have not done this yet ) is to create a user account. This is done at the command line, using the sandweb-admin command : sandweb-admin --add-user username Where "username" is the name of the user you wish to add. You will be prompted for a password. After the user has been created successfully, you are ready to log in and begin using SandWeb. Connect to the web server that is hosting your SandWeb installation : http://server/cgi-bin/sandweb.cgi Where "server" is the hostname of the web server. You should see a login screen. |
From: Rob H. <for...@us...> - 2002-03-18 21:31:56
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv7288 Modified Files: README Log Message: fixed typo Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- README 18 Mar 2002 21:30:32 -0000 1.2 +++ README 18 Mar 2002 21:31:53 -0000 1.3 @@ -5,5 +5,5 @@ under the GPL ( see http://sandweb.sf.net for more info ). -It is essential a multi-user client to version control systems (VCS ) +It is essentially a multi-user client to version control systems (VCS ) such as CVS, SVN or RCS ( only CVS is supported for the ALPHA release ). |
From: Rob H. <for...@us...> - 2002-03-18 21:30:36
|
Update of /cvsroot/sandweb/sandweb In directory usw-pr-cvs1:/tmp/cvs-serv6715 Modified Files: README Log Message: added alot more info to the README file, under the "Getting started" section Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- README 18 Mar 2002 21:17:45 -0000 1.1 +++ README 18 Mar 2002 21:30:32 -0000 1.2 @@ -5,6 +5,6 @@ under the GPL ( see http://sandweb.sf.net for more info ). -It is essential a multi-user client to version control systems such -as CVS, SVN or RCS ( only CVS is supported for the ALPHA +It is essential a multi-user client to version control systems (VCS ) +such as CVS, SVN or RCS ( only CVS is supported for the ALPHA release ). @@ -35,3 +35,46 @@ Where "server" is the hostname of the web server. You should see -a login screen. +a login screen. Log in using the username and password that you +specified when using sandweb-admin. + +SandWeb will prompt you for your full name and local work +directory. Your local work directory is where SandWeb will +attempt to send downloaded files to on your local workstation +( note that this feature is not functional in the ALPHA release ). + +After submitting this information, you will be left at the Sandbox +menu. This is how you will get to your working area, or "sandbox", +to do work that you intend to check in to your version control system. + +Before you can start working with sandboxes, you will need to specify +a repository. Click the word "repository" on the menu bar that is on +top of the screen. + +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 ALPHA release, SandWeb only +supports "local" CVS repositories, although it is possible to use +"pserver" it is non-trivial to set up and not supported at this time. + +After submitting this information, click on the word "sandbox" on the +menu bar. You will be back at the sandbox menu, and the repository +entries you created should appear in the pulldown menu under the +"Repository" column. + +To create a sandbox, enter a module name and description and select +the appropriate repository, then click the "Checkout" button. +You will get a pop-up window with the output of your VCS command. + +If the checkout was successful, you will now have an entry for +your sandbox in the sandbox menu. Click the name of the module +you checked out to begin working with your repository. + +You will see a list of files and folders ( if any ) that exist +in the module you checked out. You can click on a directory to +descend into it, or click on a file to view it's contents and +get more information. + +You can also select individual files or folders to perform file +or VCS commands on, using the toolbar at the top of the screen +( right under the menu bar ). If you do not select a file, these +commands use the current directory as an argument. |
From: Nick J. <nje...@us...> - 2002-03-18 21:22:44
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv4190 Added Files: functions.js repository.js Log Message: * functions.js : misc functions for common use * repository.js : functions applicable to repository menu (submit form checking) --- NEW FILE --- function isEmpty(input) { if (input == "" || input == null || input == 0) { return true; } else { return false; } } --- NEW FILE --- function checkForm(clicked) { if (clicked == 'Delete') { if (confirm("Deleting this repository will also delete all modules checked out from this repository. Are you sure you wish to do this?")) { return true; } } else if (clicked == 'Commit') { if (isEmpty(document.repository.repo_name.value)) { alert("Please enter a name for the repository."); return false; } else if (isEmpty(document.repository.repo_server.value)) { alert("Please enter a servername for the repository."); return false; } else if (isEmpty(document.repository.repo_root.value)) { alert("Please enter the root path to the repository."); return false; } return true; } else { return true; } return false; } |
From: Nick J. <nje...@us...> - 2002-03-18 21:08:01
|
Update of /cvsroot/sandweb/sandweb/t In directory usw-pr-cvs1:/tmp/cvs-serv32068/t Modified Files: basics.t Log Message: * variable naming change in FlatFile.pm * t/basics.t unfunctional due to new authentication scheme. Index: basics.t =================================================================== RCS file: /cvsroot/sandweb/sandweb/t/basics.t,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- basics.t 8 Mar 2002 07:12:49 -0000 1.2 +++ basics.t 18 Mar 2002 21:07:58 -0000 1.3 @@ -21,8 +21,14 @@ my $auth = $return->{'data'}->{'auth'}; +#use Data::Dumper; +#open(LOG, ">>/tmp/debug"); +#print(LOG "--" . Dumper($auth)); +#close LOG; + # test 3 ok($auth->login( 'username' => 'foo', 'password' => 'bar', + 'salt' => '', )); |
From: Nick J. <nje...@us...> - 2002-03-18 21:08:01
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Auth In directory usw-pr-cvs1:/tmp/cvs-serv32068/lib/SandWeb/Auth Modified Files: FlatFile.pm Log Message: * variable naming change in FlatFile.pm * t/basics.t unfunctional due to new authentication scheme. Index: FlatFile.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth/FlatFile.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- FlatFile.pm 11 Mar 2002 19:43:41 -0000 1.5 +++ FlatFile.pm 18 Mar 2002 21:07:58 -0000 1.6 @@ -41,5 +41,5 @@ my $password = shift; my $data_dir = shift; - my $another_salt = shift; + my $salt = shift; my $log = $self->_logobj(); @@ -53,7 +53,7 @@ chomp($real_password); # $log->debug("real_passwd:$real_password\n"); -# $log->debug("another_salt:$another_salt\n"); +# $log->debug("salt:$salt\n"); # if (crypt($password, $salt) ne $real_password) { - if ($password ne md5_hex($real_password . $another_salt)) { + if ($password ne md5_hex($real_password . $salt)) { close PF; return 0; |
From: Nick J. <nje...@us...> - 2002-03-18 21:08:01
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv32068/lib/SandWeb Modified Files: Auth.pm Log Message: * variable naming change in FlatFile.pm * t/basics.t unfunctional due to new authentication scheme. Index: Auth.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth.pm,v retrieving revision 1.20 retrieving revision 1.21 diff -U2 -r1.20 -r1.21 --- Auth.pm 11 Mar 2002 19:43:40 -0000 1.20 +++ Auth.pm 18 Mar 2002 21:07:58 -0000 1.21 @@ -57,5 +57,5 @@ 'log_obj' => $log, ); - + my $verified = $flatfile->verify_password($username, $password, $self->_get_data_dir(), $salt); |
From: Rob H. <for...@us...> - 2002-03-18 19:09:22
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv26994/bin Modified Files: sandweb.cgi Log Message: upload now reloads whatever the previous URL was, instead of always redirecting to the browse_module_menu. Much better for uploading from the view_menu. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.274 retrieving revision 1.275 diff -U2 -r1.274 -r1.275 --- sandweb.cgi 18 Mar 2002 18:09:17 -0000 1.274 +++ sandweb.cgi 18 Mar 2002 19:09:17 -0000 1.275 @@ -141,4 +141,5 @@ my $location = CGI::param('location') || ''; my $sort = CGI::param('sort') || ''; + my $previous_url = CGI::param('previous_url') || ''; $log->debug("action: $action submit: $submit"); @@ -338,4 +339,5 @@ repo_name => $repo_name, location => $location, + previous_url => $previous_url, ) } else { @@ -1349,4 +1351,5 @@ my $module_name = $args{'module_name'}; my $repo_name = $args{'repo_name'}; + my $prev_url = "$ENV{'HTTP_REFERER'}"; my $content = $ui->get_menu( @@ -1356,4 +1359,5 @@ MODULE_NAME => $module_name, REPO_NAME => $repo_name, + PREVIOUS_URL => $prev_url, ); print CGI::header( -cookie => $ck_auth ); @@ -1706,4 +1710,5 @@ my $repo_name = $args{'repo_name'}; my $module_name = $args{'module_name'}; + my $previous_url = $args{'previous_url'}; my $filename = $args{'filename'}; my $filehandle = $args{'filehandle'}; @@ -1723,20 +1728,8 @@ filehandle => $filehandle, ); - - browse_module_menu( - ck_auth => $ck_auth, - location => $location, - module_name => $module_name, - repo_name => $repo_name, - ); + print CGI::redirect( "$previous_url" ); } else { set_message("Error: no file was received!"); - - browse_module_menu( - ck_auth => $ck_auth, - location => $location, - module_name => $module_name, - repo_name => $repo_name, - ); + print CGI::redirect( "$previous_url" ); } } |
From: Rob H. <for...@us...> - 2002-03-18 19:09:22
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv26994/templates Modified Files: upload.html Log Message: upload now reloads whatever the previous URL was, instead of always redirecting to the browse_module_menu. Much better for uploading from the view_menu. Index: upload.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/upload.html,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- upload.html 7 Mar 2002 08:21:36 -0000 1.6 +++ upload.html 18 Mar 2002 19:09:17 -0000 1.7 @@ -4,4 +4,5 @@ <input name="action" value="upload" type="hidden" /> <input name="file_command" value="upload" type="hidden" /> +<input name="previous_url" value="<TMPL_VAR NAME=PREVIOUS_URL>" type="hidden" /> <input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden" /> <input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden" /> |
From: Rob H. <for...@us...> - 2002-03-18 18:57:39
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv21906/templates Modified Files: view_file.html Log Message: i think we should close previous tables, and open a new one for the contents of a file in view_file, like this Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.45 retrieving revision 1.46 diff -U2 -r1.45 -r1.46 --- view_file.html 13 Mar 2002 01:44:33 -0000 1.45 +++ view_file.html 18 Mar 2002 18:57:33 -0000 1.46 @@ -10,7 +10,10 @@ </td> </tr> +</table> +</table> +</table> <tr> - <td bgcolor="#AAAAAA" cellpadding="3" colspan="2"> - <table width="100%"> + <td bgcolor="#AAAAAA" cellpadding="3"> + <table width="100%" border="1"> </tr> <td width="40%" bgcolor="#EEEEEE"> |
From: Rob H. <for...@us...> - 2002-03-18 18:09:24
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv781/lib/SandWeb Modified Files: Repository.pm Log Message: had to pass a couple more params in the constructor so the CVSROOT could be constructed in Repository->new() correctly. Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.31 retrieving revision 1.32 diff -U2 -r1.31 -r1.32 --- Repository.pm 18 Mar 2002 05:54:35 -0000 1.31 +++ Repository.pm 18 Mar 2002 18:09:17 -0000 1.32 @@ -51,4 +51,12 @@ my $sandbox = $args{'sandbox'}; + # $username specifies the current user's name on the server + + my $username = $args{'username'}; + + # $server specifies the hostname of the current repo server + + my $server = $args{'server'}; + if ($repo_type) { if ( $repo_type eq 'CVS' ) { @@ -56,8 +64,8 @@ $root = "$root"; } - elsif ( $repo_connection eq 'pserver' ) { - $root = ":pserver:$repo_username\@$repo_server:$root"; + elsif ( $connection eq 'pserver' ) { + $root = ":pserver:$username\@$server:$root"; } else { - $repo_root = ":ext:$repo_connection:$repo_username\@$repo_server:$repo_root"; + $root = ":ext:$connection:$username\@$server:$root"; } @@ -68,5 +76,5 @@ } } - + my $self = bless { 'repo_type' => $repo_type, |
From: Rob H. <for...@us...> - 2002-03-18 18:09:22
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv781/bin Modified Files: sandweb.cgi Log Message: had to pass a couple more params in the constructor so the CVSROOT could be constructed in Repository->new() correctly. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.273 retrieving revision 1.274 diff -U2 -r1.273 -r1.274 --- sandweb.cgi 18 Mar 2002 05:54:35 -0000 1.273 +++ sandweb.cgi 18 Mar 2002 18:09:17 -0000 1.274 @@ -612,4 +612,6 @@ 'root' => $repo_root, 'connection' => $repo_connection, + 'username' => $repo_username, + 'server' => $repo_server, 'repo_type' => $repo_type, ); @@ -1845,4 +1847,6 @@ root => $repo_root, connection => $repo_connection, + username => $repo_username, + server => $repo_server, repo_type => $repo_type, sandbox => "$users_dir/$username/$repo_name/$module_name/$location", @@ -2115,4 +2119,6 @@ root => $repo_root, connection => $repo_connection, + username => $repo_username, + server => $repo_server, repo_type => $repo_type, sandbox => "$users_dir/$username/$repo_name", |
From: Rob H. <for...@us...> - 2002-03-18 05:54:39
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv25996/lib/SandWeb Modified Files: Repository.pm Log Message: moved the conversion of the repo_connection string into Repository, where it belongs. also removed excess info that was passed to Repository's constructor, when all we want are the valid VCS commands. Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.30 retrieving revision 1.31 diff -U2 -r1.30 -r1.31 --- Repository.pm 18 Mar 2002 05:17:38 -0000 1.30 +++ Repository.pm 18 Mar 2002 05:54:35 -0000 1.31 @@ -40,4 +40,10 @@ my $root = $args{'root'}; + # $connection specifies whether this is a local or network + # connection. + # Examples : SSH, pserver, local + + my $connection = $args{'connection'}; + # $sandbox specifies the path to the user's working directory # on the server @@ -46,7 +52,16 @@ if ($repo_type) { - if ($repo_type eq 'CVS') { + if ( $repo_type eq 'CVS' ) { + if ( $connection eq 'local' ) { + $root = "$root"; + } + elsif ( $repo_connection eq 'pserver' ) { + $root = ":pserver:$repo_username\@$repo_server:$root"; + } else { + $repo_root = ":ext:$repo_connection:$repo_username\@$repo_server:$repo_root"; + } + my $vcs = SandWeb::Repository::CVS->new( - root => $root, + root => $repo_root, sandbox => $sandbox, ); |
From: Rob H. <for...@us...> - 2002-03-18 05:54:39
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv25996/bin Modified Files: sandweb.cgi Log Message: moved the conversion of the repo_connection string into Repository, where it belongs. also removed excess info that was passed to Repository's constructor, when all we want are the valid VCS commands. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.272 retrieving revision 1.273 diff -U2 -r1.272 -r1.273 --- sandweb.cgi 18 Mar 2002 05:17:38 -0000 1.272 +++ sandweb.cgi 18 Mar 2002 05:54:35 -0000 1.273 @@ -608,23 +608,8 @@ my $repo_root = $user->get_repo_root(repo => $repo_name); - if ( $repo_type eq 'CVS' ) { - $log->debug("repo_type is CVS"); - - if ( $repo_connection eq 'local' ) { - $repo_root = "$repo_root"; - } else { - $repo_root = ":$repo_connection:$repo_username\@$repo_server:$repo_root"; - } - } - - if ( $repo_root ) { - $log->debug("setting up repo_root $repo_root"); - } else { - $log->debug("no repo_root set!"); - } - $log->debug("creating Repository object"); my $repository = SandWeb::Repository->new( - 'root' => "$repo_root", + 'root' => $repo_root, + 'connection' => $repo_connection, 'repo_type' => $repo_type, ); @@ -865,9 +850,5 @@ # selected repository data - my $repository = SandWeb::Repository->new( - root => "", - repo_type => "", - sandbox => "$users_dir/$username", - ); + my $repository = SandWeb::Repository->new(); my @connections = $repository->get_connections(); @@ -1861,14 +1842,7 @@ my @vcs_error = (); - if ( $repo_type eq 'CVS' ) { - if ( $repo_connection eq 'local' ) { - $repo_root = "$repo_root"; - } else { - $repo_root = ":$repo_connection:$repo_username\@$repo_server:$repo_root"; - } - } - my $repository = SandWeb::Repository->new( root => $repo_root, + connection => $repo_connection, repo_type => $repo_type, sandbox => "$users_dir/$username/$repo_name/$module_name/$location", @@ -2138,15 +2112,7 @@ my @vcs_error = (); - if ( $repo_type eq 'CVS' ) { - if ( $repo_connection eq 'local' ) { - $repo_root = "$repo_root"; - } else { - $repo_root = - ":$repo_connection:$repo_username\@$repo_server:$repo_root"; - } - } - my $repository = SandWeb::Repository->new( root => $repo_root, + connection => $repo_connection, repo_type => $repo_type, sandbox => "$users_dir/$username/$repo_name", |
From: Rob H. <for...@us...> - 2002-03-18 05:17:41
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv19489/lib/SandWeb Modified Files: Browse.pm Repository.pm Log Message: got rid of alot of warnings, they were all from not checking for null values Index: Browse.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v retrieving revision 1.75 retrieving revision 1.76 diff -U2 -r1.75 -r1.76 --- Browse.pm 13 Mar 2002 00:56:28 -0000 1.75 +++ Browse.pm 18 Mar 2002 05:17:38 -0000 1.76 @@ -93,9 +93,11 @@ } closedir SANDBOX; - - if ( $sort eq 'reverse-alpha' ) { - @return = sort { uc($b) cmp uc($a) } @return; - } else { - @return = sort { uc($a) cmp uc($b) } @return; + + if ( $sort ) { + if ( $sort eq 'reverse-alpha' ) { + @return = sort { uc($b) cmp uc($a) } @return; + } else { + @return = sort { uc($a) cmp uc($b) } @return; + } } Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- Repository.pm 11 Mar 2002 20:35:19 -0000 1.29 +++ Repository.pm 18 Mar 2002 05:17:38 -0000 1.30 @@ -45,9 +45,11 @@ my $sandbox = $args{'sandbox'}; - if ($repo_type eq 'CVS') { - my $vcs = SandWeb::Repository::CVS->new( - root => $root, - sandbox => $sandbox, - ); + if ($repo_type) { + if ($repo_type eq 'CVS') { + my $vcs = SandWeb::Repository::CVS->new( + root => $root, + sandbox => $sandbox, + ); + } } |
From: Rob H. <for...@us...> - 2002-03-18 05:17:41
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv19489/bin Modified Files: sandweb.cgi Log Message: got rid of alot of warnings, they were all from not checking for null values Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.271 retrieving revision 1.272 diff -U2 -r1.271 -r1.272 --- sandweb.cgi 18 Mar 2002 04:57:14 -0000 1.271 +++ sandweb.cgi 18 Mar 2002 05:17:38 -0000 1.272 @@ -139,4 +139,6 @@ my $module_name = CGI::param('module_name') || ''; my $module_description = CGI::param('module_description') || ''; + my $location = CGI::param('location') || ''; + my $sort = CGI::param('sort') || ''; $log->debug("action: $action submit: $submit"); @@ -182,9 +184,4 @@ elsif ( $action eq 'sandbox' ) { # called sandbox viewer - my $location = CGI::param('location'); - unless ($location) { - $location = ""; - } - if ($submit) { # called checkout commit @@ -205,8 +202,4 @@ elsif ( $action eq 'browse_module' ) { # called sandbox viewer - my $location = CGI::param('location'); - unless ($location) { - $location = ""; - } browse_module_menu( ck_auth => $ck_auth, @@ -214,5 +207,5 @@ module_name => $module_name, repo_name => $repo_name, - sort => CGI::param('sort'), + sort => $sort, ); } @@ -233,5 +226,5 @@ repo_name => $repo_name, filename => \@filename, - location => CGI::param('location'), + location => $location, ); } @@ -243,5 +236,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -254,5 +247,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ) } else { @@ -262,5 +255,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -274,5 +267,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -286,5 +279,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } else { @@ -294,5 +287,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -306,5 +299,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ) } else { @@ -313,5 +306,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -325,5 +318,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ) } else { @@ -332,5 +325,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -344,5 +337,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ) } else { @@ -351,5 +344,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -362,5 +355,5 @@ module_name => $module_name, repo_name => $repo_name, - location => CGI::param('location'), + location => $location, ); } @@ -1001,5 +994,4 @@ my $filename = $args{'filename'}; my $repo_root = $args{'repo_root'}; - my $repo_type = $args{'repo_type'}; $log->debug("viewing file : $filename"); @@ -1034,8 +1026,5 @@ $log->debug("creating Repository object"); - my $repository = SandWeb::Repository->new( - 'root' => "$repo_root", - 'repo_type' => $repo_type, - ); + my $repository = SandWeb::Repository->new(); my @vcs_commands = $repository->get_vcs_commands(); @@ -1053,5 +1042,5 @@ $username = $auth->get_username(); my @file_commands = $file->get_file_commands(); - $repo_type = $repository->get_repo_type(); + my $repo_type = $repository->get_repo_type(); my $popup_header = $ui->get_menu( |
From: Rob H. <for...@us...> - 2002-03-18 04:57:19
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv15912/bin Modified Files: sandweb.cgi Log Message: got rid of a couple silly warnings Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.270 retrieving revision 1.271 diff -U2 -r1.270 -r1.271 --- sandweb.cgi 14 Mar 2002 23:03:58 -0000 1.270 +++ sandweb.cgi 18 Mar 2002 04:57:14 -0000 1.271 @@ -1084,6 +1084,6 @@ ); - my @loop_data = (); - my $count = 0; + @loop_data = (); + $count = 0; while ( $current_location{'LOCATION_LOOP'}->[$count] ) { $log->debug('dump', $current_location{'LOCATION_LOOP'}->[$count]); |
From: Rob H. <for...@us...> - 2002-03-18 02:02:31
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv19733/templates Modified Files: tool_bar.html Log Message: put file commands and vcs pulldown on one line to preserve screen real estate Index: tool_bar.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tool_bar.html,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- tool_bar.html 7 Mar 2002 08:21:36 -0000 1.8 +++ tool_bar.html 18 Mar 2002 02:02:28 -0000 1.9 @@ -4,8 +4,8 @@ <tr> - <td width="100%" align="center" valign="center"> + <td width="100%" align="left" valign="left"> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> - <td width="100%" align="center" colspan="3"> + <td width="100%" align="left" colspan="3"> <input type="submit" name="action" value="create_file" accesskey="i" /> <input type="submit" name="action" value="create_folder" accesskey="o" /> @@ -13,11 +13,5 @@ <input type="submit" name="action" value="rename" accesskey="r" /> <input type="submit" name="action" value="upload" accesskey="u" /> - </td> - </tr> - <tr> - <td width="25%" align="center"> - <br /> - </td> - <td width="50%" align="center" valign="center" bgcolor="#CCCCCC"> + | <select name="vcs_command"> <option selected>VCS Command</option> @@ -26,9 +20,6 @@ </TMPL_LOOP> </select> -     + <input type="submit" name="action" value="vcs" /> - </td> - <td width="25%" align="center"> - <br /> </td> </tr> |
From: Nick J. <nje...@us...> - 2002-03-18 00:07:31
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv27790 Modified Files: File.pm Log Message: * added MODE to mkdir() function call. Not sure why it just started complaining. Index: File.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/File.pm,v retrieving revision 1.54 retrieving revision 1.55 diff -U2 -r1.54 -r1.55 --- File.pm 10 Mar 2002 01:56:05 -0000 1.54 +++ File.pm 18 Mar 2002 00:07:25 -0000 1.55 @@ -231,5 +231,5 @@ $log->debug("creating folder : $location/$filename"); - if (mkdir( "$location/$filename" )) { + if (mkdir( "$location/$filename", 755 )) { $return = 1; } else { |