1. 04 Sep, 2018 1 commit
  2. 26 Jul, 2016 1 commit
    • Leigh Stoller's avatar
      Add new status for users, "inactive". Mostly to support not having so · 68e019a5
      Leigh Stoller authored
      many ZFS mounts on ops. which on the Mothership is on the order of 8000
      or so. Deactivate/reactivate a user with:
      
      	boss> wap tbacct deactivate -u <user>
      	boss> wap tbacct reactivate -u <user>
      
      Deactivate will set the shell to nologin and set the ZFS mountpoint=none.
      Reactivate will undo that. Note that these do not HUP mountd.
      68e019a5
  3. 03 May, 2016 1 commit
  4. 15 Jan, 2016 1 commit
  5. 06 Jan, 2016 1 commit
    • Leigh Stoller's avatar
      Add linktest support to the portal. Work in progress. · 2ed46ed2
      Leigh Stoller authored
      * A new Start Linktest button is in the bottom right of the topology tab.
      
      * When started, we create a new tab to display the linktest output
        (currently the unmodified output from Classic emulab linktest). The state
        of the experiment is change to linktest to prevent further action on the
        experiment, except of course for stop linktest.
      
      * When linktest is running, there is a Stop Linktest button in the upper
        collapse panel. This will stop linktest in its tracks, but the tabs
        remain. When you kill a linktest tab while linktest is running, linktest
        continues running, you have to use the Stop button.
      
      * I have added a small help document to the templates directory that the
        user is shown when they click on the ? mark in the linktest modal.
        Written in markdown format, it is a culling of text from the Emulab wiki
        linktest page.
      
      Caveats:
      
      * Because of polling, there is a short (5-15 seconds) delay before the
        experiment is returned to the ready state. Not much to do about this in a
        polling world. Wouldn't callbacks be nice?
      
      * Linktest can be used on a multisite topology, although cross site links
        cannot be tested at this point. Links/Lans that are contained entirely to
        one site or the other are testable though. We build a new tab for each
        site to spew the linktest output.
      2ed46ed2
  6. 21 Apr, 2015 2 commits
  7. 02 Mar, 2015 1 commit
  8. 26 May, 2014 1 commit
  9. 21 May, 2014 1 commit
  10. 15 May, 2014 1 commit
  11. 06 May, 2014 3 commits
  12. 29 Apr, 2014 1 commit
  13. 13 Feb, 2014 1 commit
  14. 17 Jan, 2014 1 commit
  15. 10 Jan, 2014 1 commit
  16. 08 Jan, 2014 7 commits
  17. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      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).
      6df609a9
  18. 11 Jul, 2012 1 commit
    • Leigh Stoller's avatar
      Cleanup in the web interface to prevent XSS attacks. · 6cf701f9
      Leigh Stoller authored
      We had a couple of different problems actually.
      
      * We allow users to insert html into many DB fields (say, a project or
        experiment description).
      
      * We did not sanitize that output when displaying back.
      
      * We did not sanitize initial page arguments that were reflected in the
        output (say, in a form).
      
      Since no one has the time to analyze every line of code, I took a couple of
      shortcuts. The first is that I changed the regex table to not allow any <>
      chars to go from the user into the DB. Brutal, but in fact there are only a
      couple of places where a user legitimately needs them. For example, a
      startup command that includes redirection. I handle those as special
      cases. As more come up, we can fix them.
      
      I did a quick pass through all of the forms, and made sure that we run
      htmlspecialchars on everything including initial form args. This was not
      too bad cause of the way all of the forms are structured, with a
      "formfields" array.
      
      I also removed a bunch of obsolete code and added an update script to
      actually remove them from the www directory.
      
      Lastly, I purged some XMLRPC code I did a long time ago in the Begin
      Experiment path. Less complexity, easier to grok and fix.
      
      	modified:   sql/database-fill.sql
      	modified:   sql/dbfill-update.sql
      6cf701f9
  19. 17 Feb, 2012 1 commit
  20. 07 Mar, 2011 1 commit
  21. 01 Mar, 2011 1 commit
  22. 15 Dec, 2010 1 commit
  23. 08 May, 2009 1 commit
  24. 05 Aug, 2008 1 commit
  25. 22 Jul, 2008 2 commits
  26. 26 Jun, 2008 1 commit
  27. 18 Jul, 2007 1 commit
  28. 15 Mar, 2007 1 commit
  29. 14 Mar, 2007 2 commits