Revision history for OpenInteract package base_page.

0.77  Fri Jan 18 13:20:58 EST 2002

      Added 'simple' page upload form.

0.76  Thu Jan 17 18:10:00 EST 2002

0.75  Thu Jan 17 17:46:51 EST 2002

0.74  Thu Jan 17 17:32:49 EST 2002

      Add some initial MIME types just based on extension, since
      File::MMagic seems to get it wrong sometimes. Small template
      changes so that the page editing form knows what's new and
      what's an existing object.

0.73  Thu Jan 17 17:20:30 EST 2002

0.72  Thu Jan 17 16:59:25 EST 2002

      Template modifications, enable file add from directory (if
      permission dictates), other modifications.

0.71  Thu Jan 17 16:38:10 EST 2002

      Don't automatically lowercase all locations (OI::Handler::Page);
      capture errors in OI::Handler::PageScan and display them in the
      results template

0.70  Wed Jan 16 19:33:16 EST 2002

      Add page with administrative actions

0.69  Wed Jan 16 19:05:09 EST 2002

      Ditch the number formatting stuff and use the new routine in
      OI::Template::Plugin. Other cleanups.

0.68  Wed Jan 16 18:33:26 EST 2002

0.67  Wed Jan 16 18:26:31 EST 2002

      Factored out the work from script/scan_for_new.pl into an object
      that can be instantiated. Added action ('PageScan') that
      provides a web front-end to the functionality in the
      scan_for_new.pl script.

0.66  Wed Jan 16 08:35:04 EST 2002

      Return a consistent message if a directory index isn't found.

0.65  Tue Jan 15 08:37:59 EST 2002

      In OI::Page, ensure that we don't try to fetch an empty location
      or one with a leading '.'.

0.64  Thu Jan 10 00:19:21 EST 2002

      Include better debugging in OI::Handler::Page->_is_active() so
      we can find out why a page was marked inactive.

0.63  Wed Jan  9 11:34:51 EST 2002

      Add OI::Handler::Page->_search_criteria_customize() so that
      admins can search for active/inactive pages, and everyone else
      is restricted to active ones. Also modified the template for the
      page search form to indicate which options are admin-only.

0.62  Wed Jan  9 08:30:59 EST 2002

0.61  Wed Jan  9 08:25:31 EST 2002

0.60  Wed Jan  9 08:21:52 EST 2002

      Add debugging helpers for page handler.

0.59  Wed Jan  9 01:13:36 EST 2002

      Fix OI::Handler::Page->_get_task() to check case-insensitively
      for the 'Page' action (find 'page' and 'Page'). Also respect the
      parameter 'is_new_object' passed in when 'create()' is called.

0.58  Thu Dec 27 15:22:20 EST 2001

      Cleanup -- rename some methods, etc. We're cookin' with gas!

0.57  Thu Dec 27 15:00:42 EST 2001

0.56  Thu Dec 27 14:48:44 EST 2001

      Thought the better of putting directories under security. Other
      modifications so that directories can check page security, if it
      exists.

0.55  Thu Dec 27 14:26:52 EST 2001

      - Refactored OI::Handler::Page->show() so it's not so monolithic
      and easier to follow.

      - Create a new indexing routine for index files (e.g.,
      'index.html') and moved that logic out of
      OI::Page->page_by_directory().

      - Moved (in conf/action.perl) the files you specify as index
      files from the 'page' action to the 'fileindex' action.

      - Added hierarchical security to page_directory objects.

0.54  Thu Dec 27 11:23:13 EST 2001

      Template tweaks.

0.53  Thu Dec 27 11:07:06 EST 2001

      Add 'filename_only()' to OpenInteract::Page; pass 'this_dir' to
      directory_index template so we can create a full location for
      subdirectories. Do NOT include dot-leading dirs (before we ONLY
      included them: one little exclamation point...)

0.52  Thu Dec 27 10:56:05 EST 2001

      Add directories to the simple index

0.51  Wed Dec 26 15:13:51 EST 2001

      Updated to pass a second parameter to directory handlers
      ('directory') so they can tell the original directory requested,
      since inheritance now seems to work.

0.50  Wed Dec 26 14:58:12 EST 2001

0.49  Wed Dec 26 14:48:55 EST 2001

0.48  Wed Dec 26 14:00:38 EST 2001

      Added 'subdirs_inherit' to 'page_directory' table and
      functionality to OI/PageDirectory.pm to fetch a parent directory
      with this flag turned on using fetch_by_directory(); added lots
      of docs to doc/base_page.pod about directory handlers and other
      items. The page directory listing template now includes all
      actions available for directory handlers.

0.47  Wed Dec 26 11:01:29 EST 2001

      - Added 'image_source' to content type so you can associate an
      image with a content type. (Used for indexing...)

      - Created first version of a directory indexer

      - Added Number::Format to list of modules required

0.46  Mon Dec 24 15:29:36 EST 2001

0.45  Mon Dec 24 15:15:45 EST 2001

      Add 'page_directory.sql' to the installer; trap directory-find
      errors OI::Page->page_by_location() in an eval {}

0.44  Mon Dec 24 14:18:44 EST 2001

      Add first draft of directory handlers; move the page fetching
      out of OI/Handler/Page.pm and into OI/Page.pm.

0.43  Wed Dec 12 09:02:09 EST 2001

      Update doc/base_page.pod to have security updating note and
      SQL. (Thanks to Andreas Nolte <andreas.nolte@bertelsmann.de> for
      pointing this out.)

