You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(381) |
Nov
(176) |
Dec
(310) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(334) |
Feb
(96) |
Mar
(149) |
Apr
(214) |
May
(120) |
Jun
(56) |
Jul
(10) |
Aug
(273) |
Sep
(182) |
Oct
(56) |
Nov
(125) |
Dec
(22) |
2003 |
Jan
(63) |
Feb
(181) |
Mar
(498) |
Apr
(433) |
May
(39) |
Jun
(512) |
Jul
(276) |
Aug
(156) |
Sep
(101) |
Oct
(66) |
Nov
(24) |
Dec
(161) |
2004 |
Jan
(1) |
Feb
(377) |
Mar
(68) |
Apr
(26) |
May
(107) |
Jun
(333) |
Jul
(13) |
Aug
|
Sep
(76) |
Oct
(88) |
Nov
(170) |
Dec
(91) |
2005 |
Jan
(52) |
Feb
(239) |
Mar
(402) |
Apr
(15) |
May
(2) |
Jun
(1) |
Jul
(13) |
Aug
|
Sep
(71) |
Oct
(34) |
Nov
|
Dec
|
2006 |
Jan
(5) |
Feb
(5) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(7) |
Oct
(2) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris W. <la...@us...> - 2005-03-11 05:37:43
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_page/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv959/OpenInteract2 Modified Files: Page.pm Log Message: OIN-87: check to see if a page will overlap with an existing action before saving it (prevents orphaned pages) Index: Page.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_page/OpenInteract2/Page.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Page.pm 5 Oct 2004 03:21:52 -0000 1.12 --- Page.pm 11 Mar 2005 05:37:31 -0000 1.13 *************** *** 301,304 **** --- 301,313 ---- + sub does_url_exist_as_action { + my ( $self, $url ) = @_; + my ( $action_name ) = OpenInteract2::URL->parse( $url ); + my $action_info = eval { CTX->lookup_action_info( $action_name ) }; + return defined $action_info; + } + + + ######################################## # OBJECT METHODS *************** *** 525,528 **** --- 534,543 ---- directory. + B<does_url_exist_as_action( $url )> + + Returns true if C<$url> references an action, false if not. Called + when creating a new package to check if you're trying to create a page + that can't be reached. + =head2 Object Methods |
From: Chris W. <la...@us...> - 2005-03-11 05:37:43
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_page/msg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv959/msg Added Files: base_page_messages-en.msg Log Message: OIN-87: check to see if a page will overlap with an existing action before saving it (prevents orphaned pages) --- NEW FILE: base_page_messages-en.msg --- base_page.error.location_is_used = Since the location in '[_1]' is already being used by another action your page would be unviewable. |
From: Chris W. <la...@us...> - 2005-03-11 05:33:20
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_page/msg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32721/msg Log Message: Directory /cvsroot/openinteract/OpenInteract2/pkg/base_page/msg added to the repository |
From: Chris W. <la...@us...> - 2005-03-11 05:15:45
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29104 Modified Files: PackageCheckExportInstall.pm Log Message: cosmetic Index: PackageCheckExportInstall.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/PackageCheckExportInstall.pm,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PackageCheckExportInstall.pm 11 Mar 2005 05:14:31 -0000 1.6 --- PackageCheckExportInstall.pm 11 Mar 2005 05:15:30 -0000 1.7 *************** *** 47,52 **** # no-op, but don't remove otherwise the 'check_package' task will ! # check the wrong files! ! # -- see OIN-147 for sample error sub setup_task {} --- 47,52 ---- # no-op, but don't remove otherwise the 'check_package' task will ! # check the wrong files because our parent uses this to create the ! # context -- see OIN-147 for sample error sub setup_task {} *************** *** 73,77 **** warn "Package file set to '$package_file'\n"; - ( $is_ok, $subtask ) = $self->_run_subtask( 'install_package', package_file => $package_file ); --- 73,76 ---- |
From: Chris W. <la...@us...> - 2005-03-11 05:14:43
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28868 Modified Files: PackageCheckExportInstall.pm Log Message: OIN-147: don't create the context too early, otherwise the package checks give weird results Index: PackageCheckExportInstall.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/PackageCheckExportInstall.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PackageCheckExportInstall.pm 28 Feb 2005 02:34:04 -0000 1.5 --- PackageCheckExportInstall.pm 11 Mar 2005 05:14:31 -0000 1.6 *************** *** 46,49 **** --- 46,54 ---- } + # no-op, but don't remove otherwise the 'check_package' task will + # check the wrong files! + # -- see OIN-147 for sample error + sub setup_task {} + sub run_task { my ( $self ) = @_; *************** *** 68,71 **** --- 73,77 ---- warn "Package file set to '$package_file'\n"; + ( $is_ok, $subtask ) = $self->_run_subtask( 'install_package', package_file => $package_file ); *************** *** 77,85 **** sub _run_subtask { my ( $self, $task_name, %extra_params ) = @_; ! my $subtask = OpenInteract2::Manage->new( ! $task_name, { package_dir => $self->param( 'package_dir' ), ! website_dir => $self->param( 'website_dir' ), ! %extra_params } ! ); eval { $subtask->execute() }; if ( $@ ) { --- 83,91 ---- sub _run_subtask { my ( $self, $task_name, %extra_params ) = @_; ! my $subtask = OpenInteract2::Manage->new( $task_name, { ! package_dir => $self->param( 'package_dir' ), ! website_dir => $self->param( 'website_dir' ), ! %extra_params ! }); eval { $subtask->execute() }; if ( $@ ) { |
From: Chris W. <la...@us...> - 2005-03-11 03:45:52
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8626 Modified Files: CommonSearch.pm Log Message: OIN-146: apply patch to document _search_form_customize() Index: CommonSearch.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonSearch.pm,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** CommonSearch.pm 26 Feb 2005 03:56:36 -0000 1.22 --- CommonSearch.pm 11 Mar 2005 03:45:41 -0000 1.23 *************** *** 549,553 **** =head1 METHODS FOR 'search_form' ! No additional methods are available for you to override. =head1 CONFIGURATION FOR 'search_form' --- 549,557 ---- =head1 METHODS FOR 'search_form' ! _search_form_customize( \%template_params ) ! ! Add any necessary parameters to C<\%template_params> before the ! content generation step where they get passed to the template ! specified in C<c_search_form_template>. =head1 CONFIGURATION FOR 'search_form' |
From: Chris W. <la...@us...> - 2005-03-10 01:25:58
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_security/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_security/OpenInteract2/App Modified Files: BaseSecurity.pm Log Message: update core packages to include App improvements Index: BaseSecurity.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_security/OpenInteract2/App/BaseSecurity.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseSecurity.pm 1 Mar 2005 03:28:37 -0000 1.1 --- BaseSecurity.pm 10 Mar 2005 01:24:57 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseSecurity; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseSecurity::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_security'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseSecurity::EXPORT = qw( install ); ! my $NAME = 'base_security'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:58
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_template/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_template/OpenInteract2/App Modified Files: BaseTemplate.pm Log Message: update core packages to include App improvements Index: BaseTemplate.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_template/OpenInteract2/App/BaseTemplate.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseTemplate.pm 1 Mar 2005 03:28:39 -0000 1.1 --- BaseTemplate.pm 10 Mar 2005 01:24:57 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseTemplate; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseTemplate::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_template'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseTemplate::EXPORT = qw( install ); ! my $NAME = 'base_template'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:58
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_theme/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_theme/OpenInteract2/App Modified Files: BaseTheme.pm Log Message: update core packages to include App improvements Index: BaseTheme.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_theme/OpenInteract2/App/BaseTheme.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseTheme.pm 1 Mar 2005 03:28:40 -0000 1.1 --- BaseTheme.pm 10 Mar 2005 01:24:57 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseTheme; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseTheme::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_theme'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseTheme::EXPORT = qw( install ); ! my $NAME = 'base_theme'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:57
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/news/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/news/OpenInteract2/App Modified Files: News.pm Log Message: update core packages to include App improvements Index: News.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/news/OpenInteract2/App/News.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** News.pm 2 Mar 2005 15:21:44 -0000 1.2 --- News.pm 10 Mar 2005 01:24:59 -0000 1.3 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::News; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::News::EXPORT = qw( install ); ! sub get_brick_name { ! return 'news'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::News::EXPORT = qw( install ); ! my $NAME = 'news'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:57
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/comments/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/comments/OpenInteract2/App Modified Files: Comments.pm Log Message: update core packages to include App improvements Index: Comments.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/comments/OpenInteract2/App/Comments.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Comments.pm 1 Mar 2005 03:28:42 -0000 1.1 --- Comments.pm 10 Mar 2005 01:24:58 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::Comments; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::Comments::EXPORT = qw( install ); ! sub get_brick_name { ! return 'comments'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::Comments::EXPORT = qw( install ); ! my $NAME = 'comments'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:57
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/lookup/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/lookup/OpenInteract2/App Modified Files: Lookup.pm Log Message: update core packages to include App improvements Index: Lookup.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/lookup/OpenInteract2/App/Lookup.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Lookup.pm 1 Mar 2005 03:28:43 -0000 1.1 --- Lookup.pm 10 Mar 2005 01:24:59 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::Lookup; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::Lookup::EXPORT = qw( install ); ! sub get_brick_name { ! return 'lookup'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::Lookup::EXPORT = qw( install ); ! my $NAME = 'lookup'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:57
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/full_text/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/full_text/OpenInteract2/App Modified Files: FullText.pm Log Message: update core packages to include App improvements Index: FullText.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/full_text/OpenInteract2/App/FullText.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FullText.pm 1 Mar 2005 03:28:42 -0000 1.1 --- FullText.pm 10 Mar 2005 01:24:58 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::FullText; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::FullText::EXPORT = qw( install ); ! sub get_brick_name { ! return 'full_text'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::FullText::EXPORT = qw( install ); ! my $NAME = 'full_text'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:45
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_user/OpenInteract2/App Modified Files: BaseUser.pm Log Message: update core packages to include App improvements Index: BaseUser.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/App/BaseUser.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseUser.pm 1 Mar 2005 03:28:41 -0000 1.1 --- BaseUser.pm 10 Mar 2005 01:24:57 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseUser; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseUser::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_user'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseUser::EXPORT = qw( install ); ! my $NAME = 'base_user'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:44
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_box/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_box/OpenInteract2/App Modified Files: BaseBox.pm Log Message: update core packages to include App improvements Index: BaseBox.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_box/OpenInteract2/App/BaseBox.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseBox.pm 1 Mar 2005 03:28:33 -0000 1.1 --- BaseBox.pm 10 Mar 2005 01:24:56 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseBox; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseBox::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_box'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseBox::EXPORT = qw( install ); ! my $NAME = 'base_box'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:43
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_page/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_page/OpenInteract2/App Modified Files: BasePage.pm Log Message: update core packages to include App improvements Index: BasePage.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_page/OpenInteract2/App/BasePage.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BasePage.pm 1 Mar 2005 03:28:36 -0000 1.1 --- BasePage.pm 10 Mar 2005 01:24:57 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BasePage; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BasePage::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_page'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BasePage::EXPORT = qw( install ); ! my $NAME = 'base_page'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:43
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_group/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_group/OpenInteract2/App Modified Files: BaseGroup.pm Log Message: update core packages to include App improvements Index: BaseGroup.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_group/OpenInteract2/App/BaseGroup.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseGroup.pm 1 Mar 2005 03:28:35 -0000 1.1 --- BaseGroup.pm 10 Mar 2005 01:24:56 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseGroup; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseGroup::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_group'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseGroup::EXPORT = qw( install ); ! my $NAME = 'base_group'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:43
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_error/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base_error/OpenInteract2/App Modified Files: BaseError.pm Log Message: update core packages to include App improvements Index: BaseError.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_error/OpenInteract2/App/BaseError.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BaseError.pm 1 Mar 2005 03:28:34 -0000 1.1 --- BaseError.pm 10 Mar 2005 01:24:56 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::BaseError; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::BaseError::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base_error'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::BaseError::EXPORT = qw( install ); ! my $NAME = 'base_error'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:35
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/base/OpenInteract2/App Modified Files: Base.pm Log Message: update core packages to include App improvements Index: Base.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base/OpenInteract2/App/Base.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Base.pm 1 Mar 2005 03:28:33 -0000 1.1 --- Base.pm 10 Mar 2005 01:24:55 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::Base; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::Base::EXPORT = qw( install ); ! sub get_brick_name { ! return 'base'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::Base::EXPORT = qw( install ); ! my $NAME = 'base'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:15
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/whats_new/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/whats_new/OpenInteract2/App Modified Files: WhatsNew.pm Log Message: update core packages to include App improvements Index: WhatsNew.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/whats_new/OpenInteract2/App/WhatsNew.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WhatsNew.pm 1 Mar 2005 03:28:44 -0000 1.1 --- WhatsNew.pm 10 Mar 2005 01:25:00 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::WhatsNew; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::WhatsNew::EXPORT = qw( install ); ! sub get_brick_name { ! return 'whats_new'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::WhatsNew::EXPORT = qw( install ); ! my $NAME = 'whats_new'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:15
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/object_activity/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/object_activity/OpenInteract2/App Modified Files: ObjectActivity.pm Log Message: update core packages to include App improvements Index: ObjectActivity.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/object_activity/OpenInteract2/App/ObjectActivity.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ObjectActivity.pm 1 Mar 2005 03:28:43 -0000 1.1 --- ObjectActivity.pm 10 Mar 2005 01:24:59 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::ObjectActivity; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::ObjectActivity::EXPORT = qw( install ); ! sub get_brick_name { ! return 'object_activity'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::ObjectActivity::EXPORT = qw( install ); ! my $NAME = 'object_activity'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-10 01:25:15
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/system_doc/OpenInteract2/App In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15802/pkg/system_doc/OpenInteract2/App Modified Files: SystemDoc.pm Log Message: update core packages to include App improvements Index: SystemDoc.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/system_doc/OpenInteract2/App/SystemDoc.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SystemDoc.pm 1 Mar 2005 03:27:17 -0000 1.1 --- SystemDoc.pm 10 Mar 2005 01:25:00 -0000 1.2 *************** *** 1,4 **** --- 1,6 ---- package OpenInteract2::App::SystemDoc; + # $Id$ + use strict; use base qw( Exporter OpenInteract2::App ); *************** *** 8,14 **** @OpenInteract2::App::SystemDoc::EXPORT = qw( install ); ! sub get_brick_name { ! return 'system_doc'; ! } # Not a method, just an exported sub --- 10,14 ---- @OpenInteract2::App::SystemDoc::EXPORT = qw( install ); ! my $NAME = 'system_doc'; # Not a method, just an exported sub *************** *** 21,24 **** --- 21,41 ---- } + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + + sub get_brick_name { + return $NAME; + } + + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-09 20:27:02
|
Update of /cvsroot/openinteract/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29942 Modified Files: MANIFEST Log Message: OIN-72: be able to install an OI2 package from a CPAN dist Index: MANIFEST =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/MANIFEST,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** MANIFEST 8 Mar 2005 14:59:23 -0000 1.121 --- MANIFEST 9 Mar 2005 20:26:21 -0000 1.122 *************** *** 224,227 **** --- 224,228 ---- script/translate_package_to_ini.pl script/translate_spops_to_ini.pl + script/translate_doc_to_app.pl tools/create_new_manage.pl t/README |
From: Chris W. <la...@us...> - 2005-03-09 20:26:39
|
Update of /cvsroot/openinteract/OpenInteract2/sample/package In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29942/sample/package Modified Files: App.pm Log Message: OIN-72: be able to install an OI2 package from a CPAN dist Index: App.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/package/App.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** App.pm 1 Mar 2005 03:35:59 -0000 1.2 --- App.pm 9 Mar 2005 20:26:24 -0000 1.3 *************** *** 8,13 **** @OpenInteract2::App::[% class_name %]::EXPORT = qw( install ); sub get_brick_name { ! return '[% package_name %]'; } --- 8,24 ---- @OpenInteract2::App::[% class_name %]::EXPORT = qw( install ); + my $NAME = '[% package_name %]'; + + sub new { + return OpenInteract2::App->new( $NAME ); + } + + sub get_brick { + require OpenInteract2::Brick; + return OpenInteract2::Brick->new( $NAME ); + } + sub get_brick_name { ! return $NAME; } *************** *** 21,24 **** --- 32,39 ---- } + OpenInteract2::App->register_factory_type( $NAME => __PACKAGE__ ); + + 1; + __END__ |
From: Chris W. <la...@us...> - 2005-03-09 20:26:38
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29942/lib/OpenInteract2/Config Modified Files: Package.pm Log Message: OIN-72: be able to install an OI2 package from a CPAN dist Index: Package.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Config/Package.pm,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Package.pm 28 Feb 2005 00:59:18 -0000 1.22 --- Package.pm 9 Mar 2005 20:26:23 -0000 1.23 *************** *** 30,34 **** my @OBJECT_FIELDS = qw( filename package_dir ); ! # Define the keys in 'package.conf' that can be a list, meaning you # can have multiple items defined: # --- 30,34 ---- my @OBJECT_FIELDS = qw( filename package_dir ); ! # Define the keys in 'package.ini' that can be a list, meaning you # can have multiple items defined: # *************** *** 41,50 **** message_file config_watcher ); ! # Define the keys in 'package.conf' that can be a hash, meaning that ! # you can have items defined as multiple key-value pairs ! # (space-separated): # ! # template_plugin MyNew OpenInteract2::TT::Plugin::New ! # template_plugin MyURL OpenInteract2::TT::Plugin::URL # NOTE: If you add a field here you must also add it to @SERIAL_FIELDS --- 41,49 ---- message_file config_watcher ); ! # Define the keys in 'package.ini' that should be a hash # ! # [package template_plugin] ! # MyNew = OpenInteract2::TT::Plugin::New ! # MyURL = OpenInteract2::TT::Plugin::URL # NOTE: If you add a field here you must also add it to @SERIAL_FIELDS *************** *** 71,79 **** } if ( $filename and -f $filename ) { ! my $new_params = $class->_read_config( $filename ); $params->{ $_ } = $new_params->{ $_ } for ( keys %{ $new_params } ); $self->filename( $filename ); $self->package_dir( rel2abs( dirname( $filename ) ) ); } return $self->_initialize( $params ); } --- 70,83 ---- } if ( $filename and -f $filename ) { ! my $new_params = $class->_read_config( file => $filename ); $params->{ $_ } = $new_params->{ $_ } for ( keys %{ $new_params } ); $self->filename( $filename ); $self->package_dir( rel2abs( dirname( $filename ) ) ); } + elsif ( $params->{content} ) { + my $new_params = $class->_read_config( content => $params->{content} ); + $params->{ $_ } = $new_params->{ $_ } for ( keys %{ $new_params } ); + + } return $self->_initialize( $params ); } *************** *** 225,234 **** sub _read_config { ! my ( $class, $filename ) = @_; ! unless ( -f $filename ) { ! oi_error "Package configuration file '$filename' does not exist."; } ! my $ini = OpenInteract2::Config::Ini->new({ filename => $filename }); return {} unless ( $ini->{package} ); my %params = (); --- 229,248 ---- sub _read_config { ! my ( $class, $type, $value ) = @_; ! my %ini_conf = (); ! if ( $type eq 'file' ) { ! unless ( -f $value ) { ! oi_error "Package configuration file '$value' does not exist."; ! } ! $ini_conf{filename} = $value; ! } ! elsif ( $type eq 'content' ) { ! unless ( $value ) { ! oi_error "No content to use for package configuration"; ! } ! $ini_conf{content} = $value; } ! my $ini = OpenInteract2::Config::Ini->new( \%ini_conf ); return {} unless ( $ini->{package} ); my %params = (); *************** *** 264,273 **** url = http://www.oirox.com/ description = This package rocks! ! [package template_plugin] TestPlugin = OpenInteract2::Plugin::Test ! [package observer] ! mywiki = OpenInteract2::Filter::MyWiki # Create a new package file from scratch --- 278,287 ---- url = http://www.oirox.com/ description = This package rocks! ! [package template_plugin] TestPlugin = OpenInteract2::Plugin::Test ! [package observer] ! mywiki = OpenInteract2::Filter::MyWiki # Create a new package file from scratch *************** *** 300,303 **** --- 314,323 ---- filename => 'work/pkg/mypackage/package-alt.ini' }); + + # Read the content yourself and pass it in + my $ini_text = _read_ini_file( '...' ); + my $c = OpenInteract2::Config::Package->new({ + content => $ini_text + }); =head1 DESCRIPTION *************** *** 323,329 **** =item * ! C<directory>: Read the configuration from the file C<package.conf> located in this directory. (Also: C<package_dir>) =back --- 343,353 ---- =item * ! C<directory>: Read the configuration from the file C<package.ini> located in this directory. (Also: C<package_dir>) + =item * + + C<content>: Use the text in this value as the package configuration. + =back |