1. 19 Apr, 2017 1 commit
    • Leigh Stoller's avatar
      Add support for user session tracking and Google Analytics. · a896be22
      Leigh Stoller authored
      If we assign a unique constant random value to every user, and spit that
      out in the initial ga() stuff at the beginning of each page load, google
      can combine interactions from the same user across different devices.
      Say, like work vs home computer.
      a896be22
  2. 17 Apr, 2017 7 commits
    • Leigh Stoller's avatar
      rspecs are so passe ... · 7c38809d
      Leigh 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
    • Leigh Stoller's avatar
      Make the message modal static. · 49fc81f5
      Leigh Stoller authored
      49fc81f5
    • Leigh Stoller's avatar
      Minor UI tweak to previous revision. · 582fe18f
      Leigh Stoller authored
      582fe18f
    • Leigh Stoller's avatar
      Start using the new general/export_active sitevar to control when we · 990a2933
      Leigh Stoller authored
      need to call exports_setup.
      990a2933
    • Leigh Stoller's avatar
      Use a mysql process lock to prevent concurrent creation of new projects · 89c6e499
      Leigh Stoller authored
      and groups on the geni path. This seems to happen more then I thought it
      might.
      89c6e499
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Separate user vs admin lockdown, previously they were intertwined. · 8e88917e
      Leigh Stoller authored
      User lockdown is as before, user can override that on the terminate
      page. Admin lockdown is like Classic lockdown; the flag must be cleared
      before the experiment can be terminated, there is no override on the
      termination page.
      
      UI changes on the status and admin extend page for the additional
      flag (instead of a single lockdown, there are now two).
      8e88917e
  3. 11 Apr, 2017 1 commit
  4. 03 Apr, 2017 3 commits
  5. 30 Mar, 2017 2 commits
  6. 27 Mar, 2017 3 commits
  7. 24 Mar, 2017 4 commits
  8. 23 Mar, 2017 1 commit
  9. 22 Mar, 2017 5 commits
  10. 21 Mar, 2017 1 commit
  11. 20 Mar, 2017 3 commits
    • Leigh Stoller's avatar
      48d9fd9f
    • Leigh Stoller's avatar
      Remove debugging code. · 298fec34
      Leigh Stoller authored
      298fec34
    • Leigh Stoller's avatar
      Support for push webhooks for repo-based profiles: · 10e12b53
      Leigh 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
  12. 14 Mar, 2017 6 commits
  13. 13 Mar, 2017 1 commit
    • Leigh Stoller's avatar
      Tweaks: · b21f4953
      Leigh Stoller authored
      1. Fix for deleting profiles from image deletion; failing to find all
         the profiles to delete.
      
      2. More wording changes.
      
      3. List profile versions and links to them.
      b21f4953
  14. 10 Mar, 2017 2 commits