1. 07 Jul, 2017 1 commit
  2. 06 Jul, 2017 1 commit
  3. 25 Apr, 2017 1 commit
  4. 24 Apr, 2017 1 commit
    • Leigh B Stoller's avatar
      Several changes: · 195fa852
      Leigh B Stoller authored
      1. Encapsulate rspec2genilib in a library function.
      
      2. Add a "check" option UpdateDiskImage() to see if any changes are
         actually going to be made so that we do not create a new version of a
         profile that is identical to the previous version.
      
      3. Do not ever create a new version of a script based profile since we
         can never change the script (after a disk snapshot). Unless it is a
         portal converted script, we can do that by changing the rspec and
         then generating a new script.
      195fa852
  5. 17 Apr, 2017 1 commit
    • Leigh B Stoller's avatar
      rspecs are so passe ... · 7c38809d
      Leigh B Stoller authored
      Redo the rspectogenilib converter with the goal of supporting both
      translation *and* regression testing. A new library is responsible for
      taking the output of libXML and creating a data structure representing
      the rspec. While this is being done, we look for any constructs or
      attributes we cannot handle with geni-lib and report that as an error;
      we are not going to convert an rspec unless we can do it correctly. and
      completely.
      
      Regression testing is done with another part of this library, that knows
      how to compare each element of two rspecs. Basically start at the root
      and compare all the way down, failing if the two "parses" of the XML are
      not equal at any level.
      
      rspectogenilib now has an option that does regression testing by running
      the new geni-lib and comparing the resulting rspec against the original.
      
      On the UI side, there is a new button on existing rspec based
      profiles (currently only for admin and studs) called "Convert to
      geni-lib" that runs the converter to convert the profile to geni-lib.
      The user does not have to accept the new script of course.
      
      However, a converted profile is marked in the database, and the user can
      still use Jacks on it, we just run rspectogenilib geni-lib again on the
      new rspec. If the user edits the geni-lib, we switch back to normal
      geni-lib (clear the flag) when the new version is saved, and Jacks is
      once again read-only. This is explained in the UI, and is one of the
      things people need to give comment on.
      
      There is also a mode on the Create Profile page for converting new rspec
      based profiles to geni-lib, but that is fully turned off for now, we can
      get to that later.
      7c38809d
  6. 03 Apr, 2017 2 commits
  7. 30 Mar, 2017 1 commit
    • Jonathon Duerig's avatar
      New genilib-editor refactoring. Various bugfixes. · f673e2f8
      Jonathon Duerig authored
      Fix error-handling errors.
      Make the waitwait modal non-dismissable everywhere.
      The new genilib-editor is now a kind of mega-modal which can live in both the show-profile and modify_profile pages. It is read-only in the former case and read/writable in the latter.
      
      All of the form-submitting stuff that recent ajaxification broke has been stripped out. It is now a pure editor that notifies the surrounding page of changes when you click on 'accept'.
      f673e2f8
  8. 27 Mar, 2017 1 commit
  9. 24 Mar, 2017 1 commit
  10. 20 Mar, 2017 2 commits
    • Leigh B Stoller's avatar
      fd7da9e8
    • Leigh B Stoller's avatar
      Support for push webhooks for repo-based profiles: · 10e12b53
      Leigh B Stoller authored
      We are running another apache server on boss, on port 51369, which
      invokes a backend perl script that maps the URL path argument to the
      profile, and then calls out to manage_profile to pull from the
      repository and update the profile to reflect the new HEAD branch.
      Using mod_rewrite in the apache config to restrict URLs to exactly
      the one URL that is accepted, modulo the value of the secret token.
      
      I had to refactor a bunch of code in manage_profile to make it easier to
      add a new entrypoint for modification from a git repo. This needed to be
      done for a long time, I had never cleaned up the original profile
      creation code.
      
      On the edit profile web page, there is a new row in the Repository panel
      providing the Push URL, and an explanatory help modal.
      
      There is a new slow polling timer that looks for a change to the repo
      hash and causes the web page to update in place from the repo, as when a
      push hook is invoked and changes the repo.
      10e12b53
  11. 14 Mar, 2017 1 commit
  12. 09 Mar, 2017 1 commit
  13. 01 Mar, 2017 4 commits
  14. 03 Feb, 2017 2 commits
  15. 25 Jan, 2017 1 commit
  16. 06 Jan, 2017 1 commit
  17. 05 Jan, 2017 1 commit
  18. 29 Dec, 2016 2 commits
  19. 28 Dec, 2016 1 commit
  20. 29 Aug, 2016 1 commit
  21. 28 Apr, 2016 1 commit
  22. 26 Mar, 2016 1 commit
  23. 08 Dec, 2015 1 commit
    • Kirk Webb's avatar
      Batch of changes that creates a PhantomNet portal branding. · ba49a457
      Kirk Webb authored
      Also includes some PhantomNet-specific restrictions (e.g. only
      allows use of the main Utah Emulab testbed  aggregate).
      
      This excercise stretched the limits of what we can reasonably do
      before introducing real per-testbed branding/policy mechanisms to
      the php/web front-end.  My changes ain't exactly pretty...
      
      Please take care when adding any testbed-specific changes to the
      code.  There are three flavors now to consider in the logic.
      ba49a457
  24. 04 Dec, 2015 1 commit
  25. 01 Dec, 2015 1 commit
  26. 17 Sep, 2015 1 commit
  27. 14 Sep, 2015 1 commit
  28. 10 Sep, 2015 1 commit
  29. 03 Sep, 2015 1 commit
  30. 21 Aug, 2015 1 commit
  31. 22 May, 2015 3 commits