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...> - 2004-12-05 08:51:35
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/system_doc/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16278/pkg/system_doc/OpenInteract2/Action Modified Files: SystemDoc.pm Log Message: update packages to move as many messages as possible out of code and into message files; use new add_status/add_error shortcuts Index: SystemDoc.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/system_doc/OpenInteract2/Action/SystemDoc.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** SystemDoc.pm 9 Jun 2004 01:09:59 -0000 1.12 --- SystemDoc.pm 5 Dec 2004 08:51:24 -0000 1.13 *************** *** 131,135 **** my $request = CTX->request; ! my ( $pod_file, $html_file, $text_file, $title, $error ); # If this is a package, display the doc --- 131,136 ---- my $request = CTX->request; ! my %params = map { $_ => '' } ! qw( pod_file html_file text_file title error ); # If this is a package, display the doc *************** *** 137,242 **** my $package_spec = $request->param( 'package' ); if ( $package_spec ) { ! my ( $package_name, $ver ) = ! OpenInteract2::Package->parse_full_name( $package_spec ); ! my $doc = $request->param( 'doc' ); ! my $repos = CTX->repository; ! if ( $doc =~ /\.(html|txt|pod)$/ ) { ! my $full_filename = $repos->find_file( $package_name, $doc ); ! $log->is_debug && ! $log->debug( "Found [$full_filename] in [$package_name]" ); ! $pod_file = $full_filename if ( $doc =~ /\.pod$/ ); ! $html_file = $full_filename if ( $doc =~ /\.html$/ ); ! $text_file = $full_filename if ( $doc =~ /\.txt$/ ); ! $title = "Display Document from Package: $package_name"; ! $error = "Cannot find package documentation: $doc"; ! } } else { my $module = $self->param( 'module' ) || $request->param( 'module' ); ! ! # ewww! ick! ! # TODO: Can we programmatically use Pod::Perldoc to do this? ! $pod_file = $POD_CACHE{ $module } || `perldoc -l $module`; ! ! chomp $pod_file; ! if ( $pod_file ) { ! $log->is_info && ! $log->info( "Found [$pod_file] from [$module]" ); ! } ! else { ! $pod_file = $INC{ _uncolonify( $module ) }; ! $log->is_info && ! $log->info( "Found [$pod_file] from %INC" ); ! } ! if ( -f $pod_file ) { ! $POD_CACHE{ $module } = $pod_file; ! } ! $title = "Display Module: $module"; ! $error = "Cannot find module: $module"; } my ( $content ); ! if ( -f $pod_file ) { ! $log->is_debug && ! $log->debug( "Trying to view pod in [$pod_file]" ); ! my $parser = Pod::POM->new(); ! my $pom = $parser->parse( $pod_file ); ! unless ( $pom ) { ! $log->error( "Pod::POM did not return an object: ", ! $parser->error() ); ! return '<p>Error parsing POD: ' . $parser->error() . '</p>'; ! } ! ! eval { require OpenInteract2::PodView }; ! if ( $@ ) { ! my $msg = "Failed to load POD viewer: $@"; ! $log->error( $msg ); ! $self->param_add( error_msg => $msg ); ! $content = 'No content'; ! } ! else { ! $content = eval { OpenInteract2::PodView->print( $pom ) }; ! if ( $@ ) { ! $log->error( "Failed to output html from pod: $@" ); ! $content = "Failed to display module: $@"; ! } ! else { ! $content =~ s/^.*<BODY>//sm; ! $content =~ s|</BODY>.*$||sm; ! } ! } } ! elsif ( -f $html_file ) { ! eval { open( HTML, $html_file ) || die $! }; ! if ( $@ ) { ! my $msg = "Error opening HTML file '$html_file': $@"; ! $log->error( $msg ); ! return "<p>$msg</p>"; ! } ! local $/ = undef; ! $content = <HTML>; ! close( HTML ); ! $content =~ s/^.*<BODY>//sm; ! $content =~ s|</BODY>.*$||sm; } ! elsif ( -f $text_file ) { ! eval { open( TEXT, $text_file ) || die $! }; ! if ( $@ ) { ! my $msg = "Error opening TEXT file '$text_file': $@"; ! $log->error( $msg ); ! return "<p>$msg</p>"; ! } ! local $/ = undef; ! $content = <TEXT>; ! close( TEXT ); ! $content = qq(<pre class="systemDocText">$content</pre>); } else { ! return "<p>Error $error.</p>"; } --- 138,165 ---- my $package_spec = $request->param( 'package' ); if ( $package_spec ) { ! $self->_display_package_params( $package_spec, \%params ); } else { my $module = $self->param( 'module' ) || $request->param( 'module' ); ! $self->_display_module_params( $module, \%params ); } my ( $content ); ! if ( -f $params{pod_file} ) { ! $content = $self->_show_pod( \%params ); } ! elsif ( -f $params{html_file} ) { ! $content = $self->_show_html( \%params ); } ! elsif ( -f $params{text_file} ) { ! $content = $self->_show_text( \%params ); } else { ! return "<p>$params{error}.</p>"; } *************** *** 249,252 **** --- 172,277 ---- } + sub _display_package_params { + my ( $self, $package_spec, $params ) = @_; + my ( $package_name, $ver ) = + OpenInteract2::Package->parse_full_name( $package_spec ); + my $request = CTX->request; + my $doc = $request->param( 'doc' ); + my $repos = CTX->repository; + if ( $doc =~ /\.(html|txt|pod)$/ ) { + my $full_filename = $repos->find_file( $package_name, $doc ); + $log->is_debug && + $log->debug( "Found [$full_filename] in [$package_name]" ); + $params->{pod_file} = $full_filename if ( $doc =~ /\.pod$/ ); + $params->{html_file} = $full_filename if ( $doc =~ /\.html$/ ); + $params->{text_file} = $full_filename if ( $doc =~ /\.txt$/ ); + $params->{title} = $self->_msg( 'sys_doc.package.doc_title', $package_name ); + $params->{error} = $self->_msg( 'sys_doc.error.cannot_find_package_doc', $doc ); + } + } + + sub _display_module_params { + my ( $self, $module, $params ) = @_; + + # ewww! ick! + # TODO: Can we programmatically use Pod::Perldoc to do this? + $params->{pod_file} = $POD_CACHE{ $module } || `perldoc -l $module`; + + chomp $params->{pod_file}; + if ( $params->{pod_file} ) { + $log->is_info && + $log->info( "Found [$params->{pod_file}] from [$module]" ); + } + else { + $params->{pod_file} = $INC{ _uncolonify( $module ) }; + $log->is_info && + $log->info( "Found [$params->{pod_file}] from %INC" ); + } + if ( -f $params->{pod_file} ) { + $POD_CACHE{ $module } = $params->{pod_file}; + } + $params->{title} = $self->_msg( 'sys_doc.module.doc_title', $module ); + $params->{error} = $self->_msg( 'sys_doc.error.cannot_find_module_doc', $module ); + } + + sub _show_pod { + my ( $self, $params ) = @_; + $log->is_debug && + $log->debug( "Trying to view pod in [$params->{pod_file}]" ); + my $parser = Pod::POM->new(); + my $pom = $parser->parse( $params->{pod_file} ); + unless ( $pom ) { + $log->error( "Pod::POM did not return an object: ", + $parser->error() ); + my $msg = $self->_msg( 'sys_doc.error.pod_parse', $parser->error() ); + return qq(<p>$msg</p>); + } + + eval { require OpenInteract2::PodView }; + if ( $@ ) { + $log->error( "No POD viewer: $@" ); + $self->add_error_key( 'sys_doc.error.pod_viewer', $@ ); + return $self->_msg( 'sys_doc.pod.no_content' ); + } + my $content = eval { OpenInteract2::PodView->print( $pom ) }; + if ( $@ ) { + $log->error( "Failed to output html from pod: $@" ); + return $self->_msg( 'sys_doc.pod.cannot_display_module', $@ ); + } + $content =~ s/^.*<BODY>//sm; + $content =~ s|</BODY>.*$||sm; + return $content; + } + + sub _show_html { + my ( $self, $params ) = @_; + eval { open( HTML, $params->{html_file} ) || die $! }; + if ( $@ ) { + my $msg = $self->_msg( 'sys_doc.error.cannot_open_file', + $params->{html_file}, $@ ); + $log->error( $msg ); + return "<p>$msg</p>"; + } + my $content = join( '', <HTML> ); + close( HTML ); + $content =~ s/^.*<BODY>//sm; + $content =~ s|</BODY>.*$||sm; + return $content; + } + + sub _show_text { + my ( $self, $params ) = @_; + eval { open( TEXT, $params->{text_file} ) || die $! }; + if ( $@ ) { + my $msg = $self->_msg( 'sys_doc.error.cannot_open_file', + $params->{text_file}, $@ ); + $log->error( $msg ); + return "<p>$msg</p>"; + } + my $content = join( '', <TEXT> ); + close( TEXT ); + return qq(<pre class="systemDocText">$content</pre>); + } + 1; *************** *** 304,311 **** display title and other information on the listing page. - =head1 BUGS - - None known. - =head1 COPYRIGHT --- 329,332 ---- |
From: Chris W. <la...@us...> - 2004-12-05 08:51:33
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/system_doc/msg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16278/pkg/system_doc/msg Modified Files: system_doc-messages-en.msg Log Message: update packages to move as many messages as possible out of code and into message files; use new add_status/add_error shortcuts Index: system_doc-messages-en.msg =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/system_doc/msg/system_doc-messages-en.msg,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** system_doc-messages-en.msg 9 Nov 2004 13:30:36 -0000 1.2 --- system_doc-messages-en.msg 5 Dec 2004 08:51:24 -0000 1.3 *************** *** 4,10 **** --- 4,14 ---- sys_doc.module.page_title = OpenInteract2 System Documentation / Module Documentation sys_doc.module.title = Module Listing + sys_doc.module.doc_title = Display Module: [_1] sys_doc.package.page_title = OpenInteract2 System Documentation / Package Documentation sys_doc.package.title = OpenInteract2 Package Documentation + sys_doc.package_doc_title = Display Document from Package: [_1] sys_doc.package.no_docs = No documentation available for this package. + sys_doc.pod.no_content = No content. + sys_doc.pod.cannot_display_module = Failed to display module: [_1] sys_doc.menu.page_title = OpenInteract2 System Documentation / Index sys_doc.menu.title = OpenInteract2 System Documentation *************** *** 21,22 **** --- 25,31 ---- OpenInteract along with all the modules used by them. This includes \ the SPOPS and OpenInteract manuals. (Mostly for Perl developers.) + sys_doc.error.pod_viewer = Failed to load POD viewer: [_1] + sys_doc.error.pod_parse = Error parsing POD: [_1] + sys_doc.error.cannot_find_package_doc = Cannot find package documentation: [_1] + sys_doc.error.cannot_find_module_doc = Cannot find module: [_1] + sys_doc.error.cannot_open_file = Error opening file '[_1]': [_2] \ No newline at end of file |
From: Chris W. <la...@us...> - 2004-12-04 04:17:39
|
Update of /cvsroot/openinteract/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20029 Modified Files: Build.PL Makefile.PL Log Message: add mail address validation module Index: Build.PL =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/Build.PL,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Build.PL 27 Sep 2004 03:51:56 -0000 1.20 --- Build.PL 4 Dec 2004 04:17:30 -0000 1.21 *************** *** 37,40 **** --- 37,41 ---- 'LWP::Simple' => 0, 'MIME::Lite' => 2.00, + 'Mail::RFC822::Address' => 0.3, 'Mail::Sendmail' => 0.77, 'Pod::POM' => 0, Index: Makefile.PL =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/Makefile.PL,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** Makefile.PL 18 Oct 2004 08:38:19 -0000 1.27 --- Makefile.PL 4 Dec 2004 04:17:30 -0000 1.28 *************** *** 38,41 **** --- 38,42 ---- 'LWP::Simple' => 0, 'MIME::Lite' => 2.00, + 'Mail::RFC822::Address' => 0.3, 'Mail::Sendmail' => 0.77, 'Pod::POM' => 0, |
From: Chris W. <la...@us...> - 2004-12-04 04:14:04
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19330 Modified Files: Common.pm Log Message: pod fix Index: Common.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/Common.pm,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Common.pm 2 Oct 2004 22:05:05 -0000 1.18 --- Common.pm 4 Dec 2004 04:13:54 -0000 1.19 *************** *** 528,540 **** Is there an action parameter with the name C<c_id>? ! =item 1. Is there an action parameter with the same name as the ID field? ! =item 1. Is there a request parameter with the same name as the ID field? ! =item 1. Is there a request parameter with the name 'id'? --- 528,540 ---- Is there an action parameter with the name C<c_id>? ! =item 2. Is there an action parameter with the same name as the ID field? ! =item 3. Is there a request parameter with the same name as the ID field? ! =item 4. Is there a request parameter with the name 'id'? |
From: Chris W. <la...@us...> - 2004-12-04 03:52:04
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15236/doc/Manual Modified Files: Changes.pod Log Message: latest changes Index: Changes.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/Changes.pod,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** Changes.pod 2 Dec 2004 03:18:52 -0000 1.56 --- Changes.pod 4 Dec 2004 03:51:54 -0000 1.57 *************** *** 79,90 **** compile_dir = cache/tt ! (If you don't do this a default is provided for you and the old value ! is ignored.) ! Also: you no longer declare filter-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 ! L<OpenInteract2::Observer> for more information. =head2 Major Changes --- 79,91 ---- 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 L<OpenInteract2::Observer> for more ! information. =head2 Major Changes *************** *** 99,103 **** L<OpenInteract2::FullTextRules>) and the 'full_text' package now contains one implementation of the search engine. This opens the door ! for someone to write a 'full_text_plucene' or something similar. =item * --- 100,105 ---- L<OpenInteract2::FullTextRules>) and the 'full_text' package now contains one implementation of the search engine. This opens the door ! for someone -- maybe you! -- to write a 'full_text_plucene' or ! something similar. =item * *************** *** 228,231 **** --- 230,236 ---- $self->add_status_key( 'some.l10n.key', $msg_param ); + Also added C<clear_error()> and C<clear_status()>, which delete all + error/status messages. + =back *************** *** 785,803 **** ----------------------------------- base: 2.10 -> 2.10 ! base_box: 2.11 -> 2.12 base_error: 2.10 -> 2.10 ! base_group: 2.11 -> 2.14 ! base_page: 2.21 -> 2.23 ! base_security: 2.13 -> 2.16 ! base_template: 3.11 -> 3.11 base_theme: 2.09 -> 2.09 ! base_user: 2.27 -> 2.32 ! comments: 1.10 -> 1.14 ! full_text: 2.09 -> 2.56 lookup: 2.04 -> 2.06 ! news: 2.13 -> 2.18 object_activity: 2.11 -> 2.11 system_doc: 2.05 -> 2.07 ! whats_new: 2.04 -> 2.08 --- 790,808 ---- ----------------------------------- base: 2.10 -> 2.10 ! base_box: 2.11 -> 2.17 base_error: 2.10 -> 2.10 ! base_group: 2.11 -> 2.15 ! base_page: 2.21 -> 2.28 ! base_security: 2.13 -> 2.17 ! base_template: 3.11 -> 3.14 base_theme: 2.09 -> 2.09 ! base_user: 2.27 -> 2.34 ! comments: 1.10 -> 1.17 ! full_text: 2.09 -> 2.57 lookup: 2.04 -> 2.06 ! news: 2.13 -> 2.19 object_activity: 2.11 -> 2.11 system_doc: 2.05 -> 2.07 ! whats_new: 2.04 -> 2.09 |
From: Chris W. <la...@us...> - 2004-12-04 03:51:40
|
Update of /cvsroot/openinteract/OpenInteract2/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15145/lib Modified Files: OpenInteract2.pod Log Message: add pointer to changelog Index: OpenInteract2.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2.pod,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OpenInteract2.pod 17 Feb 2004 04:30:11 -0000 1.2 --- OpenInteract2.pod 4 Dec 2004 03:51:14 -0000 1.3 *************** *** 1,10 **** =head1 NAME ! OpenInteract2 - Pure-perl extensible web application server =head1 DESCRIPTION ! This is a stub so you can find documentation quicker. Please check ! out L<OpenInteract2::Manual|OpenInteract2::Manual> for the scoop. =head1 COPYRIGHT --- 1,12 ---- =head1 NAME ! OpenInteract2 - Pure-perl extensible application server =head1 DESCRIPTION ! This is a stub so you can find documentation quicker. Please check out ! L<OpenInteract2::Manual|OpenInteract2::Manual> for the overview and ! L<OpenInteract2::Manual::Changes|OpenInteract2::Manual::Changes> for ! the changes between versions. =head1 COPYRIGHT |
From: Chris W. <la...@us...> - 2004-12-02 03:19:05
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21484/lib/OpenInteract2 Modified Files: Action.pm Log Message: add a couple more error/status message shortcuts Index: Action.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action.pm,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** Action.pm 1 Dec 2004 05:27:07 -0000 1.63 --- Action.pm 2 Dec 2004 03:18:54 -0000 1.64 *************** *** 933,944 **** # shortcuts... sub add_error_key { my ( $self, $key, @params ) = @_; ! $self->param_add( error_msg => $self->_msg( $key, @params ) ); } sub add_status_key { my ( $self, $key, @params ) = @_; ! $self->param_add( status_msg => $self->_msg( $key, @params ) ); } --- 933,968 ---- # shortcuts... + sub add_error { + my ( $self, @msg ) = @_; + my $err = join( '', @msg ); + $self->param_add( error_msg => $err ); + return $err; + } + + sub add_status { + my ( $self, @msg ) = @_; + my $status = join( '', @msg ); + $self->param_add( status_msg => $status ); + return $status; + } + sub add_error_key { my ( $self, $key, @params ) = @_; ! return $self->add_error( $self->_msg( $key, @params ) ); } sub add_status_key { my ( $self, $key, @params ) = @_; ! return $self->add_status( $self->_msg( $key, @params ) ); ! } ! ! sub clear_error { ! my ( $self ) = @_; ! $self->param_clear( 'error_msg' ); ! } ! ! sub clear_status { ! my ( $self ) = @_; ! $self->param_clear( 'status_msg' ); } *************** *** 2564,2567 **** --- 2588,2603 ---- Returns: nothing + B<add_error( @msg )> + + Adds message (C<join>ed C<msg>) to action parameter 'error_msg'). + + Returns: added message + + B<add_status( @msg )> + + Adds message (C<join>ed C<msg>) to action parameter 'status_msg'). + + Returns: added message + B<add_error_key( $key, [ @msg_params ] )> *************** *** 2578,2581 **** --- 2614,2625 ---- Returns: added message + B<clear_error()> + + Removes all error messages. + + B<clear_status()> + + Removes all status messages. + B<message_from_key_or_param( $param_name, $message_key, @key_arguments )> |
From: Chris W. <la...@us...> - 2004-12-02 03:19:03
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21484/doc/Manual Modified Files: Changes.pod Log Message: add a couple more error/status message shortcuts Index: Changes.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/Changes.pod,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** Changes.pod 1 Dec 2004 05:40:14 -0000 1.55 --- Changes.pod 2 Dec 2004 03:18:52 -0000 1.56 *************** *** 212,225 **** =item * ! Add shortcut methods C<add_error_key()> and C<add_status_key()> -- so ! you can replace: $self->param_add( error_msg => $self->_msg( 'some.key', $msg_param ) ); $self->param_add( status_msg => $self->_msg( 'some.key', $msg_param ) ); ! with: ! $self->add_error_key( 'some.key', $msg_param ); ! $self->add_status_key( 'some.key', $msg_param ); =back --- 212,230 ---- =item * ! Add shortcut methods C<add_error()>, C<add_error_key()>, ! C<add_status()>, and C<add_status_key()> -- so you can replace: $self->param_add( error_msg => $self->_msg( 'some.key', $msg_param ) ); $self->param_add( status_msg => $self->_msg( 'some.key', $msg_param ) ); ! with either: ! $self->add_error( "You messed up!" ); ! $self->add_status( "Things are great!" ); ! ! or (if you're using localized messages): ! ! $self->add_error_key( 'some.l10n.key', $msg_param ); ! $self->add_status_key( 'some.l10n.key', $msg_param ); =back |
From: Chris W. <la...@us...> - 2004-12-01 05:40:23
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21726/doc/Manual Modified Files: Changes.pod Log Message: latest changes Index: Changes.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/Changes.pod,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** Changes.pod 28 Nov 2004 17:50:28 -0000 1.54 --- Changes.pod 1 Dec 2004 05:40:14 -0000 1.55 *************** *** 1,3 **** ! =head1 NAME OpenInteract2::Manual::Changes - Significant changes to OpenInteract2 --- 1,3 ---- ! =head1 NAME OpenInteract2::Manual::Changes - Significant changes to OpenInteract2 *************** *** 130,134 **** observations ('pre add', 'post add', etc.). So you can attach external observers to an action to, for instance, post a new use.perl journal ! entry with the contents of the object just created. =item * --- 130,135 ---- observations ('pre add', 'post add', etc.). So you can attach external observers to an action to, for instance, post a new use.perl journal ! entry with the contents of the object just created, tag the ! just-modified object with metadata, etc. =item * *************** *** 209,212 **** --- 210,226 ---- hit' observation so observers can react to it. + =item * + + Add shortcut methods C<add_error_key()> and C<add_status_key()> -- so + you can replace: + + $self->param_add( error_msg => $self->_msg( 'some.key', $msg_param ) ); + $self->param_add( status_msg => $self->_msg( 'some.key', $msg_param ) ); + + with: + + $self->add_error_key( 'some.key', $msg_param ); + $self->add_status_key( 'some.key', $msg_param ); + =back *************** *** 232,235 **** --- 246,263 ---- C<add()> method. + =item * + + Define 'c_task' action parameter to the task originally invoked. + + =back + + L<OpenInteract2::Action::CommonDisplay> + + =over 4 + + =item * + + Define 'c_task' action parameter to the task originally invoked. + =back *************** *** 243,246 **** --- 271,278 ---- C<remove()> method. + =item * + + Define 'c_task' action parameter to the task originally invoked. + =back *************** *** 257,260 **** --- 289,296 ---- Small bit of refactoring to make the search() easier to follow. + =item * + + Define 'c_task' action parameter to the task originally invoked. + =back *************** *** 268,271 **** --- 304,311 ---- C<update()> method. + =item * + + Define 'c_task' action parameter to the task originally invoked. + =back |
From: Chris W. <la...@us...> - 2004-12-01 05:28:44
|
Update of /cvsroot/openinteract/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19719 Modified Files: MANIFEST Log Message: module version update Index: MANIFEST =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/MANIFEST,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -d -r1.102 -r1.103 *** MANIFEST 29 Nov 2004 02:58:51 -0000 1.102 --- MANIFEST 1 Dec 2004 05:28:35 -0000 1.103 *************** *** 165,169 **** pkg/base_template-3.14.zip pkg/base_theme-2.09.zip ! pkg/base_user-2.33.zip pkg/comments-1.17.zip pkg/full_text-2.57.zip --- 165,169 ---- pkg/base_template-3.14.zip pkg/base_theme-2.09.zip ! pkg/base_user-2.34.zip pkg/comments-1.17.zip pkg/full_text-2.57.zip |
From: Chris W. <la...@us...> - 2004-12-01 05:28:44
|
Update of /cvsroot/openinteract/OpenInteract2/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19719/t Modified Files: utils.pl Log Message: module version update Index: utils.pl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/t/utils.pl,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** utils.pl 29 Nov 2004 02:58:51 -0000 1.81 --- utils.pl 1 Dec 2004 05:28:36 -0000 1.82 *************** *** 52,56 **** base_template => '3.14', base_theme => '2.09', ! base_user => '2.33', comments => '1.17', full_text => '2.57', --- 52,56 ---- base_template => '3.14', base_theme => '2.09', ! base_user => '2.34', comments => '1.17', full_text => '2.57', |
From: Chris W. <la...@us...> - 2004-12-01 05:27:21
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19496/lib/OpenInteract2 Modified Files: Action.pm Log Message: add add_status_key() and add_error_key() shortcuts Index: Action.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action.pm,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** Action.pm 28 Nov 2004 04:24:42 -0000 1.62 --- Action.pm 1 Dec 2004 05:27:07 -0000 1.63 *************** *** 930,933 **** --- 930,946 ---- } + + # shortcuts... + + sub add_error_key { + my ( $self, $key, @params ) = @_; + $self->param_add( error_msg => $self->_msg( $key, @params ) ); + } + + sub add_status_key { + my ( $self, $key, @params ) = @_; + $self->param_add( status_msg => $self->_msg( $key, @params ) ); + } + # confusing name -- the title would suggest we want the message key # first, but we want to also pass along optional arguments to the *************** *** 2551,2554 **** --- 2564,2581 ---- Returns: nothing + B<add_error_key( $key, [ @msg_params ] )> + + Adds error message (under param name 'error_msg') using the resource + key C<$key> which may also optionally need C<@msg_params>. + + Returns: added message + + B<add_status_key( $key, [ @msg_params ] )> + + Adds status message (under param name 'status_msg') using the resource + key C<$key> which may also optionally need C<@msg_params>. + + Returns: added message + B<message_from_key_or_param( $param_name, $message_key, @key_arguments )> |
From: Chris W. <la...@us...> - 2004-12-01 05:19:35
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17830 Modified Files: package.conf Changes Log Message: metadata Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/package.conf,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** package.conf 27 Nov 2004 19:00:30 -0000 1.34 --- package.conf 1 Dec 2004 05:19:26 -0000 1.35 *************** *** 1,4 **** name base_user ! version 2.33 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ --- 1,4 ---- name base_user ! version 2.34 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/Changes,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Changes 27 Nov 2004 19:00:29 -0000 1.34 --- Changes 1 Dec 2004 05:19:26 -0000 1.35 *************** *** 1,4 **** --- 1,13 ---- Revision history for OpenInteract package base_user. + 2.34 Wed Dec 1 00:13:38 EST 2004 + + Modify the message returned when we can't email your info (try + the 'forgot password' later). Also modify the update/add failure + task to remove any status messages since we were seeing a + 'password changed' when an 'add' actually failed. (This uses + recent changes to OI2::Action::Common stuff, so be sure to + update.) + 2.33 Sat Nov 27 13:51:04 EST 2004 |
From: Chris W. <la...@us...> - 2004-12-01 05:19:00
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/msg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17672/msg Modified Files: base_user-messages-en.msg Log Message: modify the 'failed to email' message Index: base_user-messages-en.msg =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/msg/base_user-messages-en.msg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** base_user-messages-en.msg 9 Apr 2004 12:30:34 -0000 1.3 --- base_user-messages-en.msg 1 Dec 2004 05:18:52 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # Contact: Chris Winters <ch...@cw...> base_user.new_complete.page_title = Account Created! base_user.new_complete.title = E-Mail Sent *************** *** 49,53 **** base_user.new_mail.subject = Account information for [_1] ! base_user.new.mail_failure = Could not send email to you with generated password: [_1] base_user.new.name_in_use = The username you requested is already in use; please try another. --- 50,56 ---- base_user.new_mail.subject = Account information for [_1] ! base_user.new.mail_failure = Could not send email to you with generated password: [_1]. \ ! However, your account was created. Try the 'Forgot password' feature later to get \ ! your password changed and sent to you. base_user.new.name_in_use = The username you requested is already in use; please try another. |
From: Chris W. <la...@us...> - 2004-12-01 05:18:24
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17545/OpenInteract2/Action Modified Files: User.pm Log Message: on update/add failure, clear out the status messages and then go to the original failure; should this be default? Index: User.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/Action/User.pm,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** User.pm 22 Feb 2004 04:45:52 -0000 1.17 --- User.pm 1 Dec 2004 05:18:16 -0000 1.18 *************** *** 20,25 **** sub search_form { my ( $self ) = @_; ! return $self->generate_content( ! {}, { name => 'base_user::user_search_form' } ); } --- 20,24 ---- sub search_form { my ( $self ) = @_; ! return $self->generate_content(); } *************** *** 34,40 **** error_msg => $self->_msg( 'base_user.user.search_error', $@ ) ); } ! return $self->generate_content( ! { user_iterator => $iter }, ! { name => 'base_user::user_search_results' } ); } --- 33,37 ---- error_msg => $self->_msg( 'base_user.user.search_error', $@ ) ); } ! return $self->generate_content({ user_iterator => $iter }); } *************** *** 132,143 **** } sub _add_customize { my ( $self, $user, $save_options ) = @_; ! $self->_check_password_change( $user, 'display_add' ); } sub _update_customize { my ( $self, $user, $old_data, $save_options ) = @_; ! $self->_check_password_change( $user, 'display_form' ); } --- 129,160 ---- } + sub _get_modify_fail_task { + my ( $self ) = @_; + my $original_task = $self->param( 'c_task' ); + return 'display_add' if ( $original_task eq 'add' ); + return 'display_update' if ( $original_task eq 'update' ); + return undef; + } + sub _add_customize { my ( $self, $user, $save_options ) = @_; ! $self->_check_password_change( $user ); } sub _update_customize { my ( $self, $user, $old_data, $save_options ) = @_; ! $self->_check_password_change( $user ); ! } ! ! sub on_modify_fail { ! my ( $self ) = @_; ! my $original_task = $self->_get_modify_fail_task; ! unless ( $original_task ) { ! return "This task cannot be called directly, only from an internal action."; ! } ! $self->param_clear( 'status_msg' ); # get rid of any 'Password changed...' messages ! my $original_fail_task = ( $original_task eq 'update' ) ! ? 'display_form' : 'display_add'; ! return $self->execute({ task => $original_fail_task }); } *************** *** 158,161 **** --- 175,179 ---- $self->param_add( error_msg => $self->_msg( 'base_user.user.password_mismatch' ) ); + my $fail_task = $self->_get_modify_fail_task || 'display_add'; # just in case... die $self->execute({ task => $fail_task }); } |
From: Chris W. <la...@us...> - 2004-12-01 05:17:03
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17153/conf Modified Files: action.ini Log Message: modify the default update/add failure task Index: action.ini =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/conf/action.ini,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** action.ini 13 Jun 2004 19:42:20 -0000 1.9 --- action.ini 1 Dec 2004 05:16:54 -0000 1.10 *************** *** 8,16 **** --- 8,22 ---- c_display_add_template = base_user::user_form c_add_task = display + c_add_fail_task = on_modify_fail @,c_add_fields = first_name, last_name, email, language, title, login_name, notes c_update_task = display + c_update_fail_task = on_modify_fail @,c_update_fields = first_name, last_name, email, language, title, login_name, notes c_remove_task = search_form + [user template_source] + search_form = base_user::user_search_form + search = base_user::user_search_results + [newuser] class = OpenInteract2::Action::NewUser |
From: Chris W. <la...@us...> - 2004-12-01 05:16:41
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17061/OpenInteract2/Action Modified Files: NewUser.pm Log Message: cosmetic Index: NewUser.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/OpenInteract2/Action/NewUser.pm,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** NewUser.pm 22 May 2004 15:43:23 -0000 1.19 --- NewUser.pm 1 Dec 2004 05:16:31 -0000 1.20 *************** *** 209,216 **** my $subject = $self->_msg( 'base_user.new_mail.subject', $server_name ); eval { ! OpenInteract2::Util->send_email( ! { message => $message, ! to => $new_user->{email}, ! subject => $subject }) }; if ( $@ ) { --- 209,217 ---- my $subject = $self->_msg( 'base_user.new_mail.subject', $server_name ); eval { ! OpenInteract2::Util->send_email({ ! message => $message, ! to => $new_user->{email}, ! subject => $subject, ! }) }; if ( $@ ) { |
From: Chris W. <la...@us...> - 2004-12-01 05:16:18
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/base_user/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16985/template Modified Files: password_get_login.tmpl Log Message: cosmetic (center) Index: password_get_login.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/base_user/template/password_get_login.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** password_get_login.tmpl 19 Mar 2004 05:55:53 -0000 1.2 --- password_get_login.tmpl 1 Dec 2004 05:16:07 -0000 1.3 *************** *** 2,5 **** --- 2,7 ---- PROCESS error_message -%] + <div align="center"> + <h1>[% MSG( 'base_user.password_info.title' ) %]</h1> *************** *** 26,27 **** --- 28,30 ---- PROCESS form_end -%] + </div> \ No newline at end of file |
From: Chris W. <la...@us...> - 2004-12-01 05:07:11
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14922/lib/OpenInteract2/Action Modified Files: CommonAdd.pm CommonDisplay.pm CommonRemove.pm CommonSearch.pm CommonUpdate.pm Log Message: add a 'c_task' action parameter to all common action tasks Index: CommonAdd.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonAdd.pm,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** CommonAdd.pm 25 Sep 2004 17:48:51 -0000 1.19 --- CommonAdd.pm 1 Dec 2004 05:07:02 -0000 1.20 *************** *** 14,17 **** --- 14,18 ---- sub display_add { my ( $self ) = @_; + $self->param( c_task => 'display_add' ); $self->_add_init_param; my $object_class = $self->param( 'c_object_class' ); *************** *** 36,39 **** --- 37,41 ---- sub add { my ( $self ) = @_; + $self->param( c_task => 'add' ); $self->_add_init_param; CTX->response->return_url( $self->param( 'c_add_return_url' ) ); *************** *** 187,191 **** SPOPS key for object you will be displaying. ! =head2 System-created B<c_object> ($) --- 189,197 ---- SPOPS key for object you will be displaying. ! =head2 System-created parameters ! ! B<c_task> ! ! Name of the task originally invoked: 'display_add'. B<c_object> ($) *************** *** 375,378 **** --- 381,388 ---- =head2 System-created parameters + B<c_task> + + Name of the task originally invoked: 'add'. + B<c_object> ($) Index: CommonDisplay.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonDisplay.pm,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** CommonDisplay.pm 8 Nov 2004 14:33:28 -0000 1.13 --- CommonDisplay.pm 1 Dec 2004 05:07:02 -0000 1.14 *************** *** 13,16 **** --- 13,17 ---- sub display { my ( $self ) = @_; + $self->param( c_task => 'display' ); $self->_display_init_param; *************** *** 161,164 **** --- 162,169 ---- =head2 System-created parameters + B<c_task> + + Name of the task originally invoked: 'display'. + B<c_object_class> ($) Index: CommonRemove.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonRemove.pm,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** CommonRemove.pm 25 Sep 2004 17:48:51 -0000 1.16 --- CommonRemove.pm 1 Dec 2004 05:07:02 -0000 1.17 *************** *** 14,17 **** --- 14,18 ---- sub remove { my ( $self ) = @_; + $self->param( c_task => 'remove' ); $self->_remove_init_param; $log ||= get_logger( LOG_ACTION ); *************** *** 205,208 **** --- 206,213 ---- =head2 System-created parameters + B<c_task> + + Name of the task originally invoked: 'remove'. + B<c_object_class> Index: CommonSearch.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonSearch.pm,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** CommonSearch.pm 5 Oct 2004 03:08:25 -0000 1.15 --- CommonSearch.pm 1 Dec 2004 05:07:02 -0000 1.16 *************** *** 20,23 **** --- 20,24 ---- sub search_form { my ( $self ) = @_; + $self->param( c_task => 'search_form' ); $self->_search_form_init_param; my %tmpl_params = (); *************** *** 46,49 **** --- 47,51 ---- sub search { my ( $self ) = @_; + $self->param( c_task => 'search' ); $self->_search_init_param; $log ||= get_logger( LOG_ACTION ); *************** *** 547,550 **** --- 549,561 ---- above. + =head2 System-created parameters + + These are created by the task and available in any callbacks or from + the view. + + B<c_task> + + Name of the task originally invoked: 'search_form'. + =head1 DESCRIPTION FOR 'search' *************** *** 972,975 **** --- 983,990 ---- during the search task. + B<c_task> + + Name of the task originally invoked: 'search'. + B<c_object_class> ($) Index: CommonUpdate.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action/CommonUpdate.pm,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** CommonUpdate.pm 25 Sep 2004 17:48:51 -0000 1.18 --- CommonUpdate.pm 1 Dec 2004 05:07:02 -0000 1.19 *************** *** 14,17 **** --- 14,18 ---- sub display_form { my ( $self ) = @_; + $self->param( c_task => 'display_form' ); $self->_update_init_param; $log ||= get_logger( LOG_ACTION ); *************** *** 44,47 **** --- 45,49 ---- sub update { my ( $self ) = @_; + $self->param( c_task => 'update' ); $self->_update_init_param; *************** *** 233,236 **** --- 235,242 ---- =head2 System-created parameters + B<c_task> + + Name of the task originally invoked: 'display_form. + B<c_object_class> *************** *** 437,440 **** --- 443,450 ---- =head2 System-created parameters + B<c_task> + + Name of the task originally invoked: 'update'. + B<c_object_class> |
From: Chris W. <la...@us...> - 2004-12-01 04:38:57
|
Update of /cvsroot/openinteract/OpenInteract2/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8997 Modified Files: oi2_daemon Log Message: undef the client like the SYNOPSIS for HTTP::Daemon says... Index: oi2_daemon =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/script/oi2_daemon,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** oi2_daemon 22 May 2004 15:08:37 -0000 1.14 --- oi2_daemon 1 Dec 2004 04:38:49 -0000 1.15 *************** *** 23,29 **** HTTP::Daemon::OpenInteract2->add_observer( \&log_entries ); ! my $daemon = HTTP::Daemon::OpenInteract2->new( ! { website_dir => $OPT_website_dir, ! daemon_config_file => $OPT_daemon_conf }); while (1) { my $client = $daemon->accept; --- 23,30 ---- HTTP::Daemon::OpenInteract2->add_observer( \&log_entries ); ! my $daemon = HTTP::Daemon::OpenInteract2->new({ ! website_dir => $OPT_website_dir, ! daemon_config_file => $OPT_daemon_conf, ! }); while (1) { my $client = $daemon->accept; *************** *** 39,42 **** --- 40,44 ---- } $client->close(); + undef( $client ); } print "All done.\n"; |
From: Chris W. <la...@us...> - 2004-11-30 03:18:13
|
Update of /cvsroot/openinteract/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17161 Modified Files: build_docs Log Message: how did this work before? ... Index: build_docs =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/build_docs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** build_docs 27 Sep 2004 20:04:05 -0000 1.12 --- build_docs 30 Nov 2004 03:18:04 -0000 1.13 *************** *** 160,163 **** --- 160,164 ---- my $dest_html_file = relocate( $site_pod_file, $DEST_DIR, $HTML_DIR ); check_path( $dest_html_file ); + $dest_html_file =~ s/\.pod$/\.html/; open( SITE, '>', $dest_html_file ) || die "Cannot open '$dest_html_file': $!"; |
From: Chris W. <la...@us...> - 2004-11-30 03:12:23
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15964/lib/OpenInteract2/Config Modified Files: Initializer.pm Log Message: cosmetic Index: Initializer.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Config/Initializer.pm,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Initializer.pm 9 Nov 2004 11:37:08 -0000 1.19 --- Initializer.pm 30 Nov 2004 03:12:11 -0000 1.20 *************** *** 542,546 **** require only an SPOPS ruleset rather than full inheritance. ! With the simple declaration we don not have to change B<any> of our SPOPS configurations with the change. If we added the class directly to the 'isa' people would have to change the configuration manually, --- 542,546 ---- require only an SPOPS ruleset rather than full inheritance. ! With the simple declaration we do not have to change B<any> of our SPOPS configurations with the change. If we added the class directly to the 'isa' people would have to change the configuration manually, *************** *** 633,636 **** --- 633,640 ---- My::User = poster: posted_by + or a list using the lovable INI syntax addition: + + @,My::User = updater: updated_by, poster: posted_by + And the system will do the right thing. |
From: Chris W. <la...@us...> - 2004-11-30 03:11:46
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15756/doc/Manual Modified Files: Architecture.pod Log Message: cosmetic Index: Architecture.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/Architecture.pod,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Architecture.pod 28 Nov 2004 06:33:06 -0000 1.9 --- Architecture.pod 30 Nov 2004 03:11:37 -0000 1.10 *************** *** 181,185 **** 1.x: ! [% INCLUDE examples/arch_apache_adapter | linenum %] Very easy -- it's only about 15 lines if you remove the logging! This --- 181,185 ---- 1.x: ! [% INCLUDE examples/arch_apache_adapter | indent(2) %] Very easy -- it's only about 15 lines if you remove the logging! This |
Update of /cvsroot/openinteract/OpenInteract2/doc/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14215/examples Removed Files: tut_action_add_common_search tut_action_config_add_add tut_action_config_add_display tut_action_config_add_remove tut_action_config_add_search tut_action_config_add_search_fields tut_action_config_add_update tut_action_config_no_comment tut_action_impl_add_add tut_action_impl_add_display tut_action_impl_add_remove tut_action_impl_add_update tut_action_impl_first tut_action_impl_search tut_action_impl_search_form tut_action_impl_search_form_customize tut_action_urls tut_file_listing_edit tut_generate_manifest tut_initial_action_class tut_initial_action_config tut_initial_data tut_installer_datafile_declare tut_installer_initial tut_installer_oracle_change tut_manage_check_package_cmd tut_manage_check_package_output_change_one tut_manage_check_package_output_initial tut_manage_create_package_cmd tut_manage_create_package_dirs tut_manage_create_package_output tut_manage_create_source_cmd tut_manage_create_source_command tut_manage_export_package_cmd tut_manage_export_package_output tut_manage_install_package_cmd tut_manage_install_package_output tut_manage_install_sql_cmd tut_manage_install_sql_output tut_pkg_conf_installer tut_reinstall_five tut_reinstall_four tut_reinstall_one tut_reinstall_seven tut_reinstall_six tut_reinstall_two tut_repository_entry tut_set_oi2_env tut_spops_class_excerpt tut_spops_generic_listing tut_spops_initial tut_spops_no_comment tut_sql_sequence tut_sql_structure tut_template_detail tut_template_detail_edit_link tut_template_object_form tut_template_object_form_with_add tut_template_object_form_with_remove tut_template_search_form tut_template_search_form_add_add tut_template_search_form_add_fields tut_template_search_form_error tut_template_search_form_status tut_template_search_results tut_template_search_results_display_url tut_template_search_results_iterator tut_template_search_results_link Log Message: inline tutorial examples --- tut_action_add_common_search DELETED --- --- tut_action_config_add_add DELETED --- --- tut_action_config_add_display DELETED --- --- tut_action_config_add_remove DELETED --- --- tut_action_config_add_search DELETED --- --- tut_action_config_add_search_fields DELETED --- --- tut_action_config_add_update DELETED --- --- tut_action_config_no_comment DELETED --- --- tut_action_impl_add_add DELETED --- --- tut_action_impl_add_display DELETED --- --- tut_action_impl_add_remove DELETED --- --- tut_action_impl_add_update DELETED --- --- tut_action_impl_first DELETED --- --- tut_action_impl_search DELETED --- --- tut_action_impl_search_form DELETED --- --- tut_action_impl_search_form_customize DELETED --- --- tut_action_urls DELETED --- --- tut_file_listing_edit DELETED --- --- tut_generate_manifest DELETED --- --- tut_initial_action_class DELETED --- --- tut_initial_action_config DELETED --- --- tut_initial_data DELETED --- --- tut_installer_datafile_declare DELETED --- --- tut_installer_initial DELETED --- --- tut_installer_oracle_change DELETED --- --- tut_manage_check_package_cmd DELETED --- --- tut_manage_check_package_output_change_one DELETED --- --- tut_manage_check_package_output_initial DELETED --- --- tut_manage_create_package_cmd DELETED --- --- tut_manage_create_package_dirs DELETED --- --- tut_manage_create_package_output DELETED --- --- tut_manage_create_source_cmd DELETED --- --- tut_manage_create_source_command DELETED --- --- tut_manage_export_package_cmd DELETED --- --- tut_manage_export_package_output DELETED --- --- tut_manage_install_package_cmd DELETED --- --- tut_manage_install_package_output DELETED --- --- tut_manage_install_sql_cmd DELETED --- --- tut_manage_install_sql_output DELETED --- --- tut_pkg_conf_installer DELETED --- --- tut_reinstall_five DELETED --- --- tut_reinstall_four DELETED --- --- tut_reinstall_one DELETED --- --- tut_reinstall_seven DELETED --- --- tut_reinstall_six DELETED --- --- tut_reinstall_two DELETED --- --- tut_repository_entry DELETED --- --- tut_set_oi2_env DELETED --- --- tut_spops_class_excerpt DELETED --- --- tut_spops_generic_listing DELETED --- --- tut_spops_initial DELETED --- --- tut_spops_no_comment DELETED --- --- tut_sql_sequence DELETED --- --- tut_sql_structure DELETED --- --- tut_template_detail DELETED --- --- tut_template_detail_edit_link DELETED --- --- tut_template_object_form DELETED --- --- tut_template_object_form_with_add DELETED --- --- tut_template_object_form_with_remove DELETED --- --- tut_template_search_form DELETED --- --- tut_template_search_form_add_add DELETED --- --- tut_template_search_form_add_fields DELETED --- --- tut_template_search_form_error DELETED --- --- tut_template_search_form_status DELETED --- --- tut_template_search_results DELETED --- --- tut_template_search_results_display_url DELETED --- --- tut_template_search_results_iterator DELETED --- --- tut_template_search_results_link DELETED --- |
From: Chris W. <la...@us...> - 2004-11-30 03:04:14
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14215/Manual Modified Files: Tutorial.pod Log Message: inline tutorial examples Index: Tutorial.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/Tutorial.pod,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Tutorial.pod 26 Sep 2004 19:35:22 -0000 1.25 --- Tutorial.pod 30 Nov 2004 03:04:04 -0000 1.26 *************** *** 1,2 **** --- 1,3 ---- + [%- TAGS star -%] =head1 NAME *************** *** 23,27 **** needs to create a source directory. This is as simple as: ! [% INCLUDE examples/tut_manage_create_source_cmd | indent 2 %] [...1734 lines suppressed...] and then upgrade the website package: ! [% INCLUDE examples/tut_reinstall_seven | indent 2 %] See how it works! --- 1975,1988 ---- C<book/template/search_form.tmpl>: ! 1: [%- OI.page_title( "Search for books" ) -%] ! 2: ! 3: [% PROCESS error_message; ! 4: PROCESS status_message %] Now the standard C<book/package.conf> and C<book/Changes> editing, and then upgrade the website package: ! $ oi2_manage export_package ! $ oi2_manage install_package --package_file=book-0.08.zip See how it works! |