All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  1. 30 Aug, 2012 1 commit
    • Leigh B Stoller's avatar
      More bits and pieces for exporting images from one Emulab to another. · 4c444cd5
      Leigh B Stoller authored
      image_metadata.php will return an Emulab style image descriptor in XML
      format. A remote emulab, given an image URL, will grab this XML
      description and use it to create a local descriptor. Inside the
      descriptor is an additional URL that is used to download ndz file.
      
      The dumpdescriptor script is now web accessible, and takes a new -e
      (export) option that adds the extra URL and other bits that are needed
      to import the descriptor and the image.
      
      On the Show Image page, show the metadata URL, which is suitable for
      using in an NS file or an rspec (when that code is committed).
      4c444cd5
  2. 27 Aug, 2012 1 commit
    • Leigh B Stoller's avatar
      Add support for creating snapshot images of OpenVZ containers via the · fdd08bb4
      Leigh B Stoller authored
      web interface.
      
      Most of this commit is about making it easier to create the
      descriptors (of any kind) The newimageid_ez page now takes an optional
      node_id on which to base the new descriptor; most of the fields are
      initialized.
      
      You can also provide optional imageid and osinfo arguments, which
      allows for slightly less info to be initialized.
      
      Then on the ShowNode page, the link to create an image will take you
      to the snapshot image page if the user has write access to the image,
      otherwise to the newimageid_iz page to create and snapshot a new
      image descriptor.
      fdd08bb4
  3. 14 Aug, 2012 1 commit
  4. 13 Aug, 2012 1 commit
  5. 10 Aug, 2012 1 commit
  6. 06 Aug, 2012 1 commit
  7. 01 Aug, 2012 1 commit
  8. 30 Jul, 2012 4 commits
    • Mike Hibler's avatar
      Fix a few more sort-related issues while I was in the neighborhood. · bbc26e5b
      Mike Hibler authored
      Hardwire the sort type for a few columns that cause guessType grief.
      
      Remove the insertion of blank-rows-as-spacers in a table. They don't
      sort well. Leigh got rid of most of these a while back.
      bbc26e5b
    • Mike Hibler's avatar
      Make sorttable_alpha case-insensitive and use stable sort. · 4b4da239
      Mike Hibler authored
      The former ensures that we get the same behavior as when the same
      sorted output is produced using "order by" in mysql. I added a
      sortable_alpha_cs that we can use for a column should we discover
      a case where we really want a case-sensitive sort.
      
      The latter ensures that a user can at least manually do a multi-column
      sort (e.g., the equiv of "order by state,eid" when displaying experiments
      by clicking on the eid column and then on the state column).
      4b4da239
    • Mike Hibler's avatar
      Call init() method in makeSortable() to fix broken table sorting. · e8592249
      Mike Hibler authored
      This is needed due to the odd way in which we use sorttable.
      In normal use, sorttable.init would be called via the DOMContentLoaded
      event hook and this would invoke makeSortable() to do the DOM magic
      necessary to ensure all tables marked sortable are make sortable.
      
      But due to our use of AJAX-y dynamic content loading, this won't work
      (or so I am told!) So we generate our own call to makeSortable(mytable)
      when we produce any sortable table "mytable". But if init() has not been
      called before that first call to makeSortable, the DATE_RE regex will
      not be initialized and strange things happen in guessType and consequently,
      in the sort functions themselves.
      e8592249
    • Mike Hibler's avatar
      Fix typo. · 7d3069b4
      Mike Hibler authored
      7d3069b4
  9. 24 Jul, 2012 1 commit
    • Mike Hibler's avatar
      Add a 'disabled' field to the subbosses table. · e08bfeec
      Mike Hibler authored
      This allows us to more easily disable a subboss in the event of a temporary
      subboss outage (e.g., hardware failure). Previously we would have to remove
      the related rows from the DB and restore them later.
      e08bfeec
  10. 19 Jul, 2012 1 commit
  11. 18 Jul, 2012 1 commit
  12. 17 Jul, 2012 4 commits
  13. 11 Jul, 2012 1 commit
    • Leigh B Stoller's avatar
      Cleanup in the web interface to prevent XSS attacks. · 6cf701f9
      Leigh B 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
  14. 06 Jul, 2012 1 commit
  15. 29 Jun, 2012 1 commit
  16. 20 Jun, 2012 2 commits
  17. 18 Jun, 2012 2 commits
  18. 30 May, 2012 1 commit
  19. 29 May, 2012 2 commits
  20. 27 May, 2012 1 commit
  21. 24 May, 2012 1 commit
  22. 15 May, 2012 2 commits
  23. 14 May, 2012 1 commit
  24. 10 May, 2012 1 commit
  25. 09 May, 2012 2 commits
  26. 21 Apr, 2012 2 commits
  27. 18 Apr, 2012 1 commit
  28. 09 Apr, 2012 1 commit