0.42  Sun Dec  2 20:32:03 EST 2001

      If the extension given doesn't match the DEFAULT_EXTENSION, then
      search for that page object as well.

      If no expiration date given and the active date is ok, then the
      page is active.

0.41  Sun Dec  2 18:49:38 EST 2001

      Fixed error found in SPOPS definition for 'content_type' object
      -- thanks for spot and fix by ralf@math.uni-bonn.de.

      Modified script/static_page2base_page.pl to be more robust and
      work better. (I converted a DB of ~1700 pages using it, so I
      know it works :-)

      When given a request without an extension, treat it as a page
      request without the DEFAULT_EXTENSION as well as a directory
      request. 

0.40  Wed Nov 28 23:31:56 EST 2001

      Fix tiny but important error that blanked out filesystem
      contents when editing them...

0.39  Wed Nov 28 08:33:05 EST 2001

      Update data/page.dat to reflect the structure changes

0.38  Tue Nov 27 08:37:59 EST 2001

      Minor form template change.

0.37  Tue Nov 27 08:33:51 EST 2001

      Use _class_initialize() in OpenInteract::Page rather than BEGIN{}

0.36  Tue Nov 27 08:29:50 EST 2001

      Add 'mime_type_content' class method to OpenInteract::Page, and
      add docs to script/static_page2base_page.pl.

0.35  Mon Nov 26 23:58:45 EST 2001

      Okay, really, this time it's ready.

0.34  Mon Nov 26 23:40:40 EST 2001

      Various small fixes, cleaned up and (hopefully ready to go).

0.33  Mon Nov 26 23:16:36 EST 2001

      Make storage class handling more flexible.

0.32  Mon Nov 26 23:01:03 EST 2001

      Fixed the http content fetch, other stuff.

0.31  Mon Nov 26 22:39:55 EST 2001

      Doc and other updates.

0.30  Mon Nov 26 08:48:38 EST 2001

      Add 'size' field to table, and modify 'script/scan_as_new.pl' so
      it actually works.

0.29  Mon Nov 26 01:29:33 EST 2001

      Added the fields 'storage' and 'content_location' so we can
      implement URL content retrieval and aliases. Also added a script
      to scan a directory for new files and add the metadata to the
      database.

0.28  Tue Nov  6 09:20:36 EST 2001

      Added login page and graphics for directory listing.

0.27  Mon Oct 29 19:42:47 EST 2001

      Didn't find the reference to _forbidden_page in
      OI/Handler/Page.pm earlier because I'd misspelled the method
      call -- doh!

0.26  Mon Oct 29 10:01:52 EST 2001

      If the page is displayable and uploaded, read in the content
      from the filehandle and set {content} to a scalar ref. Otherwise
      only one of our different post-save rules that need access to
      the content as a filehandle will work.  (Fun)

0.25  Mon Oct 29 09:01:47 EST 2001

      If the page isn't displayable, take 'content' off the list of
      fields to be indexed.

0.24  Sun Oct 28 23:34:14 EST 2001

      - Added first draft of script to move old static_page objects to
      base_page objects, storing them in the filesystem by default

      - Added index page (html/index.html) and its metadata record

      - The edit_document_box now takes a page object rather than just
      its location, and it displays a 'Show page security' link as
      well.

0.23  Fri Oct 26 18:11:17 EDT 2001

0.22  Fri Oct 26 18:04:44 EDT 2001

0.21  Fri Oct 26 17:58:22 EDT 2001

0.20  Fri Oct 26 17:47:04 EDT 2001

0.19  Fri Oct 26 17:43:45 EDT 2001

0.18  Fri Oct 26 17:32:22 EDT 2001

0.17  Fri Oct 26 17:26:38 EDT 2001

      Added content_type object and lookup table definitions

0.16  Thu Oct 25 11:35:39 EDT 2001

0.15  Thu Oct 25 11:21:50 EDT 2001

      Enable the mime-type to be retrieved from an upload, and all
      non-displayable pages get put into the filesystem.

0.14  Thu Oct 25 11:00:43 EDT 2001

0.13  Thu Oct 25 10:48:56 EDT 2001

0.12  Thu Oct 25 10:37:45 EDT 2001

0.11  Thu Oct 25 10:14:49 EDT 2001

0.10  Thu Oct 25 10:07:20 EDT 2001

      Allow File and Database serializers to read from scalar, scalar
      ref or filehandle. Also fix the template to allow uploads (duh)

0.09  Thu Oct 25 10:01:31 EDT 2001

      Ensure the file serializer can create a path for the file (duh)

0.08  Thu Oct 25 09:53:40 EDT 2001

      Added security and other items to allow 'create()' requests to
      work; other fixes.

0.07  Thu Oct 25 01:02:41 EDT 2001

      Added the upload field for content

0.06  Wed Oct 24 18:57:36 EDT 2001

0.05  Wed Oct 24 18:33:12 EDT 2001

      Cool - things basically work; now to the details...

0.04  Wed Oct 24 18:15:01 EDT 2001

0.03  Wed Oct 24 17:52:39 EDT 2001

0.02  Wed Oct 24 17:47:15 EDT 2001

0.01  Wed Oct 24 16:47:01 EDT 2001

      Package skeleton created by oi_manage -- ported the
      'static_page' package to OI::CommonHandler, cleaned it up and
      extended it so we can use the filesystem or the database to
      store page objects.