Share

SandWeb

File Release Notes and Changelog

Release Name: 1.0RC1

Notes: SandWeb 1.0RC1 Released This is the first release candidate! If we don't find any show-stopper bugs, then this will be 1.0! Big changes : * All known security bugs squashed * Global timeout for CVS operations added to sandweb.cfg * Fixed timeout problems in Expect script


Changes: 2003-03-31 19:06 formnull * INSTALL: cool, the only known issue that was our fault was already fixed :) booyah! 2003-03-31 18:53 formnull * INSTALL: added known issue 2003-03-31 18:46 formnull * bin/sandweb.cgi, debian/sandweb.cfg, etc/sandweb.cfg, lib/SandWeb/Repository.pm, lib/SandWeb/Shell.pm, lib/SandWeb/Repository/cvs.pm: made timeout a global option, now you can easily set a number of seconds in the sandweb.cfg and CLI ops will time out at that time ( prevents runaway CVS/SSH processes and such ). Default is 300 seconds ( 5 minutes ). 2003-03-31 17:21 formnull * bin/sandweb-editor, bin/sandweb-expect, bin/sandweb-ssh, lib/SandWeb/Repository/cvs.pm, tools/install_script.pl: finally! conquered SSH host key checking and Expect. We need a wrapper around SSH for SandWeb to use, so we can pass the "-o StrictHostKeyChecking no" option ( works in both OpenSSH and SSH.com versions ). This eliminates the timeouts and complexity in sandweb-expect. 2003-03-05 00:41 formnull * lib/SandWeb/Security.pm: hmm.. i think "/" is a safe character, we need it for CVSROOT anyway. 2003-03-05 00:31 formnull * bin/sandweb.cgi: erase alot of unsafe characters, should prevent any security breaches. 2003-03-05 00:19 formnull * lib/SandWeb/: Security.pm, Repository/cvs.pm: added some much-needed security - now Security->shell() just erases unsafe characters, and tag complains if you don't enter a tag name. It's possible for the user to enter an invalid tag name ( e.g. begins with a number or - or _ ) but they shouldn't be able to make arbitrary calls to the shell. 2003-03-03 23:19 formnull * bin/sandweb-editor, lib/SandWeb/Repository/cvs.pm, tools/install_script.pl: ah, another standalone binary that SandWeb depends on :) This is a shell script that acts as CVSEDITOR. So, instead of dealing with the security nightmare of passing the commit message on the command line (cvs commit -m "$message"), now we can just (CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR ) first, and write the commit message to $sandweb_dir/commitmsg This is very similar to the way we pass the VCS password to sandweb-expect (that's where I got the inspiration from). 2003-02-28 03:04 formnull * lib/SandWeb/Browse.pm: fix the bug that prevented browse_menu from not showing anything when pointing at a module that just contained a single directory, turns out we weren't escaping the . character when trying to get rid of the "." and ".." dirs (we don't need those, we have the location bar ). closing associated bug on sf.net ( bug#692770 ) 2003-02-24 18:59 formnull * NEWS: oops, forgot to update news file :P oh well, not a huge deal, we\'ll probably end up doing another beta at some point. 2003-02-23 23:01 formnull * ChangeLog: updating changelog again.. :) 2003-02-23 23:00 formnull * INSTALL: updating known issues 2003-02-23 22:59 formnull * ChangeLog: updating for beta release 2003-02-23 22:58 formnull * ChangeLog, INSTALL: getting ready for beta.. 2003-02-10 22:37 formnull * lib/SandWeb/: Security.pm, Repository/cvs.pm: fixed security problem, only way around it apparently is to not allow " :( 2003-02-09 23:20 formnull * ChangeLog: Changelog generated by cvs2cl for BETA-1 2003-02-09 23:15 formnull * etc/sandweb.cfg: turning debug off by default 2003-02-09 23:15 formnull * lib/SandWeb/Repository/cvs.pm: finally got the damn quote escaping right, should be able to prevent attempts to get directly to the shell. 2003-02-04 14:14 formnull * INSTALL: added bash as a required Unix program 2003-02-03 14:37 formnull * INSTALL: oops, expect link was wrong. corrected. 2003-02-03 12:56 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/cvs.pm: * made vcs edit subroutine exit, so it doesn't print the page twice * made "watch" work, but it's a complex command and needs it's own menu. * disabled "watch", "watchers", "import" 2003-02-02 15:59 formnull * README: updated README to make it match the reality of the BETA release 2003-02-02 15:39 formnull * bin/sandweb.cgi: it's now possible to do this : 1) delete existing checkout 2) immediately check out a module with the same name without it being deleted immediately because the URL bar still has "commit=Delete" on it when the popUp refreshes the main window. 2003-01-31 23:20 formnull * debian/control: working on debian package correctness ( using lintian ) 2003-01-31 19:42 formnull * lib/SandWeb/Shell.pm: better fix for avoiding SSH output but still getting CVS output. 2003-01-31 18:54 formnull * debian/control: changed maintainer name/email to "SandWeb Developers" <sandweb-devel@lists.sf.net> 2003-01-30 22:49 formnull * lib/SandWeb/Shell.pm: I was shifting one too many lines, we were missing some errors! :o ( like when you try to commit a file you didn't see why it failed if it hadn't been added ) 2003-01-30 22:46 formnull * lib/SandWeb/: Shell.pm, Repository/cvs.pm: oh, duh, this is why spaces in commit msgs work again, I fixed it on bart the other day :) also, Shell now doesn't display the "hostkey accepted" message for DSA as well as RSA keys. 2003-01-25 21:46 formnull * lib/SandWeb/Shell.pm, templates/commit.html: * commit wasn't passing the password through in a POST, so, if you weren't saving the repo password, then it would fail with "permission denied" :( now it's fixed though :) * we now get decent error reporting from sandweb-expect, hurrah! 2003-01-25 21:42 formnull * lib/SandWeb/Log.pm: oops, misplaced =cut for POD caused code brrreakage! 2003-01-23 09:36 formnull * lib/SandWeb/Log.pm: added API doc for "get_debug_msgs" method 2003-01-23 00:16 formnull * bin/sandweb-expect, lib/SandWeb/Shell.pm: * can now handle accepting hostkey * reports login errors correctly caveat - it times out after 10 seconds for the initial password attempt, and expects the hostkey question instead. there _must_ be a way to do "expect this or that" in expect, instead of the "expect this until timeout, expect this until timeout". I'll keep looking. 2003-01-23 00:15 formnull * templates/popup.html: html 4.01 transitional, not xhtml 1.0 transitional 2003-01-23 00:14 formnull * debian/: dirs, rules: * perl mods no longer install to /usr/local * /var/log/sandweb.log gets touched and owned by www-data 2003-01-22 23:16 formnull * debian/rules: this is needed for the .deb package to work! 2003-01-21 22:55 formnull * templates/: commit.html, configuration.html, create_file.html, create_folder.html, delete.html, rename.html, vcs.html: improving alignment of "Go" button 2003-01-21 22:53 formnull * bin/sandweb.cgi: removing unneeded param from commit menu 2003-01-21 22:49 formnull * lib/SandWeb/Log.pm: oops, somehow inadvertantly removed a method when I was adding POD :O 2003-01-19 03:17 formnull * templates/configuration.html: fixed config_menu bug, pressing enter in the input field wasn't submitting the form. 2003-01-17 12:07 formnull * debian/rules: oops, sandweb libs were being directly installed :O so they would only be on the machine you made the deb pkg on, not in the pkg itself. I made the rules file specify "PREFIX", but "SITEPREFIX" is still making everything go into /usr/local/ ( at least it's inside the package this time ), which violates Debian policy. I'll take a closer look at the build system. 2003-01-17 11:33 formnull * MANIFEST: pop_up-header/footer no longer used 2003-01-14 01:53 formnull * lib/SandWeb.pm: changing private methods to comments instead of pod 2003-01-14 01:49 formnull * lib/: SandWeb.pm, SandWeb/Config.pm, SandWeb/File.pm, SandWeb/File/Unix.pm: ugh, can't sleep, documenting sandweb 2003-01-13 23:25 formnull * lib/SandWeb/: Diff.pm, File.pm, Security.pm, Shell.pm: ugh.. so much work. almost done getting everything into the standard API doc format, I'll finish that tomorrow, then it's just making sure that all documented methods and params match up with actual methods and params 2003-01-13 23:17 formnull * lib/SandWeb/: Log.pm, UI.pm, Auth/FlatFile.pm, File/Unix.pm: corrected about half of the API docs, needs more work :P I'm just going through everything and making sure the docs match reality. 2003-01-13 16:57 formnull * templates/tool_bar.html: ah, finally got all the images to align with the text, looks nice now :) 2003-01-13 16:46 formnull * lib/SandWeb.pm, lib/SandWeb/UI.pm, templates/framework.html: this change causes the SandWeb logo to load at the top of the screen. 2003-01-13 16:27 formnull * images/: go.png, go.xcf: hmm.. i like this go button better so far 2003-01-13 16:11 formnull * images/: create_folder.png, create_folder.xcf, delete.png, delete.xcf, go.png, go.xcf, rename.png, rename.xcf, sandweb-logo.png, upload.png, upload.xcf: added a "final background" layer, which matches the color of SandWeb's default background. this silliness is to deal with the fact that IE 5 can't handle transparencies in PNGs, and it just looks silly.. also, experimenting with having a full-size "go" button, I think it'll be ugly but might as well try it. 2003-01-13 12:13 formnull * images/: create_folder.png, create_folder.xcf, delete.png, delete.xcf, font.txt, go.png, go.xcf, rename.png, rename.xcf, upload.png, upload.xcf: made the font a bit better 2003-01-13 12:00 formnull * images/: delete.png, delete.xcf, go.png, go.xcf, rename.png, rename.xcf, upload.png, upload.xcf: added nice beveled edges 2003-01-13 11:40 formnull * images/: create_folder.png, create_folder.xcf: Nice beveled edges! 2003-01-13 11:17 formnull * images/: create_folder.png, create_folder.xcf, delete.png, delete.xcf, font.txt, go.png, go.xcf, rename.png, rename.xcf, sandweb-logo.png, upload.png, upload.xcf: created new images, better font/background 2003-01-13 00:32 formnull * bin/sandweb.cgi, templates/branch.html, templates/commit.html, templates/configuration.html, templates/create_file.html, templates/create_folder.html, templates/delete.html, templates/rename.html, templates/sandbox.html, templates/tag.html, templates/tool_bar.html, templates/upload.html: ah, fixed the remaining bugs I know about right now - * removed the "submit" attribute from the <form> tag everywhere so IE will ( hopefully ) work, required removing PROGNAME HTML::Template variable from sandweb.cgi in some places * made it so popups that are supposed to close after being used ( upload, rename, create_folder ) actually works with the new HREF submits. 2003-01-13 00:10 formnull * bin/sandweb.cgi: removing all ( already commented-out ) references to popup-header/footer.html 2003-01-13 00:09 formnull * templates/: popup_header.html, popup_footer.html: these are no longer needed, if you want to do a popup just include the openwindow.js file. 2003-01-13 00:07 formnull * bin/sandweb.cgi, templates/browse_module.html, templates/openwindow.js, templates/sandbox.html, templates/tool_bar.html, templates/view_file.html: figured out why IE wasn't working with "update" in sandbox_menu ( it seems to choke on the submit attribute in form tags, very strange ), and I also was having trouble with the pop-up happening in other areas of the site since the switchover to HREFs instead of <input>s. I am removing popup_header and popup_footer, and instead doing it the same way Nick did the update HREF in sandbox_menu, when I looked at the two I realized the openwindow.js is _much_ clearer. 2003-01-12 17:34 formnull * templates/popup_header.html: so weird.. IE doesn't seem to like having the "submit" attribute in the form tag. It's not a huge deal, I guess, default is to send it back to the CGI from whence it came. It'll be an issue if someone wants to have multiple CGIs I guess, I could see this being useful for tying into a bugtracker or something, but we can burn that bridge when we come to it. I'm just going to remove the "submit" attribute for now, until I can figure out what it is IE is choking on. 2003-01-12 17:33 formnull * templates/vcs.html: wow, there was a bug that actually caused the filename to be displayed in ie and konqueror! ( the variable name was "filename" instead of "password" ). I'm amazed that 1) it worked at all 2) it didn't show up in mozilla <shrug> 2003-01-12 17:09 formnull * templates/login.html: this change lets konqueror log in, and doesn't seem to break the other browsers. konqueror acts seriously weird with sandweb though.. i'll see if i can get it working before beta, I dunno though.. we should still only "officially" support IE and Mozilla for now methinx.. 2003-01-12 03:15 formnull * debian/: changelog, control, copyright, dirs, install.cfg, rules, sandweb-doc.files, sandweb.cfg: we can now make a working debian package out of sandweb, with the addition of this sandweb/ dir. note - this could be made better with some improvements to sandweb's build system. it's not a huge deal, but there's some redundancy ( i put a seperate copy of install.cfg and sandweb.cfg in here, these need to be kept up to date which is kind of a pain ). 2003-01-12 03:12 formnull * MANIFEST: dependencies.list is no more 2003-01-12 03:12 formnull * bin/sandweb-admin: made it so password is not echoed, and it makes the user dir group writable too 2003-01-11 21:30 formnull * lib/SandWeb/: Config.pm, Shell.pm, Repository/cvs.pm: fixed some silly whitespace and typo errors that was causing POD->text conversion to fail. fixed. 2003-01-11 21:13 formnull * lib/SandWeb/: Repository.pm, Auth/FlatFile.pm, File/Unix.pm, Repository/cvs.pm: better formatting; now the API doc section for each method is right above that method in the code. 2003-01-06 19:56 formnull * INSTALL: corrected the site for the "file" program, it's a seperate project. I always thought it was part of GNU binutils. it's actually a seperate project, released under the BSD license. Interesting. 2003-01-06 19:50 formnull * INSTALL: on second that, dependencies.list is redundant. I merged it's info into INSTALL, so now we have good dependency info, right where a new SandWeb admin will look when they go to install. 2003-01-06 01:51 formnull * MANIFEST: API docs removed. 2003-01-06 01:49 formnull * lib/SandWeb/: Repository.pm, Auth/FlatFile.pm, File/Unix.pm, Repository/cvs.pm: all API docs transferred from docs/API to POD. some need to be formatted better, and some of the docs are incomplete, but it's really close now :) 2003-01-06 01:46 formnull * lib/SandWeb/: Log.pm, Security.pm, Shell.pm, UI.pm: catching up more PODs to the state of the API docs.. 2003-01-06 01:41 formnull * lib/SandWeb/: Auth.pm, Browse.pm, Diff.pm, File.pm: started copying the real API docs into the files as POD 2003-01-06 01:26 formnull * bin/sandweb.cgi: quick&dirty POD conversion, mostly just encapsulated important comments. 2003-01-06 01:02 formnull * templates/framework.html, tools/install_script.pl, tools/instimages.pl: made it possible to install the image dir as part of the standard sandweb install, also backed the logo image out of framework.html ( need to investigate the ramifications of this more ) 2003-01-06 00:51 formnull * etc/sandweb.cfg: adding "image_dir" 2003-01-06 00:17 formnull * install.cfg: adding imgdir to install.cfg 2003-01-06 00:15 formnull * tools/instimages.pl, MANIFEST, tools/install_script.pl: working on getting images to install 2003-01-06 00:07 formnull * bin/sandweb.cgi, templates/branch.html, templates/create_file.html, templates/create_folder.html, templates/framework.html, templates/tag.html: general image cleanup, making sure things are laid out OK 2003-01-06 00:06 formnull * images/: sandweb-logo.jpg, sandweb-logo.png: grabbed the sandweb logo and put it on a transparent background, cleaned it up as best I could. 2003-01-05 20:02 formnull * images/: create_folder.png, create_folder.xcf, delete.png, delete.xcf, font.txt, go.png, go.xcf, rename.png, rename.xcf, upload.png, upload.xcf: these look a little better, still off center though 2003-01-05 17:25 formnull * bin/sandweb.cgi, templates/commit.html, templates/configuration.html, templates/create_file.html, templates/create_folder.html, templates/delete.html, templates/rename.html, templates/repository.html, templates/upload.html, templates/vcs.html: images are implemented, the installer needs some work to really support it ( the image_dir is configurable in the /etc/sandweb.cfg ) and the "Go" button _really_ sucks, but here it is :) 2003-01-05 16:35 formnull * templates/: delete.html, repository.html, repository.js, submitform.js, tool_bar.html, vcs.html: * fixed repository commit stuff, just needed a hidden variable defined on the form so I could redifine it in javascript :) it uses anchor tags now * started working on image integration 2003-01-05 16:29 formnull * images/: go.xcf, go.png: simple "go" button 2003-01-05 14:19 njennings * bin/sandweb.cgi: added some debugging messages, and some parsing fixes. 2003-01-05 14:18 njennings * tools/: install_script.pl, instcachedir.pl: added some error checking in install scripts to help with permissions problems, and stuff. 2003-01-05 13:37 formnull * templates/submitform.js: uncommenting submit subroutine, just not calling it from doSubmit 2003-01-05 13:33 formnull * templates/submitform.js: we don't need to do document.repository.submit() here, pressing the submit input button in the repository.html does that for us. 2003-01-05 12:59 njennings * templates/sandbox.html: * vertically aligned table layout to make things line up evenly 2003-01-05 00:59 formnull * lib/: SandWeb.pm, SandWeb/Auth.pm, SandWeb/Browse.pm, SandWeb/Config.pm, SandWeb/Diff.pm, SandWeb/File.pm, SandWeb/Log.pm, SandWeb/Repository.pm, SandWeb/Security.pm, SandWeb/Shell.pm, SandWeb/UI.pm, SandWeb/Auth/FlatFile.pm, SandWeb/File/Unix.pm, SandWeb/Repository/cvs.pm: beginning of POD docs 2003-01-04 21:12 formnull * MANIFEST: removing files that aren't used anymore 2003-01-04 15:10 formnull * bin/sandweb.cgi: fixed a bug with trunk switch/sync in tag_menu and branch_menu, I was passing the value of the submit button as a tag name, ( like the way we do it with input fields for tag/branch switch/sync ), when I should have just been doing "cvs update -A" ( -A is reset, you just set "reset => 1" in a Repository object to do this ). 2003-01-04 15:08 formnull * etc/repository.cfg: adding "remember_password" attribute to repository tag 2003-01-04 14:55 formnull * templates/: repository.html, submitform.js: this seems to fix problems with IE and the repository_menu, needs more testing to make sure it doesn't affect anything else. mozilla 1.3 seems to work fine without any intervention on my part, i wonder if the problems we saw before were due to bugs? i'm going to pull a build of moz 1.0 to find out. 2002-12-30 22:31 formnull * lib/SandWeb/Shell.pm: cool, this is a great place to put the timeout. default timeout for shell commands is now 5 minutes, only thing now is to move this as a config option into sandweb.cfg ( hmm.. this *could* be user configurable I guess, will make it just system config tomorrow and think about user config ) 2002-11-09 00:31 formnull * bin/sandweb.cgi: this makes the main window refresh when remember_vcs_password is enabled ( vcs_menu calls vcs_commit directly in this case, instead of asking for the password and letting the CGI take care of it ). The call to vcs_commit in vcs_menu was missing the main_window_url parameter. 2002-11-07 00:01 formnull * lib/SandWeb/Repository.pm, lib/SandWeb/Shell.pm, lib/SandWeb/Repository/cvs.pm, bin/sandweb-expect, bin/sandweb.cgi: this checkin enables : * vcs password support for tag/branch * security problem with sandweb-expect ( password showing up in process list ) is solved 2002-11-06 14:57 formnull * bin/sandweb.cgi: hmm, i had accidently commented out the filename that is passed if the user DOES opt to save their password, now it works both ways ( with or without remember_repo_password set ) 2002-11-06 14:44 formnull * bin/sandweb.cgi: ok, now the sandbox_commit can handle vcs passwords, I made it go through the vcs_menu subroutine instead of calling Repository itself ( because then I'd have to copy&paste the whole password checking thing, which is not very re-useful. 2002-11-05 21:54 formnull * bin/sandweb-expect: improved error handling muchly, now fails _correctly_ if the password is false, instead of hanging indefinitely (!) 2002-11-05 21:34 formnull * bin/sandweb.cgi, templates/vcs.html: the "ask every time for repo password" functionality is implemented. not as hard as I thought it was going to be :) 2002-11-05 21:18 formnull * bin/sandweb.cgi: passwords are now remembered on a per-repository basis. 2002-11-05 21:17 formnull * lib/SandWeb/Config.pm: we should allow null values, some attributes don't need to exist if they are not being used ( like remember_repo_password ) 2002-11-05 13:12 formnull * bin/sandweb.cgi, templates/vcs.html: oh yeah, that's how you pass an array through a template, using a template loop. when $cgi->param() finds multiple keys in an incoming url ( or HTTP POST ), it puts then together into an array. 2002-11-05 00:45 formnull * bin/sandweb.cgi, templates/vcs.html: hmm.. i had broken the passing of the file array, so every cvs command was invoked on every file. i fixed that, but now i can only do either single files or everything :/ passing arrays through templates as hidden <input> variables is a pain in the ass, but we don't really have a better way yet :) i'll fix it up later, all the password stuff isn't actually hooked up yet anyway so i need to work on that still. 2002-11-05 00:37 formnull * bin/sandweb.cgi, templates/vcs.html: partially implemented password confirmation for vcs, this actually is easier than do some kind of master password scheme ( at least the same amount of work ). 2002-10-17 00:15 formnull * lib/SandWeb/ErrHndlr.pm: we've implemented this in the CGI, not sure it's needed. 2002-10-17 00:01 formnull * lib/SandWeb/Repository/cvs.pm: typo - should be "SandWeb::Security", not "SandWeb::Secure" :) 2002-10-16 23:31 formnull * bin/sandweb.cgi: when done with configuration_commit, go back to configuration_menu instead of sandbox_menu 2002-10-07 11:35 formnull * lib/SandWeb/Config.pm: needed for remember_repo_password feature 2002-10-06 23:53 formnull * bin/sandweb.cgi, templates/repository.html: 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. 2002-10-06 00:12 formnull * templates/: delete.html, repository.html: * changed "Done" to "Ok" in delete.html * changed "Commit" to "Save" in repository.html * added "Remember password" checkbox in repository.html 2002-10-05 11:36 formnull * etc/user.cfg: added commit_delete option 2002-10-05 11:35 formnull * lib/SandWeb/Shell.pm: correcting comments 2002-10-05 11:32 formnull * bin/sandweb.cgi: confirm_delete is hooked up, working and tested. 2002-10-04 22:57 formnull * bin/sandweb.cgi, templates/configuration.html: 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. 2002-10-04 22:34 formnull * bin/sandweb.cgi: 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 :) 2002-09-23 12:07 formnull * templates/login.html: somehow broke the login when I worked on HTML 4 compliancy. trying again, seems to be ok now. 2002-09-17 13:59 formnull * templates/configuration.html: needed so "confirm_delete" won't break 2002-09-15 22:30 formnull * bin/sandweb.cgi, etc/user.cfg, lib/SandWeb/Config.pm: 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. 2002-09-15 22:06 formnull * bin/sandweb.cgi, templates/branch.html, templates/browse_module.html, templates/commit.html, templates/configuration.html, templates/create_file.html, templates/create_folder.html, templates/delete.html, templates/edit_file.html, templates/file.html, templates/file_info.html, templates/framework.html, templates/login.html, templates/menu_bar.html, templates/output.html, templates/popup.html, templates/rename.html, templates/repository.html, templates/sandbox.html, templates/tag.html, templates/template.html, templates/tool_bar.html, templates/upload.html, templates/vcs_output.html, templates/view_file.html: making all files HTML 4.01 compliant instead of XHTML 1.0 compliant, due to non-complete XHTML compliance in Internet Explorer 2002-09-11 17:42 formnull * bin/sandweb.cgi, templates/delete.html: added confirmation for file delete ( does not pay attention to config option yet ) 2002-09-04 19:07 formnull * lib/SandWeb/Diff.pm: 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 \) 2002-09-03 13:31 formnull * templates/configuration.html: added checkboxes for prompting of VCS password and file deletion. They are not hooked up yet, purely cosmetic. 2002-08-27 17:13 formnull * bin/sandweb.cgi: view_file now checks to see if the current file exists or not. 2002-08-25 23:59 formnull * MANIFEST, lib/SandWeb/Browse.pm, lib/SandWeb/Security.pm, lib/SandWeb/File/Unix.pm, lib/SandWeb/Repository/cvs.pm: adding Security class, centralizes standard security checks for user input in SandWeb 2002-08-16 19:14 formnull * lib/SandWeb/Repository/cvs.pm: check for bad shell characters and escape them, for commit() and tag() methods ( the only ones that accept user input) 2002-08-16 16:19 formnull * lib/SandWeb/Repository/cvs.pm: fixed the commit bug, appears to have been a quoting issue in Repository/vcs.pm ... now uses single quotes instead of trying to pass double quotes through all those layers 2002-08-15 01:19 formnull * NEWS: ugh, I somehow introduced a bug in SandWeb, I should stop working on SandWeb using SandWeb until it's fixed.. ugh. rolling NEWS back to r1.2 2002-08-15 01:17 formnull * NEWS, README: added 2002-08-15 01:02 formnull * install.cfg, etc/sandweb.cfg, templates/repository.js: oops, did not mean to check hat stuff in 2002-08-15 01:00 formnull * install.cfg, etc/sandweb.cfg, lib/SandWeb/Repository/cvs.pm, templates/repository.js: lib/SandWeb/Repository/cvs.pm 2002-08-14 20:36 formnull * lib/SandWeb/Shell.pm: hmm.. stripping characters is bad for binaries :) 2002-08-14 20:13 formnull * bin/sandweb.cgi: ack, broke the build :P needed a curly brace, not ) 2002-08-14 19:46 formnull * images/: create_folder.png, create_folder.xcf, delete.png, delete.xcf, font.txt, rename.png, rename.xcf, sandweb_button.xcf, upload.png, upload.xcf: adding images, these aren't part of the build or anything yet, they are just there. 2002-08-14 18:09 formnull * bin/sandweb.cgi, templates/create_folder.html, templates/rename.html: rename and create_folder now redirect to the main window properly, avoiding confusing side effects 2002-08-13 23:01 formnull * lib/SandWeb/File/Unix.pm: checks for null ( so tests don't fail ) 2002-08-13 22:57 formnull * templates/repository.js: oops, didn't mean to check my hack in 2002-08-13 19:13 formnull * t/: file.t, repository.t: corrected tests! 2002-08-13 18:35 formnull * bin/sandweb.cgi: we weren't exiting if a user tried selected delete from the toolbar file cmds when no files were selected, resulting in a weird looking error page ( both pages were printed, so you saw the headers from the "good" result page ) and errors about non-initialized values 2002-08-13 16:19 formnull * lib/SandWeb/File.pm, templates/tool_bar.html: create_file isn't useful without the inline editor. disabling, for now. also, noticed that tool_bar should be alot more modular, it's supposed to be told what buttons it has, I guess that's not implemented yet :) 2002-08-13 14:46 formnull * bin/sandweb.cgi, templates/branch.html, templates/tag.html: corrected "multi-file" problem, since tag and branch have their own menu, I needed to do a template loop to pass the filename array through the template ( as seperate filename attributes ) 2002-08-13 12:51 formnull * bin/sandweb.cgi: multi-file delete works now, wasn't catching the @filename array properly 2002-08-13 12:29 formnull * bin/sandweb.cgi: correcting debug message 2002-08-13 12:16 formnull * install.cfg: fixed 2002-08-13 12:13 formnull * README: updated 2002-08-13 12:04 formnull * templates/: framework.html, login.html, popup.html, popup_header.html: changes for xhtml 1.0 ( aka valid, well-formed html 4.01 ) compliance 2002-08-13 12:02 formnull * templates/: branch.html, browse_module.html, commit.html, configuration.html, create_file.html, create_folder.html, current_location.html, edit_file.html, file.html, file_info.html, framework.html, login.html, output.html, popup.html, rename.html, repository.html, repository.js, sandbox.html, tag.html, template.html, tool_bar.html, upload.html, vcs_output.html, view_file.html: changes for xhtml 1.0 compliance 2002-08-12 23:42 formnull * bin/sandweb.cgi: disabling inline editor 2002-08-12 20:22 formnull * lib/SandWeb/UI.pm: malformed tag prevented "SandWeb" in footer from being a valid link in IE 2002-08-12 20:03 formnull * templates/current_location.html: cool, made the current_location bar look ok in IE. It was nested pretty deep into it's own table, and the tags weren't nested correctly. I took it out of it's own table, because I don't think there is any point to it right now ( the appearance is identical without the table, it seemed to be nesting the tags properly that "fixed" it ). 2002-08-12 18:53 formnull * bin/sandweb.cgi: tag/branch_menu weren't passing along the location of the file.. only noticed this because I went a couple levels deep and tried to force a file to the trunk ( I use branch for this alot, not sure how intuitive that is ). 2002-08-11 22:17 formnull * bin/sandweb.cgi: correcting comments/debug output to say "file(s)" not "file" 2002-07-31 12:46 formnull * lib/SandWeb/File/Unix.pm: fixed bug in _do_write that was preventing edit/upload from working 2002-07-29 10:46 formnull * lib/SandWeb/File/Unix.pm: all locations/filenames should be quoted before being passed to the shell so that we don't encounter problems with spaces in filenames or directories. 2002-07-29 10:41 formnull * lib/SandWeb/Browse.pm: checks for unsafe HTTP characters in filenames - rf. RFC 2068 http://www.w3c.org/Protocols/rfc2068/rfc2068 This means that you can view and manipulate .# files.. yay :) 2002-07-26 18:47 formnull * lib/SandWeb.pm: next version is going to be BETA, updating version number 2002-07-21 12:54 formnull * lib/SandWeb/File/Unix.pm: fixed a silly download bug ( should've been using the private "_do_file_read" method, and was forgetting to pass location/filename ) 2002-07-21 12:53 formnull * templates/: output.html, vcs_output.html: changed "filename" to "filaname(s)", as there may be more than one 2002-07-20 23:21 formnull * MANIFEST: added File::Unix to manifest 2002-07-14 01:31 formnull * lib/SandWeb/: File.pm, Shell.pm, File/Unix.pm: all file ops now use a module. currently, the only supported module is File/Unix.pm 2002-07-13 00:02 formnull * bin/sandweb.cgi: put check in to remove repo from config file even if repo dir no longer exists 2002-07-12 23:56 formnull * bin/sandweb.cgi: made it possible to remove module, even if module dir does not exist 2002-07-11 01:17 formnull * bin/sandweb.cgi: fixed "update repo" bug, there was a "/" missing in the check to see if the repo dir existed.. yay :) 2002-07-11 01:11 formnull * bin/sandweb-expect: hmm, the way I was doing error checking was causing expect to generate weird error codes ( $? == 768 ), only one "expect" statement can be used per block it seems, but you can expect as many phrases within that block as you wish. cool :) 2002-07-11 00:34 formnull * bin/sandweb.cgi: should be "main_window_url" not "main_menu_url" 2002-06-24 13:39 formnull * lib/SandWeb/: Shell.pm, Repository/cvs.pm: improving expect error msgs 2002-06-24 13:28 formnull * bin/sandweb-expect: added error checking for invalid vcs or system username/password 2002-06-19 15:06 formnull * bin/sandweb.cgi: oops, rolling back. We *do* need PREVIOUS_URL there so checkout will work. need to find a better way to control these kinds of things. for now, i'm not going to complicate it by hacking it up. 2002-06-19 15:05 formnull * bin/sandweb.cgi: updating from the sandbox_menu shouldn't require the main window to be updated. There's no way an update can change that, only a checkout. 2002-06-19 15:00 formnull * bin/sandweb.cgi, lib/SandWeb/Repository/cvs.pm: SandWeb::Repository now returns "output" and "error", where "error" is an error message, not an error code. If there is no error message, everything went fine. If there is, it should be displayed to the user ( the error code from the shell is inside the error message ). This eliminates the annoyance of dealing with 1 being a good error code in Perl and 0 being a good error code in the Unix shell. 2002-06-19 14:39 formnull * bin/sandweb.cgi: oops, forgot to check in important change 2002-06-19 01:04 formnull * lib/SandWeb/: Shell.pm, Repository/cvs.pm: finally! added decent error checking ( it has been lacking since the post-ALPHA addition of sandweb-expect and the Shell class ). I expanded on the error reporting method I used back when cvs.pm made it's own calls to the shell ... Shell returns a hash containing "output" and "error" to cvs, cvs passes it to Repository, Repository gives it to the CGI, which assigns the VCS_OUTPUT and VCS_ERROR template variables accordingly ( VCS_ERROR uses a glaring red font in the vcs_output.html template ). This along with the better debugging should give us much more info when trying to figure out why VCS actions aren't working. 2002-06-19 00:19 formnull * lib/SandWeb/: Repository.pm, Shell.pm, Repository/cvs.pm: explicit check for the existence of the reference to the log object in some places, so that the tests will run. There must be a better way, maybe we can create the log object in the test and pass it to the Repository object? Not critical, would be nice though. 2002-06-19 00:12 formnull * lib/SandWeb/Log.pm: adding comments at the top 2002-06-19 00:10 formnull * lib/SandWeb/Repository.pm: log was declared twice in one place, -w fodder 2002-06-19 00:08 formnull * lib/: SandWeb/Auth.pm, SandWeb/Browse.pm, SandWeb/Diff.pm, SandWeb/Log.pm, SandWeb/UI.pm, SandWeb/Auth/FlatFile.pm, SandWeb.pm, SandWeb/File.pm, SandWeb/Repository.pm, SandWeb/Shell.pm, SandWeb/Repository/cvs.pm: added comments to the top of every class 2002-06-18 23:55 formnull * lib/SandWeb/Shell.pm: added more comments to the Shell class 2002-06-18 23:52 formnull * lib/SandWeb/Repository/cvs.pm: added more comments 2002-06-18 23:47 formnull * lib/SandWeb/Repository/cvs.pm: added "-q" global command to CVS call, this keeps it from printing the name of every directory it looks in when doing update. The only thing you really want to see are files that have been updated, right? :) Not every damn dir in your sandbox. 2002-06-18 23:44 formnull * lib/SandWeb/: Repository.pm, Repository/cvs.pm: added lots o' debugging statements :) 2002-06-18 23:30 formnull * lib/SandWeb/: Repository.pm, Shell.pm, Repository/cvs.pm: ok, the log object reference is being passed correctly down this path - Repository -> cvs -> Shell Added some very important debugging to the Shell class, going to add alot more 2002-06-18 22:38 formnull * lib/SandWeb/Repository/cvs.pm: cool, i think I finally got all the quoting issues worked out. 2002-06-18 18:19 formnull * lib/SandWeb/Repository/cvs.pm: this fixes the bug with commiting on files that have spaces, just needed single quotes around filename in call to SandWeb::Shell.. :) 2002-06-18 18:08 formnull * lib/SandWeb/Repository/cvs.pm: put ' instead of " around message, seems to fix that "space in comments" bug.. yay :) 2002-06-17 12:45 formnull * templates/sandbox.html: oops, somehow removed the popup stuff from the checkout when I fixed the update. corrected. 2002-06-16 17:51 formnull * templates/sandbox.html: fixed the "clicking update in sandbox_menu does not cause popup" bug, used javascript form variable redefinition and submit ( update is a link on the sandbox menu, not a button, which is what made this awkward and a little different from the browse_module menu ). fixing this gave me some good ideas for making browse_module's way of doing pop-ups more generic, which it can then share with sandbox menu. 2002-06-13 17:35 formnull * templates/configuration.html: "preferences" has been renamed to "configuration" 2002-06-13 14:12 formnull * bin/sandweb.cgi, templates/branch.html, templates/tag.html: I passed the HTTP_REFERRER through the main branch and tag menus as "main_window_url", and then they give it to their commit subs as "previous_url" so the main window gets refreshed after tagging operations. 2002-06-13 13:21 formnull * MANIFEST: changed name of templates/preferences.html to templates/configuration.html 2002-06-07 00:28 formnull * bin/sandweb.cgi: arg, accidently substituted over the "write_preferences_data" method of Config in a checkin yesterday :) duh. 2002-06-06 22:23 formnull * templates/preferences.html: removing preferences, changes name to configuration 2002-06-04 23:32 formnull * bin/sandweb-expect, lib/SandWeb/Shell.pm, lib/SandWeb/Repository/cvs.pm: changed "unix" to "system" 2002-06-04 23:21 formnull * templates/menu_bar.html: changing "prefs" to "config" 2002-06-04 23:19 formnull * bin/sandweb.cgi, templates/configuration.html: changed "prefs" to "config" 2002-06-04 19:07 formnull * lib/SandWeb/: Shell.pm, Repository/cvs.pm: fixed problem reported by Blake on the -devel list. just needed to be implemented correctly, depending on the presence of username/password to decide if we are doing SSH or not is dumb :P 2002-06-04 17:51 formnull * bin/sandweb.cgi: fixed mostly cosmetic issue, after committing a file, the output page would have HTTP headers and the commit message prompt under it again, the vcs_commit "if" block that handled "commits" needed to exit after it was done. 2002-06-04 11:24 formnull * lib/SandWeb/Repository.pm: completing branch work 2002-06-04 11:14 formnull * templates/branch.html: branching stuff.. 2002-06-04 11:13 formnull * bin/sandweb.cgi: checking in branching stuff.. 2002-06-04 00:16 formnull * bin/sandweb-expect: *serious* double-edged sword here. * this checkin fixes a bug with large repositories/file, or maybe high-latency connections. I get this all the time on the LAN where I work, because our files are enourmous. Expect has a default timeout of 10 seconds, and that's not always long enough. I can set the default timeout to -1, but it seems to take SSH forever to timeout if the user gets the password wrong. Not sure how long, I waited a couple minutes, which is too long IMO. Anyway, I am going to check this in, I *think* I may be able to do something like keep "expect"ing a password prompt, if I get it three times than abort with "incorrect password" ( which would be cool because it would be much better than the crappy errors we get from sandweb-expect now :) 2002-06-02 11:40 formnull * bin/sandweb.cgi: changed the way we use the CGI class so it's objected-oriented style rather than procedural, e.g. $cgi->header; instead of CGI::header; 2002-05-20 16:34 formnull * lib/SandWeb/Shell.pm: heh, noticed a funny error with the SSH connection type. If your password has a | character in it ( not saying mine does :P ) then the call to the shell won't succeed. Now passwords have single quotes, seems to work for me. 2002-05-19 23:00 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm: cool, creating tags works now 2002-05-19 22:45 formnull * install.cfg, etc/sandweb.cfg: did not mean to check these in; reverting back to previous revs. damn top-level commits :) 2002-05-19 22:25 formnull * install.cfg, bin/sandweb.cgi, etc/sandweb.cfg: filenames get passed to tag_menu now, plus fixed silly bug with the VCS command getting passed through to the generic "commit_vcs" subroutine. 2002-05-17 15:40 formnull * lib/SandWeb/Shell.pm: ah, finally catching the STDERR from CVS, just like cvs.pm used to 2002-05-07 19:39 formnull * t/repository.t: assume cvs is on the path 2002-05-07 19:33 formnull * t/repository.t: the tests pass again now :) The problem is, we need to figure out where CVS is, I just put "/usr/local/bin/cvs" in for now to make sure it works, but I guess we can just look on the path and report an error if we don't find it? I'll do that next 2002-05-03 22:48 formnull * bin/sandweb.cgi, templates/tag.html: fixed filename listing 2002-05-03 22:39 formnull * INSTALL: adding note on MD5 2002-05-03 10:20 formnull * bin/sandweb.cgi: tag_commit sortof works, it doesn't seem to be getting the filename properly, and switching to the trunk isn't working for some reason. 2002-05-03 10:17 formnull * lib/SandWeb/Repository/cvs.pm: ok, there was a bug in the "-r " setting 2002-05-03 10:02 formnull * bin/sandweb.cgi: added tag_commit subroutine, everything should be in place but I have not tested it yet. 2002-05-02 12:26 formnull * bin/sandweb.cgi: added tag_commit subroutine, isn't functional yet though. 2002-05-02 12:24 formnull * templates/tag.html: should be functionally complete, could be prettier though 2002-05-02 12:11 formnull * bin/sandweb.cgi: added tag_menu subroutine 2002-05-02 12:05 formnull * bin/sandweb.cgi: put in hooks for as-yet non-existant tag_menu and tag_commit subroutines. 2002-05-02 11:13 formnull * templates/tag.html: first version w/ new "sync/switch" options. 2002-04-23 00:17 formnull * tools/install_script.pl: bindir should be saved back to install.cfg 2002-04-23 00:11 formnull * bin/sandweb-expect: changed the #! line so it's easier to use change-entry on it 2002-04-23 00:08 formnull * bin/sandweb.cgi: needed for SSH/CVS/Expect integration 2002-04-22 23:59 formnull * tools/install_script.pl: finally! that should do it. SSH binary, CVS binary and Expect binary are all asked for if not found in default locations upon 'make install'. 2002-04-22 23:50 formnull * tools/install_script.pl: cvs_bin and ssh_bin should be configurable too 2002-04-22 23:48 formnull * install.cfg: cgi_bin and ssh_bin should be configurable too 2002-04-22 23:46 formnull * etc/sandweb.cfg, lib/SandWeb/Repository.pm, lib/SandWeb/Shell.pm, lib/SandWeb/Repository/cvs.pm: working sandewb-expect into the build 2002-04-22 23:46 formnull * install.cfg: working sandweb-expect into the build 2002-04-13 11:43 formnull * bin/sandweb.cgi: cool. figured out what I was doing wrong with the password setting, should work now ( but you need to create a new repo, due to one of the bugs I filed on the repo_menu, update_repo isn't working ) 2002-04-12 21:52 formnull * lib/SandWeb/Shell.pm: ar.. for some reason Expect on my Debian box puts a \r at the end of each line instead of . What a PITA :) put in a conversion \r -> \n 2002-04-12 13:23 formnull * lib/SandWeb/: Diff.pm, Shell.pm, Repository/cvs.pm: sweet, rolled back Diff.pm and cvs.pm, made substitution happen in Shell.pm instead 2002-04-12 12:59 formnull * lib/SandWeb/: Diff.pm, Shell.pm, Repository/cvs.pm: added carriage return->linefeed conversions 2002-04-11 22:51 formnull * lib/SandWeb/Repository.pm: "clobber" should be 0 by default. ah, the defaults are sooo much easier to set now, just simple elsifs :) 2002-04-11 22:33 formnull * lib/SandWeb/Repository/cvs.pm: argh, this one's important, somehow i didn't check it in. weird. 2002-04-11 15:18 formnull * lib/SandWeb/Shell.pm: * putting in some hooks to support the location of sandweb-expect 2002-04-11 14:20 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, etc/sandweb.cfg, lib/SandWeb/Repository/cvs.pm: * further integrated support for CVS w/ SSH * finally got around to improving modularity in Repo/cvs classes 2002-04-11 12:09 formnull * INSTALL: ugh, typos :P 2002-04-11 12:06 formnull * INSTALL: seperated applications/libraries from Perl modules in the docs, added links to applications/libraries 2002-04-04 11:33 formnull * MANIFEST: updating manifest since I removed the pod/ dir 2002-04-01 23:43 formnull * bin/sandweb.cgi: arg, password isn't getting set in .user.cfg, getting close though ( at least it's making an entry now :P ) i'll look at this some more tomorrow 2002-04-01 23:30 formnull * lib/SandWeb/Config.pm: * fixed typo i made 2002-04-01 23:25 formnull * bin/sandweb.cgi, lib/SandWeb/Config.pm, templates/repository.html: * added password to .user.cfg 2002-04-01 22:38 formnull * bin/sandweb-expect, lib/SandWeb/Repository/cvs.pm, tools/install_script.pl: * sandweb-expect is now capable of answering SSH if it asks if the user would like to save the hostkey to disk ( the first time a host is contacted by default ) * sandweb-expect is now installed and perms set correctly by tools/install_script.pl * i think cvs.pm should be getting values out of the config file, there is no "default" location for things like CVS and SSH. this should be decided by the sysadmin. I changed them to match my current system, but it doesn't make them "right". 2002-04-01 19:45 formnull * bin/sandweb-expect, lib/SandWeb/Shell.pm: * no longer prints user's SSH password. Oh happy day :) 2002-04-01 18:54 formnull * lib/SandWeb/Shell.pm: * Shell abstracts calls to the shell, so we can decide if we want to go through sandweb-expect or not. 2002-04-01 18:53 formnull * MANIFEST, bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/cvs.pm: cool, SSH w/ FlatFile auth works now ( needs a better front-end implementation, I just entered my info into the CGI to test it ). Unix auth with and without SSH should work too, I haven't tested it though. 2002-04-01 17:37 formnull * bin/sandweb-expect: * expect script for handling SSH as the CVS_RSH method in a CVS :ext: connection type, should also work for pserver logins This script can handle su'ing to a Unix account, su'ing to a Unix account and answering a CVS password prompt, and just answering the CVS password prompt, depending on the first letter of invocation ( either unix_vcs, unix or vcs ). Note: this script is set up for my Solaris box currently, it needs to be installed into /usr/local/bin with host-specific settings in order for it to work anywhere else. Solaris does crack-ass things like making /bin a symlink to /usr/bin, so I have to set the shell to "/usr/bin/sh". blah. 2002-04-01 15:15 formnull * lib/SandWeb/: Repository.pm, Repository/cvs.pm: First step towards SSH support in CVS : * Repository and cvs now accept username and password * cvs calls a "shell" method to actually execute commands, this will probably be handed over to new class, Shell, that decides whether it needs to call sandweb-expect or not, and if so, what it needs to do Note that if this is done properly, it provides all the peices that we need for Unix execution ( especially abstracting stuff to Shell ). I'm just working on SSH right now though. 2002-03-28 15:43 formnull * lib/SandWeb/Repository/cvs.pm: argh, cvs.pm was returning true no matter if an operation failed or not. that made it possible to get unremovable sandbox entries in the sandbox menu. 2002-03-28 12:22 njennings * MANIFEST: Added NEWS and ChangeLog to MANIFEST. This should have been included for the ALPHA release. But too late now! OOPS! :) 2002-03-27 23:28 njennings * NEWS: added release tag name 2002-03-27 23:21 njennings * NEWS: added NEWS file 2002-03-27 23:17 formnull * ChangeLog: added Changelog for ALPHA release 2002-03-27 22:39 formnull * bin/sandweb-admin, lib/SandWeb/UI.pm: changed description from "Version Control Management System" to "Sandbox Management Client" 2002-03-27 22:32 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm: fixed some pre-alpha bugs 2002-03-27 22:14 njennings * MANIFEST: added instbin.pl to MANIFEST 2002-03-27 22:09 njennings * tools/instcachedir.pl: restricive perms 2002-03-27 22:07 njennings * tools/install_script.pl: * creates log FILE, not log DIR 2002-03-27 22:06 njennings * bin/sandweb-admin: * set more restrictive perms * took out creation of unused dir 2002-03-27 21:38 formnull * INSTALL: typo correction 2002-03-27 21:35 njennings * tools/install_script.pl: fixed PREFIX usage bug 2002-03-27 21:33 njennings * INSTALL: several changes 2002-03-27 21:26 njennings * INSTALL: * formatting updates 2002-03-27 21:21 formnull * INSTALL: added CVS req. 2002-03-27 21:10 njennings * tools/instbin.pl: * added instbin.pl function script to install binaries 2002-03-27 21:10 formnull * INSTALL: checkin' me in some INSTALL! hwuhh! 2002-03-27 21:10 njennings * tools/install_script.pl: * added support for bindir (to install sandweb-admin) 2002-03-27 21:06 njennings * install.cfg: logdir 2002-03-27 21:04 njennings * install.cfg: * bindir, not bincfg 2002-03-27 20:46 njennings * Makefile.PL: * prefix is whatever 2002-03-27 20:41 njennings * install.cfg: * added $bindir to FUCK ALL THAT SHIT MAKEMAKER SHIT 2002-03-27 20:14 njennings * MANIFEST: * removed some non-existant files from MANIFEST(ering rancid corpse) 2002-03-27 20:10 njennings * tools/change-entry.pl: * modified tmp file handling 2002-03-27 20:07 njennings * tools/install_script.pl: * logdir default now '/var/log' * set UID, not GID of sandweb-admin * set all types of permissions last (right before config save). * fixed typo * add logdir to list of vars to save back to install.cfg 2002-03-27 19:57 formnull * MANIFEST: adding all files that need to be in build to MANIFEST 2002-03-27 19:35 formnull * t/repository/sandbox/info.txt: checking in file so this dir will be created 2002-03-27 19:30 formnull * t/file.t: * now uses test.cfg instead of basics.cfg 2002-03-27 19:27 formnull * t/: auth.t, basics.cfg, basics.t, test.cfg: * renamed basics.cfg to test.cfg * renamed basics.t to auth.t 2002-03-27 10:54 njennings * tools/instcgi.pl: * instcgi.pl will only ask to confirm cgi-dir if it does not already exist. 2002-03-27 10:53 njennings * tools/install_script.pl: * added logdir to variable output. * default httpuser 'www' 2002-03-27 10:50 njennings * install.cfg: * correcting previous commit which set cgidir to '/usr/www/cgi-bin'. this should be '/var/www/cgi-bin'. * changed default httpuser to 'www' 2002-03-27 10:47 njennings * Makefile.PL: * Switching back to PREFIX (from SITEPREFIX) because SITEPREFIX does not always exist on all environment. PREFIX is a configurable setting though, and can be set in the Makefile.pl 2002-03-26 00:12 formnull * etc/sandweb.cfg: /cgi-bin is a more reasonable default cgi path. 2002-03-26 00:11 formnull * install.cfg: oops, one of the changes I made before broke the build, then I accidently checked this and the fix in w/ no log message! :) everything should work now. 2002-03-26 00:10 formnull * install.cfg, tools/install_script.pl: [no log message] 2002-03-25 23:16 formnull * Makefile.PL: * we should use SITEPREFIX, not PREFIX, so it'll be /usr/local. 2002-03-25 23:12 formnull * install.cfg: changing default cgidir back 2002-03-25 23:05 formnull * tools/install_script.pl: added creation of $logdir, owned by apache user 2002-03-25 22:56 formnull * install.cfg, etc/sandweb.cfg, tools/install_script.pl: * corrected typo that prevented users_dir from being set in sandweb.cfg * install_script now installs repository.cfg and user.cfg 2002-03-25 22:39 formnull * install.cfg: oops, didn't mean to check in the version from my Solaris box :P just wanted to change cfgdir, done. 2002-03-25 22:27 formnull * install.cfg, tools/instcachedir.pl: * suggest "nobody" instead of "root" as an apache user ;) I think it's way more likely, what reason is there to run apache as root? * changed default cfgdir to /usr/local/etc/sandweb, since we have more than one config file they are easier to find this way. 2002-03-25 22:16 formnull * tools/: install_script.pl, instcgi.pl: fixed perm settings, they are now in install_script.pl 2002-03-25 17:29 njennings * bin/sandweb-admin: * better error checking 2002-03-25 17:29 njennings * tools/install_script.pl: * install script near completion - sandweb.cfg now installs - sandweb.cfg config vars are updated - sandweb-admin is installed and owned. perms must be set by user though. (see XXX in install_config.pl) - sandweb.cgi config path updated to sandweb.cfg location - sandweb-admin config path updated to sandweb.cfg locatin 2002-03-25 17:27 njennings * tools/instcgi.pl: * can't figure out how to set executable perms on CGI. chmod not working. 2002-03-25 16:47 njennings * tools/install_script.pl: * install_script now sets perms on sandweb-admin, except I can't figure out what chmod g=rwxs doesn't work through the perl script, perhaps security? dunno, for now when its done it just says "please enter this" chmod u=rwx,g=rwxs,o= $PREFIX/bin/sandweb-admin 2002-03-25 15:26 njennings * tools/install_script.pl: * installation now saves configuration after completion, so user changed values are kept. 2002-03-25 15:15 njennings * install.cfg: * added comment 2002-03-25 15:14 njennings * tools/instcachedir.pl: * chown $httpuser:0 instead of $httpuser:root (some systems use different group name for UID 0 (FreeBSD uses 'wheel'). 2002-03-25 00:13 njennings * Makefile.PL, install.cfg: * Updated Makefile.PL to call './tools/install_config.pl' instead of all the single scripts. * Updated install.cfg 2002-03-25 00:12 njennings * tools/: install_script.pl, instcachedir.pl, instcgi.pl, insttemplates.pl: * converted inst*.pl's to functions which are included in the "mother" perl script (install_config.pl) 2002-03-24 01:22 formnull * t/repository/CVSROOT/history: * this shouldn't be checked in 2002-03-24 01:21 formnull * t/repository.t: * repository test now cleans up after itself. it actually checks to see if the files it's going to remove exist before trying to remove them ( and thus causing a false test failure ). one example of where this is useful is the "history" file in the t/repository, we obviously do not want to keep this, but it may or may not exist depending on which tests we run in the future. 2002-03-24 01:04 formnull * MANIFEST: * changed "install-config" to install.cfg and removed modconfig from MANIFEST 2002-03-24 00:59 formnull * bin/sandweb.cgi: * rename wasn't checking to see if file was null, weird behaviour happens if this is not caught. * root problem was that alot of CGI params were not being set to '' if they were null. fixed all that I could find in the sandweb CGI 2002-03-23 23:11 njennings * install-config, install.cfg: * changed from install-config to install.cfg 2002-03-23 23:03 njennings * bin/sandweb-admin: * sandweb-admin now uses SandWeb object to get data from config file. 2002-03-23 14:17 njennings * t/repository/CVSROOT/history, tools/modconfig.pl: * removed modconfig.pl 2002-03-23 12:51 formnull * lib/SandWeb/Repository/cvs.pm, t/repository.t: * repository.t now uses Cwd::cwd to get current working dir, which works properly * worked on providing better errorlevels from cvs class, the whole "0 is successful for UNIX, 1 is successful for Perl" thing is annoying :P 2002-03-23 11:47 formnull * t/file.t: * added test for File class. Creates folder, creates file in folder, recursively deletes folder. 2002-03-23 11:47 formnull * lib/SandWeb/File.pm: * test harness pointed out an unused variable. fixed. 2002-03-23 01:56 formnull * MANIFEST: should be "cvs.pm" not "CVS.pm" 2002-03-23 01:49 formnull * lib/SandWeb/Repository/cvs.pm: test harness noticed a problem where non-numeric variables were being checked with "==" instead of "eq". fixed. 2002-03-23 01:23 formnull * t/repository.t: actually checks errorlevel of VCS commands now 2002-03-23 01:20 formnull * t/repository.t: oops, don't want my homedir in there, pwd instead 2002-03-23 01:19 formnull * t/: repository.t, repository/CVSROOT/checkoutlist, repository/CVSROOT/checkoutlist,v, repository/CVSROOT/commitinfo, repository/CVSROOT/commitinfo,v, repository/CVSROOT/config, repository/CVSROOT/config,v, repository/CVSROOT/cvswrappers, repository/CVSROOT/cvswrappers,v, repository/CVSROOT/editinfo, repository/CVSROOT/editinfo,v, repository/CVSROOT/history, repository/CVSROOT/loginfo, repository/CVSROOT/loginfo,v, repository/CVSROOT/modules, repository/CVSROOT/modules,v, repository/CVSROOT/notify, repository/CVSROOT/notify,v, repository/CVSROOT/rcsinfo, repository/CVSROOT/rcsinfo,v, repository/CVSROOT/taginfo, repository/CVSROOT/taginfo,v, repository/CVSROOT/val-tags, repository/CVSROOT/verifymsg, repository/CVSROOT/verifymsg,v: added test for repository and cvs, the following tests are performed : * checkout a module * add a file/commit * remove a file/commit 2002-03-22 13:59 formnull * etc/sandweb.cfg: * this is probably a more common location for mime.types ( /etc/apache rather than ( /usr/local/apache/conf ) We should ask the user where their apache conf files are on install I think, and default to /etc/apache 2002-03-22 13:21 formnull * templates/repository.html: * default is now to create repo, create button is first not delete I always press enter when done entering a new repo, and it tries to call delete! arg! :) 2002-03-22 12:36 formnull * t/: basics.cfg, basics.t, var/data/passwd: md5 auth test works now 2002-03-21 21:06 njennings * tools/instcachedir.pl: * add subdirs 2002-03-21 21:06 njennings * tools/change-entry.pl: * added change-entry.pl to change entries in a file 2002-03-21 20:39 njennings * Makefile.PL: * now require md5 2002-03-21 20:23 njennings * lib/SandWeb/: Repository.pm, Repository/CVS.pm: * Repository updated to use ::cvs not ::CVS 2002-03-21 20:21 njennings * lib/SandWeb/Repository/cvs.pm: * oops, changed references from CVS to cvs 2002-03-21 20:20 njennings * lib/SandWeb/Repository/cvs.pm: * had to rename CVS.pm to cvs.pm because the makefile ignores CVS* apparently :( 2002-03-21 20:18 njennings * templates/view_file.html: * added space after view file black box 2002-03-21 20:16 njennings * templates/view_file.html: * made view file look a little better 2002-03-21 20:14 njennings * templates/: browse_module.html, commit.html, create_file.html, create_folder.html, current_location.html, edit_file.html, file.html, file_info.html, login.html, output.html, preferences.html, rename.html, repository.html, sandbox.html, tag.html, template.html, tool_bar.html, upload.html, vcs_output.html, view_file.html: * added table beginnings and endings 2002-03-21 20:13 njennings * templates/framework.html: * framework now seperates content out of it's tables to avoid width differences 2002-03-21 20:03 formnull * templates/view_file.html: view_file shouldn't close tables from framework 2002-03-18 23:55 njennings * MANIFEST, tools/checkfiles.pl: * added checkfiles.pl script to check for missing MANIFEST entries. * Updated MANIFEST due to checkfiles.pl EXCELLENT work. Good Job checkfiles.pl!! 2002-03-18 22:43 njennings * INSTALL: * first draft of INSTALL, not really done 2002-03-18 22:32 njennings * templates/tool_bar.html: * toolbar centered 2002-03-18 22:29 njennings * bin/sandweb.cgi: * fixed delete module bug 2002-03-18 22:11 njennings * templates/openwindow.js: * resized openwindow.js function to use popup 2002-03-18 22:07 njennings * lib/SandWeb/File.pm: * set mode for File.pm 2002-03-18 21:47 njennings * bin/sandweb.cgi: * repository_commit now will create users dir if it doesn't exist, even if it's just doing an "update" 2002-03-18 17:11 njennings * README: * little line format change 2002-03-18 14:43 formnull * README: a wee bit o' rewording 2002-03-18 14:11 njennings * README: * made several changes & formatting modifications to the README 2002-03-18 13:45 formnull * README: added more to "Getting started" section, and added "Problems or contributions" section 2002-03-18 13:31 formnull * README: fixed typo 2002-03-18 13:30 formnull * README: added alot more info to the README file, under the "Getting started" section 2002-03-18 13:22 njennings * templates/: functions.js, repository.js: * functions.js : misc functions for common use * repository.js : functions applicable to repository menu (submit form checking) 2002-03-18 13:17 formnull * README: started README file for ALPHA release 2002-03-18 13:07 njennings * lib/SandWeb/Auth.pm, lib/SandWeb/Auth/FlatFile.pm, t/basics.t: * variable naming change in FlatFile.pm * t/basics.t unfunctional due to new authentication scheme. 2002-03-18 11:09 formnull * bin/sandweb.cgi, templates/upload.html: 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. 2002-03-18 10:57 formnull * templates/view_file.html: i think we should close previous tables, and open a new one for the contents of a file in view_file, like this 2002-03-18 10:09 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm: had to pass a couple more params in the constructor so the CVSROOT could be constructed in Repository->new() correctly. 2002-03-17 21:54 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm: 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. 2002-03-17 21:17 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/Repository.pm: got rid of alot of warnings, they were all from not checking for null values 2002-03-17 20:57 formnull * bin/sandweb.cgi: got rid of a couple silly warnings 2002-03-17 18:02 formnull * templates/tool_bar.html: put file commands and vcs pulldown on one line to preserve screen real estate 2002-03-17 16:07 njennings * lib/SandWeb/File.pm: * added MODE to mkdir() function call. Not sure why it just started complaining. 2002-03-15 22:10 njennings * tools/modconfig.pl: * will modify sandweb.cfg and related scripts like CGI and -admin script. (not working yet) 2002-03-15 22:10 njennings * tools/instcachedir.pl: * instcachedir.pl installs /var/cache/sandweb stuff and chowns it all to webserver user. 2002-03-15 22:09 njennings * install-config: * install-config contains some default values for directories etc. 2002-03-15 22:08 njennings * tools/mkdirto.pl: * added support for chowning final directory 2002-03-15 22:08 njennings * tools/insttemplates.pl: * insttemplates now reads from install-config file 2002-03-15 22:07 njennings * Makefile.PL: * instcachedir.pl hook 2002-03-15 17:55 njennings * tools/instcgi.pl: * added directory checking using mkdirto.pl 2002-03-15 17:53 njennings * MANIFEST: * Added/removed some files from MANIFEST 2002-03-15 17:52 njennings * Makefile.PL: * Removed PREFIX setting (it already defaults to /usr/local apparently) 2002-03-14 22:18 njennings * Makefile.PL: * Hook to install templates script 2002-03-14 22:17 njennings * tools/mkdirto.pl: * tools to create directories 2002-03-14 22:16 njennings * tools/insttemplates.pl: * install templates script 2002-03-14 15:03 formnull * bin/sandweb.cgi: fix for "incorrect redirect from toolbar popup in view_file menu" bug, I set edit_file_commit to do a server-side redirect instead of simply calling the view_file menu ( so the URL gets changed ) 2002-03-12 21:30 formnull * bin/sandweb.cgi, templates/browse_module_footer.html, templates/browse_module_header.html, templates/popup_footer.html, templates/popup_header.html: renamed browse_module_* to popup_* 2002-03-12 20:08 formnull * templates/login.html: * improved look a bit ( i hope ;) 2002-03-12 17:44 formnull * bin/sandweb.cgi, templates/view_file.html: * added the toolbar to the view_file menu. HUGE usability improvement IMO. 2002-03-12 16:56 formnull * lib/SandWeb/Browse.pm: * ok, fixed the double slash bug for real this time. please note that this was just a cosmetic thing, no harm could come of it, but it looked really dumb. 2002-03-12 16:50 formnull * lib/SandWeb/Browse.pm: oops, that didn't fix it. rolling back. 2002-03-12 16:41 formnull * lib/SandWeb/Browse.pm: * took at the thing that was adding the stupid looking extra / 2002-03-11 21:18 njennings * templates/: framework.html, repository.html: * javascript looks better starting from beginning of line (throws first line of JS off) 2002-03-11 21:17 njennings * bin/sandweb.cgi: * javascript inclusion for sandbox and repository menus 2002-03-11 21:13 njennings * templates/sandbox.html: * removed javascript from sandbox.html template 2002-03-11 21:12 njennings * templates/sandbox.js: * sandbox.js - javascript file for sandbox menu specific stuff 2002-03-11 21:11 njennings * templates/openwindow.js: * openwindow.js - javascript function for opening a popup window 2002-03-11 21:11 njennings * templates/submitform.js: * submitform.js - javascript functions for submitting a javascript form. 2002-03-11 20:34 njennings * lib/SandWeb/Config.pm: * modified erro return behavior 2002-03-11 20:33 njennings * bin/sandweb.cgi: * Updated error reporting behavior 2002-03-11 20:30 njennings * bin/sandweb.cgi: * apparently this was not using the write_config function (and was doing the work itself) 2002-03-11 20:15 njennings * etc/: prefs.cfg, user.cfg: * changes user config to user.cfg from prefs.cfg, this was old change that we never made to default user.cfg 2002-03-11 19:48 formnull * templates/popup.html: popup.html needs JAVASCRIPT TMPL_VAR as well as framework 2002-03-11 19:45 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/framework.html, templates/login.html: ok, md5.js no longer needs to be on the docroot. kick ass! 2002-03-11 19:40 formnull * templates/md5.js: moving md5.js from templates/js into templates/ 2002-03-11 12:35 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: repository->remove now forces by default 2002-03-11 11:43 formnull * bin/sandweb-admin, bin/sandweb.cgi, lib/SandWeb/Auth.pm, lib/SandWeb/Auth/FlatFile.pm, templates/login.html: * md5 authentication checked in and enabled. NOTE: you MUST change your password with sandweb-admin --passwd-user AND make sure md5.js is installed in your apache's docroot. 2002-03-10 21:19 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/CVS.pm, templates/commit.html, templates/tag.html: * tag implemented, also cleaned up some stuff w/ commit 2002-03-10 19:28 formnull * bin/sandweb.cgi: fixed "reload on commit" bug, prev_url shouldn't be specified for commit 2002-03-10 15:23 njennings * lib/SandWeb/UI.pm: * version part of UI obj data for footer 2002-03-10 15:22 njennings * lib/SandWeb.pm: * added version retreival methods, and added version to creation of UI 2002-03-10 15:21 njennings * lib/SandWeb/: Browse.pm, Repository.pm: * removed 'use lib' 2002-03-10 00:36 njennings * tools/instcgi.pl: * instcgi.pl is for installing the cgi script 2002-03-10 00:36 njennings * Makefile.PL: * instcgi.pl is in tools/ directory 2002-03-10 00:35 njennings * Makefile.PL: * improved Makefile.PL quite a bit. Now actually installs the files but have yet to work on the details. 2002-03-10 00:13 njennings * bin/sandweb-admin: * copyright thingy 2002-03-10 00:09 njennings * bin/sandweb-admin: * added POD documentation to the sandweb-admin utility 2002-03-09 17:56 formnull * lib/: SandWeb.pm, SandWeb/Auth.pm, SandWeb/Browse.pm, SandWeb/Config.pm, SandWeb/Diff.pm, SandWeb/File.pm, SandWeb/Log.pm, SandWeb/Repository.pm, SandWeb/UI.pm, SandWeb/Auth/FlatFile.pm, SandWeb/Repository/CVS.pm: added copyright statements, and notices that this is under the GPL. The full text of the license is in sandweb/COPYING 2002-03-09 17:46 formnull * bin/sandweb.cgi: * user shouldn't go back to the browse_module_menu after download ( this was especially annoying if the document can be handled by the browser, you would get an HTML page or image or whatever with the browse_module_menu beneath it. It's also annoying because you are not neccessarily done interacting with a file just because you chose to download it ) 2002-03-08 23:04 njennings * t/var/data/passwd: * added passwd file for tests 2002-03-08 14:20 formnull * lib/SandWeb/Repository/CVS.pm: technically this should be "locally modified", not "merged". 2002-03-08 10:56 formnull * COPYING, bin/sandweb.cgi: added a copy of the GPL and copyright statements for Nick Jennings and Robert Helmer 2002-03-07 23:48 formnull * templates/view_file.html: * left-aligned download/edit links, mainly because it's *really* annoying having to scroll all the way to the right to download or edit a file that has *any* lines over 80 columns. An alternative to this may be to word-wrap, not sure yet. Let's see how this goes. 2002-03-07 23:27 njennings * Makefile.PL: * working on build process. *NOT* ready for use. under development. 2002-03-07 23:12 njennings * t/basics.t: * basics.t now does some very basic tests. 2002-03-07 23:02 njennings * t/: basics.cfg, basics.t: * added initial tests, incomplete. 2002-03-07 23:02 njennings * Makefile.PL: * added initial Makefile.PL to begin build process work. 2002-03-07 23:01 njennings * MANIFEST: * added MANIFEST for build process. 2002-03-07 23:00 njennings * lib/SandWeb/Auth.pm: [no log message] 2002-03-07 23:00 njennings * lib/SandWeb/Log.pm: * took out invalid default values. 2002-03-07 22:59 njennings * lib/SandWeb/Config.pm: * added return values to loading config files. 2002-03-07 22:58 njennings * lib/SandWeb.pm: * added return values to loading config files. * sandweb will now error out if a config file does not exist. * added $VERSION variable for build process. * took out needless internal method 2002-03-07 22:57 njennings * bin/sandweb.cgi: * added return values to loading config files. * sandweb will now error out if a config file does not exist. 2002-03-07 01:15 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module.html: ok, some of the basic framework is there for supporting alpha/reverse alpha sorting, need to keep state of the last one though. I'm going to leave it here for tonite. 2002-03-07 00:56 formnull * lib/SandWeb/Browse.pm: Browse class now sorts dir entry loop_data ( aka files ) case-insensitively, alphabetically. this will eventually become a means to sort browse_module output by File ( alpha/reverse-alpha ), Size, and Age. 2002-03-07 00:37 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: ah, the mime.types stuff wasn't brought up-to-date when nick fixed that space bug in _do_file_read(). fixed. 2002-03-07 00:21 formnull * bin/sandweb.cgi, templates/tool_bar.html, templates/upload.html, templates/upload_file.html: renaming "upload_file" to "upload" 2002-03-07 00:19 formnull * bin/sandweb.cgi: debugging for individual files is just too much damn debug output, removed the debug statements 2002-03-07 00:17 formnull * lib/SandWeb/File.pm: standard header to give when the content is unknown is : "binary/octet-stream" 2002-03-07 00:16 formnull * lib/SandWeb/File.pm: somehow I made the downloader default to "text/html" as the content type, which is bad. content type detection seems to be broken, but worst case it should default to unknown. 2002-03-07 00:12 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/tool_bar.html: renaming "delete_file" to "delete" 2002-03-07 00:10 formnull * templates/rename.html: rename_file to rename; missed a spot 2002-03-07 00:09 formnull * templates/rename.html: changing rename_file to rename 2002-03-07 00:07 formnull * bin/sandweb.cgi, templates/tool_bar.html: ok, rename_file is now rename. funny, i didn't notice, but I did name the method "rename" not "rename_file" in the File class, but called it "rename_file" every where else .. odd :) 2002-03-06 21:16 formnull * templates/browse_module_header.html: * nick _definitely_ has a point about scrollbars and resizeable on the popups, I still think the width needs to be 640 to accomodate CVS commands without having to resize all the time. 2002-03-06 21:13 formnull * templates/: commit.html, tag.html, upload_file.html: * all the menu's that have commits have this hidden "Submit" variable now. 2002-03-06 21:11 formnull * templates/: create_file.html, create_folder.html: * ok, resolved that bug where pressing the submit button submitted, while pressing enter would pull up the *_menu in the mainWindow. What I did was, put a hidden variable for "Submit" into these menus, so any submission of that page causes the corresponding commit menu to be called. NOTE: this makes a "Cancel" button really hard to implement, since we use popups the user can just close the window so this shouldn't be a problem usability-wise. Interestingly, this is the opposite of the traditional Macintosh popup, where closing accepts, and it has a "Cancel" button. I always thought they got that backwards, here's a chance to prove it :) 2002-03-06 21:06 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: * rename_file implemented ( name's a little misleading, as it should work for dirs too. haven't tested though ). 2002-03-05 15:29 formnull * templates/browse_module_header.html: made the popup wider 2002-03-04 23:52 formnull * bin/sandweb.cgi: delete_file updates mainWindow for you now 2002-03-04 23:41 formnull * bin/sandweb.cgi: *delete produces sane output via popup *deletes folders by recurse *will NOT delete . recursively, this is the repository_menu's job 2002-03-04 23:08 formnull * templates/output.html: generic output template 2002-03-04 23:07 formnull * bin/sandweb.cgi: fixed edit/unedit output 2002-03-04 10:43 formnull * bin/sandweb.cgi: repo_root and vcsroot are the same thing with different names. removed vcsroot in favor of repo_root. 2002-03-04 01:15 njennings * templates/: framework.html, sandbox.html: * Fixed some HTML formatting to get rid of wasted space between the main sandweb menu's and the content. Some table mangling etc. 2002-03-03 22:44 formnull * lib/SandWeb/File.pm: disabled logging in _delete_tree method until i can figure out what's wrong. 2002-03-03 21:05 njennings * bin/sandweb.cgi: * added deletion of module directory to go along with data struct. same with repository deletion. However, the recursive delete_folder() method in file does not work for me. 2002-03-02 14:53 formnull * bin/sandweb.cgi: enabled onload reload of parent for all vcs commands 2002-03-02 00:20 njennings * templates/repository.html: * updated javascript dialog warning 2002-03-02 00:15 njennings * bin/sandweb.cgi: * modified menu popup title a bit * added HTTP_REFERER setting to print_popup() 2002-03-02 00:14 njennings * lib/SandWeb/UI.pm: * added PREVIOUS_URL to UI.pm -> print_popup() 2002-03-02 00:14 njennings * templates/popup.html: * now the popup will reload the parent when the popup page is finished loading 2002-03-02 00:13 njennings * templates/sandbox.html: * modified vcs output popup window. 2002-03-02 00:12 njennings * templates/vcs_output.html: * took out un-used href/javascript link to reload parent 2002-03-01 23:24 formnull * lib/SandWeb/Repository.pm: CVS should be called with directory => 1, and prune => 1 by default. This is the equivalent to -dP to the CVS command, which causes directories to be checked out, but not if they are empty. 2002-03-01 23:20 formnull * lib/SandWeb/File.pm: implemented recurse param in delete_folder 2002-03-01 21:12 formnull * templates/popup.html: adding popup template 2002-03-01 21:06 formnull * templates/browse_module_header.html: changed popup window size to 400x480 2002-03-01 21:00 formnull * lib/SandWeb/UI.pm: UI->print_popup calls popup.html template instead of framework.html template 2002-03-01 16:12 formnull * templates/: vcs_output.html, view_file.html: download_file now supports $repo_name/$module_name instead of just $module_name ( so, downloads actually work :P ) 2002-03-01 10:25 formnull * templates/browse_module_header.html: 400x400 is too small for vcs->status and diff output and such. expanded popup to 640x480 2002-03-01 00:33 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm: actually this looks pretty good overall, delete looks weird, VCS->tag needs to be implemented correctly, and rename_file needs to be implemented. they all need menus, and rename_file needs to be implemented in File. I think everything will be cool then though. 2002-03-01 00:10 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/browse_module_header.html, templates/create_file.html, templates/create_folder.html, templates/upload_file.html, templates/vcs_output.html: * this is a start on the javascript pop-up control stuff, i'll send more info about it to the -devel list 2002-02-28 23:11 formnull * templates/tool_bar.html: this shouldn't have a <form> tag 2002-02-28 22:11 njennings * bin/sandweb.cgi: * updated sandbox menu to perform atomic data commits. So a failure at a checkout or update will not write data struct to file. 2002-02-28 21:56 njennings * bin/sandweb.cgi: * made directory creation happen before entry into the data structure, so that you don't get invalid entries. 2002-02-28 21:33 njennings * bin/sandweb.cgi: * added placeholder to delete repository directory (recursive) for when we figure out how we are going to do it. 2002-02-28 21:31 njennings * bin/sandweb.cgi: * added repository directory creation when a repository is created (but not updated). 2002-02-28 20:34 formnull * bin/sandweb.cgi: checkout now does checkout to $user_dir/$username/$repo_name 2002-02-28 17:09 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: * added support for $repo_name in user's sandbox, this needed to be changed in _alot_ of places.. urgh :P 2002-02-28 16:59 formnull * lib/SandWeb/Browse.pm: * sandbox is now $users_dir/$username/$repo_name/$module_name instead of $users_dir/$username/$module_name 2002-02-27 23:46 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm, templates/sandbox.html: * added delete_module method in SandWeb::Config * added module deletion support in sandweb.cgi * updated sandweb.html to pass repo_name when deleting a module. !!! - still need to delete the module from the filesystem, right now it just removes the data struct (NOTE: this actually makes no functional difference in the code, everything works and there should be no conflicts when checking out a module when the directory already exists (from a previous deletion)). 2002-02-27 23:21 njennings * bin/sandweb.cgi: * fixed update/checkout blocks in sandbox_commit function 2002-02-27 23:20 njennings * templates/sandbox.html: * got update working (does an update, not a checkout, even though they appear to do the same thing (that might not be the case for VCS' aside from CVS)). 2002-02-27 23:05 njennings * templates/: module_checkout.html, sandbox.html: * removed now unused template * fixed some spacing issues in sandbox.html 2002-02-27 22:32 njennings * bin/sandweb.cgi: * working on Delete, Update, module. *almost* working, but have to leave. checking in. 2002-02-27 22:14 njennings * bin/sandweb.cgi: * merged module_* menus and sandbox_* menus together, removed all extra stuff. 2002-02-27 22:12 njennings * templates/sandbox.html: * extensive restructuring in the sandbox menu. moving all module related management to sandbox menu & functions. (sandbox, might want to be called module or modules, or something now...) * reformatted sandbox menu to be more efficient with menus (and logical, but efficience is my excuse). 2002-02-27 21:23 njennings * templates/sandbox.html: * module_checkout change 2002-02-27 21:10 njennings * bin/sandweb.cgi: * changing menu checkout to menu module_checkout, updating relevant info 2002-02-27 21:10 njennings * templates/: checkout.html, module_checkout.html: * changing checkout.html to checkout_module.html 2002-02-27 20:59 njennings * bin/sandweb.cgi: * added messages for creating new repository and updating existing repository 2002-02-27 20:57 njennings * templates/repository.html: * created some javascript for the repository menu to confirm delete, check fields before submitting, etc. 2002-02-27 20:36 njennings * lib/SandWeb/UI.pm: * made some changes to UI to reflect MESSAGE changes 2002-02-27 20:33 njennings * templates/: commit.html, edit_file.html, file.html, tag.html, upload_file.html, view_file.html: * removed invalid ERROR references (ERROR, which is now MESSAGE, is only supposed to be in the framework.html). 2002-02-27 20:32 njennings * templates/repository.html: * added delete button 2002-02-27 20:32 njennings * bin/sandweb.cgi: * added repository deletion functionality. * changed all ERROR => $error to MESSAGE => $message and, set_error is now set_message, etc. etc. 2002-02-27 20:31 njennings * lib/SandWeb/Config.pm: * added delete_repo method 2002-02-27 20:31 njennings * templates/framework.html: * changed ERROR to MESSAGE, since it's more general purpose notification than only ERRORS 2002-02-27 20:02 njennings * templates/browse_module.html: * changed" select all/clear all" to be one checkbox toggle instead of two seperate hyperlinks. 2002-02-27 19:54 njennings * lib/SandWeb/Browse.pm, templates/current_location.html: * updated LOCATION_LINK to be /name instead of [name] 2002-02-27 19:48 njennings * bin/sandweb.cgi: * took out looping debug msg, causing lots garbage (only seemed usefull for initial implementation and not for long term debuging) 2002-02-27 19:46 njennings * bin/sandweb.cgi: * fixed little bug that determins whether there are eixsting modules or not 2002-02-25 16:22 formnull * bin/sandweb.cgi: fixed overzealous stripping of / in location that made edit/unedit have problems when returning to browse_module_menu 2002-02-25 16:12 formnull * bin/sandweb.cgi: edit and unedit should only call vcs_output.html if there is an error, as they normally have no output 2002-02-25 15:52 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/CVS.pm: VCS subsystem can now handle spaces in directories, and should fully work with the multi-repo stuff ( looks like everything below the first directory was not working properly :P ) 2002-02-25 15:27 formnull * bin/sandweb.cgi, lib/SandWeb/Repository/CVS.pm: fixed space prob in vcs_output 2002-02-25 15:17 formnull * bin/sandweb.cgi: tool_bar_menu needs to know location, module_name and repo_name 2002-02-25 15:12 formnull * bin/sandweb.cgi: view_file was using current_location the old way; fixed 2002-02-25 14:59 formnull * bin/sandweb.cgi: was getting warning about "my" being used on already-declared variable, remove "my". 2002-02-25 14:10 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: removing last vestages of HTML::Template from SandWeb::Browse 2002-02-25 14:01 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: tool_bar no longer uses HTML::Template 2002-02-25 13:49 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: Browse->get_browser() no longer uses HTML::Template, returns reference to array that contains reference to a hash for each file 2002-02-24 00:01 formnull * bin/sandweb.cgi, templates/edit_file.html, templates/view_file.html: * repo name wasn't getting passed to edit_file, so browse_menu didn't know what repository we were in when you use the current location bar in the view_file_menu to get back. fixed. 2002-02-23 22:46 formnull * bin/sandweb.cgi, templates/view_file.html: oops, download_file wasn't implemented correctly. fixed. 2002-02-23 22:43 formnull * bin/sandweb.cgi, templates/view_file.html: * brought all the comments up-to-date in the CGI * corrected download link in view_file template 2002-02-23 22:31 formnull * bin/sandweb.cgi, templates/commit.html, templates/create_folder.html, templates/tool_bar.html, templates/upload_file.html, templates/view_file.html: * browse_file_commit no longer exists, all file commands have subroutines * renamed browse_vcs_commit to vcs_commit 2002-02-23 22:10 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: create_file wasn't getting passed the module info correctly, fixed 2002-02-23 22:00 formnull * bin/sandweb.cgi, templates/create_file.html, templates/tool_bar.html: moved create_file into create_file_menu and create_file_commit subs 2002-02-23 21:46 formnull * bin/sandweb.cgi, templates/tool_bar.html: moved delete out into delete_file_commit subroutine 2002-02-23 21:28 formnull * bin/sandweb.cgi, templates/edit_file.html, templates/view_file.html: moved edit_file into it's own subroutine 2002-02-23 21:03 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module.html: * moved view_file out of browse_file_commit and into view_file subroutine 2002-02-23 13:42 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: repo_name should be in the constructor, not passed to methods 2002-02-22 20:32 njennings * templates/current_location.html: * fixed up the current_location template a bit 2002-02-22 20:24 njennings * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/view_file.html: * now *really* fixed wierd file line space issue. 2002-02-22 19:47 njennings * bin/sandweb.cgi: * fixed up some code 2002-02-22 15:06 njennings * lib/SandWeb/File.pm: * fixed file save bug 2002-02-22 15:00 formnull * lib/SandWeb/UI.pm: "Based" was spelled wrong 2002-02-22 14:10 formnull * bin/sandweb.cgi, templates/view_file.html: edit_file works again, but for some reason spaces get inserted before all lines after the first one when the file is saved. Odd. I think this existed before the latest change though, going to have to dig around to see where this unwanted space comes from. 2002-02-22 13:32 formnull * lib/SandWeb/Browse.pm, templates/browse_module.html: size and age shouldn't be links right now, they don't do anything 2002-02-22 01:14 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module_header.html: fixed stupid bug, last checkin for the night :P 2002-02-22 00:54 formnull * templates/: browse_module_footer.html, browse_module_header.html: checking stuff in for the nite. everything seems to work pretty good, lots more cleanup to come. 2002-02-22 00:53 formnull * bin/sandweb.cgi, templates/browse_module.html: ack, tool_bar is not nearly generic enough for this. took some steps to make it more generic, but realized that header and footer settings should be UI's job. 2002-02-22 00:38 formnull * bin/sandweb.cgi: implemented tool_bar and current_location in view_file 2002-02-22 00:31 formnull * bin/sandweb.cgi: pass $repo_name to upload_file.html 2002-02-22 00:29 formnull * templates/upload_file.html: upload_file.html needs to store the repo_name so we can figure out where we are 2002-02-22 00:22 formnull * templates/current_location.html: oops, should not close HTML form in this file 2002-02-22 00:10 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/current_location.html: current_location is now a public method of Browse 2002-02-21 20:48 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module.html: ok, geT_tool_bar is completely seperate from get_browser. cool! 2002-02-21 19:59 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: wow, implementing toolbar worked first time i tried. kick ass. note that this is still using the HTML::Template system, but once I get this all in place I'm going to rip it out and make the CGI deal with browse's output. 2002-02-21 19:49 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: changed method name from "browse" to "get_browser" 2002-02-21 19:47 formnull * lib/SandWeb/Browse.pm, templates/browse_module.html: starting moving non-browse code out of browse method. This checkin disables the toolbar and the current location bar. sorry! 2002-02-21 19:38 formnull * templates/: current_location.html, tool_bar.html: these are basically stubs for the tool_bar/current_location split in browse 2002-02-20 22:27 njennings * templates/browse_module.html: * more minor UI updates 2002-02-20 21:56 njennings * templates/view_file.html: * minor UI enhancements 2002-02-20 21:52 njennings * bin/sandweb.cgi: * removed uneeded reference to non-existant data. 2002-02-20 21:43 njennings * lib/SandWeb/UI.pm, templates/framework.html: * added footer to display on all menus. worked into the framework.html and the UI.pm 2002-02-19 21:32 formnull * bin/sandweb.cgi, templates/create_file.html, templates/create_folder.html: fixing fallout from the multi-repo changes 2002-02-19 21:14 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, templates/commit.html: added lots of debug and fixed some more stuff 2002-02-19 20:49 formnull * lib/SandWeb/Repository.pm: hmm, "watchers" wasn't implemented. odd, it used to be there. 2002-02-19 20:46 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: file commands behaving more sanely now; took out "current location" from everywhere but browse_module_menu, it's broken now and also the implemention was a hack. 2002-02-19 20:26 formnull * templates/: create_file.html, create_folder.html, edit_file.html, upload_file.html, vcs_output.html, view_file.html: view_file works, edit_file does not 2002-02-19 01:35 formnull * bin/sandweb.cgi, templates/create_file.html, templates/create_folder.html, templates/edit_file.html, templates/upload_file.html: * file commands are mostly working multi-repo, but it seems to return to the wrong place. Looks related to the "current location" bugs, basically browse_module has changed dramatically and these need to be rewritten somewhat 2002-02-19 01:09 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/Repository.pm, templates/browse_module.html, templates/sandbox.html: * VCS commands now ( appear to ) work with the multi-repo setup * there are known bugs with "current location" and edit_file * everything but the basics have not been tested, just the groundwork is in place 2002-02-18 23:12 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: * fixing vcs_commands pulldown 2002-02-18 23:00 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: * file viewer supports module_name 2002-02-18 22:53 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module.html: * module_name implemented 2002-02-18 22:45 formnull * lib/SandWeb/Browse.pm: * browse now uses accepts module_name, implementation could use work but I think it's basically correct * i did some other clean up and managed to break the VCS pulldown. no big deal, since VCS commands won't work until browse_module_menu is rewritten to support the new multi-repo stuff anyway. 2002-02-18 22:31 formnull * bin/sandweb.cgi: fixed a couple warnings 2002-02-18 22:23 formnull * bin/sandweb.cgi: * adding support for module_name to browse_menu * general cleanup on the browse_menu subroutine this needs changes in Browse.pm ( which i'm not done with ) and browse.html to work, this checkin breaks the CVS version 2002-02-18 13:43 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm: * forgot about saving repo_username (done) * split add_module_entry into add_module & update module * cleaned up some code * fixed bug in add/update repo 2002-02-18 04:29 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm, templates/checkout.html: * added description support 2002-02-18 04:15 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm, lib/SandWeb/Repository.pm: * checkout now works (maintains data structure). * all (most) data accessing is now encapsulation in CGI * fixed misc. bugs in Config and Repository 2002-02-18 03:16 njennings * bin/sandweb.cgi, lib/SandWeb/Auth.pm, lib/SandWeb/Config.pm: * created get/set for all of the repository data * created create/update repository * fixed Auth reference to old userinfo (instead of username) 2002-02-18 02:59 njennings * bin/sandweb.cgi: Ooops (fixed syntax error) 2002-02-18 02:58 njennings * bin/sandweb.cgi: * updated more of the CGI to use the new methods for accessing data 2002-02-18 02:55 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm: * added all methods for getting repository info & updated CGI * fixed bug in Config (missing params in newly created method). 2002-02-18 02:44 njennings * bin/sandweb.cgi, lib/SandWeb/Auth.pm: * changed $auth->get_userinfo('username') to $auth->get_username(); 2002-02-18 02:41 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm: * added methods for getting personal data, and update CGI accordingly. * fixed mistake in Config. 2002-02-18 02:37 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm: * added get_module_desc method 2002-02-18 02:28 njennings * bin/sandweb.cgi, lib/SandWeb/Config.pm: * beginning to encapsulate config data. * created add_module_entry to Config class * converted getting repo lists & getting module lists to methods 2002-02-17 12:27 formnull * bin/sandweb.cgi: * we were already checking for cookie auth in the main subroutine; no need to do it in every menu ( removed ). * was able to fix the auth checker in main() so that it is self contained and leaves the subroutine if it fails, instead of nesting the rest of the subroutine. makes main() alot more readable. * reformmatted code ( just a little ) 2002-02-13 01:19 njennings * lib/SandWeb/Config.pm, templates/login.html: * took $self->{'module'} creation out of Config.pm, 2002-02-13 01:18 njennings * bin/sandweb.cgi: * hundred of debug and data validation loops later, the repository->module->sandbox chain is (initially) complete. No descriptions for modules (which I left out of the data struct) currently... Need to think of how they should be in the data struct. 2002-02-13 00:31 formnull * lib/SandWeb/Browse.pm: changing action=file to action=browse_file 2002-02-13 00:29 formnull * lib/SandWeb/Browse.pm: ack, removing _menu reference 2002-02-12 23:52 njennings * bin/sandweb.cgi: * working on checkout, not working 2002-02-12 23:42 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: hmm, fixed formatting in Repository, looks like a gen-u-wine bug in CVS.pm! for some reason it was trying to do cvs co $sandbox$file which is weird, it should just do cvs co $file because it's already in the sandbox dir. I used the sandweb/test/vcs script to verify that it works now, given a correct Repository object and module name. 2002-02-12 23:00 njennings * templates/checkout.html: * added hidden input for action (so it gets commited) 2002-02-12 22:59 njennings * bin/sandweb.cgi: * NOW the checkout_commit() is actually executed. But the $repository->checkout() method call isn't working it seems. 2002-02-12 22:44 njennings * bin/sandweb.cgi: * fixed up the checkout_commit() menu. It still doesn't actually checkout anything, however it does execute sucessfully, and most code for it is in place. Need to figure out how to use the javascript popup window for the VCS output, and also how to do the checkout at all. :) 2002-02-12 22:16 formnull * templates/: browse_module.html, edit_file.html, view_file.html: migrating file actions to browse_file_* 2002-02-12 21:50 njennings * bin/sandweb.cgi: * removed depricated functions: main_menu & vcs_prefs 2002-02-12 21:42 njennings * templates/: browse_module.html, create_file.html, create_folder.html, edit_file.html, menu_bar.html, preferences.html, repository.html, sandbox.html, upload_file.html, vcs_output.html, view_file.html: * updated templates NOT to refer to *_menu 2002-02-12 21:36 formnull * bin/sandweb.cgi: cut out *_menu 2002-02-12 21:08 njennings * templates/: browse_module.html, commit.html, create_file.html, create_folder.html, edit_file.html, upload_file.html, view_file.html: * modified files from value="file" to value="browse_file" and value="vcsaction" to value="browse_vcs" 2002-02-12 20:33 njennings * templates/checkout.html, bin/sandweb.cgi: * finished checkout_menu() (no checkout_commit() yet) 2002-02-12 20:26 formnull * bin/sandweb.cgi: making nick's version newest 2002-02-12 20:24 formnull * bin/sandweb.cgi: bad merge, reverting to nick's changes 2002-02-12 20:14 formnull * bin/sandweb.cgi: merging vcsaction split changes 2002-02-12 20:08 njennings * templates/checkout.html, templates/sandbox.html, bin/sandweb.cgi: * fixing up checkout_menu() (for checking out a module) 2002-02-12 19:39 formnull * bin/sandweb.cgi: moved checkout to checkout_menu and checkout_commit 2002-02-11 00:55 njennings * bin/sandweb.cgi: * default menu now sandbox menu 2002-02-10 18:47 njennings * bin/sandweb.cgi, templates/repository.html: * repository menu now seems to be fully working. next is to add support to check out a module menu. 2002-02-10 18:02 njennings * bin/sandweb.cgi: * the repository menu now displays relevant info for selected repo 2002-02-10 17:34 njennings * templates/framework.html: * put the debug statements outside of main table so that their length doesn't stretch the table width 2002-02-10 16:27 njennings * bin/sandweb.cgi: * took care of some testing of uninitialized vars 2002-02-10 16:19 njennings * lib/SandWeb/Browse.pm: * changed some indenting 2002-02-10 13:26 formnull * etc/sandweb.cfg: hmm, not sure how it got checked in like this, on all my test systems i use /cgi-bin/sandweb/bin/sandweb.cgi not /sandweb/bin/sandweb.cgi is it just me? 2002-02-10 13:23 formnull * lib/SandWeb/File.pm: better regexp loop for IE file upload workaround 2002-02-10 13:12 formnull * lib/SandWeb/File.pm: put in some regexps in an attempt to workaround IE/Windows behaviour when uploading files ( it gives us the whole path starting from the drive letter, we just want the filename ) 2002-02-10 12:53 formnull * lib/SandWeb/File.pm: formatting fixes 2002-02-10 12:50 formnull * templates/edit_file.html: typo prevented "current location" from working in edit_file 2002-02-10 12:46 formnull * templates/view_file.html: created a new <td> for download/edit commands, so they are not on the same line as current location 2002-02-10 01:46 formnull * bin/sandweb.cgi: renamed "remove" to "delete" 2002-02-10 01:09 formnull * lib/SandWeb/Browse.pm: current location now splits on / not space 2002-02-04 23:59 njennings * lib/SandWeb/Config.pm: * updated config file writing structure 2002-02-04 23:54 njennings * bin/sandweb.cgi: * fixed formatting and data input<->output handling. Still not 100% there but data seems to read/write "ok" 2002-02-04 23:28 njennings * lib/SandWeb/Log.pm: added <pre> to dump log option 2002-02-04 23:23 njennings * bin/sandweb.cgi: * reverted back to old copy, going with a unified $user->* data struct. instead of seperatating them all out. (user prefs, module, repository). General waste of 3 hours :) 2002-02-04 22:43 formnull * bin/sandweb.cgi: checking nick's version over mine. merging by hand. 2002-02-04 22:20 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: merging changes 2002-02-04 22:18 njennings * templates/repository.html: * updated repository template to provide unified params 2002-02-04 22:17 njennings * bin/sandweb.cgi: * heavily modified the load_*_settings whole dealy. Revamping whole data management process. Not quite working state and/or untested really. 2002-02-04 22:16 njennings * lib/SandWeb/Config.pm: * added write_repository_config 2002-02-04 21:58 njennings * etc/: prefs.cfg, repository.cfg, sandweb.cfg: * added new cfg files for repositories and modules 2002-02-04 21:46 formnull * lib/SandWeb/File.pm, templates/browse_module.html: changed "remove" to "delete", added access keys for browse_module_menu : alt-i : create_file alt-o : create_folder alt-d : delete alt-r : rename alt-u : upload 2002-02-04 21:25 formnull * lib/SandWeb/Browse.pm: "current location" bug - getting spaces at the end of data in odd circumstances ( three dirs deep, click on a dir w/ spaces ).. spaces are not allowed at the end of filenames, so stripped them out 2002-02-04 20:25 njennings * templates/framework.html: * updated the top menu to not wrap under 640x480 2002-02-02 19:56 formnull * templates/browse_module.html: purple for first entry, white for second ( etc ). looks better to me 2002-02-02 19:54 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse_module.html: moved hard-coded color info in Browse.pm out into browse_module.html thanks to <TMPL_IF> and <TMPL_ELSE> statements. The logic is exactly the same inside Browse.pm, just had to change "$color0" to 0 and "$color1" to 1. Rad ;) 2002-02-02 19:45 formnull * bin/sandweb.cgi, templates/view_file.html: edit is now implemented as a <TMPL_IF> instead of hard-coded HTML in the CGI. Also removed "FULLPATH" variable from CGI, that's old stuff from before the File object existed. 2002-02-02 19:24 formnull * bin/sandweb.cgi: made sure there were comments for every single subroutine. Also, made comment style for subroutines uniform. Listed all args for given subroutine in it's comments, as well as a list of objects that are created and used within. 2002-02-02 01:35 formnull * lib/SandWeb/Browse.pm: oops, last checking broke "Current location" bar. this fixes it but good! 2002-02-02 01:30 formnull * lib/SandWeb/Browse.pm, templates/browse_module.html: * made "Current location" bar a little more readable by lightening the background although I still don't think it's *quite* right, it's better * put [] around directory names in "Current location" bar, makes it alot easier to read especially when there are dirs with spaces in them 2002-02-02 01:15 formnull * lib/SandWeb/Browse.pm: fixed "current location" bug 2002-02-02 01:04 formnull * lib/SandWeb/File.pm, templates/checkout.html, templates/commit.html, templates/create_file.html, templates/edit_file.html, templates/upload_file.html: fixed security prob with File, also removed old obsolete "fullpath" key 2002-02-01 17:41 njennings * bin/sandweb.cgi, templates/repository.html: * lots of work done on the repository menu, it's still not operational but is comming along. There are lots of issues due to the fact that lots of development was done *before* multiple repositories were in place, so theres alot of code that will need to be changed. 2002-02-01 15:47 njennings * templates/repository.html: * updated repository template to support multiple repositories 2002-02-01 15:31 njennings * bin/sandweb.cgi: * working on repository_menu, not finished, but got a design going. * added comments to subroutines describing params (rob, can you do this for your subroutines??) 2002-01-31 19:50 njennings * bin/sandweb.cgi: * changed browse titlebar message to be lower case and removed the workd 'menu' from it. 2002-01-31 19:45 njennings * templates/framework.html: * centered error messages 2002-01-31 19:44 njennings * templates/sandbox.html: * added 'update' to function section in sandbox menu (module listing) so now you can 'delete' or 'update' a module. 2002-01-31 19:39 njennings * templates/: login.html, preferences.html: * tweaked the UI a bit, made the login menu more aligned with the rest of the menus 2002-01-31 15:32 njennings * lib/SandWeb/: Auth.pm, Log.pm: * Added some debug messages in Auth, and modified logging format a bit to always put \n's 2002-01-31 15:31 njennings * templates/: browse_module.html, checkout.html, commit.html, create_file.html, create_folder.html, edit_file.html, file.html, file_info.html, login.html, preferences.html, repository.html, tag.html, template.html, upload_file.html, vcs_output.html, view_file.html: * took out <p>'s and replaced with <tr><td>'s etc. formatting in general was really screwed. MUST use tables - dont not just put some <p>'s and <center>'s (in fact, never use <p>'s and <center>'s only very seldom in certain situations 2002-01-31 15:30 njennings * templates/: framework.html, sandbox.html: * modified the framework and related templates to get rid of formatting problems from <p>'s and lack of <tr>'s and <td>'s * resolved conflicts due to simultaneous changes of the same templates 2002-01-31 15:23 formnull * templates/menu_bar.html: missed a couple nbsp 2002-01-31 15:16 formnull * templates/: browse_module.html, framework.html, menu_bar.html, preferences.html, repository.html, sandbox.html: had alot of &nbsp instead of &nbsp; 2002-01-31 15:08 formnull * templates/: browse_module.html, file_info.html, repository.html, sandbox.html, vcs_output.html, view_file.html: fixed various little xhtml issues so we'll go through validator.w3.org 2002-01-31 00:06 formnull * bin/sandweb.cgi: %repository_settings was referred to but only "my $repository_settings" had been defined. 2002-01-30 22:35 njennings * templates/repository_settings.html: * removed this mo'fo cuz it be OBSOLETE!! 2002-01-30 22:08 njennings * bin/sandweb.cgi: * working on internal repository & module stuff. not really started.. ;) 2002-01-30 21:50 njennings * bin/sandweb.cgi, templates/framework.html, templates/menu_bar.html, templates/repository.html, templates/sandbox.html: * modified the menu layout again, turned repository stuff into it's own menu 2002-01-30 20:32 njennings * bin/sandweb.cgi: * made changes to move browse menu to sandbox menu 2002-01-30 20:32 njennings * templates/: browse.html, framework.html, menu_bar.html, sandbox.html: * heavily modified the UI, took out the left menu and replaced it with small little control menu. * renamed browse menu to sandbox menu, and made applicable changes 2002-01-29 14:13 formnull * bin/sandweb.cgi: should be "browse module menu" not "browse repository menu" 2002-01-28 22:22 formnull * templates/browse_module.html: improved UI a teeny bit 2002-01-28 22:18 formnull * bin/sandweb.cgi: removing redundant line 2002-01-28 22:16 formnull * bin/sandweb.cgi: repository_settings_menu now creates a Repository object so it can figure out what kind of repositories and connection types that we can accept 2002-01-28 20:29 formnull * bin/sandweb.cgi: oops, didn't test this enough apparently.. now file commands should work properly 2002-01-28 20:17 formnull * bin/sandweb.cgi, templates/checkout.html: moved checkout command to vcsaction ( it was put in file from a _long_ time ago ;) and updated the template a bit. Put a test entry in there. The UI isn't very sweet, but it's there. 2002-01-28 20:05 formnull * bin/sandweb.cgi: added repository_settings_menu note: this just displays the template. Nothing else! :) 2002-01-28 17:32 formnull * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb/Browse.pm, templates/browse_module.html: file actions are now implemented as a toolbar instead of a pulldown 2002-01-28 12:24 formnull * lib/SandWeb/Browse.pm: spaces were getting inserted into the location link for links that go three or more directories deep.. fixed 2002-01-28 12:00 formnull * lib/SandWeb/File.pm: folders were being created with wonky perms 2002-01-28 11:53 formnull * templates/: browse_module.html, checkout.html, commit.html, create_file.html, create_folder.html, edit_file.html, tag.html, upload_file.html, vcs_output.html, view_file.html: hidden input field "TMPL_VAR NAME=LOCATION" was not specified in the create_f*.html files. also, I removed all references of "TMPL_VAR NAME=MENU", since it's not going to be used ( cookies will be used instead ) and it doesn't do anything anyway :P 2002-01-28 11:42 formnull * templates/: create_file.html, create_folder.html: now have clickable "Current location"s 2002-01-28 11:38 formnull * templates/upload_file.html: shows a clickable "current location" 2002-01-28 11:11 formnull * bin/sandweb.cgi: noticed a bug with cookie handling; header was being set with CGI::header( -ck_auth => $ck_auth ) should be CGI::header( -cookie => $ck_auth ) 2002-01-27 17:09 njennings * bin/sandweb.cgi, lib/SandWeb/Auth.pm: * changed generic 'sandweb' cookie, to 'sandweb_auth' and throught the CGI it is reffered to (and passed to functions as) ck_auth. ($ck_auth). This will seperate out ck_* to be able to use cookies for different things, like: ck_curr_menu (sandweb_curr_menu) ck_prev_menu (sandweb_prev_menu) 2002-01-27 12:36 njennings * templates/browse.html: * took all instances of sandweb.cgi out of browse.html and replaced with <TMPL_VAR NAME="PROGNAME"> 2002-01-26 18:39 njennings * bin/sandweb.cgi, templates/browse.html: * working on multi-module settings and management of repositories/module, at a good stopping point for the moment but not everything will work. 2002-01-26 18:05 njennings * templates/browse.html: * minor changes to browse.html (added create module menu) 2002-01-26 17:55 njennings * bin/sandweb.cgi, templates/browse.html: * working on sorting out repositoy/module mess 2002-01-26 17:51 njennings * templates/browse.html: modified browse_repository_menu to browse_module_menu 2002-01-26 17:48 formnull * lib/SandWeb/Browse.pm, templates/browse.html, templates/browse_module.html, templates/browse_repository.html, templates/edit_file.html, templates/vcs_output.html, templates/view_file.html: changed browse_repository to browse_module 2002-01-26 17:28 formnull * templates/browse_repository.html: fixing bug 2002-01-26 17:26 njennings * templates/: browse.html, framework.html: * working on the browse.html more. semi-working now. * modified the framekwork.html, changed to color of the left menu to a lighter grey 2002-01-26 17:26 formnull * templates/browse_repository.html: removing test statements 2002-01-26 16:41 njennings * templates/browse.html: * browse.html blank template 2002-01-26 16:34 njennings * bin/sandweb.cgi: * created replacement for browse_menu, old browse_menu now browse_repository_menu 2002-01-26 16:33 formnull * lib/SandWeb/Browse.pm, templates/browse_repository.html: changed "browse_repository_menu.html" to "browse_repository.html" 2002-01-26 16:32 njennings * templates/: browse.html, repository_settings.html: * adding new menus 2002-01-26 16:31 njennings * templates/: browse.html, preferences.html, vcs_prefs.html: modifying template names 2002-01-26 16:24 formnull * lib/SandWeb/Browse.pm: changed browse.html to browse_repository_menu.html 2002-01-26 16:10 njennings * etc/sandweb.cfg: * corrected sandweb.cfg 2002-01-26 16:04 formnull * templates/: browse.html, checkout.html, commit.html, create_file.html, create_folder.html, edit_file.html, tag.html, upload_file.html, vcs_output.html, view_file.html: changed path to location and browse_menu to browse_repository_menu 2002-01-26 16:03 formnull * lib/SandWeb/Browse.pm: changed "browse_menu" to "browse_repository_menu" 2002-01-26 15:30 njennings * bin/sandweb.cgi: * fixed browse menu bug (for real this time) 2002-01-26 15:29 njennings * bin/sandweb.cgi: * fixed browse_menu bug 2002-01-26 15:27 formnull * lib/SandWeb/Browse.pm, templates/browse.html, templates/edit_file.html, templates/template.html, templates/vcs_output.html, templates/view_file.html: changed "location" to "path" and "browse_menu" to "browse_repository_menu" to make room for new "browse_menu" to support multiple repositories on Hack SandWeb Dat 2002-01-26 15:27 njennings * bin/sandweb.cgi: * corrected location => path, path => location problem in sandweb.cgi * fixed user prefs loading so one repository acts the same as multiple repositories. * working on modified browse_menu (not complete) 2002-01-26 14:25 formnull * templates/edit_file.html: HTML problem cause "current location" clickable to not work 2002-01-26 14:22 formnull * lib/SandWeb/File.pm, lib/SandWeb/Repository/CVS.pm, templates/vcs_output.html: fixed cvs output a bit, plus added "cvs update" handler for "?" aka "Unknown" 2002-01-26 14:12 formnull * lib/SandWeb/Browse.pm: fixed security prob reported by njennings 2002-01-26 13:56 formnull * bin/sandweb.cgi: upload is now on the browse_menu 2002-01-26 13:39 formnull * templates/: edit_file.html, view_file.html: hopefully this will eliminate stupid space problems with the inline editor 2002-01-26 13:34 formnull * bin/sandweb.cgi, etc/sandweb.cfg, templates/view_file.html: made edit in view_file a link, plus made default mime_type-file location /etc/apache 2002-01-25 10:21 formnull * bin/sandweb.cgi: added comments, replaced spaces with tabs 2002-01-24 23:41 njennings * bin/sandweb.cgi, templates/view_file.html: * updated view_file template * changed some vars and added content to sandweb.cgi 2002-01-23 13:04 formnull * lib/SandWeb/Browse.pm: "Current location" bar now has clickable "[root]" instead of clickable "/" ( which was just impossible to hit ;) 2002-01-23 13:03 formnull * lib/SandWeb/Repository/CVS.pm: oops.. typo prevented "P" from getting turned into "<font color=blue>Updated</font>" 2002-01-22 10:10 formnull * lib/SandWeb/Repository/CVS.pm: added color for "P", just made it say "Updated" 2002-01-22 00:29 formnull * lib/SandWeb/Diff.pm: red for removed, green for added, blue for none 2002-01-22 00:25 formnull * lib/SandWeb/: Diff.pm, Repository.pm, Repository/CVS.pm: added colorized diff.. started from scratch, so it's pretty weak right now ;) 2002-01-20 21:56 formnull * lib/SandWeb/Diff.pm: started cleaning up code, added a constructor, and reformatted the code 2002-01-20 20:01 formnull * lib/SandWeb/Diff.pm: checking in current diff code. please note that this is not integrated with sandweb yet 2002-01-20 16:23 formnull * bin/sandweb.cgi, templates/view_file.html: stripped out browser-unfriendly characters from view_file data, so we don't have to use a textarea anymore.. hurrah! :) looks much better now. 2002-01-19 22:42 formnull * templates/: edit_file.html, view_file.html: did I finally get the formatting right? let's see. 2002-01-19 14:38 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/edit_file.html, templates/view_file.html: * removed "edit" button from view_file page if file is non-text, it's useless and could easily cause stupid user-induced problems * view_file now uses POST form to send file to edit_file, and edit_file uses POST to save it. This way we don't get "URI too long" errors from Apache ( and other web servers too, I'd imagine ). 2002-01-19 14:15 formnull * bin/sandweb.cgi: CGI::Carp now sends fatal errors to browser, so the generic "500 Internal Server Error" is replaced by a useful message 2002-01-19 13:28 formnull * bin/sandweb.cgi: explicitly uses header as CGI::header, also made login incorrect and invalid cookie messages more user friendly 2002-01-19 13:17 formnull * bin/sandweb.cgi: cleaned up code a little, plus got rid of a -w warning 2002-01-18 13:14 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: ok, fixed the uninitialized value -w was complaining about, filename and location weren't being filled in in the file object that was being created to get the file_options. I initialized them with blank values. 2002-01-18 12:54 formnull * lib/SandWeb/File.pm: oops, need to be a little slicker checking for this uninitialized value 2002-01-18 12:52 formnull * lib/SandWeb/: Browse.pm, File.pm, Repository/CVS.pm: clearing up more -w warnings 2002-01-18 11:46 formnull * bin/sandweb.cgi: added a couple comments for upload subroutine. arg, the version of perl on my sun box is too old to get a newer version of CGI.pm, and I need to get some new libraries to build perl.. sigh.. I'll have to work on that for a while before I can get back to playing with upload/download 2002-01-18 11:39 formnull * bin/sandweb.cgi: prefixed param/upload statements with CGI::, so we can tell CGI subroutines from sandweb.cgi subroutines. 2002-01-18 11:25 formnull * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb.pm, lib/SandWeb/Browse.pm, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/CVS.pm: added -w to perl invokation, cleaned up potential problems that were indicated 2002-01-17 23:49 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: upload now returns you to the file you were viewing 2002-01-17 23:40 formnull * lib/SandWeb/File.pm: hmm.. the current version of the upload template is probably unsuitable for browse menu, anyway. removing from the menu for now. 2002-01-17 23:37 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/upload_file.html: file upload now works from the file menu. it probably does NOT work from the browse menu (yet). 2002-01-06 23:17 formnull * templates/: edit_file.html, view_file.html: <textarea> tags are so lame. the content tag just needs to be right-justified inside the template. blah. 2002-01-06 23:14 formnull * lib/SandWeb/File.pm, templates/view_file.html: implemented a temporary solution for download in the view_file template; I disabled the download pulldown that's on the browse menu for now. The problem is that the way I'm passing the filename seems to require that it's an <A HREF> rather than a <FORM>. ack. 2002-01-06 21:19 formnull * lib/SandWeb/Repository/CVS.pm: added color for cvs updated. looks MUCH more readable now. 2002-01-02 15:42 formnull * lib/SandWeb/File.pm: did some work on file download, works better now but for some reason prompts you to download sandweb.cgi if you try to "Save As" in the browser. Odd. 2002-01-02 14:51 formnull * lib/SandWeb/Browse.pm, templates/vcs_output.html: added more debugging, and fixed location bug 2002-01-02 14:35 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: added debugging to browse, to help me debug a problem :) 2002-01-02 12:19 formnull * bin/sandweb.cgi, templates/vcs_output.html: added current location/current filename to top of page. MUCH more usable now. 2001-12-30 04:26 formnull * templates/vcs_output.html: first line had an extra space prepended; fixed 2001-12-30 04:24 formnull * templates/: edit_file.html, view_file.html: synchronized look&feel between edit/view pages. much nicer now. 2001-12-22 20:48 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: turned on context diff by default, and documented it. if we can parse this data, colorize the parts prefaced by "+ " and "- ", we will have "colorized context diff" functionality. 2001-12-22 14:01 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: better debugging and error reporting when a file can't be removed by the user. 2001-12-22 14:00 formnull * templates/view_file.html: hmm, not sure what I was thinking last night, but that textfield tag was completely malformed. it works now. 2001-12-21 14:17 njennings * templates/browse.html: * added preceeding space to file size area. what happened to the Command menu? 2001-12-21 14:13 njennings * templates/browse.html: * Fixed table cell spacing in browse.html 2001-12-21 00:33 formnull * templates/view_file.html: view_file now offers a link to your previous location ( too easy to get lost, if you edit and view over and over it's a pain in the arse to use the back button ) 2001-12-21 00:29 formnull * bin/sandweb.cgi: ok, edit_file actually works when called from view_file now :) 2001-12-21 00:12 formnull * bin/sandweb.cgi, etc/sandweb.cfg, templates/browse.html, templates/view_file.html: removed "Commands" column, you can get to edit by clicking on a file ( which brings up the View screen ) and pressing the edit button. saving the file brings you back to the View screen. 2001-12-20 23:36 formnull * templates/browse.html: adjusted vcsaction/file table 2001-12-20 23:31 formnull * templates/browse.html: adjusted one td to match the other 2001-12-20 23:25 formnull * templates/browse.html: made browse look good in 640x480.. :) ( on my screen anyway. should look fine in Win/IE since the fonts are smaller than Linux/Moz ) 2001-12-20 23:15 formnull * lib/SandWeb/Browse.pm: Browse object uses File object for file info now 2001-12-20 18:40 formnull * bin/sandweb.cgi: implemented the File object in place of raw open/close statements in more places, and made edit_file go to view_file after a file is saved ( rather than making it go back to the last known browse location ) 2001-12-20 17:12 formnull * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb/File.pm, templates/view_file.html: made mime.types location and filename configurable in sandweb.cfg 2001-12-20 15:31 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: non-text files now give the download option when you click on them. it essentially pulls up the view_file template with no content. 2001-12-20 15:26 formnull * lib/SandWeb/File.pm: created private method, _get_mime_type that's used by download 2001-12-20 15:11 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: moved download/mime detection code into the download method of File.pm hmm, get_mime_type would make a good method too, would compliment get_file_type nicely ( knowing what's text and what's not is very cool, but it would be even cooler to take a guess at filetype based on MIME type and load a different icon, or be able to take different user-defined actions ). 2001-12-20 15:05 formnull * bin/sandweb.cgi, templates/view_file.html: file download is still broken, but it at least detects the proper mime type and asks if you want to download it.. :) hmm.. both download and upload should be public methods in the File class, that'd be rad. Then we could just do like - my $file = SandWeb::File->new( filename => "/this/file.txt" ); $file->download(); of $file->upload(); if it was a new file. Rad. 2001-12-20 14:58 formnull * templates/browse.html: changed what happens when you click on a filename from "info" to "view" 2001-12-20 12:29 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, lib/SandWeb/Log.pm: added debugging to the File class 2001-12-19 18:58 formnull * lib/SandWeb/File.pm: internal stuff. _do_file_read needs to treat <FILE> as array, not scalar. 2001-12-19 18:51 formnull * lib/SandWeb/File.pm: ah.. much better :) private methods invoked by public methods. no more creating file objects inside file objects. object orientation kicks ass. 2001-12-19 18:34 formnull * lib/SandWeb/: Browse.pm, File.pm: browse doesn't use UI, so it shouldn't have "use SandWeb::UI" at the top ;) Browse just uses HTML::Template to return content to the main CGI, which puts it all together using UI. Also, File now uses itself ( which is, admittedly, weird ). What I probably need to be doing is adding a public method for file_read and file_write, which just call the private methods doing the actual work. hmm.. yeah, that'll be better. I'll do it now. 2001-12-19 18:30 formnull * bin/sandweb.cgi: started adding debugging, when I realized that instead of doing tons of error checking and debugging statements all over the place, this stuff should really be encapsulated and handled by the File class. 2001-12-19 18:26 formnull * lib/SandWeb/File.pm: created file_write and file_read methods these are public methods that will handle file reads and creation, and set the debug and error logs accordingly. 2001-12-19 14:35 formnull * templates/browse.html: decreased font size for titles, made command column 5% smaller 2001-12-18 23:22 njennings * templates/browse.html: html formatting changes to browse.tmpl 2001-12-18 12:24 formnull * lib/SandWeb/File.pm, templates/browse.html: simplified time, made column a little smaller 2001-12-18 11:12 formnull * templates/browse.html: cleanup up UI a bit 2001-12-18 01:47 formnull * bin/sandweb.cgi: implemented multi-file "file operations" for the only subroutine which actually needs it at this point : remove Tested, works. I could forsee download using it to tar/zip/jar/whatever a bunch of files and sending them to you. that'd be sweet. maybe we could have a preference setting. 2001-12-18 01:07 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, templates/checkout.html, templates/commit.html, templates/create_file.html, templates/create_folder.html, templates/edit_file.html, templates/upload_file.html: multi-file VCS commands now work. fixed some other bugs throughout the program, mostly fallout from adding the file pulldown to the browse template. 2001-12-17 23:47 formnull * lib/SandWeb/Repository/CVS.pm: got rid of the old multi-file functionality ( doesn't work for files w/ spaces ) cleaned up formatting alot 2001-12-17 19:24 formnull * templates/browse.html: made view_file and edit_file work again 2001-12-17 18:29 formnull * bin/sandweb.cgi: cool, so now VCS actions don't break if no filename is entered, instead they are performed on the current directory ( which is great for update, since you can't add a file that's not there :P ) please note that I've broken view and edit, i'll fix them when i get home. 2001-12-17 18:18 formnull * bin/sandweb.cgi: sweet.. remove works. 2001-12-17 18:12 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/File.pm: implemented file operations. the functional piece of the UI is there, I don't think the filenames are being caught correctly however. I'll work on that next. 2001-12-17 18:10 formnull * templates/upload.html: renamed to upload_file.html 2001-12-17 18:09 formnull * templates/: browse.html, upload_file.html: renamed upload.html to upload_file.html 2001-12-17 16:42 formnull * templates/create_file.html: added more verbosity 2001-12-17 15:45 formnull * templates/browse.html: removed illegal HTML 2001-12-17 11:27 formnull * lib/SandWeb/Repository/CVS.pm: fixed stupid typos that broke VCS diff. the more i think about it now, the code duplication makes sense in Repository and CVS so we can do more intelligent parsing and more features later on. 2001-12-16 01:12 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/CVS.pm: fixed some typos in Repository.pm/CVS.pm that prevented simple diff ( current sandbox version versus repo version ) from working. also did some formatting while i was there. There's alot of code duplication in CVS.pm and Repository.pm, I think they could get cut down to almost nothing, just as UI was. Ah, well, it's annoying, because it's not really high priority, but it makes stupid little bugs like this more frequent. I can see value in sitting down and cleaning these modules up before we go further, since they're just going to keep causing little bugs due to human error. 2001-12-16 00:30 formnull * bin/sandweb.cgi: bugfix - $location was not being passed when the file was opened, and there was no / between $username and $file ( there is not supposed to be a space between $username and $location, this is probably some kind of weird typo situation ). Anyway. fixed, tested. 2001-12-10 10:33 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: formatting fixes 2001-12-07 13:47 formnull * templates/browse.html: oops, left border on. reset to 0. 2001-12-07 13:46 formnull * templates/browse.html: typo - 100% written as 100$ that broke layout for IE. fixed. 2001-12-06 16:18 formnull * bin/sandweb.cgi: fixed a bug I caused by fixing Browse ;) 2001-12-06 15:35 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: fixed a couple bugs with view/edit file functionality by making it use the File object properly ( finally ;) 2001-12-05 11:42 formnull * bin/sandweb.cgi: it is _really_ annoying when you accidently view/edit a big binary file. For now, viewing or editing non-text files inline is not permitted. I think the correct way to do this is to ask the user if they are sure ( maybe even have a checkbox for "Never ask this again"? would be cool. We need a more generic mechanism, would be a cool pref though ). Anyway, I think the user should just see the download button, and maybe this warning, if the file does not appear to be text. 2001-12-04 21:28 formnull * templates/vcs_prefs.html: moved template loop to the right place 2001-12-04 11:35 formnull * bin/sandweb.cgi: fixed typo; = should be eq, no wonder repo_type wasn't getting defaulted correctly in the vcs_prefs_menu :) 2001-12-04 10:58 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, templates/vcs_prefs.html: sweet. vcs_prefs is fixed. 2001-12-04 09:57 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: fixed bug with spaces; just needed to put escaped quotes around filenames in CVS.pm 2001-12-04 09:37 formnull * bin/sandweb.cgi, templates/login.html: er... I inadvertently broke the login page :) fixed now 2001-12-03 17:31 formnull * bin/sandweb.cgi: typo 2001-12-03 17:15 formnull * bin/sandweb.cgi, templates/preferences.html, templates/vcs_prefs.html: ok, now it's possible to edit your repository preferences, although you can only have one, it's still a step forward. 2001-12-03 16:49 formnull * templates/preferences.html: read-only repository settings done. 2001-12-03 16:46 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm: made the menu key uppercase, so it matches the other params 2001-12-03 16:43 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/template.html: UI.pm was getting to be a pain in the ass, so I fixed it. now there are ( only only ever should be, with the way we currently use UI.pm ) only 3 subroutines - print_screen, menu_bar and get_menu. 2001-12-03 15:09 formnull * bin/sandweb.cgi, templates/preferences.html, templates/vcs_prefs.html: began working on preferences stuff, right now we only support one repository, but we _fully_ support all possible repository options. the vcs_prefs need some work, though. I'm still working on it, as soon as it's good I'll check it in. 2001-11-30 12:42 formnull * bin/sandweb.cgi, templates/browse.html, templates/commit.html, templates/create_file.html, templates/create_folder.html, templates/edit_file.html: remove present tense/past tense form submit/subroutine style 2001-11-30 12:31 formnull * templates/view_file.html: grr.. formatting issues. stupid spaces :) 2001-11-29 12:48 formnull * templates/edit_file.html: putting a space before the variable entry seems to give the correct layout in the textarea. Odd. 2001-11-28 12:59 formnull * templates/browse.html: added javascript selectAll/clearAll for browse template. This was just a usability issue that was bugging me. there's no way to do this without javascript, not sure if we should hide things like this from browsers with js turned off. i wrote the javascript directly into this template. in the longer term it's probably better to have one .js file called from the framework. 2001-11-27 10:19 formnull * templates/edit_file.html: took out the space before the template variable, it causes there to be a space in the textarea when you're editing a file. Sucks. 2001-11-26 18:40 formnull * bin/sandweb.cgi: fixed bug in vcsaction/committed 2001-11-26 17:40 formnull * bin/sandweb.cgi: fixed annoying bug that made all new files/folders be created in the top-level sandbox dir. create_file/folder now work as expected. However, they don't warn you if there's a problem. we have to make File.pm actually generate error codes, and set the set_error accordingly. 2001-11-26 17:29 formnull * lib/SandWeb/File.pm: oops, this is a UMASK, not a mode ... :) 2001-11-26 17:27 formnull * templates/view_file.html: typo fix 2001-11-26 16:47 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/commit.html, templates/file_info.html, templates/vcs_output.html, templates/view_file.html: gave the file action's info command it's own template. This will be neccessary for CVSWeb-like output. We are really close on this - we just need to parse the "cvs log" output ( this is definitely going to be VCS-dependant :/ ) and implement colorized diff. Then we've reached parity with CVSWeb/ViewCVS. 2001-11-26 16:34 formnull * lib/SandWeb/Repository/CVS.pm: removed the slash check. I just realized how stupid it is; this is not CVS.pm's job. 2001-11-26 16:31 formnull * lib/SandWeb/Browse.pm: finally tracked down that stupid '//' bug, now I can take that workaround out of CVS.pm! It only happened when you clicked the "/" in the location field instead of clicking browse in the sidebar. fixed. 2001-11-26 16:26 formnull * lib/SandWeb/Repository/CVS.pm: fixed another bug related to // .. sigh. 2001-11-26 15:33 formnull * bin/sandweb.cgi, lib/SandWeb/Repository/CVS.pm: fixed a couple bugs in the file subroutine of sandweb.cgi, it was not passing the correct path to File->new(), and also did an "unless" instead of an "if" when checking to see if we were dealing with a binary file ( if so, a warning is issued when you view/edit the file ). 2001-11-26 11:48 formnull * lib/SandWeb/Repository/CVS.pm: put in rule to remove leading / or // ( it's sort of a bug that // gets in there, not sure how to handle it yet though :/ tricky one ). There is alot of redundancy in this class, alot of this stuff could probably be moved to the constructor. Not all of it, unfortunately. The thing is, most of the commands are carried out the exact same way, there's only a couple exceptions. Maybe there should be a catch-all method, and specific methods only where needed? I dunno, seems messy. anyway, it's not a big deal, just that the amount of copy/paste that's required to fix bugs like this seems against the whole idea of OOP. 2001-11-26 11:02 formnull * templates/upload.html: this should be action=file, command=upload, not action=upload doesn't actually do anything yet, but still :) 2001-11-26 11:01 formnull * templates/: create_file.html, create_folder.html: oops, forgot to add the create_* templates. here they are. 2001-11-26 10:42 formnull * lib/SandWeb/Repository/CVS.pm: now CVS.pm changes the working directory before executing CVS commands. This makes pserver work... woohoo! Checkout does not work yet however ( for other reasons ), and :ext: does not work with SSH/RSH unless you have hostkeys set up. If you do, it should work but I haven't tested it, since I don't. Once we can figure out a way to capture and answer the "password:" prompt, all of the above will work. 2001-11-26 10:14 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: implemented set_error correctly, also am getting complaints in a newer version of perl about mkdir requiring the second arg ( "mode" ).. weird. 2001-11-24 11:05 formnull * bin/sandweb.cgi: typo: get_file_type was entered as get_filetype 2001-11-24 05:20 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse.html, templates/edit_file.html: edit works now fixed location bugs in Browse.pm 2001-11-24 03:58 formnull * bin/sandweb.cgi, templates/browse.html, templates/checkout.html, templates/upload.html: fixed the location bug in create_file and create_folder. They both work as expected now; amount of code added was tiny. They need better error checking; right now, if creation fails, the user isn't notified ( blech ). Besides that, it's pretty sweet. The UI is pretty simple, and it's easy to add new files and folders and work with them. 2001-11-24 03:34 formnull * bin/sandweb.cgi, templates/browse.html, templates/checkout.html: hooked create_file, create_folder and checkout to their respective backends. there seems to be a bug with location that makes create_file and create_folder not very useful. checkout is basically a stub. 2001-11-24 03:09 formnull * lib/SandWeb/File.pm: added methods for : create_file, create_folder, remove_file, remove_folder, rename, copy tested all functions and added documentation. browse_menu UI is going to need some rethinking; there's no way a checked file can get passed right now, since all file operations are HREFs rather than part of an HTML form. I'm going to leave this unhooked from the frontend (browse_menu) for now. I put stubs in place on the frontend; just simple templates. Stubs are good. 2001-11-24 01:46 formnull * bin/sandweb.cgi: added vcsaction subroutine to main cgi, Repository calls are passed transparently through this. Repository actions that need special treatment ( like tag, because it requires user interaction ) can be caught and dealt with in vcsaction. These changes are by no means complete; it's more along the lines of stub code. More work needs to be done in the preferences area before I can carry this much further. However, I think it's compartmentalized into objects and subroutines pretty nicely now; should make a good foundation for future work. 2001-11-22 01:35 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/browse.html: added templates for create_file, create_folder and upload for these to work, there need to be 1) methods in File class to carry out these actions and 2) more "if" statements in the file subroutine of sandweb.cgi to catch the create command 2001-11-22 00:44 formnull * lib/SandWeb/File.pm: mtime is now returned in localtime rather than in UNIX time 2001-11-22 00:28 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/edit_file.html, templates/view_file.html: * fixed weird formatting of view and edit templates * updated File.txt documentation. I decided to document the location/file behavior as it *should* work; the problem I was seeing before is actually sandweb.cgi's problem. It needs an extra routine to support the correct behavior ( the filename needs to be extracted from the absolute or relative path ). 2001-11-21 17:53 formnull * lib/SandWeb/File.pm: removed all the code duplication. object orientation kicks ass :) 2001-11-21 17:40 formnull * lib/SandWeb/Browse.pm, lib/SandWeb/File.pm, templates/browse.html: Browse now instantiates a file object so it can pull the size ( in bytes ) and age ( the mtime, in "UNIX time" which is seconds since the epoch ) File needs some reworking to eliminate redundancy, I will do the byte->kilobyte and "UNIX time"->"Standard Time" calculations when I do this reworking. 2001-11-21 17:07 formnull * bin/sandweb.cgi: fixed problem with info browse. Now it runs cvs log on the file that you click on; next step is to parse that data and return it through a nice template. 2001-11-21 16:57 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/edit_file.html, templates/view_file.html: implemented view and edit more correctly, now they let you view or edit a non-Text file but you get a warning. Sweet. 2001-11-21 16:31 formnull * bin/sandweb.cgi: oops, had the full path to my webserver root in there, not useful to many others I'm sure.. :) There may be a problem with the file info section now; I'll take a closer look at it. This is really only a stub until the real info page is written. See this for an example of how it should look : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sandweb/sandweb/bin/ sandweb.cgi 2001-11-21 11:48 formnull * bin/sandweb.cgi, templates/browse.html: implemented simple versions of view and edit also, clicking on a file now runs "$repo->status" on that file, which is the first step to having an info page 2001-11-15 12:11 formnull * lib/SandWeb/Browse.pm: fixed bug that broke the location changer, PROGNAME variable was not being set inside the LOCATION_LOOP 2001-11-15 11:46 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm: hooked up File object, using file subroutine in sandweb.cgi This implementation is still somewhat raw; $file->get_user() and get_group() return uid/gid instead of full filename. Pretty cool besides that. 2001-10-21 12:48 njennings * templates/browse.html: fixed a color 2001-10-21 01:43 njennings * templates/framework.html: updated framework to make link's always same color. made it an off blue which looks good on the multiple different bg colors. 2001-10-20 21:02 formnull * lib/SandWeb/Browse.pm, templates/browse.html: the "Current location" bar now has selectable elements, so you can go back one or more directories while you are browsing. The colors make it hard to see though, I think I am going to make clicked/unclicked links the same color in the browse.html template. 2001-10-20 00:49 njennings * templates/browse.html: changed the format of the browse menu. 2001-10-19 22:43 formnull * bin/sandweb.cgi, lib/SandWeb.pm: removed user objects, they are now created and used by the CGI as needed 2001-10-19 22:40 njennings * bin/sandweb-admin: fixed a bug with add-user 2001-10-19 21:52 njennings * templates/framework.html: Working on IE and Mozilla display differences in menu bar. 2001-10-17 23:05 formnull * bin/sandweb.cgi, lib/SandWeb.pm: renamed "action objects" to "user objects". "user" objects are currently : "browse" and "repository". This is explained in the comments in SandWeb.pm The situation is that all objects are instantiated by SandWeb.pm, and the references passed to the CGI. $browse and $repository are no longer defined globally; they are created in the browse_menu. I also removed the browse() subroutine from the CGI, which was replaced by browse_menu() some time ago. It is starting to make less sense to have all objects instantiated in SandWeb.pm ( although it makes sense for startup objects ), it is probably worthwhile to just instantiate the "browse" and "repository" objects in the browse_menu() method of the sandweb.cgi ... perhaps it will be easier to read, and the end result is exactly the same. dunno, gonna sleep on it. gotta get up early tomorrow. 2001-10-16 21:27 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/Repository.pm: browse now gets it's repo_type and vcs_commands via sandweb.cgi, which instantiates a Repository object using userprefs. 2001-10-15 21:51 formnull * lib/SandWeb/Browse.pm, templates/browse.html: Browse now selects what to show on the pull-down menu based on repo_type 2001-10-10 00:27 formnull * lib/SandWeb/File.pm: now all methods are public, you would get info on a file object like : $file->get_owner(); 2001-10-09 10:42 formnull * lib/SandWeb/File.pm: well, now it returns the info instead of just gathering it 2001-10-09 10:41 formnull * lib/SandWeb/File.pm: added info method, which gives you a hash of all known info on the current File object. 2001-10-09 10:35 formnull * lib/SandWeb/File.pm: Added "permissions" and "file_type", reformatted code 2001-10-09 10:21 formnull * templates/browse.html: removed redundant fields, also sized tables so that it looks good at 640x480 ( or above ) 2001-10-07 07:17 njennings * bin/sandweb.cgi: making sure $userprefs contain the log_obj 2001-10-07 07:16 njennings * bin/sandweb-admin, lib/SandWeb/Auth/FlatFile.pm: Fixed little problem with authentication (newline character needed to be chomped) 2001-10-07 06:44 njennings * bin/sandweb-admin: sandweb-admin - fixed some bugs & removed the prompt for "full name" when creating a new user. This is no longer stored in the password file, but rather the users .prefs.cfg 2001-10-07 06:32 njennings * bin/sandweb-admin: sandweb-admin no longer asks for full name 2001-10-07 06:31 njennings * templates/sandweb-logo.jpg: removed the logo image from the templates directory 2001-10-07 06:30 njennings * images/sandweb-logo.jpg: added an images directory with the sandweb-logo.jpg in it 2001-10-06 01:17 njennings * lib/: SandWeb.pm, SandWeb/Auth.pm, SandWeb/Config.pm: Some updates to the Config object to esure the ability to log (via. log_obj). Updates to the handling of errors and debug messages with the preferences menu. Overall - Debug kicks ass now. 2001-10-06 00:51 njennings * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Auth.pm, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, lib/SandWeb/Auth/FlatFile.pm: NOTE: disregard previous commit explaining DEBUG usage * Fixed up debuging to handle things MUCH better. all you need to do is $log->debug($msg) and don't worry about it after that. If you are, for instance, opening a file, try this: open(F, "$filename") or $log->debug("Unable to open $filename : $!"; .... close F; Then stuff like write permissions will be more obvious right away. Debug now handles multiple entries, not just one. 2001-10-05 23:46 njennings * bin/sandweb.cgi, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, templates/framework.html, templates/login.html: updated the debuging mechanism to be a bit more robust and added verbosity to certain possible errors (such as not being able to write to the log file, etc). something like this: set_debug($log->error($msg)); sub set_debug { my $msg = shift; next if ($msg = 0); push @debug, $msg; } 2001-09-29 13:39 formnull * bin/sandweb.cgi: invalid pages now set error flag and call debug_menu ( as opposed to main_menu I guess? we need the menus to be more dynamic before we can figure out where they came from, which would be the most appropriate place IMO ) 2001-09-28 14:59 formnull * templates/browse.html: cleaned up Edit link; I am thinking we might as well have View and Edit subroutines in sandweb.cgi, since they are pretty important, abstracted features. 2001-09-28 14:51 formnull * lib/SandWeb/Browse.pm: browse_menu says "No files." instead of "No entries." when a directory is empty. 2001-09-28 12:13 formnull * lib/SandWeb/Browse.pm: putting browse_menu in place of chooser 2001-09-28 12:03 formnull * templates/chooser.html, templates/menu_bar.html, bin/sandweb.cgi, lib/SandWeb/UI.pm: removed chooser 2001-09-20 18:43 njennings * templates/menu_bar.html: * removed menu from name of menus in display 2001-09-20 18:33 njennings * bin/sandweb.cgi: Fixed little bug in preferences_menu, the load_prefs wasn't being called before the menu displayed (so full name was always blank, even if it had the config file to read the data from). 2001-09-20 18:32 njennings * templates/preferences.html: using _ for spaces in FULL_NAME (instead of FULLNAME) 2001-09-20 18:05 njennings * bin/sandweb.cgi: minor layout modification to debug_menu 2001-09-20 18:04 njennings * bin/sandweb.cgi: updated cgi to use debug_menu now (instead of test_menu) 2001-09-20 18:03 njennings * templates/framework.html: made menu area a bit small and content area a little wider 2001-09-20 18:01 njennings * templates/: framework.html, menu_bar.html: * Updated some templates to format the HTML better and more consistent * fixed a little HTML layout bug that broke a colspan * made the menu background grey * changed test_menu to debug_menu 2001-09-20 17:38 njennings * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Config.pm: * User prefs now work. file loads from users home dir (.prefs.cfg) and it will send user to preferences menu if the file does not yet exist. * Working on getting a consistent format in the code going. Previously we used spaces instead of tabs. But I think that we should strictly use tabs only, and our individual editors can be configured to set the tab to be however wide we want (i typically set it to about the langth of 4 spaces, but still uses the tab character (instead of literally 4 spaces). 2001-09-20 17:35 njennings * etc/prefs.cfg: Checking in skeleton prefs.cfg (over the one with roberts prefs in it) :) 2001-09-20 14:47 njennings * etc/sandweb.cfg: modified cfg file. update your path to cgi-bin 2001-09-20 14:46 njennings * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Config.pm: Working on getting user prefs all nice and working. Everything is ironed out except for the working part. :) Just checking in so I can update and finish up on my workstation (laptop low on batteries). read comments :) 2001-09-20 11:49 formnull * templates/browse.html: moved STATUS variable to bottom of page. That way, messages like "No Entries" will appear where otherwise files and folders would appear ( if there were directory entries ) 2001-09-20 11:43 formnull * templates/chooser.html: changed "action=browse" to "action=browse_menu" 2001-09-18 18:57 njennings * bin/sandweb.cgi: * fixed a couple problems in the sandweb.cgi regarding the load_prefs function. It gets the correct location and stuff now. 2001-09-18 18:44 formnull * bin/sandweb.cgi: fixed typo 2001-09-18 18:43 formnull * bin/sandweb.cgi: readded chooser_menu 2001-09-18 18:38 njennings * templates/preferences.html: * added name="full_name" to preferences.html 2001-09-18 18:37 njennings * templates/: framework.html, preferences.html: * Updated the framework.html template to allocate a row above CONTENT for error messages (if any). * Updated preferences.html template to look a little better, and temporarily took out the local work dir thingy 2001-09-18 18:33 njennings * bin/sandweb.cgi: * reorganized alot of function to all be next to each other (menu functions, commit (menu) functions, functional functions etc.) * split preferences check into its own function, it's run at the begining of most menus to load the user prefs, and if it fails, the menu will call the preferences_menu instead of itself. * Flaged a few spots for Rob's review (XXX) * Finished up a basic working User Preferences save. (changed it from saving in data/user/<cfg> to users/user/.<cfg>) To keep user data centralized, and also because the data dir is for internal sanweb statefull data, like cookies, passwords, maybe eventually object persistence data dumping. 2001-09-18 18:30 njennings * lib/SandWeb/: Config.pm, UI.pm: * Finished up a basic working User Preferences save. (changed it from saving in data/user/<cfg> to users/user/.<cfg>) To keep user data centralized, and also because the data dir is for internal sanweb statefull data, like cookies, passwords, maybe eventually object persistence data dumping. 2001-09-18 18:11 formnull * bin/sandweb.cgi, etc/prefs.cfg, etc/sandweb.cfg, templates/menu_bar.html: cleaned up a lot of code, and also replaced references to "prefs.xml" with "$prefs_config", so reading a users' prefs.cfg *seems* to work now. chooser_menu presents it anyway. browse seems to be broken at the moment, it needs to be modified to use the File class anyway. 2001-09-18 12:01 formnull * bin/sandweb.cgi: reformatting 2001-09-18 11:50 formnull * bin/sandweb.cgi: fixed a couple typos, now the user is let in if prefs.cfg exists 2001-09-18 11:43 formnull * bin/sandweb.cgi: had "$vcsaction" references and typos, should work now 2001-09-18 11:39 formnull * lib/: SandWeb.pm, SandWeb/File.pm: removed more VCSAction references, started working on File class 2001-09-18 11:34 formnull * bin/sandweb.cgi, lib/SandWeb/VCSAction.pm: removed VCSAction class, as well as all current VCS functionality. It needs to be reimplemented, there's no point it moving it around in it's current state 2001-09-17 20:15 njennings * etc/prefs.cfg: added user default skeleton prefs thingy 2001-09-17 20:14 njennings * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb.pm: worked on user preferences a bit. read the comments :) 2001-09-16 22:58 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, templates/browse.html: hmm, didn't check some changes in.. eek! This me moving File.pm out of the way ( to VCSAction.pm ) and recreating File.pm ( although it's just beginning ). 2001-09-16 22:26 formnull * bin/sandweb-admin: added line to create user's prefs dir, plus comments 2001-09-14 19:49 formnull * lib/: SandWeb.pm, SandWeb/VCSAction.pm: moved File.pm to VCSAction.pm File should be an object representing an actual file and it's attributes. VCSAction may go away eventually, but I for now it contains the logic for dealing with VCS commands and output ( some commands need to present screens to get more info from the user, for example ). At the moment, it takes over all File's former functions, like the above, as well as handling uploads. Uploads should be probably just be handled by the main CGI. 2001-09-07 15:37 formnull * bin/sandweb.cgi: modified comments, removed seemingly useless SandWeb::->startup() in main() ( why did I put that there? ;) 2001-09-05 17:59 njennings * lib/: SandWeb.pm, SandWeb/Config.pm: * added comments (and XXX flags where I have questions) * removed an apparently unused piece of code, where the Config object tried to get progname for some reason. but it wasn't used. * minor performance tweaks (like that matters right now) 2001-09-05 17:57 njennings * bin/sandweb.cgi: added some comments, (and XXX flags at places I had questions) 2001-09-04 23:28 formnull * bin/sandweb.cgi: removed direct call to SandWeb::Config in favor of going through SandWeb::->start_up to load user prefs 2001-09-04 22:09 formnull * bin/sandweb.cgi, lib/SandWeb.pm: moved 'action' object instantiation to the main() method in sandweb.cgi this includes user config ( which needs to be an override for global config ). now, if a subroutine in sandweb.cgi needs a Browse, File or Repository object, it can use the global variables $browse, $file or $repository. these variables ( if true ) are referents to a Browse, File or Repository object specific to the current user. browsing and most VCS commands still work, notably things like commit and tag are NOT working due to changes in the purpose of the File class. File will exist to store information about files, and contain methods like File->create and File->remove. This does not exist yet ;) 2001-09-04 19:03 formnull * bin/sandweb.cgi, lib/SandWeb.pm: working on moving object creating to sandweb.pm 2001-09-04 15:47 formnull * bin/sandweb.cgi: moved "use" statements into SandWeb.pm, except for use SandWeb; and use Data::Dumper; which are at the top of sandweb.cgi 2001-08-31 01:02 formnull * bin/sandweb.cgi, lib/SandWeb/File.pm, lib/SandWeb/UI.pm: moved file() subroutine into it's own class, I'm still dealing with the upload(), checkout() and tag(). Also, there will need to be a Prefs.pm to deal with things like vcs_prefs(), preferences_menu(), new_repo() and create_repo(). I think File.pm and Prefs.pm will go a long way towards cleaning up SandWeb in general, but there are still some things I am obviously missing about how the object interact. There will need to be some cleanup in File.pm and Browse.pm for instance, they need to use UI.pm instead of calling HTML directly. File could especially get some reuse out of UI by using the "get_vcs_output" method instead of creating it's own HTML::Template object. Before I do this though, I need to understand how I am *supposed* to pass information around to the objects. It _seems_ like I should be passing info like $template_dir, $username and so forth when these objects are instantiated by sandweb.cgi, and just give them info on an as-needed basis. 2001-08-30 23:46 formnull * bin/sandweb.cgi, lib/SandWeb.pm, templates/browse.html: took out some of the bizarre things I had in the browse/file interaction, such as having name/value pairs in the browse.html that looked like this : ( action = "file" ) name="upload" value="Upload" name="checkout" value="Checkout" name="done" value="Done" urgh... we now have a generic name for all of these, "function". This makes alot more sense : ( action = "file" ) name="function" value="Upload" name="function" value="Checkout" name="function" value="Done" I think the first-letter-uppercase is a bit ugly, but I don't know how else to make the button say something useful and pass the value the way I want it to look ( short of using an image ). I tried alt tags, but it didn't help. Oh well. 2001-08-30 23:28 formnull * bin/sandweb.cgi: moved all the "use" statements to the top of the file, it doesn't make sense to have these all over the code. I don't think "use SandWeb::Config" needs to be in here, but "SandWeb::Repository" and "SandWeb::Browse" both take critical information in their "new()" method so I think either their job needs to be moved into seperate modules, or they need to be designed not to do this. Am I missing something? Is there a way to instantiate these objects in SandWeb.pm and just pass references? 2001-08-26 21:52 formnull * templates/sandweb-logo.jpg: yeah, that's the right one.. :) 2001-08-26 21:51 formnull * templates/logo_CWC.png: uhm, wrong logo.. :) 2001-08-21 01:10 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/vcs_prefs.html: adding in support for creating/modifying new repositories groundwork done, will fill in the blanks ( reading and writing from prefs.xml ) later. UI and methods exist right now. 2001-08-20 08:32 formnull * lib/SandWeb/Repository/CVS.pm: fixed prob with commit 2001-08-16 01:04 formnull * bin/sandweb.cgi: put in some comments, let me know if anything is not clear enough. 2001-08-16 00:49 formnull * bin/sandweb.cgi: oops, missed a couple spots. user prefs are used everywhere in favor of hard-coded global vars now. 2001-08-16 00:44 formnull * bin/sandweb.cgi: removed temporary global variables, they are replaced by user prefs.xml 2001-08-16 00:29 formnull * bin/sandweb.cgi: took hard-coded variables out in favor of prefs.xml settings.. woot! 2001-08-16 00:23 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/menu_bar.html, templates/chooser.html: working on chooser, took out a hard-coded path, added one ;) once the prefs are in place this won't be an issue. 2001-08-15 20:44 formnull * lib/SandWeb/Browse.pm, templates/browse.html: finally got color cycling working in Browse! woot! woot! 2001-08-15 20:11 formnull * templates/vcs_prefs.html: changed "root" to "repository" 2001-08-15 20:09 formnull * templates/preferences.html: hmm, this didn't get checked in somehow. it's needed for the preferences. 2001-08-15 17:15 formnull * bin/sandweb.cgi: first crack at using prefs.xml 2001-08-15 15:20 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/preferences.html, templates/vcs_prefs.html: working on preferences, this is just UI stuff 2001-08-15 15:06 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/UI.pm, lib/SandWeb/Repository/CVS.pm, templates/checkout.html, templates/tag.html, templates/vcs_output.html: cleaning up, also fixed a couple bugs in Repository and CVS regarding "checkout" so checkout works now. Actually, all CVS commands except "import" should work now, because import needs it's own menu. However, I'm holding off on working on "import" because as I see it, it could be generically referred to as an "input-required" command, like "checkout" and "tag", and I think they can be made generic enough as to not need their own menus ( the way it is implemented now ). I'm starting to work on a more generic way of dealing with vcs commands and their output, they shouldn't have their own subroutines in sandweb.cgi and UI.pm also, the preferences need more work and that should have priority, user prefs need to be implemented, and VCS commands need to be selectable based on the vcs_type. 2001-08-12 21:47 formnull * bin/sandweb.cgi, lib/SandWeb/Config.pm, lib/SandWeb/UI.pm, templates/view_file.html: * took the hard-coded "sandweb.cfg" out of Config.pm, now it is generic enough to be used for user preferences, or any other XML config file.. yay! "sandweb.cfg" is now specified in sandweb.cgi, which is correct IMO. * a couple UI tweaks for "view file", not really focusing on the backend for this yet, just the UI. 2001-08-12 21:35 formnull * lib/SandWeb/Config.pm: hmm, typos in the comments, tee-hee 2001-08-12 21:10 formnull * templates/browse.html: pretty much how the browse UI should look IMO 2001-08-10 09:49 formnull * templates/browse.html: took out download link, centered cell contents and made cell 5% smaller 2001-08-10 09:49 formnull * templates/preferences.html: working on UI for preferences 2001-08-09 11:06 formnull * templates/browse.html: removed "import" button, added to pulldown 2001-08-08 21:58 formnull * templates/: menu_bar.html, preferences.html: took a stab at UI for prefs, don't really like it though. made menu_bar say "preferences" instead of "preferences menu" which is long and ungainly. 2001-08-08 16:25 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/UI.pm, templates/menu_bar.html, templates/preferences.html: started adding preferences, cleaned up Browse ( down to one hard-coded variable, to be replaced by per-user preferences ) 2001-08-08 15:25 formnull * bin/sandweb.cgi: some code/formatting cleanup got rid of a couple temporary variables 2001-08-07 17:43 formnull * lib/SandWeb/Browse.pm: if repo_type is CVS, then don't show "CVS" metadata dirs 2001-08-07 16:22 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/Repository/CVS.pm: multi-file commands are now possible 2001-08-07 14:33 formnull * bin/sandweb.cgi, lib/SandWeb/Repository.pm, lib/SandWeb/UI.pm, lib/SandWeb/Repository/CVS.pm, templates/browse.html: tag is functional 2001-08-07 12:24 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/browse.html, templates/commit.html: commit functinality has been implemented 2001-08-07 09:47 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/browse.html, templates/upload.html: can now accept uploads via import/add import/add isn't actually run yet though 2001-08-06 23:10 formnull * bin/sandweb.cgi, lib/SandWeb/UI.pm, templates/browse.html, templates/upload.html: we can now accept files using HTTP POST, or at least we would if sandweb.cgi could support it ;) the template and UI stuff is all there ready to go, backend isn't hooked up and the file doesn't actually go anywhere yet. 2001-08-06 22:35 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm: browse no longer accepts "/.." so no 1337 h4><0r1ng is going on here mister! 2001-08-06 21:08 formnull * bin/sandweb.cgi, templates/browse.html, templates/file.html: testing Repository functionality, some of it works! woo-hoo! 2001-08-06 20:40 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: return from CVS and Repository is now a hash with two keys : "errorlevel" and "output". test/vcs gives some example uses 2001-08-06 16:26 formnull * templates/browse.html: first draft of new browse UI 2001-08-02 23:01 formnull * templates/file.html: for the file function 2001-08-02 23:00 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/UI.pm, templates/browse.html: renamed "view_file" function to "file", made it give you the option to edit_file, view_file or download_file 2001-08-01 23:41 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, templates/browse.html: fixed the view_file function in sandweb.cgi; it was actually a problem with the template, I put $row_data{ENTRY} into a scalar called $filename and deal with it in Browse.pm to eliminate the confusion that caused me to miss this. 2001-07-30 10:06 formnull * bin/sandweb.cgi, lib/SandWeb/Browse.pm, lib/SandWeb/UI.pm, templates/view_file.html: added a view_file function. it just echoes back the file you requested. there seems to be a bug though, for some reason the filename is coming twice, like filename "blah" comes through as "blahblah". I'll take a look at the browse function, it seems to be passing the filenames like this for some reason. 2001-07-30 09:41 formnull * templates/sandbox_viewer.html: this has been renamed to "browse.html" 2001-07-30 09:28 formnull * templates/browse.html: filetype now calls the appropriate gif in the /icons URL. I need to add some config options, but these should help me get the layout correct. It looks pretty good with images already ;) 2001-07-27 01:19 formnull * etc/sandweb.cfg: fixed type .. SanbWeb! ( although it's a cool typo, it must go!! ) 2001-07-21 20:08 formnull * lib/SandWeb/Browse.pm: $path needed a '/' at the end of it, or we couldn't recurse deeper than one subdir. fixed. 2001-07-20 18:12 formnull * lib/SandWeb/Browse.pm: progname was not being specified outside of the template loop i have remedied this with EXTREME JUSTICE! 2001-07-20 17:45 formnull * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb/Browse.pm: taking out hard-coded values 2001-07-20 16:48 njennings * bin/sandweb-admin: added very simple funtion to add/remove user sandbox dir when user is added or removed, respectively. no perms are set, so this will need to be improved later on. 2001-07-20 16:44 njennings * var/: data/info.txt, log/info.txt, users/info.txt: * Added var/users/ directory for user accounts to keep sandboxen, and added an info.txt for it. * Updated info.txt's to contain SandWeb instead of CVSWebClient :) 2001-07-20 16:40 njennings * bin/sandweb-admin, etc/sandweb.cfg: * updated sandweb-admin to not die when the passwd file doesn't exist. (so yuo can add the first user) * updated sandweb.cfg to include the users_dir path. for users sandbox 2001-07-20 16:36 formnull * bin/sandweb.cgi: duh on me, there IS a template_dir option in sandweb.cfg 2001-07-20 15:59 formnull * bin/sandweb.cgi: added a browse subroutine that creates a Browse object and prints out the HTML it returns 2001-07-20 15:58 formnull * lib/SandWeb/Browse.pm: this is a class for browsing a sandbox 2001-07-20 15:56 formnull * templates/browse.html: this is for Browse.pm 2001-07-20 15:56 formnull * templates/menu_bar.html: added "sandboxes" link to the sidebar 2001-07-19 13:07 formnull * templates/sandbox_viewer.html: template for the sandbox_viewer 2001-07-18 22:19 formnull * bin/sandweb.cgi: working viewcvs functionality into main CGI ( I made this work in a seperate script, I am not done merging it into the UI framework yet though ). 2001-07-18 12:15 formnull * var/data/passwd: removing passwd file 2001-07-18 12:10 formnull * bin/vcs, var/data/passwd: moved vcs to the test directory 2001-07-18 11:51 formnull * bin/vcs: this will eventually be a command-line client for sandweb 2001-07-12 19:14 njennings * etc/sandweb.cfg: Added some basic comments for the config file. 2001-07-10 15:49 njennings * bin/sandweb.cgi, etc/sandweb.cfg, lib/SandWeb/Auth.pm, lib/SandWeb/Config.pm: Finished support for the XML Config file. 2001-07-07 01:56 formnull * lib/SandWeb/: Repository.pm, Repository/CVS.pm: made a correction in the API, needs some additions Repository.pm and CVS.pm are hooked together and pretty much complete, there are still unresolved issues with diff and history, also in the API some things like "recurse" are "default: off" but in CVS they are default on, this isn't actually enforced by Repository.pm yet. 2001-07-06 22:23 formnull * lib/SandWeb/Repository/CVS.pm: this probably doesn't work, but my previous checkin had hard-coded values for $sandbox and $root.. Bad! Bad! 2001-07-06 22:18 formnull * lib/SandWeb/Repository/CVS.pm: all CVS methods are now present, need to hook up parameters to actual CVS flags in most of the methods though. I'll have to consult the API docs ;) 2001-07-06 22:16 formnull * lib/SandWeb/Repository.pm: did some more work on generic repo functions, needs more testing 2001-07-06 14:03 formnull * lib/SandWeb/Repository.pm: added comments in the constructor 2001-07-06 13:55 formnull * lib/SandWeb/Repository.pm: clarified parameters in constructor 2001-07-06 11:25 formnull * lib/SandWeb/Repository.pm: repository class 2001-05-15 10:32 formnull * var/data/cookies: shouldn't be here 2001-05-14 21:00 formnull * lib/SandWeb/Auth/FlatFile.pm: FlatFile.pm handles flat-file authentication 2001-05-14 20:58 formnull * lib/SandWeb/Auth.pm: moved verify_password into Auth/FlatFile.pm 2001-05-14 19:54 njennings * lib/SandWeb/: Log.pm, UI.pm: fixed some logging problems that were causing Internal Server Errors on some instances. 2001-05-14 19:35 njennings * bin/sandweb-admin, var/data/cookies, var/data/passwd: added sandweb-admin tool. for user account management. fully functional for listing, removing, and adding users. 2001-05-14 18:24 formnull * var/log/: cvswebclient.log, sandweb.loh: don't need no log files in no CVS !! hoouah! 2001-05-14 18:08 formnull * lib/SandWeb/Auth.pm: renamed cookie to sandweb, cookies work again 2001-05-14 18:02 formnull * etc/passwd, lib/SandWeb/Auth.pm, lib/SandWeb/Config.pm, lib/SandWeb/Log.pm, var/data/cookies, var/data/passwd: moving passwd to /var/data and remove references to config_dir 2001-05-14 17:35 formnull * lib/SandWeb/: Auth.pm, Config.pm: added config_dir for passwd file 2001-05-14 17:30 formnull * lib/SandWeb/Auth.pm: added error logging; reports an error if password file is not found 2001-05-14 16:42 formnull * var/data/info.txt: fixed typo 2001-05-14 16:31 formnull * lib/SandWeb/Auth.pm: flat file auth! woohoo! 2001-05-13 22:31 formnull * etc/passwd, lib/SandWeb/Auth.pm: made a password file ( encrypted password is "bar" of course ;) also added stub code for comparing password to encrypted string. it'll be really cool and simple ;) I'll finish that part up tomorrow, and then we should have a working flatfile auth system 2001-05-13 22:12 formnull * lib/SandWeb/Auth.pm: woo-hoo! we're back to only letting in username foo password bar, but it happens in the _verify_password module. now we just need a passwd file ... 2001-05-13 21:52 formnull * lib/SandWeb/Auth.pm: made a _verify_password method, is just a stub for now but this is where password verification will happen. 2001-05-12 16:27 njennings * bin/sandweb.cgi: made un-important commit to test the sandweb-commit mailing list. 2001-05-02 15:04 njennings * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Config.pm, lib/SandWeb/ErrHndlr.pm, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, lib/SandWeb/Auth.pm, var/data/cookies, var/data/info.txt, var/log/cvswebclient.log, var/log/info.txt, var/log/sandweb.loh, etc/sandweb.cfg, templates/framework.html, templates/login.html, templates/logo_CWC.png, templates/menu_bar.html, templates/template.html: Initial revision 2001-05-02 15:04 njennings * bin/sandweb.cgi, lib/SandWeb.pm, lib/SandWeb/Config.pm, lib/SandWeb/ErrHndlr.pm, lib/SandWeb/Log.pm, lib/SandWeb/UI.pm, lib/SandWeb/Auth.pm, var/data/cookies, var/data/info.txt, var/log/cvswebclient.log, var/log/info.txt, var/log/sandweb.loh, etc/sandweb.cfg, templates/framework.html, templates/login.html, templates/logo_CWC.png, templates/menu_bar.html, templates/template.html: importing SandWeb code from cvswebclient-new (all name changes complete)