Chris Winters > OpenInteract-1.99_06 > OpenInteract2::Manual::Changes

Download:
OpenInteract-1.99_06.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

OpenInteract2::Manual::Changes - Significant changes to OpenInteract2

NOTE ^

Each package maintains its own changelog. These changes are not mentioned here except to note the package version changes with successive OI2 releases.

Also: items marked with 'OIN-\d+' are references to the JIRA issue tracking system at:

  http://jira.openinteract.org/

You can see the history for a particular issue like this:

  http://jira.openinteract.org/browse/OIN-34

THE FUTURE ^

OI2 is currently at 1.99_06, equivalent to 2.0 beta 6. The next release should be a release candidate (1.99_07/2.0 RC1) -- its new features should only be minor; everything else should be bugfixes or pushed off to 2.01.

1.99_06 (2.0 beta 6), 18 March 2005 ^

Upgrade Notes

The following all apply to an existing server configuration -- if you're creating a new site you don't need to worry.

  1. Modify how two 'action_info' keys are set:
     OLD:
     
     [action_info none]
     redir = page
     
     [action_info not_found]
     redir = page
     
     NEW:
     
     [action_info]
     none      = page
     not_found = page
  2. Optional - add the following server keys:
     [login]
     ...
     initial_login_expires = 24h
  3. In your $WEBSITE_DIR/conf/startup.pl change the following:
      use OpenInteract2::Config::Base;
        to
      use OpenInteract2::Config::Bootstrap;
    
      my $BASE_CONFIG_FILE = '$WEBSITE_DIR/conf/base.conf';
        to
      my $BASE_CONFIG_FILE = '$WEBSITE_DIR/conf/bootstrap.ini';
    
      my $base_config = OpenInteract2::Config::Base->new({ 
          filename => $BASE_CONFIG_FILE }); 
        to
      my $base_config = OpenInteract2::Config::Bootstrap->new({ 
          filename => $BASE_CONFIG_FILE }); 

Major Changes

Minor Changes

See all the JIRA issues raised during this release just in case we missed some:

http://jira.openinteract.org/secure/ReleaseNote.jspa?projectId=10010&styleName=Html&version=10036

OpenInteract2::Action

OpenInteract2::Action::CommonSearch

OpenInteract2::Action::CommonUpdate

OpenInteract2::ActionResolver

OpenInteract2::ActionResolver::NameAndTask

OpenInteract2::ActionResolver::NotFoundOrEmpty

OpenInteract2::ActionResolver::UserDir

OpenInteract2::App

OpenInteract2::Config

OpenInteract2::Context

OpenInteract2::CreateSecurity

OpenInteract2::I18N::Initializer

OpenInteract2::Manage

OpenInteract2::Manage::Package::Export

OIN-111: Ensure that every package we try to export gets a useful error message if the export fails.

OpenInteract2::Manage::Website::CleanOrphanedUsers

OpenInteract2::Manage::Website::Create

OIN-127: Allow installation of a website into an existing directory, but first check whether the directory holds any of our expected subdirectories. If it does we assume we're installing over another site and die.

OpenInteract2::Manage::Website::CreateSecurity

OpenInteract2::Manage::Website::CreateSecurityForAction

OpenInteract2::Manage::Website::CreateSecurityForSPOPS

OpenInteract2::Manage::Website::InstallPackageStructure

OIN-134: Add 'file' parameter to pass to modified OpenInteract2::SQLInstall install_structure().

OpenInteract2::Package

OpenInteract2::ParamContainer

OpenInteract2::Request

OpenInteract2::Setup

(Also see the notes under Major Changes for 1.99_06 above.)

OpenInteract2::SPOPS

OpenInteract2::SQLInstall

OpenInteract2::TT2::Plugin

OpenInteract2::Util

Package Updates

The following packages have been updated since the last version. See the 'Changes' file for each to view the modifications:

   OpenInteract     1.99_05 -> 1.99_06
   -----------------------------------
   base:            2.11    -> 2.15
   base_box:        2.17    -> 2.20
   base_error:      2.10    -> 3.02
   base_group:      2.16    -> 2.19
   base_page:       2.28    -> 2.31
   base_security:   2.18    -> 2.21
   base_template:   3.15    -> 3.17
   base_theme:      2.10    -> 2.13
   base_user:       2.35    -> 2.40
   comments:        1.18    -> 1.23
   full_text:       2.58    -> 2.61
   lookup:          2.07    -> 2.09
   news:            2.20    -> 2.24
   object_activity: 2.11    -> 2.13
   system_doc:      2.08    -> 2.10
   whats_new:       2.10    -> 2.12

1.99_05 (2.0 beta 5), 5 Dec 2004 ^

Upgrade Notes

