Revision history for OpenInteract package static_page

1.22  Thu Feb  1 23:55:57 EST 2001

      Fixed old reference to data file (install_sql) which isn't there
      anymore.

1.21  Wed Jan 31 23:09:33 EST 2001

      Fixed two items in OpenInteract/Handler/BasicPage.pm -- return
      undef from '_retrieve_file' if a page isn't found and ensure we
      pass $p (which includes the security level) into the
      _assign_object_boxes() every time. 

      Cleanup.

1.20  Tue Jan  2 00:52:37 EST 2001

      Add the 'hierarchy_field' and 'hierarchy_separator' to the
      'conf/spops.perl' configuration.

1.19  Tue Jan  2 00:29:09 EST 2001

      We now set SPOPS::Secure::Hierarchy on by default with the
      distribution, and since the static page URL '/oi_docs' is now
      setup with the latest version of 'oi_manage' to be installed
      with every new website we setup security on that hierarchy root
      to have no permissions for WORLD and write permissions for the
      group 'site admin'.

      Changed the default directory index from 'home.html' to
      'index.html'.

1.18  Fri Dec 29 15:51:05 EST 2000

      Modified the handler to recognize non-displayable requests and
      set the 'send_file' property of $R->{page} when such a request
      comes in. This allows us to put PDF, DOC, ZIP files into a
      static file directory and have them be protected along with
      everything else. As an added bonus, we don't even need to set
      the MIME content type since Apache does this for us. Excellent!

      Also added the ability of a page to specify the main (or 'base')
      template it wants to use. This required modifying the template
      for editing the page and the database table structure to hold
      the information, plus a small modification to the handler. You
      could always define multiple 'main' templates but now you can
      specify them on a per-page basis. (It would be nice if this
      would also inherit, or if we could present a list of templates
      designated as 'main' to choose from, but one thing at a time...)

      If you're upgrading, execute the following statement to upgrade
      your table. (This is for MySQL -- other DBs should use an
      appropriate variant.)

      ALTER TABLE basic_page ADD main_template VARCHAR(40) NULL

      If you don't execute this statement then all you'll get are
      errors.

1.17  Fri Dec 29 13:23:32 EST 2000

      Modified the _fetch_file() method to allow static pages to
      define the content to display on the page using the HTML comment
      '<!-- OI BODY -->' and to only take content between the
      <body></body> tags.

1.16  Fri Dec 29 11:44:47 EST 2000

      Modified OpenInteract/Handler/BasicPage to make the edit()
      method work properly

1.15  Fri Dec 29 10:25:48 EST 2000

      Modified OpenInteract/Handler/BasicPage to use the class of the
      'basicpage' database object even for static files. This will
      allow you to transfer to and from the database and the
      filesystem as necessary while still maintaining the same
      security settings.

1.14  Fri Dec 29 10:12:12 EST 2000

      Fixed error in OpenInteract/Handler/BasicPage which wasn't
      returning the right information from _check_active_date (note to
      self: never use 'return' within an eval {} block)

1.13  Fri Dec 22 14:28:11 EST 2000

      Fixed dumb error where we were denying users with READ access
      rather than users with less than READ access.

1.12  Thu Dec 21 01:17:54 EST 2000

      Dumb mistake -- used SPOPS->now instead of SPOPS::Utility->now.

1.11  Thu Dec 21 00:29:50 EST 2000

      Fixed template/static_dir_listing.tmpl to use SET directives
      where we do an inline conditional assignment (e.g., "[% this =
      that IF the_other %]") -- kind of a bug in TT2.

1.10  Wed Dec 20 18:17:19 EST 2000

      Filesystem/object storage now works, as does security getting
      (not setting -- that's elsewhere) for either a filesystem file
      or object file. Also commented the new entries in
      conf/action.perl and cleaned up conf/spops.perl.

1.09  Wed Dec 20 14:46:45 EST 2000

      Add the 'storage' property to the action.perl; implement
      filesystem/object storage differentiation (and combination) in
      the handler and add the appropriate configuration directives to
      conf/action.perl.

1.08  Mon Dec 18 17:11:31 EST 2000

      Start this Changelog; start changes to allow
      OpenInteract/Handler/BasicPage.pm to use either database files,
      filesystem files, or a combination of both. Also allow the
      handler to use the new hierarchical security mechanism.
