- 03 Dec, 2007 1 commit
-
-
Russ Fish authored
-
- 07 Nov, 2007 1 commit
-
-
Leigh B. Stoller authored
fully integrated Trac. I put a new installation in /usr/local/www/data/trac and I added all the hooks for adding users and doing the cross machine login. Only STUDLY() users will actually see the new option in the collab dropdown menu. I have not done anything to make the trac installation look like Emulab.
-
- 01 Nov, 2007 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
menus.
-
- 31 Oct, 2007 2 commits
-
-
Leigh B. Stoller authored
it can be actively clicked and toggled between the short status view and the long freenode view. There was no way to do this when it was an iframe, and the upside of not using an iframe is that iframes often mess up rendering and cause many cross-browser problems. Since its not an iframe, I have to hook into the Sajax stuff even on pages that already use Sajax, and I want to go to a different URL then the current page (want to use currentusage.php3). So I tweaked the Sajax stuff a bit, and roll out some inline sajax code in PAGEFOOTER(). Also, at Rob's request I added a cookie to remember the state of the user's choice so that subsequent page loads get the same view. This is done with an inline cookie in the javascript (document.cookies).
-
Leigh B. Stoller authored
-
- 30 Oct, 2007 1 commit
-
-
Leigh B. Stoller authored
makes formatting super wide tables really hard to do in a cross browser manner (that I can tolerate). Also improve visual separation of the top banner from the content title area.
-
- 25 Oct, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 24 Oct, 2007 2 commits
-
-
Leigh B. Stoller authored
different. Temporary switch to style-new.css for a few days since many browsers do not reload the style files for some reason.
-
Leigh B. Stoller authored
menus that used to be on the left side, are now drop down menus along the top. The banner across the top will also be smaller and more space efficient. The primary motivation for these changes is to leave more room for actual content in the main window. Tested with Firefox (1.5 and 2.0), Safari (2.0 and 3.0) and on Internet Explorer Version 7. IE6 has some visual issues that might make it a little annoying, but should be viewed as incentive to upgrade to IE7 since it has been out a long time.
-
- 17 Oct, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 15 Oct, 2007 1 commit
-
-
Leigh B. Stoller authored
then putting in javascript below each sorted table, instead call AddSortedTable($table_id), which will cause a block of javascript to get spit out in the page footer.
-
- 21 Sep, 2007 1 commit
-
-
Leigh B. Stoller authored
* Reorg the CVS repo so that records and setup are toplevel modules in the repo, instead of directories in a single module named by the guid (which is redundant and annoying). * Some changes to the spewlog stuff. It used to handle only experiments, but I really wanted it to handle template create and modify. Took a bunch of small changes to a lot of places to make this work correctly, but it was worth it. There are some changes I made that I can retrofit to the other spew pages to make it look a little nicer at the top of the page, to use less space.
-
- 01 Jun, 2007 1 commit
-
-
Leigh B. Stoller authored
Turn on $javascript_debug at the top of menu.php3, and then use warn() statements in the code to have those debug statements turn up at the bottom of the page. This is the most cross-browser implementation I could find (which means it works on Safari, IE, and Firefox).
-
- 16 May, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 23 Apr, 2007 1 commit
-
-
Leigh B. Stoller authored
it too, but its not like people use the page that much, so not gonna bother.
-
- 17 Apr, 2007 1 commit
-
-
Jay Lepreau authored
-
- 15 Mar, 2007 1 commit
-
-
Robert Ricci authored
Basically, this lets you search the Emulab docs from the same little toolbar box that lets you search google, etc. Works with Firefox 2.0, and should work with IE 7
-
- 14 Mar, 2007 1 commit
-
-
Robert Ricci authored
only one 'flower' so that the whole thing can look clearer. Include a 32x32 version in the file for browsers using larger status lines. SVG source file included.
-
- 09 Mar, 2007 1 commit
-
-
Jay Lepreau authored
-
- 15 Feb, 2007 1 commit
-
-
Robert Ricci authored
expired from people's caches by now.
-
- 13 Feb, 2007 1 commit
-
-
Robert Ricci authored
blocked by ad blocking programs.
-
- 12 Feb, 2007 8 commits
-
-
Robert Ricci authored
filesize by about three.
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Robert Ricci authored
-
Robert Ricci authored
when they have changed. So, change the URL for our stylesheet in order to force browsers to load a new version. (I installed this manually on boss.) This should be removed before making a release!
-
Robert Ricci authored
enumerates the different experimental environments we support. Most of the new text only gets displayed at Utah, since no one else has wireless nodes, etc. Other sites get some short generic text. New banner, plus other visual tweaks. The new banner is turned on via the new @FANCYBANNER@ autoconf variable. This is turned on for TBMAINSITE, but defaults to off for other sites. This is so that existing sites which already have their own versions of the old banner don't have to update them right away. Made the usage iframe a little less prominent, by darkening it, and making it ever so slightly transparent on browsers that support it. Some minor visual tweaks to the background and content area. Added specific IDs for the main menu subgroups so that if we want, we can style them differently. Man, IE is a pain in the ass.
-
Leigh B. Stoller authored
register_globals=1 to turn POST/GET/COOKIES arguments in local variables. This is known to be a terrible security risk, and we keep saying we are going to fix it, and now I am. In order to accomplish this on a transitional basis (since I don't want the entire web interface to stop working while I debug it), and because the code just needs the cleanup, I am doing it like this: Each page will sport new declarations at the top: RequiredPageArguments("experiment", PAGEARG_EXPERIMENT, "template", PAGEARG_TEMPLATE, "instance", PAGEARG_INSTANCE, "metadata", PAGEARG_METADATA, "osinfo", PAGEARG_OSINFO, "image", PAGEARG_IMAGE, "project", PAGEARG_PROJECT, "group", PAGEARG_GROUP, "user", PAGEARG_USER, "node", PAGEARG_NODE, "yesno", PAGEARG_BOOLEAN, "message", PAGEARG_STRING, "age", PAGEARG_INTEGER, "cost", PAGEARG_NUMERIC, "formfields", PAGEARG_ARRAY, "unknown", PAGEARG_ANYTHING); OptionalPageArguments("canceled", PAGEARG_BOOLEAN); The first token in each pair is the name of the global variable to set, and the second token is the type. So, for "experiment" we look at the URL for a pid/eid or exptidx, etc, sanity check them (safe for a DB query), and then try to find that experiment in the DB. If it maps to an experiment, set global variable $experiment to the object. Since its a required argument, produce an error if not supplied. Similar treatment for optional arguments, with the obvious difference. The goal is to have ALL argument processing in one place, consistent, and correct. I've found numerous places where we leak unchecked arguments into queries. It also cuts out a lot of duplicated code. * To make the above easier to deal with, I've been replacing lots of hardcoded URLS in the code of the form: foo.php3?pid=$pid&eid=$eid ... with CreateURL("foo", $experiment) which creates and returns the neccessary url string, by looking at the type of its arguments (experiment, template, instance, etc.) Eventually plan to replace them all so that URL handling throughout the code is all defined in one place (all the new URL code is in url_defs.php). * I have cranked up error reporting to tell me anytime a variable is used before it is initialized, plus a bunch of other stuff that PHP deems improper. Think of it like -Wall ... and boy we get a lot of warnings. A very large percentage of the diffs are to fix all these warnings. The warnings are currently going to /usr/testbed/log/php-errors.log, and I'll be adding a script to capture them each night and mail them to tbops. This file also gets errors (this will be a change for developers; rather then seeing errors and warnings dumped in the middle of web pages, they will go to this file instead). * Major refactoring of the code. More objects (nodes, images, osids). Moving tons of queries into the objects in the hopes of someday getting to a point where we can split the web interface onto a different server. Lots of general cleanup.
-
- 08 Feb, 2007 1 commit
-
-
Jay Lepreau authored
-
- 18 Jan, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 21 Dec, 2006 1 commit
-
-
Jay Lepreau authored
-
- 20 Dec, 2006 1 commit
-
-
Leigh B. Stoller authored
converting to locally unique ids and later globally unique ids.
-
- 12 Dec, 2006 1 commit
-
-
Eric Eide authored
-
- 20 Nov, 2006 1 commit
-
-
Jay Lepreau authored
-
- 31 Oct, 2006 1 commit
-
-
Leigh B. Stoller authored
various template operations to get lost. Also fixed the code in mungelog.js that was supposed to handle bailing out if there was no response from the server in a reasonable amount of time; if that code had been working, no one would have even noticed all the other problems! Also some cleanup in parts of mungelog.js and showlogfile_sup.php3; slowly migrating parts of this to emulab_sup.js since we use some of the same code in other places.
-
- 29 Oct, 2006 1 commit
-
-
Leigh B. Stoller authored
-
- 27 Oct, 2006 2 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-