You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(28) |
Nov
(58) |
Dec
(85) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(125) |
Feb
(222) |
Mar
(274) |
Apr
(51) |
May
(22) |
Jun
(50) |
Jul
(15) |
Aug
(33) |
Sep
(11) |
Oct
(29) |
Nov
(17) |
Dec
(1) |
2003 |
Jan
(100) |
Feb
(21) |
Mar
(7) |
Apr
(45) |
May
|
Jun
(43) |
Jul
(27) |
Aug
(24) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
(1) |
Feb
|
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Rob H. <for...@us...> - 2002-10-07 06:53:48
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv1090/bin Modified Files: sandweb.cgi Log Message: hooked up "remember password" checkbox, gets saved in the prefs now. <sidenote> I'm still running into all kinds of repository JS wackyness, but I'm going to finish implementing this feature before looking at it in depth ( plus I want to get together with Nick to redo it ). I ended up commenting out the call to doSubmit(); in repository.html that lets us check the form for errors before processing it. I only did that to test however, so the version in CVS uses doSubmit, and is broken or at least erratic with Mozilla 1.0 as far as I can tell. </sidenote> Final step in this ( remember VCS password ) feature is to allow the user a chance to enter their password before each VCS command ( our functionality thus far has been to assume that the user wants us to remember the password ). Also, if the user unselects "remember password" then we shouldn't save the password to the user config file. Finally, it would be cool if we could somehow "grey out" the password field in the repository_menu ( dynamically, like with JS )if the user unclicks the "remember password" button, to indicate that there is no reason for them to enter their password in this form in that case. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.323 retrieving revision 1.324 diff -U2 -r1.323 -r1.324 --- sandweb.cgi 5 Oct 2002 18:32:16 -0000 1.323 +++ sandweb.cgi 7 Oct 2002 06:53:42 -0000 1.324 @@ -140,4 +140,5 @@ my $repo_username = $cgi->param('repo_username') || ''; my $repo_password = $cgi->param('repo_password') || ''; + my $remember_repo_password = $cgi->param('remember_repo_password') || ''; my $repo_type = $cgi->param('repo_type') || ''; my $repo_connection = $cgi->param('repo_connection') || ''; @@ -466,4 +467,5 @@ repo_username => $repo_username, repo_password => $repo_password, + remember_repo_password => $remember_repo_password, repo_type => $repo_type, repo_connection => $repo_connection, @@ -479,4 +481,5 @@ repo_server => $repo_server, repo_username => $repo_username, + remember_repo_password => $remember_repo_password, repo_type => $repo_type, repo_connection => $repo_connection, @@ -927,4 +930,5 @@ my $repo_username = $args{'repo_username'}; my $repo_password = $args{'repo_password'}; + my $remember_repo_password = $args{'remember_repo_password'}; my $repo_type = $args{'repo_type'}; my $repo_connection = $args{'repo_connection'}; @@ -973,4 +977,6 @@ $repo_server = ''; $repo_username = ''; + $repo_password = ''; + $remember_repo_password = ''; $repo_connection = ''; $repo_type = ''; @@ -986,4 +992,6 @@ my $repo_password = $user->get_repo_password(repo => $repo_name); + $remember_repo_password = + $user->get_remember_repo_password(repo => $repo_name); $repo_connection = $user->get_repo_connection(repo => $repo_name); @@ -1053,4 +1061,9 @@ } + if ($cgi->param('remember_repo_password') eq "on") { + $remember_repo_password = 'checked="on"'; + } else { + $remember_repo_password = ''; + } my $content = $ui->get_menu( @@ -1065,4 +1078,5 @@ REPO_SERVER => $repo_server, REPO_USERNAME => $repo_username, + REMEMBER_REPO_PASSWORD => $remember_repo_password, ); @@ -2212,4 +2226,5 @@ my $repo_username = $user->get_repo_username(repo => $repo_name); my $repo_password = $user->get_repo_password(repo => $repo_name); + my $remember_repo_password = $user->get_repo_password(repo => $repo_name); my $repo_type = $user->get_repo_type(repo => $repo_name); my $repo_connection = $user->get_repo_connection(repo => $repo_name); @@ -2435,4 +2450,5 @@ my $repo_username = $user->get_repo_username(repo => $repo_name); my $repo_password = $user->get_repo_password(repo => $repo_name); + my $remember_repo_password = $user->get_remember_repo_password(repo => $repo_name); my $repo_type = $user->get_repo_type(repo => $repo_name); my $repo_connection = $user->get_repo_connection(repo => $repo_name); @@ -2619,4 +2635,20 @@ } +############################################################################### +# repository commit +# +# manage repository information, add/delete/modify repositories +# +# args : +# ck_auth - cookie data +# repository_selected - name of selected repository +# repository_name - name of repository selected +# repo_name - name of repository +# server - name of repositories server +# usr_name - user name for repository +# repo_type - type of repository (CVS, RSH, arch, SVN etc). +# connection - connection type +# root - root of VCS repository +############################################################################### sub repository_commit { my %args = @_; @@ -2627,4 +2659,5 @@ my $repo_username = $args{'repo_username'}; my $repo_password = $args{'repo_password'}; + my $remember_repo_password = $args{'remember_repo_password'}; my $repo_type = $args{'repo_type'}; my $repo_connection = $args{'repo_connection'}; @@ -2637,5 +2670,4 @@ $log->debug("<pre>" . Dumper(\%args) . "</pre>"); - if ($submit eq 'Commit') { # commit data to file @@ -2660,5 +2692,5 @@ } } - # directory created, not create repository data struct + # directory created, now create repository data struct if ($user->repository_exists(repo => $repo_name)) { $user->update_repo( @@ -2667,4 +2699,5 @@ username => $repo_username, password => $repo_password, + remember_password => $remember_repo_password, connection => $repo_connection, type => $repo_type, |
From: Rob H. <for...@us...> - 2002-10-07 06:53:48
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv1090/templates Modified Files: repository.html Log Message: hooked up "remember password" checkbox, gets saved in the prefs now. <sidenote> I'm still running into all kinds of repository JS wackyness, but I'm going to finish implementing this feature before looking at it in depth ( plus I want to get together with Nick to redo it ). I ended up commenting out the call to doSubmit(); in repository.html that lets us check the form for errors before processing it. I only did that to test however, so the version in CVS uses doSubmit, and is broken or at least erratic with Mozilla 1.0 as far as I can tell. </sidenote> Final step in this ( remember VCS password ) feature is to allow the user a chance to enter their password before each VCS command ( our functionality thus far has been to assume that the user wants us to remember the password ). Also, if the user unselects "remember password" then we shouldn't save the password to the user config file. Finally, it would be cool if we could somehow "grey out" the password field in the repository_menu ( dynamically, like with JS )if the user unclicks the "remember password" button, to indicate that there is no reason for them to enter their password in this form in that case. Index: repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.html,v retrieving revision 1.19 retrieving revision 1.20 diff -U2 -r1.19 -r1.20 --- repository.html 6 Oct 2002 07:12:48 -0000 1.19 +++ repository.html 7 Oct 2002 06:53:42 -0000 1.20 @@ -41,10 +41,16 @@ <tr> <td width="20%" align="right"> + Remember password + </td> + <td width="90%" align="left"> + <input type="checkbox" name="remember_repo_password" <TMPL_VAR NAME=REMEMBER_REPO_PASSWORD>> + </td> + </tr> + <tr> + <td width="20%" align="right"> Password : </td> <td width="90%" align="left"> - <input type="password" name="repo_password"> - <br> - Remember password <input type="checkbox"> + <input type="password" name="repo_password"> </td> </tr> @@ -89,5 +95,5 @@ <td width="25%" align="center"> <br> - <input type="submit" name="Submit" Value="Save" onClick="javascript:{doSubmit('Commit');}"> + <input type="submit" name="Submit" Value="Commit" onClick="javascript:{doSubmit('Commit');}"> <!-- <a href="javascript:{doSubmit('Delete');}" onMouseOver="rollOver(2)" onMouseO |
From: Rob H. <for...@us...> - 2002-10-06 07:12:55
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv1498/templates Modified Files: repository.html delete.html Log Message: * changed "Done" to "Ok" in delete.html * changed "Commit" to "Save" in repository.html * added "Remember password" checkbox in repository.html Index: repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.html,v retrieving revision 1.18 retrieving revision 1.19 diff -U2 -r1.18 -r1.19 --- repository.html 16 Sep 2002 05:06:48 -0000 1.18 +++ repository.html 6 Oct 2002 07:12:48 -0000 1.19 @@ -44,5 +44,7 @@ </td> <td width="90%" align="left"> - <input type="password" name="repo_password"> + <input type="password" name="repo_password"> + <br> + Remember password <input type="checkbox"> </td> </tr> @@ -87,5 +89,5 @@ <td width="25%" align="center"> <br> - <input type="submit" name="Submit" Value="Commit" onClick="javascript:{doSubmit('Commit');}"> + <input type="submit" name="Submit" Value="Save" onClick="javascript:{doSubmit('Commit');}"> <!-- <a href="javascript:{doSubmit('Delete');}" onMouseOver="rollOver(2)" onMouseO Index: delete.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/delete.html,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- delete.html 16 Sep 2002 05:06:48 -0000 1.2 +++ delete.html 6 Oct 2002 07:12:48 -0000 1.3 @@ -16,5 +16,5 @@ <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> - <input name="Submit" value="1" type="submit" value="Done"> + <input name="Submit" value="1" type="submit" value="Ok"> </form> </center> |
From: Rob H. <for...@us...> - 2002-10-05 19:53:12
|
Update of /cvsroot/sandweb/sandweb/doc/API/File In directory usw-pr-cvs1:/tmp/cvs-serv31967/File Log Message: Directory /cvsroot/sandweb/sandweb/doc/API/File added to the repository |
From: Rob H. <for...@us...> - 2002-10-05 19:53:12
|
Update of /cvsroot/sandweb/sandweb/doc/API/Auth In directory usw-pr-cvs1:/tmp/cvs-serv31967/Auth Log Message: Directory /cvsroot/sandweb/sandweb/doc/API/Auth added to the repository |
From: Rob H. <for...@us...> - 2002-10-05 18:36:03
|
Update of /cvsroot/sandweb/sandweb/etc In directory usw-pr-cvs1:/tmp/cvs-serv8841/etc Modified Files: user.cfg Log Message: added commit_delete option Index: user.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/etc/user.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- user.cfg 16 Sep 2002 05:30:14 -0000 1.2 +++ user.cfg 5 Oct 2002 18:36:00 -0000 1.3 @@ -4,5 +4,5 @@ --> <personal full_name="" - confirm_delete="" + confirm_delete="1" /> </preferences> |
From: Rob H. <for...@us...> - 2002-10-05 18:35:51
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv8804/lib/SandWeb Modified Files: Shell.pm Log Message: correcting comments Index: Shell.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Shell.pm,v retrieving revision 1.19 retrieving revision 1.20 diff -U2 -r1.19 -r1.20 --- Shell.pm 15 Aug 2002 03:36:07 -0000 1.19 +++ Shell.pm 5 Oct 2002 18:35:48 -0000 1.20 @@ -39,12 +39,12 @@ my $system_username = $args{'system_username'} || ''; - # system_username is the user's password on the local box ( optional ) + # system_password is the user's password on the local box ( optional ) my $system_password = $args{'system_password'} || ''; - # system_username is the user's VCS username on the local box + # vcs_username is the user's VCS username on the local box # ( optional ) my $vcs_username = $args{'vcs_username'} || ''; - # system_username is the user's VCS password on the local box + # vcs_password is the user's VCS password on the local box # ( optional ) my $vcs_password = $args{'vcs_password'} || ''; |
From: Rob H. <for...@us...> - 2002-10-05 18:32:21
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv7637 Modified Files: sandweb.cgi Log Message: confirm_delete is hooked up, working and tested. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.322 retrieving revision 1.323 diff -U2 -r1.322 -r1.323 --- sandweb.cgi 5 Oct 2002 05:57:40 -0000 1.322 +++ sandweb.cgi 5 Oct 2002 18:32:16 -0000 1.323 @@ -519,4 +519,8 @@ $log->debug("entering login menu"); + + # + # generate random salt for login encryption + # my $salt = rand(0xffffffff); @@ -524,5 +528,4 @@ MENU => 'login', PROGNAME => "$progname", -#a salt here (for challenge) SALT => $salt, ); @@ -615,4 +618,8 @@ my @module_list = (); + # + # compile list of module names and descriptions + # + foreach my $repo_name (@repo_list) { if (my @module_list = $user->get_module_list(repo => $repo_name )) { @@ -622,8 +629,9 @@ $entry{'MODULE_NAME'} = $module_name; $entry{'REPO_NAME'} = $repo_name; - $entry{'MODULE_DESC'} = $user->get_module_description( - repo => $repo_name, - module => $module_name - ); + $entry{'MODULE_DESC'} = + $user->get_module_description( + repo => $repo_name, + module => $module_name + ); $entry{'REPOSITORY'} = $repo_name; push @module_loop, \%entry; @@ -750,6 +758,7 @@ $repo_type = $repository->get_repo_type(); - + # # use the browse object to show user's sandbox + # my $popup_header = $ui->get_menu( @@ -757,4 +766,8 @@ ); + # + # toolbar has useful functions like create/delete/rename file/directory + # + my %toolbar = $browse->get_tool_bar( 'location' => $location, @@ -762,4 +775,8 @@ ); + # + # figure out what VCS commands we have available and build a VCS toolbar + # + my @loop_data = (); my $count = 0; @@ -857,4 +874,9 @@ my $confirm_delete_checked; + # + # if confirm_delete is null, then we don't want the "checked" attribute in the output + # if it is not-null, then we want the "checked" attribute to have the value "on" + # + if ($confirm_delete) { $confirm_delete_checked = 'checked="on"'; @@ -923,4 +945,9 @@ $repository_selected = $repository_selected || $repos[0] || $new_string; + # + # build a list of repositories for the pulldown and check that they + # are valid + # + if (($repository_selected) && ($repository_selected ne $new_string)) { my $valid = 0; @@ -1105,9 +1132,11 @@ ); - my $file_content = $file->file_read(); - # make output browser-friendly - # Special Characters; RFC 1866 + # + # make output browser-friendly by escaping all characters reserved by HTML, + # see RFC 1866 for details + # + $file_content =~ s/&/&/g; $file_content =~ s/\"/"/g; @@ -1140,4 +1169,5 @@ my @vcs_commands = $repository->get_vcs_commands(); + $log->debug("creating Browse object"); my $browse = SandWeb::Browse->new( @@ -1242,6 +1272,12 @@ ############################################################################### +# 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 # +# # edit a file, with the option to save. # @@ -1335,4 +1371,6 @@ my %args = @_; + my $confirm_delete = $user->get_confirm_delete(); + my $ck_auth = $args{'ck_auth'}; my $location = $args{'location'}; @@ -1383,4 +1421,16 @@ } + unless ($confirm_delete) { + delete_commit( + main_window_url => $main_window_url, + location => $location, + module_name => $module_name, + repo_name => $repo_name, + filename => \@filename, + ); + + exit; + } + my $content = $ui->get_menu( MENU => 'delete', @@ -1730,4 +1780,9 @@ ############################################################################### +# 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...> - 2002-10-05 18:31:51
|
Update of /cvsroot/sandweb/sandweb/doc/API/Repository In directory usw-pr-cvs1:/tmp/cvs-serv7519/Repository Added Files: cvs.txt Log Message: added/updated some API docs --- NEW FILE --- SandWeb::Repository::cvs -------------------------------------------------------------------------------- METHOD new SYNOPSIS my $CVS = SandWeb::Repository::cvs->new( root => ":ext:me...@he...:/cvs", sandbox => "/home/me", vcs_username => "user", vcs_password => "pass", system_username => "username", system_password => "password", ); DESCRIPTION [...1679 lines suppressed...] DESCRIPTION Returns the current system password for an instantiated CVS object. PARAMETERS None RETURN CODE A string containing the current system password for an instantiated CVS object is returned. 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. |
From: Rob H. <for...@us...> - 2002-10-05 18:31:51
|
Update of /cvsroot/sandweb/sandweb/doc/API In directory usw-pr-cvs1:/tmp/cvs-serv7519 Modified Files: Repository.txt Added Files: Diff.txt Shell.txt Removed Files: cvs.txt Log Message: added/updated some API docs --- NEW FILE --- SandWeb::Diff This class will eventually implement "diff" functionality for SandWeb. This will give us VCS-independant formatting of diffs, and will also give us the ability to do nicely-formatted, side-by-side colorized diffs. At the moment, all this class does is colorize any "unified format" diff given to it. -------------------------------------------------------------------------------- METHOD new SYNOPSIS my $diff = $diff->new( diff => $context_diff_format-data; ); DESCRIPTION This method is a constructor. PARAMETERS diff (type: string) (required) this contains data in context diff format 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. -------------------------------------------------------------------------------- METHOD colored_diff SYNOPSIS my $output = $diff->colored_diff(); DESCRIPTION This method colorizes and returns the data that was provided via the constructor ( green for additions, red for removals, blue for all else ). PARAMETERS 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. -------------------------------------------------------------------------------- --- NEW FILE --- SandWeb::Shell This class makes any and all calls to the operating system shell. It has one public method, execute, which takes a command parameter. Shell is capable of understand SandWeb-specific needs, such as running a command as a specific Unix user, or authenticating to a VCS system like CVS. -------------------------------------------------------------------------------- METHOD new SYNOPSIS my $shell = SandWeb::Shell->new( 'vcs_username' => "$vcs_username", 'vcs_password' => "$vcs_password", 'system_username' => "$system_username", 'system_password' => "$system_password", 'bindir' => "$bindir", 'system' => "$system", 'vcs' => "$vcs", 'log_obj' => $log, ); DESCRIPTION This method is a constructor. PARAMETERS bindir (type: string) (required) the full path on the local box to SandWeb's scripts, like sandweb-expect and sandweb-admin Default: none. system_username (type: string) (optional) the user's OS username Default: none. system_password (type: string) (optional) the user's OS password Default: none. vcs_username (type: string) (optional) the user's VCS username Default: none. vcs_password (type: string) (optional) the user's VCS password Default: none. system (type: boolean) (optional) system is true if the user wants to authenticate with the OS, false if not Default: none. vcs (type: boolean) (optional) system is true if the user wants to authenticate with the VCS server, false if not Default: none. log (type: SandWeb::Log) (required) log is a reference to an object based on the SandWeb::Log class 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. -------------------------------------------------------------------------------- METHOD execute SYNOPSIS my $output = $shell->execute( command => $command, ) DESCRIPTION This method carries out execution of a shell command. It decides how to use sandweb-expect if the user wants to authenticate against the system (OS) or a VCS server. PARAMETERS command (type: string) (required) the command to be executed. Returns a hash with the result in the "output" key and the errorlevel in the "error" key. 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. -------------------------------------------------------------------------------- METHOD pipe SYNOPSIS my $filehandle = $shell->pipe( command => $command, ) DESCRIPTION This method carries out execution of a shell command, and attaches the command to a filehandle through a pipe. PARAMETERS command (type: string) (required) the command to be executed. Returns a filehandle which is a reference to a pipe to the running command. 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. -------------------------------------------------------------------------------- Index: Repository.txt =================================================================== RCS file: /cvsroot/sandweb/sandweb/doc/API/Repository.txt,v retrieving revision 1.12 retrieving revision 1.13 diff -U2 -r1.12 -r1.13 --- Repository.txt 4 Apr 2002 20:22:37 -0000 1.12 +++ Repository.txt 5 Oct 2002 18:31:48 -0000 1.13 @@ -1,5 +1,6 @@ SandWeb::Repository ---------------------------------------------------------------------------------METHOD +-------------------------------------------------------------------------------- +METHOD new --- cvs.txt DELETED --- |
From: Rob H. <for...@us...> - 2002-10-05 18:31:29
|
Update of /cvsroot/sandweb/sandweb/doc/API/Repository In directory usw-pr-cvs1:/tmp/cvs-serv7462/Repository Log Message: Directory /cvsroot/sandweb/sandweb/doc/API/Repository added to the repository |
From: Rob H. <for...@us...> - 2002-10-05 05:57:43
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv25663/templates Modified Files: configuration.html Log Message: ah, NOW i get it... If a field is checked, it's like - <input type="checkbox" checked="on"> if it's not checked, it's like - <input type="checkbox"> got it. Index: configuration.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/configuration.html,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- configuration.html 17 Sep 2002 20:59:02 -0000 1.6 +++ configuration.html 5 Oct 2002 05:57:40 -0000 1.7 @@ -15,5 +15,5 @@ </td> <td width="80%" align="left"> - <input type="checkbox" name="confirm_delete" checked="<TMPL_VAR NAME=CONFIRM_DELETE>"> + <input type="checkbox" name="confirm_delete" <TMPL_VAR NAME=CONFIRM_DELETE>> </td> </tr> |
From: Rob H. <for...@us...> - 2002-10-05 05:57:43
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv25663/bin Modified Files: sandweb.cgi Log Message: ah, NOW i get it... If a field is checked, it's like - <input type="checkbox" checked="on"> if it's not checked, it's like - <input type="checkbox"> got it. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.321 retrieving revision 1.322 diff -U2 -r1.321 -r1.322 --- sandweb.cgi 5 Oct 2002 05:34:32 -0000 1.321 +++ sandweb.cgi 5 Oct 2002 05:57:40 -0000 1.322 @@ -853,9 +853,10 @@ load_config(1); # load prefs and do not log error msg my $username = $auth->get_username(); - my $full_name = $user->get_full_name(); - my $confirm_delete = $user->get_confirm_delete(); + my $full_name = $user->get_full_name() || ''; + my $confirm_delete = $user->get_confirm_delete() || ''; + my $confirm_delete_checked; - unless ($confirm_delete eq "on" || $confirm_delete eq "off") { - $confirm_delete = "on"; + if ($confirm_delete) { + $confirm_delete_checked = 'checked="on"'; } @@ -864,5 +865,5 @@ PROGNAME => $progname, FULL_NAME => $full_name, - CONFIRM_DELETE => $confirm_delete, + CONFIRM_DELETE => $confirm_delete_checked, ); @@ -2549,7 +2550,5 @@ foreach my $param (@personal_params) { - if ( $cgi->param("$param") ) { - $user->{'personal'}->{"$param"} = param("$param"); - } + $user->{'personal'}->{"$param"} = param("$param") || ''; } |
From: Rob H. <for...@us...> - 2002-10-05 05:34:36
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv16594/bin Modified Files: sandweb.cgi Log Message: fixed the issue where new users couldn't get past the config screen, so "confirm_delete" needs to be "on" or "off" not 1 or 0 in order for the HTML checkbox stuff to work correctly. now that i have that figured out, i'm pretty close to actually being able to set this pref :) Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.320 retrieving revision 1.321 diff -U2 -r1.320 -r1.321 --- sandweb.cgi 16 Sep 2002 05:30:13 -0000 1.320 +++ sandweb.cgi 5 Oct 2002 05:34:32 -0000 1.321 @@ -856,4 +856,8 @@ my $confirm_delete = $user->get_confirm_delete(); + unless ($confirm_delete eq "on" || $confirm_delete eq "off") { + $confirm_delete = "on"; + } + my $content = $ui->get_menu( MENU => 'configuration', @@ -2541,4 +2545,5 @@ my @personal_params = ( 'full_name', + 'confirm_delete', ); |
From: Rob H. <for...@us...> - 2002-09-23 19:07:19
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv24823/templates Modified Files: login.html Log Message: somehow broke the login when I worked on HTML 4 compliancy. trying again, seems to be ok now. Index: login.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/login.html,v retrieving revision 1.13 retrieving revision 1.14 diff -U2 -r1.13 -r1.14 --- login.html 16 Sep 2002 05:06:48 -0000 1.13 +++ login.html 23 Sep 2002 19:07:13 -0000 1.14 @@ -24,5 +24,7 @@ <!-- user type password here --> <td width="80%" align="left"> - <input type="password" name="password1" size="10" onKeyUp="updateHash(password, password1, salt)"> + <input type="password" name="password1" size="10" + onKeyUp="updateHash(password, password1, salt)" + > </td> @@ -41,5 +43,8 @@ <td width="20%" align="right"> <br> - <input type="submit" name="Submit" value="Login" onClick="updateHash(password, password1, salt) password1.value='' "> + <input type="submit" name="Submit" value="Login" + onClick="updateHash(password, password1, salt) + password1.value='' " + > </td> <td width="80%" align="left"> |
From: Rob H. <for...@us...> - 2002-09-17 20:59:08
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv29745/templates Modified Files: configuration.html Log Message: needed so "confirm_delete" won't break Index: configuration.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/configuration.html,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- configuration.html 16 Sep 2002 05:06:48 -0000 1.5 +++ configuration.html 17 Sep 2002 20:59:02 -0000 1.6 @@ -10,16 +10,10 @@ </td> </tr> + <tr> <td width="20%" align="right"> - Prompt for VCS password : + Confirm each file deletion : </td> <td width="80%" align="left"> - <input type="checkbox" name="prompt_vcs" value="<TMPL_VAR NAME=FULL_NAME>"> - </td> - </tr> - <td width="20%" align="right"> - Prompt for file deletion : - </td> - <td width="80%" align="left"> - <input type="checkbox" name="prompt_delete" value="<TMPL_VAR NAME=FULL_NAME>"> + <input type="checkbox" name="confirm_delete" checked="<TMPL_VAR NAME=CONFIRM_DELETE>"> </td> </tr> |
From: Rob H. <for...@us...> - 2002-09-16 05:30:17
|
Update of /cvsroot/sandweb/sandweb/etc In directory usw-pr-cvs1:/tmp/cvs-serv6602/etc Modified Files: user.cfg Log Message: removed the obsolete "work_dir" user config setting and added a "confirm_delete" setting. It is hooked up to the template through the CGI, but isn't hooked up to config ( can't be saved ) and it is currently ignored by delete_file(). almost there :) I'll try to finish this up tomorrow, and then work on VCS password confirmation. Index: user.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/etc/user.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- user.cfg 12 Mar 2002 04:15:19 -0000 1.1 +++ user.cfg 16 Sep 2002 05:30:14 -0000 1.2 @@ -1,7 +1,8 @@ <preferences> - <!-- the personal tag defines user's real name, and the - path to the sandbox on the user's workstation --> + <!-- the personal tag defines user's real name and + whether they want to confirm deletions each time + --> <personal full_name="" - work_dir="" + confirm_delete="" /> </preferences> |
From: Rob H. <for...@us...> - 2002-09-16 05:30:17
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv6602/lib/SandWeb Modified Files: Config.pm Log Message: removed the obsolete "work_dir" user config setting and added a "confirm_delete" setting. It is hooked up to the template through the CGI, but isn't hooked up to config ( can't be saved ) and it is currently ignored by delete_file(). almost there :) I'll try to finish this up tomorrow, and then work on VCS password confirmation. Index: Config.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Config.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- Config.pm 2 Apr 2002 07:30:52 -0000 1.29 +++ Config.pm 16 Sep 2002 05:30:14 -0000 1.30 @@ -117,10 +117,9 @@ } -# returns users work dir -sub get_work_dir { +# returns whether user wants to confirm each file deletion +sub get_confirm_delete { my $self = shift; - return $self->{'personal'}->{'work_dir'} || ''; + return $self->{'personal'}->{'confirm_delete'} || ''; } - ############################################################################# |
From: Rob H. <for...@us...> - 2002-09-16 05:30:16
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv6602/bin Modified Files: sandweb.cgi Log Message: removed the obsolete "work_dir" user config setting and added a "confirm_delete" setting. It is hooked up to the template through the CGI, but isn't hooked up to config ( can't be saved ) and it is currently ignored by delete_file(). almost there :) I'll try to finish this up tomorrow, and then work on VCS password confirmation. Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.319 retrieving revision 1.320 diff -U2 -r1.319 -r1.320 --- sandweb.cgi 16 Sep 2002 05:06:47 -0000 1.319 +++ sandweb.cgi 16 Sep 2002 05:30:13 -0000 1.320 @@ -854,4 +854,5 @@ my $username = $auth->get_username(); my $full_name = $user->get_full_name(); + my $confirm_delete = $user->get_confirm_delete(); my $content = $ui->get_menu( @@ -859,4 +860,5 @@ PROGNAME => $progname, FULL_NAME => $full_name, + CONFIRM_DELETE => $confirm_delete, ); |
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv1047/templates Modified Files: branch.html browse_module.html commit.html configuration.html create_file.html create_folder.html delete.html edit_file.html file.html file_info.html framework.html login.html menu_bar.html output.html popup.html rename.html repository.html sandbox.html tag.html template.html tool_bar.html upload.html vcs_output.html view_file.html Log Message: making all files HTML 4.01 compliant instead of XHTML 1.0 compliant, due to non-complete XHTML compliance in Internet Explorer Index: branch.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/branch.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- branch.html 13 Aug 2002 21:46:28 -0000 1.4 +++ branch.html 16 Sep 2002 05:06:48 -0000 1.5 @@ -3,14 +3,14 @@ <center> <form submit="<TMPL_VAR NAME=PROGNAME>"> - <input type="hidden" name="action" value="vcs" /> - <input type="hidden" name="vcs_command" value="branch" /> - <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>" /> + <input type="hidden" name="action" value="vcs"> + <input type="hidden" name="vcs_command" value="branch"> + <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>"> <TMPL_LOOP NAME="FILENAME_LOOP"> - <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> + <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> </TMPL_LOOP> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input name="Submit" value="1" type="hidden" /> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input name="Submit" value="1" type="hidden"> <tr> <td align="center"> @@ -18,6 +18,6 @@ </td> <td align="left"> - <input type="text" name="branch_sync" /> - <input type="submit" /> + <input type="text" name="branch_sync"> + <input type="submit"> </td> </td> @@ -28,6 +28,6 @@ </td> <td align="left"> - <input type="text" name="branch_switch" /> - <input type="submit" /> + <input type="text" name="branch_switch"> + <input type="submit"> </td> </td> @@ -40,5 +40,5 @@ </td> <td align="left"> - <input type="submit" name="trunk_sync" value="Submit" /> + <input type="submit" name="trunk_sync" value="Submit"> </td> </tr> @@ -48,5 +48,5 @@ </td> <td align="left"> - <input type="submit" name="trunk_switch" value="Submit" /> + <input type="submit" name="trunk_switch" value="Submit"> </td> </tr> @@ -54,5 +54,5 @@ <table width="100%" border="1" align="center" cellspacing="0" cellpadding="0"> - <hr /> + <hr> <tr> <td align="center"> @@ -60,6 +60,6 @@ </td> <td align="left"> - <input name="create_branch" type="text" /> - <input type="submit" /> + <input name="create_branch" type="text"> + <input type="submit"> </td> </tr> @@ -68,6 +68,6 @@ </td> <td align="left"> - <input name="remove_branch" type="text" /> - <input type="submit" name="Submit" /> + <input name="remove_branch" type="text"> + <input type="submit" name="Submit"> </td> <tr> Index: browse_module.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse_module.html,v retrieving revision 1.26 retrieving revision 1.27 diff -U2 -r1.26 -r1.27 --- browse_module.html 13 Aug 2002 19:02:33 -0000 1.26 +++ browse_module.html 16 Sep 2002 05:06:48 -0000 1.27 @@ -52,5 +52,5 @@ </TMPL_IF> <td> - <input type="checkbox" name="filename" value="<TMPL_VAR NAME=ENTRY>" /> + <input type="checkbox" name="filename" value="<TMPL_VAR NAME=ENTRY>"> <a name="<TMPL_VAR NAME=ENTRY>"> </input> Index: commit.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/commit.html,v retrieving revision 1.16 retrieving revision 1.17 diff -U2 -r1.16 -r1.17 --- commit.html 13 Aug 2002 19:02:33 -0000 1.16 +++ commit.html 16 Sep 2002 05:06:48 -0000 1.17 @@ -4,13 +4,13 @@ Please enter a commit message for <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> : <form submit="<TMPL_VAR NAME=PROGNAME>"> - <input type="hidden" name="action" value="vcs" /> - <input type="hidden" name="vcs_command" value="commit" /> - <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input name="Submit" value="1" type="hidden" /> - <input type="text" name="message" /> - <input type="submit" name="commit" value="Done" /> + <input type="hidden" name="action" value="vcs"> + <input type="hidden" name="vcs_command" value="commit"> + <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input name="Submit" value="1" type="hidden"> + <input type="text" name="message"> + <input type="submit" name="commit" value="Done"> </form> </td> Index: configuration.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/configuration.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- configuration.html 3 Sep 2002 20:31:27 -0000 1.4 +++ configuration.html 16 Sep 2002 05:06:48 -0000 1.5 @@ -1,4 +1,4 @@ <form submit="<TMPL_VAR NAME=PROGNAME>"> -<input type="hidden" name="action" value="configuration" /> +<input type="hidden" name="action" value="configuration"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> @@ -7,5 +7,5 @@ </td> <td width="80%" align="left"> - <input type="text" name="full_name" value="<TMPL_VAR NAME=FULL_NAME>" /> + <input type="text" name="full_name" value="<TMPL_VAR NAME=FULL_NAME>"> </td> </tr> @@ -14,5 +14,5 @@ </td> <td width="80%" align="left"> - <input type="checkbox" name="prompt_vcs" value="<TMPL_VAR NAME=FULL_NAME>" /> + <input type="checkbox" name="prompt_vcs" value="<TMPL_VAR NAME=FULL_NAME>"> </td> </tr> @@ -21,5 +21,5 @@ </td> <td width="80%" align="left"> - <input type="checkbox" name="prompt_delete" value="<TMPL_VAR NAME=FULL_NAME>" /> + <input type="checkbox" name="prompt_delete" value="<TMPL_VAR NAME=FULL_NAME>"> </td> </tr> @@ -27,11 +27,10 @@ <tr> <td width="5%" align="center"> - <br /> <br /> + <br> <br> </td> <td width="30%" align="center"> - <!-- <a href="<TMPL_VAR NAME=PROGNAME>?action=vcs_prefs">Set Up Repository</a> --> </td> <td width="65%" align="center"> - <br /> + <br> </td> </tr> @@ -40,11 +39,11 @@ <tr> <td width="15%" align="center"> - <br /> <br /> + <br> <br> </td> <td width="10%" align="center"> - <input type="submit" name="Submit" Value="Done" /> + <input type="submit" name="Submit" Value="Done"> </td> <td width="75%" align="center"> - <br /> + <br> </td> </tr> Index: create_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_file.html,v retrieving revision 1.19 retrieving revision 1.20 diff -U2 -r1.19 -r1.20 --- create_file.html 13 Aug 2002 19:02:33 -0000 1.19 +++ create_file.html 16 Sep 2002 05:06:48 -0000 1.20 @@ -3,14 +3,14 @@ <td width="100%"> <form action="<TMPL_VAR NAME=PROGNAME>" target="mainWindow" onsubmit="setTimeout('window.close()',2000)"> -<input name="action" value="create_file" type="hidden" /> -<input name="file_command" value="create_file" type="hidden" /> -<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> -<input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden" /> -<input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden" /> -<input name="Submit" value="1" type="hidden" /> +<input name="action" value="create_file" type="hidden"> +<input name="file_command" value="create_file" type="hidden"> +<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden"> +<input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden"> +<input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden"> +<input name="Submit" value="1" type="hidden"> Enter filename : - <br /> -<input name="filename" type="text" /><br /> -<input name="Submit" type="submit" value="Done" /><br /> + <br> +<input name="filename" type="text"><br> +<input name="Submit" type="submit" value="Done"><br> </form> </td> Index: create_folder.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_folder.html,v retrieving revision 1.18 retrieving revision 1.19 diff -U2 -r1.18 -r1.19 --- create_folder.html 15 Aug 2002 01:09:17 -0000 1.18 +++ create_folder.html 16 Sep 2002 05:06:48 -0000 1.19 @@ -3,15 +3,15 @@ <td width="100%"> <form action="<TMPL_VAR NAME=PROGNAME>" target="mainWindow" onsubmit="setTimeout('window.close()',2000)"> -<input name="action" value="create_folder" type="hidden" /> -<input name="file_command" value="create_folder" type="hidden" /> -<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> -<input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> -<input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden" /> -<input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden" /> -<input name="previous_url" value="<TMPL_VAR NAME=PREVIOUS_URL>" type="hidden" /> -<input name="Submit" value="1" type="hidden" /> -Enter foldername:<br /> -<input name="filename" type="text" /><br /> -<input name="Submit" type="submit" value="Done" /><br /> +<input name="action" value="create_folder" type="hidden"> +<input name="file_command" value="create_folder" type="hidden"> +<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden"> +<input name="fullpath" value="<TMPL_VAR NAME=FULLPATH>" type="hidden"> +<input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden"> +<input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden"> +<input name="previous_url" value="<TMPL_VAR NAME=PREVIOUS_URL>" type="hidden"> +<input name="Submit" value="1" type="hidden"> +Enter foldername:<br> +<input name="filename" type="text"><br> +<input name="Submit" type="submit" value="Done"><br> </form> </td> Index: delete.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/delete.html,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- delete.html 12 Sep 2002 00:42:09 -0000 1.1 +++ delete.html 16 Sep 2002 05:06:48 -0000 1.2 @@ -3,18 +3,18 @@ <center> <form submit="<TMPL_VAR NAME=PROGNAME>"> - <input type="hidden" name="action" value="delete" /> - <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>" /> + <input type="hidden" name="action" value="delete"> + <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>"> Are you sure you want to delete : <br> <TMPL_LOOP NAME="FILENAME_LOOP"> - <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> + <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> <br> </TMPL_LOOP> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input name="Submit" value="1" type="submit" value="Done" /> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input name="Submit" value="1" type="submit" value="Done"> </form> </center> Index: edit_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/edit_file.html,v retrieving revision 1.30 retrieving revision 1.31 diff -U2 -r1.30 -r1.31 --- edit_file.html 13 Aug 2002 19:02:33 -0000 1.30 +++ edit_file.html 16 Sep 2002 05:06:48 -0000 1.31 @@ -3,11 +3,11 @@ <td width="100%"> <form submit="<TMPL_VAR NAME=PROGNAME>" method="POST"> - <input name="action" value="edit_file" type="hidden" /> - <input name="file_command" value="edit" type="hidden" /> - <input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> - <input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden" /> - <input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden" /> - <input name="filename" value="<TMPL_VAR NAME=FILENAME>" type="hidden" /> - <input type="submit" name="Submit" value="Save" /> + <input name="action" value="edit_file" type="hidden"> + <input name="file_command" value="edit" type="hidden"> + <input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden"> + <input name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" type="hidden"> + <input name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" type="hidden"> + <input name="filename" value="<TMPL_VAR NAME=FILENAME>" type="hidden"> + <input type="submit" name="Submit" value="Save"> <pre> <textarea name="data" cols="80" rows="24"><TMPL_VAR NAME=CONTENT></textarea> Index: file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/file.html,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- file.html 13 Aug 2002 19:02:33 -0000 1.6 +++ file.html 16 Sep 2002 05:06:48 -0000 1.7 @@ -3,5 +3,5 @@ <td width="100%"> <center> <TMPL_VAR NAME=FILENAME> </center> - <br /> <br /> + <br> <br> <pre> <TMPL_VAR NAME=OUTPUT> Index: file_info.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/file_info.html,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- file_info.html 13 Aug 2002 19:02:33 -0000 1.5 +++ file_info.html 16 Sep 2002 05:06:48 -0000 1.6 @@ -3,7 +3,7 @@ <td width="100%"> <form> - <input name="<TMPL_VAR NAME=LOCATION>" type="hidden" /> - <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> - <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden" /> + <input name="<TMPL_VAR NAME=LOCATION>" type="hidden"> + <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden"> + <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden"> </form> <TMPL_VAR NAME=FILENAME> Index: framework.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/framework.html,v retrieving revision 1.23 retrieving revision 1.24 diff -U2 -r1.23 -r1.24 --- framework.html 13 Aug 2002 19:04:12 -0000 1.23 +++ framework.html 16 Sep 2002 05:06:48 -0000 1.24 @@ -1,7 +1,5 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> <head> <title><TMPL_VAR NAME=TITLE></title> @@ -26,5 +24,5 @@ <tr> <td width="25%"> -   <br /> +   <br> </td> <td width="25%" align="right"> @@ -32,13 +30,13 @@ </td> <td width="25%" align="left"> - : <TMPL_VAR NAME=SUBMENU_TITLE><br /> + : <TMPL_VAR NAME=SUBMENU_TITLE><br> </td> <td width="25%"> -   <br /> +   <br> </td> </tr> <tr> <td width="25%" align="center"> -   <br /> +   <br> </td> <td width="50%" valign="middle" align="center" bgcolor="#000000" colspan="2"> @@ -54,5 +52,5 @@ </td> <td width="25%"> -   <br/> +   <br> </td> </tr> @@ -67,5 +65,5 @@ <tr> <td width="100%" align="center" valign="middle"> - <font color="#EE6666"><TMPL_VAR NAME=MESSAGE></font><br /> + <font color="#EE6666"><TMPL_VAR NAME=MESSAGE></font><br> </td> </tr> @@ -92,20 +90,20 @@ <tr> <td width="25%"> - <br /> + <br> </td> <td width="50%" align="center"> - <br /> - <br /> + <br> + <br> <table border="1" width="100%" align="center"> <tr> <td width="100%" align="center" bgcolor="#CCDDCC"> - <TMPL_VAR NAME=FOOTER><br /> + <TMPL_VAR NAME=FOOTER><br> </td> </tr> </table> - <br /> + <br> </td> <td width="25%"> - <br /> + <br> </td> </tr> @@ -114,5 +112,5 @@ <font color="#336633"> <TMPL_LOOP NAME="DEBUG"> - <b><TMPL_VAR NAME=DEBUG_MSG></b><br /> + <b><TMPL_VAR NAME=DEBUG_MSG></b><br> </TMPL_LOOP> </font> Index: login.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/login.html,v retrieving revision 1.12 retrieving revision 1.13 diff -U2 -r1.12 -r1.13 --- login.html 13 Aug 2002 19:04:12 -0000 1.12 +++ login.html 16 Sep 2002 05:06:48 -0000 1.13 @@ -7,5 +7,5 @@ <form method="post" action="<TMPL_VAR NAME=PROGNAME>" enctype="application/x-www-form-urlencoded" name="login"> -<input type="hidden" name="action" value="login" /> +<input type="hidden" name="action" value="login"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> @@ -14,5 +14,5 @@ </td> <td width="70%" align="left"> - <input type="text" name="username" size="10" /> + <input type="text" name="username" size="10"> </td> </tr> @@ -24,17 +24,15 @@ <!-- user type password here --> <td width="80%" align="left"> - <input type="password" name="password1" size="10" - onKeyUp="updateHash(password, password1, salt)" - /> + <input type="password" name="password1" size="10" onKeyUp="updateHash(password, password1, salt)"> </td> <!-- the password (MD5'ed) is here --> <td width="80%" align="left"> - <input type="hidden" name="password" size="80" /> + <input type="hidden" name="password" size="80"> </td> <!-- the the salt (or challenge) is here --> <td width="80%" align="left"> - <input type="hidden" name=salt size="80" value="<TMPL_VAR NAME=SALT>" /> + <input type="hidden" name=salt size="80" value="<TMPL_VAR NAME=SALT>"> </td> @@ -42,13 +40,10 @@ <tr> <td width="20%" align="right"> - <br /> - <input type="submit" name="Submit" value="Login" - onClick="updateHash(password, password1, salt) - password1.value='' " - /> + <br> + <input type="submit" name="Submit" value="Login" onClick="updateHash(password, password1, salt) password1.value='' "> </td> <td width="80%" align="left"> - <br /> - <input type="reset" value="Clear" /> + <br> + <input type="reset" value="Clear"> </td> </tr> Index: menu_bar.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/menu_bar.html,v retrieving revision 1.15 retrieving revision 1.16 diff -U2 -r1.15 -r1.16 --- menu_bar.html 5 Jun 2002 06:21:14 -0000 1.15 +++ menu_bar.html 16 Sep 2002 05:06:48 -0000 1.16 @@ -1,5 +1,2 @@ -<!-- <br /> <a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=main">main</a><br /> --> -<!-- <b><a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=debug">debug</a></b> | --> - <a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=sandbox">sandbox</a> @@ -8,3 +5,3 @@ <b>|</b> <a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=configuration">config</a> - <b>|</b> <a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=logout">logout</a><br /> + <b>|</b> <a href="<TMPL_VAR NAME=CGI_PATH>/<TMPL_VAR NAME=CGI_EXEC>?action=logout">logout</a><br> Index: output.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/output.html,v retrieving revision 1.4 retrieving revision 1.5 diff -U2 -r1.4 -r1.5 --- output.html 13 Aug 2002 19:02:34 -0000 1.4 +++ output.html 16 Sep 2002 05:06:48 -0000 1.5 @@ -3,9 +3,9 @@ <td width="100%"> Current filename(s) : <TMPL_VAR NAME=FILENAME> - <br /> + <br> <form> - <input name="<TMPL_VAR NAME=LOCATION>" type="hidden" /> - <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> - <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden" /> + <input name="<TMPL_VAR NAME=LOCATION>" type="hidden"> + <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden"> + <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden"> </form> <font color="#FF0000"><TMPL_VAR NAME=ERROR></font> Index: popup.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/popup.html,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- popup.html 13 Aug 2002 19:04:12 -0000 1.5 +++ popup.html 16 Sep 2002 05:06:48 -0000 1.6 @@ -26,5 +26,5 @@ <tr> <td width="25%"> -   <br /> +   <br> </td> <td width="25%" align="right"> @@ -32,16 +32,16 @@ </td> <td width="25%" align="left"> - : <TMPL_VAR NAME=SUBMENU_TITLE><br /> + : <TMPL_VAR NAME=SUBMENU_TITLE><br> </td> <td width="25%"> -   <br /> +   <br> </td> </tr> <tr> <td width="25%" align="center"> -   <br /> +   <br> </td> <td width="25%"> -   <br/> +   <br> </td> </tr> @@ -56,5 +56,5 @@ <tr> <td width="100%" align="center" valign="middle"> - <font color="#EE6666"><TMPL_VAR NAME=MESSAGE></font><br /> + <font color="#EE6666"><TMPL_VAR NAME=MESSAGE></font><br> </td> </tr> @@ -63,5 +63,5 @@ <table width="100%" align="left"> - <TMPL_VAR NAME=CONTENT><br /> + <TMPL_VAR NAME=CONTENT><br> </table> </td> @@ -73,8 +73,8 @@ <tr> <td width="25%"> - <br /> + <br> </td> <td width="25%"> - <br /> + <br> </td> </tr> @@ -83,5 +83,5 @@ <font color="#336633"> <TMPL_LOOP NAME="DEBUG"> - <b><TMPL_VAR NAME=DEBUG_MSG></b><br /> + <b><TMPL_VAR NAME=DEBUG_MSG></b><br> </TMPL_LOOP> </font> Index: rename.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/rename.html,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- rename.html 15 Aug 2002 01:09:17 -0000 1.5 +++ rename.html 16 Sep 2002 05:06:48 -0000 1.6 @@ -4,13 +4,13 @@ Rename <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> to : <form submit="<TMPL_VAR NAME=PROGNAME>" target="mainWindow" onsubmit="setTimeout('window.close()',2000)"> - <input type="hidden" name="action" value="rename" /> - <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input name="previous_url" value="<TMPL_VAR NAME=PREVIOUS_URL>" type="hidden" /> - <input name="Submit" value="1" type="hidden" /> - <input type="text" name="tofile" /> - <input type="submit" name="Submit" value="Done" /> + <input type="hidden" name="action" value="rename"> + <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input name="previous_url" value="<TMPL_VAR NAME=PREVIOUS_URL>" type="hidden"> + <input name="Submit" value="1" type="hidden"> + <input type="text" name="tofile"> + <input type="submit" name="Submit" value="Done"> </form> </td> Index: repository.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/repository.html,v retrieving revision 1.17 retrieving revision 1.18 diff -U2 -r1.17 -r1.18 --- repository.html 13 Aug 2002 19:02:34 -0000 1.17 +++ repository.html 16 Sep 2002 05:06:48 -0000 1.18 @@ -20,5 +20,5 @@ </td> <td width="90%" align="left"> - <input type="text" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> + <input type="text" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> </td> </tr> @@ -28,5 +28,5 @@ </td> <td width="90%" align="left"> - <input type="text" name="repo_server" value="<TMPL_VAR NAME=REPO_SERVER>" /> + <input type="text" name="repo_server" value="<TMPL_VAR NAME=REPO_SERVER>"> </td> </tr> @@ -36,5 +36,5 @@ </td> <td width="90%" align="left"> - <input type="text" name="repo_username" value="<TMPL_VAR NAME=REPO_USERNAME>" /> + <input type="text" name="repo_username" value="<TMPL_VAR NAME=REPO_USERNAME>"> </td> </tr> @@ -44,5 +44,5 @@ </td> <td width="90%" align="left"> - <input type="password" name="repo_password" /> + <input type="password" name="repo_password"> </td> </tr> @@ -75,5 +75,5 @@ </td> <td width="90%" align="left"> - <input type="text" name="repo_root" value="<TMPL_VAR NAME=REPO_ROOT>" /> + <input type="text" name="repo_root" value="<TMPL_VAR NAME=REPO_ROOT>"> </td> </tr> @@ -83,9 +83,9 @@ <tr> <td width="15%" align="center"> - <br /> + <br> </td> <td width="25%" align="center"> - <br /> - <input type="submit" name="Submit" Value="Commit" onClick="javascript:{doSubmit('Commit');}" /> + <br> + <input type="submit" name="Submit" Value="Commit" onClick="javascript:{doSubmit('Commit');}"> <!-- <a href="javascript:{doSubmit('Delete');}" onMouseOver="rollOver(2)" onMouseO @@ -94,8 +94,8 @@ --> - <input type="submit" name="Submit" Value="Delete" onClick="javascript:{doSubmit('Delete');}" /> + <input type="submit" name="Submit" Value="Delete" onClick="javascript:{doSubmit('Delete');}"> </td> <td width="60%" align="center"> - <br /> + <br> </td> </tr> Index: sandbox.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/sandbox.html,v retrieving revision 1.21 retrieving revision 1.22 diff -U2 -r1.21 -r1.22 --- sandbox.html 13 Aug 2002 19:02:34 -0000 1.21 +++ sandbox.html 16 Sep 2002 05:06:48 -0000 1.22 @@ -21,11 +21,11 @@ <form name="module" submit="<TMPL_VAR NAME=PROGNAME>" onsubmit="myOpenWindow()" target="popUp"> - <input type="hidden" name="action" value="sandbox" /> + <input type="hidden" name="action" value="sandbox"> <tr> <td width="20%" align="left"> - <input type="text" name="module_name" size="15" maxlength="30" /> + <input type="text" name="module_name" size="15" maxlength="30"> </td> <td width="40%" align="left"> - <input type="text" name="module_description" size="30" maxlength="45" /> + <input type="text" name="module_description" size="30" maxlength="45"> </td> <td width="25%" align="center"> @@ -37,5 +37,5 @@ </td> <td width="15%" align="center"> - <input type="submit" name="Submit" value="Checkout" /> + <input type="submit" name="Submit" value="Checkout"> </td> </tr> @@ -44,13 +44,13 @@ <tr> <td width="100%" align="left" colspan="4" bgcolor="#DDDDDD"> - <TMPL_VAR NAME="NO_MODULES"> <br /> + <TMPL_VAR NAME="NO_MODULES"> <br> </td> </tr> <form submit="<TMPL_VAR NAME=PROGNAME>" name="sandbox" target="popUp"> - <input type="hidden" name="action" value="sandbox" /> - <input type="hidden" name="Submit" value="Update" /> - <input type="hidden" name="module_name" value="0" /> - <input type="hidden" name="repo_name" value="0" /> + <input type="hidden" name="action" value="sandbox"> + <input type="hidden" name="Submit" value="Update"> + <input type="hidden" name="module_name" value="0"> + <input type="hidden" name="repo_name" value="0"> <TMPL_LOOP NAME="MODULE_LOOP"> Index: tag.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tag.html,v retrieving revision 1.14 retrieving revision 1.15 diff -U2 -r1.14 -r1.15 --- tag.html 13 Aug 2002 21:46:28 -0000 1.14 +++ tag.html 16 Sep 2002 05:06:48 -0000 1.15 @@ -3,15 +3,15 @@ <center> <form submit="<TMPL_VAR NAME=PROGNAME>"> - <input type="hidden" name="action" value="vcs" /> - <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>" /> - <input type="hidden" name="vcs_command" value="tag" /> + <input type="hidden" name="action" value="vcs"> + <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>"> + <input type="hidden" name="vcs_command" value="tag"> <TMPL_LOOP NAME="FILENAME_LOOP"> - <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> + <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> </TMPL_LOOP> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input name="Submit" value="1" type="hidden" /> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input name="Submit" value="1" type="hidden"> <tr> <td align="center"> @@ -19,6 +19,6 @@ </td> <td align="left"> - <input type="text" name="tag_sync" /> - <input type="submit" /> + <input type="text" name="tag_sync"> + <input type="submit"> </td> </td> @@ -29,6 +29,6 @@ </td> <td align="left"> - <input type="text" name="tag_switch" /> - <input type="submit" /> + <input type="text" name="tag_switch"> + <input type="submit"> </td> </td> @@ -41,5 +41,5 @@ </td> <td align="left"> - <input type="submit" name="trunk_sync" value="Submit" /> + <input type="submit" name="trunk_sync" value="Submit"> </td> </tr> @@ -49,5 +49,5 @@ </td> <td align="left"> - <input type="submit" name="trunk_switch" value="Submit" /> + <input type="submit" name="trunk_switch" value="Submit"> </td> </tr> @@ -55,5 +55,5 @@ <table width="100%" border="1" align="center" cellspacing="0" cellpadding="0"> - <hr /> + <hr> <tr> <td align="center"> @@ -61,6 +61,6 @@ </td> <td align="left"> - <input name="create_tag" type="text" /> - <input type="submit" /> + <input name="create_tag" type="text"> + <input type="submit"> </td> </tr> @@ -69,6 +69,6 @@ </td> <td align="left"> - <input name="remove_tag" type="text" /> - <input type="submit" name="Submit" /> + <input name="remove_tag" type="text"> + <input type="submit" name="Submit"> </td> <tr> Index: template.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/template.html,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- template.html 13 Aug 2002 19:02:34 -0000 1.6 +++ template.html 16 Sep 2002 05:06:48 -0000 1.7 @@ -5,5 +5,5 @@ action="<TMPL_VAR NAME=PROGNAME>" enctype="application/x-www-form-urlencoded" name="<!-- CONTENT -->"> - <input type="hidden" name="action" value="login" /> + <input type="hidden" name="action" value="login"> <table border="0"> <tr> @@ -17,5 +17,5 @@ </table> <!-- CONTENT --> - <input type="password" name="password" size="10" /> + <input type="password" name="password" size="10"> </form> </td> Index: tool_bar.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tool_bar.html,v retrieving revision 1.13 retrieving revision 1.14 diff -U2 -r1.13 -r1.14 --- tool_bar.html 13 Aug 2002 23:19:28 -0000 1.13 +++ tool_bar.html 16 Sep 2002 05:06:48 -0000 1.14 @@ -1,5 +1,5 @@ - <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> - <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> - <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> + <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>"> + <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>"> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> @@ -9,8 +9,8 @@ <tr> <td width="100%" align="center" colspan="3"> - <input type="submit" name="action" value="create_folder" accesskey="o" /> - <input type="submit" name="action" value="delete" accesskey="d" /> - <input type="submit" name="action" value="rename" accesskey="r" /> - <input type="submit" name="action" value="upload" accesskey="u" /> + <input type="submit" name="action" value="create_folder" accesskey="o"> + <input type="submit" name="action" value="delete" accesskey="d"> + <input type="submit" name="action" value="rename" accesskey="r"> + <input type="submit" name="action" value="upload" accesskey="u"> | <select name="vcs_command"> @@ -21,5 +21,5 @@ </select> - <input type="submit" name="action" value="vcs" /> + <input type="submit" name="action" value="vcs"> </td> </tr> @@ -29,5 +29,5 @@ <tr> <td width="100%"> - <br /> + <br> </td> </tr> Index: upload.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/upload.html,v retrieving revision 1.9 retrieving revision 1.10 diff -U2 -r1.9 -r1.10 --- upload.html 13 Aug 2002 19:02:34 -0000 1.9 +++ upload.html 16 Sep 2002 05:06:48 -0000 1.10 @@ -3,15 +3,15 @@ <td width="100%"> <form method="post" action="<TMPL_VAR NAME=PROGNAME>" target="mainWindow" onsubmit="setTimeout('window.close()',2000)" enctype="multipart/form-data"> -<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" /> -<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden" /> -<input name="filename" value="<TMPL_VAR NAME=FILENAME>" type="hidden" /> -<input name="Submit" value="1" type="hidden" /> -Enter a file to upload:<br /> -<input name="filehandle" type="file" /><br /> -<input name="Submit" type="submit" value="Done" /><br /> +<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"> +<input name="location" value="<TMPL_VAR NAME=LOCATION>" type="hidden"> +<input name="filename" value="<TMPL_VAR NAME=FILENAME>" type="hidden"> +<input name="Submit" value="1" type="hidden"> +Enter a file to upload:<br> +<input name="filehandle" type="file"><br> +<input name="Submit" type="submit" value="Done"><br> </form> </td> Index: vcs_output.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/vcs_output.html,v retrieving revision 1.20 retrieving revision 1.21 diff -U2 -r1.20 -r1.21 --- vcs_output.html 13 Aug 2002 19:02:34 -0000 1.20 +++ vcs_output.html 16 Sep 2002 05:06:48 -0000 1.21 @@ -3,9 +3,9 @@ <td width="100%"> Current filename(s) : <TMPL_VAR NAME=FILENAME> - <br /> + <br> <form> - <input name="<TMPL_VAR NAME=LOCATION>" type="hidden" /> - <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden" /> - <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden" /> + <input name="<TMPL_VAR NAME=LOCATION>" type="hidden"> + <input name="<TMPL_VAR NAME=FULLPATH>" type="hidden"> + <input name="<TMPL_VAR NAME=PROGNAME>" type="hidden"> </form> <font color="#FF0000"><TMPL_VAR NAME=VCS_ERROR></font> Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.51 retrieving revision 1.52 diff -U2 -r1.51 -r1.52 --- view_file.html 13 Aug 2002 19:02:34 -0000 1.51 +++ view_file.html 16 Sep 2002 05:06:48 -0000 1.52 @@ -1,4 +1,4 @@ -<input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> -<input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> +<input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> +<input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> @@ -8,5 +8,5 @@ [<a href="<TMPL_VAR NAME=PROGNAME>/<TMPL_VAR NAME=FILENAME>?action=edit_file&location=<TMPL_VAR NAME=LOCATION>&filename=<TMPL_VAR NAME=FILENAME>&module_name=<TMPL_VAR NAME=MODULE_NAME>&repo_name=<TMPL_VAR NAME=REPO_NAME>">edit</a>] </TMPL_IF> - <br /> + <br> </td> </tr> @@ -32,5 +32,5 @@ </tr> </table> - <br /> + <br> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> |
From: Rob H. <for...@us...> - 2002-09-16 05:06:52
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv1047/bin Modified Files: sandweb.cgi Log Message: making all files HTML 4.01 compliant instead of XHTML 1.0 compliant, due to non-complete XHTML compliance in Internet Explorer Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.318 retrieving revision 1.319 diff -U2 -r1.318 -r1.319 --- sandweb.cgi 12 Sep 2002 00:42:09 -0000 1.318 +++ sandweb.cgi 16 Sep 2002 05:06:47 -0000 1.319 @@ -563,5 +563,5 @@ my $content = Dumper($config, $auth, $ui, $log, $user); - $content = "Data Dump<br /><pre>" . $content . "</pre>"; + $content = "Data Dump<br><pre>" . $content . "</pre>"; print $cgi->header( -cookie => $ck_auth ); |
From: Rob H. <for...@us...> - 2002-09-12 00:42:12
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv8840/bin Modified Files: sandweb.cgi Log Message: added confirmation for file delete ( does not pay attention to config option yet ) Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.317 retrieving revision 1.318 diff -U2 -r1.317 -r1.318 --- sandweb.cgi 28 Aug 2002 00:13:03 -0000 1.317 +++ sandweb.cgi 12 Sep 2002 00:42:09 -0000 1.318 @@ -346,11 +346,23 @@ @filename = $cgi->param('filename'); - delete_commit( - ck_auth => $ck_auth, - filename => \@filename, - module_name => $module_name, - repo_name => $repo_name, - location => $location, - ); + if ($submit) { + delete_commit( + ck_auth => $ck_auth, + filename => \@filename, + module_name => $module_name, + repo_name => $repo_name, + location => $location, + main_window_url => $main_window_url, + ); + } else { + delete_menu( + ck_auth => $ck_auth, + filename => \@filename, + module_name => $module_name, + repo_name => $repo_name, + location => $location, + ); + } + exit; } elsif ( $action eq 'rename' ) { @@ -1301,4 +1313,88 @@ ############################################################################### +# delete menu +# +# confirms deletion of file(s) or folder(s) +# +# args: +# ck_auth - the sessions cookie +# location - system path to the file(s) specified by filename +# repo_name - name of the current repository. +# module_name - name of the current module. +# users_dir - location of user sandbox directories. +############################################################################### + +sub delete_menu { + my %args = @_; + + my $ck_auth = $args{'ck_auth'}; + my $location = $args{'location'}; + my $module_name = $args{'module_name'}; + my $repo_name = $args{'repo_name'}; + my $main_window_url = "$ENV{'HTTP_REFERER'}"; + my @filename_loop = (); + my $count = 0; + + while ( $args{'filename'}->[$count] ) { + # build loop to pass filenames through template + # + my %entry; + $entry{'FILENAME'} = $args{'filename'}->[$count]; + push (@filename_loop, \%entry); + $count++; + } + + my @filename = (); + $count = 0; + + while ( $args{'filename'}->[$count] ) { + push (@filename, $args{'filename'}->[$count]); + $count++; + } + + unless ( @filename || @filename eq '.' ) { + $log->debug("no file was selected for delete"); + my $content = $ui->get_menu( + MENU => 'output', + LOCATION => $location, + FILENAME => '', + PROGNAME => $progname, + OUTPUT => "Please select file or folders to delete", + ERROR => "No files selected", + ); + print $cgi->header( -cookie => $ck_auth ); + $ui->print_popup( + TITLE => 'SandWeb : delete', + MENU_TITLE => 'SandWeb', + SUBMENU_TITLE => 'delete', + FOOTER => '', + CONTENT => $content, + MESSAGE => $message, + ); + + exit; + } + + my $content = $ui->get_menu( + MENU => 'delete', + PROGNAME => $progname, + LOCATION => $location, + FILENAME_LOOP => \@filename_loop, + MODULE_NAME => $module_name, + REPO_NAME => $repo_name, + MAIN_WINDOW_URL => $main_window_url, + ); + print $cgi->header( -cookie => $ck_auth ); + $ui->print_popup( + TITLE => 'SandWeb : delete', + MENU_TITLE => 'SandWeb', + SUBMENU_TITLE => 'delete', + FOOTER => '', + CONTENT => $content, + MESSAGE => $message, + ); +} + +############################################################################### # rename file menu # @@ -1548,7 +1644,7 @@ my $content = $ui->get_menu( MENU => 'tag', - FILENAME_LOOP => \@filename_loop, PROGNAME => $progname, LOCATION => $location, + FILENAME_LOOP => \@filename_loop, MODULE_NAME => $module_name, REPO_NAME => $repo_name, @@ -1602,7 +1698,7 @@ my $content = $ui->get_menu( MENU => 'branch', - FILENAME_LOOP => \@filename_loop, - LOCATION => $location, PROGNAME => $progname, + LOCATION => $location, + FILENAME_LOOP => \@filename_loop, MODULE_NAME => $module_name, REPO_NAME => $repo_name, @@ -1705,5 +1801,5 @@ my $repo_name = $args{'repo_name'}; my $module_name = $args{'module_name'}; - my $prev_url = "$ENV{'HTTP_REFERER'}"; + my $main_window_url = $args{'main_window_url'}; my @filename = (); my $count = 0; @@ -1788,5 +1884,5 @@ MENU_TITLE => 'SandWeb', SUBMENU_TITLE => "delete file", - PREVIOUS_URL => $prev_url, + PREVIOUS_URL => $main_window_url, FOOTER => '', CONTENT => $content, |
From: Rob H. <for...@us...> - 2002-09-12 00:42:12
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv8840/templates Added Files: delete.html Log Message: added confirmation for file delete ( does not pay attention to config option yet ) --- NEW FILE --- <table width="100%" border="1" align="center" cellspacing="0" cellpadding="0"> <tr> <center> <form submit="<TMPL_VAR NAME=PROGNAME>"> <input type="hidden" name="action" value="delete" /> <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>" /> Are you sure you want to delete : <br> <TMPL_LOOP NAME="FILENAME_LOOP"> <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> <br> </TMPL_LOOP> <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> <input type="hidden" name="module_name" value="<TMPL_VAR NAME=MODULE_NAME>" /> <input type="hidden" name="repo_name" value="<TMPL_VAR NAME=REPO_NAME>" /> <input name="Submit" value="1" type="submit" value="Done" /> </form> </center> </tr> </table> |
From: Rob H. <for...@us...> - 2002-09-05 02:07:56
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv28713/lib/SandWeb Modified Files: Diff.pm Log Message: Diff class is now able to handle dos-style EOL characters, and returns a friendlier message if there are no changes \( rather than returning nothing at all \) Index: Diff.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Diff.pm,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- Diff.pm 19 Jun 2002 07:08:59 -0000 1.8 +++ Diff.pm 5 Sep 2002 02:07:53 -0000 1.9 @@ -47,5 +47,19 @@ my $input = $self->{'diff'}; - my @diff = split(/\n/, $input); + + my @diff; + + if ( $input =~ "\n" ) { + # this will work if the end-of-line character is a linefeed ( unix-style ) + @diff = split('\n', $input); + } else { + # if the above did not work, try carriage-return ( dos-style ) + @diff = split(' ', $input); + } + + # if @diff is empty, it's ok, maybe there just is nothing to diff + unless ( $diff[0] ) { + return "No changes found."; + } shift @diff; |
From: Rob H. <for...@us...> - 2002-09-03 20:31:34
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv11496 Modified Files: configuration.html Log Message: added checkboxes for prompting of VCS password and file deletion. They are not hooked up yet, purely cosmetic. Index: configuration.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/configuration.html,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- configuration.html 13 Aug 2002 19:02:33 -0000 1.3 +++ configuration.html 3 Sep 2002 20:31:27 -0000 1.4 @@ -10,4 +10,18 @@ </td> </tr> + <td width="20%" align="right"> + Prompt for VCS password : + </td> + <td width="80%" align="left"> + <input type="checkbox" name="prompt_vcs" value="<TMPL_VAR NAME=FULL_NAME>" /> + </td> + </tr> + <td width="20%" align="right"> + Prompt for file deletion : + </td> + <td width="80%" align="left"> + <input type="checkbox" name="prompt_delete" value="<TMPL_VAR NAME=FULL_NAME>" /> + </td> + </tr> <table width="100%" align="center" border="0"> <tr> |