1. 25 Jun, 2008 1 commit
  2. 20 Jun, 2008 1 commit
    • Kevin Atkinson's avatar
      · aa875320
      Kevin Atkinson authored
      More tweaks.
      aa875320
  3. 18 Jun, 2008 1 commit
  4. 16 Jun, 2008 1 commit
  5. 12 Jun, 2008 1 commit
    • Kevin Atkinson's avatar
      · d5e19999
      Kevin Atkinson authored
      Bug fixes for publication support.
      
      Added #prep attribute in form_defs.which is a function used in
      FormValidate to "normalize" a field.  For example if it is "trim" than
      all leading and trailing whitespace will be removed.
      d5e19999
  6. 11 Jun, 2008 2 commits
    • Kevin Atkinson's avatar
      · 6e208b09
      Kevin Atkinson authored
      Add missing file.
      6e208b09
    • Kevin Atkinson's avatar
      · 425c4b89
      Kevin Atkinson authored
      Set the charset for all emulab pages to utf-8 which is needed to
      display foreign names correctly.  Also added three rows to table_regex:
      tinytext_utf8, text_utf8, fulltext_utf8
      
      Enhanced form_defs.php:
      
        - Add Support for Textarea
      
        - Add Support for a vertical list, for example see Category in
          submitpub.php
      
        - Add support for dumping the form values in plain text, used in the
          email I send to testbed-ops.
      
        - Change Error Reporting text for subfields such as in a list so
          they also include the text from the outer field, for example in
          newosid "ping" will become "OS Features, ping".  I needed this
          since some of my subfields didn't have labels and it seamed like
          the right thing to do.
      
        - Set #return_value to 1 in FormRenderCheckBox if it not already
          specified
      
        - In FormRenderSelect, if the #value is not in the list add it to
          the end.
      
        - Add support for "display" type, to just display some text in the
          table
      
        - Possibly some other little things I forgot about.
      
      New site variable PUBSUPPORT.
      
      Implement FS#201: Provide users a way to add a paper that used Emulab
      see (https://users.emulab.net/flyspray/?do=details&id=201), summary of
      changes:
      
        - Controlled via the new site variable PUBSUPPORT.
      
        - The emulab_papers spread sheet is now frozen all new changes
          should be made using the new system.
      
        - New pages submitpub.php for users to submit a new publication
          with different views for admins and non-admins.
      
        - New page expubs.php to replace doc/expubs.html, lists publications
          in database.  Also allows admins to edit publications.
      
        - Project members can edit papers associated with the project as
          long as they have local_root or higher privileges. Papers for a
          project are listed under a new tab in the showproject page. I keep
          track of the last person to edit the paper submission in addition
          to who initially submitted it.
      
        - Users can modify papers they submitted which is needed if the
          project was N/A. Papers users submitted now appear in a new tab in
          the showuser page.
      
        - Script to import spreadsheet to the database is in
          utah/bibliography/emulab_pubs-import.pl.
      
        - Changes web pages that point to doc/expubs.html to instead point
          to expubs.php
      425c4b89
  7. 06 Jun, 2008 2 commits
  8. 04 Jun, 2008 1 commit
  9. 02 Jun, 2008 3 commits
  10. 29 May, 2008 1 commit
  11. 16 May, 2008 1 commit
  12. 14 May, 2008 1 commit
  13. 13 May, 2008 1 commit
  14. 09 May, 2008 1 commit
    • Kevin Atkinson's avatar
      Make project approval mail truly anonymous. Also make membership · 503bb661
      Kevin Atkinson authored
      acceptance email truly anonymous.  A few other emails related to
      project membership are still not anonymous though.  New function
      AnonSENDMAIL in libtestbed which will try to make sure there is no
      trace of the current user in the mail sent.
      
      For now, stop sending membership approval related email to the project
      admin list since this will also go to testbed-approval.  There is also
      some code to remove testbed-approval from the proj-admin list after
      the acceptance email but this is disabled for now since some times people
      reply to the approval email.
      503bb661
  15. 05 May, 2008 1 commit
  16. 01 May, 2008 2 commits
    • Kevin Atkinson's avatar
      Implemt FS#187 -- Show admin history of projects: · 8054f5f8
      Kevin Atkinson authored
        When a project is initially created a new mailing list is created,
        PROJ-admin@emulab.net.
      
        testbed-approval is subscribed to the list
      
        Several emails that originally went to testbed-approval now go to the
        mailing list instead.  The From, To, fields are basically the same
        with testbed-approval becoming PROJ-admin.  This means some mail
        is sent with a From PROJ-admin and Bcc the mailing list.  Note that
        some mail still goes to testbed-approval directly, in particular
        ones where there is no clear project involved, and when a project is
        denied.
      
        In addition notifications of approval status of new members is also
        sent to the list.  These emails use to only go to testbed-audit@.
      
        Currently All mail sent to PROJ-admin is also sent to testbed-audit
        (via a Bcc).  This means that some mail that didn't use to go to
        testbed-audit now does.
      
        The mailing list is deleted when a project is deleted with out first
        being approved.  Becuase of this notified that a project is denied
        is sent to testbed-approval instead of PROJ-admin.
      
        Admins can access the mailing list from the Project Profile page.
      
        The mailing list is open in order to allow users to reply to the
        mailing list, in addition the check that PROJ-admin is in the To or
        CC field is disabled.  There is currently no spam control on the
        mailing lists.  However, since the mailing list address is not posted
        anywhere it should't pick up to much spam.  If it does we can deal
        with it then.
      
        Finally, a new script is created to create the per-project admin
        mailing list.  See doc/UPDATING.
      
      Also add DBQuerySingleFatal to libdb, which is like DBQueryFatal but
      also fails if the query didn't return any results.  Basically
      identical to he version in libtblog.  Eventually libtblog should be
      modified to use this version.
      8054f5f8
    • Leigh B. Stoller's avatar
      Fix minor bug reported in php-error.log · 5059ed9d
      Leigh B. Stoller authored
      5059ed9d
  17. 30 Apr, 2008 1 commit
  18. 28 Apr, 2008 1 commit
    • Kevin Atkinson's avatar
      · 86627459
      Kevin Atkinson authored
      Return a 404 if the file is not found, rather than returning an empty
      page and logging the error in the php error log file.  The error is no
      longer logged in the error log, to find this error look for the 404
      status code in the access log.
      
      Return a 400 if the document name is invalid.
      
      Allow "." is base name in tutorial/docwrapper.php3.
      86627459
  19. 21 Apr, 2008 1 commit
  20. 17 Apr, 2008 1 commit
  21. 16 Apr, 2008 2 commits
  22. 15 Apr, 2008 1 commit
  23. 14 Apr, 2008 1 commit
  24. 10 Apr, 2008 1 commit
  25. 08 Apr, 2008 2 commits
    • Mike Hibler's avatar
      UT is in production use now. · ac224f78
      Mike Hibler authored
      ac224f78
    • Leigh B. Stoller's avatar
      A little auth module plugin I wrote to allow cross-domain login from · fc9aae80
      Leigh B. Stoller authored
      emulab to the protogeni wiki, but I use it for all of the wikis. The
      basic idea is that the emulab backend inserts a hash value into the
      cookie table in the trac DB on ops (via ssh). Then Emulab issues a
      redirect over to the trac wiki, with the uid/hash values as arguments
      to the xlogin URL. This hash is use-once; if it exists in the cookies
      table, it is deleted and a new one generated by the underlying auth
      module, and a cookie returned to the browser. The user is thus logged
      in for all subsequent access.
      
      Why? Cause emulab.net cannot insert auth cookies for protogeni.net, so
      must let the auth module inside trac insert the cookie.
      fc9aae80
  26. 07 Apr, 2008 1 commit
  27. 03 Apr, 2008 1 commit
  28. 02 Apr, 2008 1 commit
  29. 31 Mar, 2008 4 commits
  30. 30 Mar, 2008 1 commit