1. 19 Feb, 2002 5 commits
  2. 18 Feb, 2002 1 commit
  3. 17 Feb, 2002 1 commit
  4. 14 Feb, 2002 7 commits
    • Robert Ricci's avatar
    • Leigh Stoller's avatar
      A morass of form changes. The main goals are to avoid the loss of info · 9ac3d870
      Leigh Stoller authored
      when backing up (cause of an error that needs to be fixed) since not
      all browsers handle this the same. Instead, redraw the form with all
      of the original info and a list of error messages at the top.
      Conceptually simple change, but it turns out to be a pain to implement
      since you need to combine the form and processing code in one page
      (well, its just a lot easier to do that), and then change all of the
      forms to deal with a "default" value. That is, each different kind of
      input tag (text, radio, select, checkbox, etc.) requires slightly
      different changes to do that. Lots of forms, lots of entries on the
      forms, and its a long slow tedious process. Much nicer though, although
      the code is a bit harder to grok. At the same time, I added a lot more
      sanity checks of the information being passed in.
      
      The other change is to deal with how browsers handle the back button
      on a form thats been properly submitted. Not all browsers use
      the cache directives the same, and I was often typing back, only to
      have some form get reposted. Thats a major pain in the butt. The way
      to deal with that is to have the processor send out a Location header,
      which modifies the browser history so that the post is no longer in
      the history. You back up straight to the unposted form (if its in the
      cache). I've done this to only some forms, since its a bit of a pain
      to rework things so that you can jump ahead to a page that spits out
      the requisite warm fuzzies for the specific operation just completed.
      
      I've done newproject, joinproject, update user info, newimageid, and
      newimaged_dz forms.
      9ac3d870
    • Leigh Stoller's avatar
      Redirect to new form (beginexp.php3) and get rid of hardwired · f4fdddcf
      Leigh Stoller authored
      emulab address while I'm at it.
      f4fdddcf
    • Leigh Stoller's avatar
      Minor tweaks to last revision. · 179bb4fe
      Leigh Stoller authored
      179bb4fe
    • Leigh Stoller's avatar
      187b60db
    • Leigh Stoller's avatar
      Respond to Shashi's message that users can cause the parser to go into · e45c4905
      Leigh Stoller authored
      an infinite loop rather easily via the NS file TCL hooks. Added a
      perl wrapper around parse.tcl called parse-ns, which forks a child to
      run the parser. The parser is invoked "nice +10" and the CPU limit for
      the child is set to 60 seconds, which should be enough for any parse.
      If the limit is exceeded, send email to tbops since this indicates a
      big problem or a user being dumb/malicious.
      e45c4905
    • Ian Murdock's avatar
      Updated README and design document. · c2d104c8
      Ian Murdock authored
      c2d104c8
  5. 13 Feb, 2002 6 commits
  6. 12 Feb, 2002 14 commits
  7. 11 Feb, 2002 6 commits