- 01 Feb, 2016 1 commit
-
-
Mike Hibler authored
Really big mess for the pc3000s nowadays.
-
- 15 Jan, 2016 1 commit
-
-
Leigh Stoller authored
-
- 22 May, 2015 1 commit
-
-
Leigh Stoller authored
-
- 02 Jun, 2014 1 commit
-
-
Leigh Stoller authored
-
- 24 Sep, 2012 1 commit
-
-
Eric Eide authored
This commit is intended to makes the license status of Emulab and ProtoGENI source files more clear. It replaces license symbols like "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited blocks that contain actual license statements. This change was driven by the fact that today, most people acquire and track Emulab and ProtoGENI sources via git. Before the Emulab source code was kept in git, the Flux Research Group at the University of Utah would roll distributions by making tar files. As part of that process, the Flux Group would replace the license symbols in the source files with actual license statements. When the Flux Group moved to git, people outside of the group started to see the source files with the "unexpanded" symbols. This meant that people acquired source files without actual license statements in them. All the relevant files had Utah *copyright* statements in them, but without the expanded *license* statements, the licensing status of the source files was unclear. This commit is intended to clear up that confusion. Most Utah-copyrighted files in the Emulab source tree are distributed under the terms of the Affero GNU General Public License, version 3 (AGPLv3). Most Utah-copyrighted files related to ProtoGENI are distributed under the terms of the GENI Public License, which is a BSD-like open-source license. Some Utah-copyrighted files in the Emulab source tree are distributed under the terms of the GNU Lesser General Public License, version 2.1 (LGPL).
-
- 14 Aug, 2012 1 commit
-
-
Mike Hibler authored
-
- 13 Aug, 2012 1 commit
-
-
Leigh Stoller authored
-
- 19 Jul, 2010 1 commit
-
-
Mike Hibler authored
-
- 08 May, 2009 1 commit
-
-
Robert Ricci authored
-
- 29 Apr, 2009 1 commit
-
-
Robert Ricci authored
page, and include the scripts I used to make it (along with instructions).
-
- 29 Oct, 2008 1 commit
-
-
Kevin Atkinson authored
since setting it before no longer works.
-
- 28 Jul, 2008 3 commits
-
-
Kevin Atkinson authored
Removed obsolete web pages.
-
Kevin Atkinson authored
-
Kevin Atkinson authored
-
- 18 Jul, 2008 1 commit
-
-
Kevin Atkinson authored
-
- 26 Jun, 2008 1 commit
-
-
Mike Hibler authored
-
- 11 Jun, 2008 1 commit
-
-
Kevin Atkinson authored
Set the charset for all emulab pages to utf-8 which is needed to display foreign names correctly. Also added three rows to table_regex: tinytext_utf8, text_utf8, fulltext_utf8 Enhanced form_defs.php: - Add Support for Textarea - Add Support for a vertical list, for example see Category in submitpub.php - Add support for dumping the form values in plain text, used in the email I send to testbed-ops. - Change Error Reporting text for subfields such as in a list so they also include the text from the outer field, for example in newosid "ping" will become "OS Features, ping". I needed this since some of my subfields didn't have labels and it seamed like the right thing to do. - Set #return_value to 1 in FormRenderCheckBox if it not already specified - In FormRenderSelect, if the #value is not in the list add it to the end. - Add support for "display" type, to just display some text in the table - Possibly some other little things I forgot about. New site variable PUBSUPPORT. Implement FS#201: Provide users a way to add a paper that used Emulab see (https://users.emulab.net/flyspray/?do=details&id=201), summary of changes: - Controlled via the new site variable PUBSUPPORT. - The emulab_papers spread sheet is now frozen all new changes should be made using the new system. - New pages submitpub.php for users to submit a new publication with different views for admins and non-admins. - New page expubs.php to replace doc/expubs.html, lists publications in database. Also allows admins to edit publications. - Project members can edit papers associated with the project as long as they have local_root or higher privileges. Papers for a project are listed under a new tab in the showproject page. I keep track of the last person to edit the paper submission in addition to who initially submitted it. - Users can modify papers they submitted which is needed if the project was N/A. Papers users submitted now appear in a new tab in the showuser page. - Script to import spreadsheet to the database is in utah/bibliography/emulab_pubs-import.pl. - Changes web pages that point to doc/expubs.html to instead point to expubs.php
-
- 05 May, 2008 1 commit
-
-
Grant Ayers authored
-
- 28 Apr, 2008 1 commit
-
-
Kevin Atkinson authored
Return a 404 if the file is not found, rather than returning an empty page and logging the error in the php error log file. The error is no longer logged in the error log, to find this error look for the 404 status code in the access log. Return a 400 if the document name is invalid. Allow "." is base name in tutorial/docwrapper.php3.
-
- 21 Apr, 2008 1 commit
-
-
Leigh Stoller authored
-
- 14 Apr, 2008 1 commit
-
-
Robert Ricci authored
-
- 24 Mar, 2008 1 commit
-
-
Leigh Stoller authored
specific hardware page or else generate error. This prevents all Emulabs from having our hardware listing.
-
- 08 Jan, 2008 1 commit
-
-
Leigh Stoller authored
-
- 11 Sep, 2007 1 commit
-
-
Mike Hibler authored
-
- 21 Aug, 2007 1 commit
-
-
Mike Hibler authored
-
- 15 Aug, 2007 1 commit
-
-
Russ Fish authored
-
- 13 Aug, 2007 1 commit
-
-
Robert Ricci authored
-
- 30 Jul, 2007 1 commit
-
-
Russ Fish authored
Chopped out explanation text about slothd and the XP boot process into the knowledge base. Add refs to them here.
-
- 18 Jul, 2007 1 commit
-
-
Russ Fish authored
-
- 21 May, 2007 1 commit
-
-
Russ Fish authored
-
- 16 Apr, 2007 1 commit
-
-
Robert Ricci authored
-
- 28 Feb, 2007 1 commit
-
-
Russ Fish authored
-
- 13 Feb, 2007 1 commit
-
-
Leigh Stoller authored
-
- 12 Feb, 2007 1 commit
-
-
Leigh 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.
-
- 12 Jan, 2007 1 commit
-
-
Jay Lepreau authored
-
- 02 Jan, 2007 1 commit
-
-
Mike Hibler authored
-
- 09 Dec, 2006 1 commit
-
-
Mike Hibler authored
-
- 08 Dec, 2006 1 commit
-
-
Mike Hibler authored
-
- 05 Dec, 2006 1 commit
-
-
Mike Hibler authored
-
- 25 Nov, 2006 1 commit
-
-
David Johnson authored
-