The following keys were added to the server configuration with these default values. These are mandatory.

 [Global]
 timezone              = America/New_York
  
 [fulltext]
 default = DBI
 
 [fulltext DBI]
 class           = OpenInteract2::FullTextIndexer::DBI
 datasource      = main
 column_group    = listing
 min_word_length = 3
 max_word_length = 30
 index_table     = full_text_index
 class_map_table = full_text_index_class
 stem_locale     = en
  
 [system_class]
 setup            = OpenInteract2::Setup
 ini_reader       = OpenInteract2::Config::Ini

 [request]
 apache     = OpenInteract2::Request::Apache
 apache2    = OpenInteract2::Request::Apache2
 cgi        = OpenInteract2::Request::CGI
 lwp        = OpenInteract2::Request::LWP
 standalone = OpenInteract2::Request::Standalone

 [response]
 apache     = OpenInteract2::Response::Apache
 apache2    = OpenInteract2::Response::Apache2
 cgi        = OpenInteract2::Response::CGI
 lwp        = OpenInteract2::Response::LWP
 standalone = OpenInteract2::Response::Standalone

We've also moved the configuration for where Template Toolkit should store its compiled templates; remove:

 [dir]
 ...
 cache_tt      = $WEBSITE/cache/tt

and add:

 [content_generator TT]
 ...
 compile_dir           = cache/tt

