- 01 Apr, 2009 1 commit
-
-
Leigh B. Stoller authored
the existing DB format.
-
- 08 Dec, 2008 1 commit
-
-
Kevin Atkinson authored
changes in my devel tree.
-
- 11 Jul, 2008 1 commit
-
-
Leigh B. Stoller 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
-
- 13 May, 2008 1 commit
-
-
Kevin Atkinson authored
the User Name (or id) in various tables. This also involved adding the field to the newproject, joinproject, and moduserinfo forms. Note: also modified 4.149 database-migrate.txt entry to add a note to add the necessary "slot" to table_regex.
-
- 24 Mar, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 06 Feb, 2008 1 commit
-
-
Leigh B. Stoller authored
-
- 15 Jan, 2008 1 commit
-
-
Mike Hibler authored
-
- 14 Jan, 2008 1 commit
-
-
Leigh B. Stoller authored
lan_member_attributes, and ifaces. Making the world safe for protogenis.
-
- 20 Dec, 2007 1 commit
-
-
David Johnson authored
tb-fix-interface $node $link "iface"
-
- 27 Nov, 2007 1 commit
-
-
Russ Fish authored
-
- 18 Nov, 2007 1 commit
-
-
Russ Fish authored
-
- 13 Nov, 2007 2 commits
- 09 Nov, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 08 Nov, 2007 1 commit
-
-
Russ Fish authored
www/beginexp_form.php3 - No initial whitespace in plab Slice Description textarea. sql/database-fill.sql - Use default:fulltext for 'experiments','expt_name' to allow multi-line Slice Description in plab_ez->beginexp->batchexp. www/moduserinfo.php3 - Pass null string for optional usr_addr2 and notes fields. backend/moduserinfo.in - Null string attr comes from XML as an undef value. db/User.pm.in - Distinguish between undef and null string in ModUserInfo.
-
- 07 Nov, 2007 1 commit
-
-
Russ Fish authored
-
- 30 Oct, 2007 1 commit
-
-
Russ Fish authored
NewNewUser()/newuser would block and then unblock and get done; meanwhile the PHP thread went away so we never returned to call NewNewProject/mkproj. Move the call on the newuser script from PHP into the back-end Perl newproj script for atomicity. www/newproject.php3 - When the project leader is a new user, pass two xml files to the newproj backend script, one describing the project and the second one (an optional) file describing the newuser. www/user_defs.php - Factor the xml-making part of NewNewUser into NewNewUserXML. www/project_defs.php - Remove the required $leader arg of NewNewProject. newproj may call newuser, which may generate the leader uid. backend/newproj.in - Call newuser with an optional 'newuser_xml' XML file. sql/database-fill.sql - Add 'projects','newuser_xml'.
-
- 23 Oct, 2007 1 commit
-
-
Russ Fish authored
www/delaycontrol.php3 - Convert the form into SPITFORM/submit/formfields. Add a ChangeDelayConfig function to spit out XML to delay_config. account/delay_config.in - Add -X <xmlfile> in place of other command-line args. sql/database-fill.sql - Add a couple of 'virt_lans' entries for delay_config's use.
-
- 19 Oct, 2007 2 commits
-
-
Russ Fish authored
www/showpubkeys.php3 - Add a NewPubKey function to spit out XML to addpubkey. account/addpubkey.in - Add -X <xmlfile> in place of other command-line args. sql/database-fill.sql - Add 'user_pubkeys' entries for addpubkey's use.
-
Russ Fish authored
www/newimageid_ez.php3 - The reworked PHP page. Calls Image::NewImageId with ez=1. www/newimageid.php3 - Call Image::NewImageId with ez=0. www/imageid_defs.php - Re-use the Image::NewImageId class method, adding an 'ez' arg. backend/{newimageid_ez,GNUmakefile}.in configure configure.in - New backend script. After checks, calls OSinfo->Create and Image->Create with the same XML args array. db/Image.pm.in - Re-use the Image->Create method, adding an imageid over-ride arg. db/OSinfo.pm.in - Filter out extraneous db slot args from XML in the Create method. db/libdb.pm.in - Add TB_{OS,IMAGE}ID_* constants from dbdefs.php3 . sql/database-fill.sql - Add OS entries to the table_regex 'images' pattern set.
-
- 17 Oct, 2007 1 commit
-
-
Leigh B. Stoller authored
Also commit the DB changes.
-
- 16 Oct, 2007 1 commit
-
-
Russ Fish authored
www/editgroup.php3 - The reworked PHP page. www/editgroup_form.php3 - Removed, form merged into editgroup.php3 . www/showgroup.php3 - Link to editgroup.php3, rather than editgroup_form.php3 . www/group_defs.php - Add an Image::EditGroup class method bridging to the script via XML. backend/{editgroup,GNUmakefile}.in configure configure.in - New backend script. db/Group.pm.in - Add an EditGroup worker class method for script arg checking. Also the missing NonMemberList and CheckTrustConsistency methods, and a GETTRUST flag to MemberList, as in the PHP version. db/User.pm.in - Add the missing but tiny {Set,Get}TempData methods. sql/database-fill.sql - Add gid_idx to the table_regex 'groups' checking patterns.
-
- 12 Oct, 2007 1 commit
-
-
Russ Fish authored
www/newimageid.php3 - The reworked PHP page. www/imageid_defs.php - Add an Image::NewImageId class method bridging to the script via XML. backend/{newimageid,GNUmakefile}.in configure configure.in - New backend script. db/Image.pm.in - Add a Create class method for script arg checking. sql/database-fill.sql - Add to the table_regex 'images' checking patterns.
-
- 10 Oct, 2007 1 commit
-
-
Russ Fish authored
www/editsitevars.php3 - The reworked PHP page, including a SetSiteVar function bridging to the script via XML. backend/{editsitevars,GNUmakefile}.in configure configure.in - New backend script. sql/database-fill.sql - Add table_regex 'sitevariables' checking patterns.
-
- 09 Oct, 2007 1 commit
-
-
Russ Fish authored
Enumerate the boolean slots of the node_types table in table_regex. Use it in editnodetype.in, plus a little fix for new_type checking.
-
- 08 Oct, 2007 1 commit
-
-
Russ Fish authored
Note: new_node attributes have not yet been converted from names for osid's and imageid's to new-style integer indices. www/editnodetype.php3 - The reworked PHP page, including an EditNodeType function bridging to the script via XML. backend/{editnodetype,GNUmakefile}.in configure configure.in - New backend script, including wildcarding on %xmlfields table entries to handle dynamic attributes. sql/database-fill.sql - Add table_regex 'node_types' checking patterns.
-
- 03 Oct, 2007 1 commit
-
-
Russ Fish authored
www/editimageid.php3 - The reworked PHP page. www/imageid_defs.php - Add an Experiment::EditImageid class method bridging to the script via XML. backend/{editimageid,GNUmakefile}.in configure configure.in - New backend script. db/Image.pm.in - Add an EditImageid worker class method for script arg checking. sql/database-fill.sql - Add to the table_regex 'images' checking patterns.
-
- 29 Sep, 2007 1 commit
-
-
Russ Fish authored
www/editexp.php3 - The reworked PHP page. backend/{editexp,GNUmakefile}.in configure configure.in - New backend script. www/experiment_defs.php - Add an Experiment::EditExp class method bridging to the script via XML. db/Experiment.pm.in - Add an EditExp worker class method for script arg checking, And a missing description method. sql/database-fill.sql - Add to the table_regex 'experiments' checking patterns.
-
- 27 Sep, 2007 1 commit
-
-
Russ Fish authored
www/newmmlist.php3 - The reworked PHP page. backend/{newmmlist,GNUmakefile}.in configure configure.in - New backend script. sql/database-fill.sql - Add table_regex 'mailman_lists' checking patterns.
-
- 26 Sep, 2007 1 commit
-
-
Russ Fish authored
www/newgroup.php3 - The reworked PHP page. www/newgroup_form.php3 - Removed, form merged into newgroup.php3 . www/group_defs.php - Add a Group::Create method bridging to the script via XML. www/showproject.php3 - Link to newgroup.php3, rather than newgroup_form.php3 . configure configure.in - Add the newgroup backend script. backend/{newgroup,GNUmakefile}.in - Add the Perl script. db/Group.pm.in - Update the AccessCheck method to allow TB_PROJECT_LEADGROUP. sql/database-fill.sql - Add table_regex 'groups' checking patterns.
-
- 19 Sep, 2007 1 commit
-
-
Russ Fish authored
GNUmakefile.in configure configure.in - Add the testbed/backend directory. www/moduserinfo.php3 - The reworked PHP page. www/user_defs.php - Add a ModUserInfo method bridging to the script via XML, and remove the ChangeProfile method that is being replaced. backend/{moduserinfo,GNUmakefile}.in - Add the Perl script. db/User.pm.in - Add a ModUserInfo worker class method for script arg checking. Also SetUserInterface, SetWindowsPassword, and AccessCheck methods, and a copy of the escapeshellarg fn. sql/database-fill.sql - Add some to the table_regex 'users' checking patterns. Support stuff: account/tbacct.in - Update the UpdateWindowsPassword() function. db/libdb.pm.in - Add TBDB_USER_INTERFACE_EMULAB and TBDB_USER_INTERFACE_PLAB(). tbsetup/libtestbed.pm.in - Add TB*EMAIL, TBMAIL_* vars (OPS, WWW, AUDIT).
-
- 10 Sep, 2007 1 commit
-
-
Leigh B. Stoller authored
form processing to be done. The gist is that I have moved all of the data checking and DB work to the backend into a new script called utils/newosid. This script does all the field checking that used to be done in php. It takes a simple XML file as input and returns a set of strings to format as errors (if there are any). The overall goal to make a big push to move this code out of PHP and perl. A nice side effect is that many operations that are current only available via the web interface will also become available command line (and also XMLRPC with a little moew work).
-
- 26 Jul, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 24 Apr, 2007 1 commit
-
-
David Johnson authored
everybody's stuff up.
-
- 16 Feb, 2007 1 commit
-
-
Leigh B. Stoller authored
-
- 16 Jan, 2007 1 commit
-
-
Leigh B. Stoller authored
interface to the backend. There are new scripts that can be called from the command line: newuser xmlfile newproj xmlfile They both run from small xmlfiles that are generated by the web interface from the form data. I also moved user verification to the backend so that we do not have duplicated email functions, but that was a small change. Upon error, the xmlfile is saved and sent to tbops so that we can rerun the command by hand, rather then force user to fill out form again. I also do a better job of putting the form back up intact when there are internal errors. If the user provides an initial public key, that is put into the xml file as well and addpubkey is called from newuser instead of the web interface. A more general change to addpukey is that it is now *always* called as "nobody". This script was a morass of confusion cause of having to call it as nobody before the user actually exists. In fact, another of my ongoing projects is to reduce the number of scripts called as a particular user, but thats a story for another day. Anyway, the script is always called as nobody, but we pass along the implied user in the environment so that it can do permission checks.
-
- 09 Jan, 2007 1 commit
-
-
Leigh B. Stoller authored
most of the rest of the tables in the system (still a few exceptions). Bound to be some bugs ...
-
- 29 Nov, 2006 1 commit
-
-
Leigh B. Stoller authored
ElabInElab experiments, so as not to consume an interface. I actually modified Keith's changes so that we can dynmaically choose the single or dual model in the NS file (Keith's changes hardwired the system to only single control network) since the single network model has the disadvantage of not allowing new nodes to be added to an inner elab, which would make it impossible to test some things (like the newnode path!). To choose the single control network model, place this in your NS file: tb-elabinelab-singlenet other it defaults to the older dual network model.
-
- 27 Nov, 2006 1 commit
-
-
Leigh B. Stoller authored
-