(If you don't do this everything will still work as a default is provided for you and the old value is ignored.)

Also: you no longer declare observer-to-action (previously filter-to-action) mappings in 'server.ini'. Both the observer declarations and mapping observers to actions go into a new 'observer.ini' file. This replaces 'filter.ini' as filters are just a particular type of observer. See OpenInteract2::Observer for more information.

Major Changes

Minor Changes

OpenInteract2::Action

OpenInteract2::Action::Common

OpenInteract2::Action::CommonAdd

OpenInteract2::Action::CommonDisplay

OpenInteract2::Action::CommonRemove

OpenInteract2::Action::CommonSearch

OpenInteract2::Action::CommonUpdate

OpenInteract2::Config::Ini

OpenInteract2::Config::IniFile

OpenInteract2::Config::Initializer

OpenInteract2::Config::Package

OpenInteract2::Config::PackageChanges

OpenInteract2::Config::Readonly

OpenInteract2::Config::TransferSample

OpenInteract2::Context

OpenInteract2::Filter::AllCaps

OpenInteract2::FullTextRules

OpenInteract2::Manage

OpenInteract2::Manage::Website

OpenInteract2::Manage::Website::Create

OpenInteract2::Manage::Website::ExportData

OpenInteract2::Manage::Website::TestLDAP

OpenInteract2::Manage::Website::ThemeInstall

OpenInteract2::Manage::Website::UpdatePackageFromWebsite

OpenInteract2::Manage::Website::Upgrade

OpenInteract2::Manual::LDAP

OpenInteract::Response and OpenInteract::Request

OpenInteract::Response

OpenInteract2::Response::*

OpenInteract2::Response::CGI

OpenInteract2::SessionManager

OpenInteract2::SessionManager::File

OpenInteract2::SPOPS

OpenInteract2::SQLInstall

OpenInteract2::TT2::Plugin

OpenInteract2::URL

OpenInteract2::Util

sample/website/filter.ini

sample/website/observer.ini

sample/website/server.ini

Miscellaneous

script/oi2_manage

Package Updates

The following packages have been updated since the last version. See the 'Changes' file for each to view the modifications:

   OpenInteract     1.99_04 -> 1.99_05
   -----------------------------------
   base:            2.10    -> 2.11
   base_box:        2.11    -> 2.17
   base_error:      2.10    -> 2.10
   base_group:      2.11    -> 2.16
   base_page:       2.21    -> 2.28
   base_security:   2.13    -> 2.18
   base_template:   3.11    -> 3.15
   base_theme:      2.09    -> 2.10
   base_user:       2.27    -> 2.35
   comments:        1.10    -> 1.18
   full_text:       2.09    -> 2.58
   lookup:          2.04    -> 2.07
   news:            2.13    -> 2.20
   object_activity: 2.11    -> 2.11
   system_doc:      2.05    -> 2.08
   whats_new:       2.04    -> 2.10

1.99_04 (2.0 beta 4), 22 May 2004 ^

Major Changes

Minor Changes

Apache2::OpenInteract2

HTTP::Daemon::OpenInteract2

OpenInteract2::Action

OpenInteract2::Action::Common*

OpenInteract2::Config::Initializer

OpenInteract2::Config::Package

OpenInteract2::ContentGenerator

OpenInteract2::ContentGenerator::TT2Context

OpenInteract2::ContentGenerator::TT2Plugin

OpenInteract2::ContentGenerator::TemplateSource

OpenInteract2::ContentGenerator::TT2Process

OpenInteract2::ContentGenerator::TT2Provider

OpenInteract2::Context

OpenInteract2::Exception::Parameter

OpenInteract2::I18N

OpenInteract2::I18N::Initializer

OpenInteract2::Manage::Website::CreateSuperuserPassword

OpenInteract2::Manage::Website::PackageCheckExportInstall

OpenInteract2::Manual::I18N

OpenInteract2::Package

OpenInteract2::Reponse::Apache2

OpenInteract2::Request

OpenInteract2::Request::Apache

OpenInteract2::Request::Apache2

OpenInteract2::Request::CGI

OpenInteract2::Setup

OpenInteract2::SQLInstall

OpenInteract::TT2::Provider

sample/README

sample/apache2/*

sample/msg/*

sample/website/conf/server.ini

1.99_03 (2.0 beta 3), 8 September 2003 ^

Major Changes

Minor Changes

Makefile.PL/Build.PL

OpenInteract2::Action

OpenInteract2::Action::CommonRemove

OpenInteract2::Action::CommonSearch

OpenInteract2::Action::TemplateOnly

OpenInteract2::Auth

OpenInteract2::Auth::AdminCheck

OpenInteract2::Auth::Group

OpenInteract2::Auth::User

OpenInteract2::Config

OpenInteract2::Config::Base

OpenInteract2::Config::Initializer

OpenInteract2::Config::Package

OpenInteract2::ContentGenerator::TT2Plugin

OpenInteract2::Controller

OpenInteract2::Context

OpenInteract2::Manage

OpenInteract2::Manage::CreateSourceDirectory

OpenInteract2::Manage::Website::CleanExpiredSessions

OpenInteract2::Manage::Website::CreateSecurity

OpenInteract2::Manage::Website::InstallPackage

OpenInteract2::Manage::Website::ReindexObjects

OpenInteract2::Manual::AdminDatabase

OpenInteract2::Manual::Architecture

OpenInteract2::Manual::Management

OpenInteract2::Manual::QuickStart

OpenInteract2::Manual::Templates

OpenInteract2::Manual::Tutorial

OpenInteract2::Manual::TutorialAdvanced

OpenInteract2::Package

OpenInteract2::Repository

OpenInteract2::Request

OpenInteract2::Response

OpenInteract2::Response

OpenInteract2::ResultsManage

OpenInteract2::SessionManager

OpenInteract2::Setup

OpenInteract2::SPOPS

OpenInteract2::SPOPS::DBI

OpenInteract2::SPOPS::LDAP

OpenInteract2::SQLInstall

t/*

1.99_02 ^

NOTE: Skipped this release to sync up the beta number with the extra dev number.

1.99_01 (2.0 beta 1), 3 July 2003 ^

Major Changes

Minor changes

Too many small fixes and improvements to note, sorry. As we stabilize to 2.0 this will get explicit.

Broken stuff

Full text searching doesn't seem to work. A number of other actions have not been fully tested by hand, much less in an automated fashion.

Also, tests for other areas of the system are lagging.

1.99_00 (2.0 beta 0), 10 June 2003 ^

This is the first BETA release. DO NOT run production systems on it.

Compatibility

Since OpenInteract 2.x uses a separate namespace than OpenInteract 1.x (OpenInteract2 vs. OpenInteract), you should have no problems installing this on a machine with OpenInteract 1.x.

There is currently no automated way to upgrade the server configuration or everything about a custom package. (You can translate the conf/action.perl and conf/spops.perl into the new INI format -- see scripts in script/.) In addition, a number of core packages have upgraded schemas so you can't simply dump your table and reload it.

Before 2.0 final is released there should be tools to:

Major Changes

These are the highlights. Many others are lurking under the covers.

OI2 INTERFACES

An 'interface' refers to how OpenInteract2 interacts with the outside world. An interface consists of three parts:

Since most of the functionality is pushed down into the Request and Response subclasses, adapters are generally pretty simple. For instance, here's an example of the Adapter for Apache 1.x/mod_perl 1.x:

 package Apache::OpenInteract2;

 use strict;
 use OpenInteract2::Auth;
 use OpenInteract2::Request;
 use OpenInteract2::Response;

 sub handler($$) {
     my ( $class, $r ) = @_;
     my $response = OpenInteract2::Response->new({ apache => $r });
     my $request  = OpenInteract2::Request->new({ apache => $r });
     OpenInteract2::Auth->login( $r->pnotes( 'login_user' ) );
     my $controller = eval {
         OpenInteract2::Controller->new( $request, $response )
     };
     if ( $@ ) {
         $response->content( $@ );
     }
     else {
         $controller->execute;
     }
     $response->send;
     return $response->status;
 }

SEE ALSO ^

OpenInteract Wiki

http://openinteract.sourceforge.net/cgi-bin/twiki/view/OI/

COPYRIGHT ^

Copyright (c) 2002-2005 Chris Winters. All rights reserved.

AUTHORS ^

Chris Winters <chris@cwinters.com>

syntax highlighting: