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...> - 2001-10-29 13:07:34
|
Update of /cvsroot/openinteract/OpenInteract/pkg/full_text In directory usw-pr-cvs1:/tmp/cvs-serv5126 Modified Files: Changes package.conf Log Message: updated OI/FullText.pm to handle scalar refs and filehandles; indexable text is passed back as a scalar ref now, and you can override the fields to index by passing in 'fulltext_field' to the save() call Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/full_text/Changes,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Changes 2001/10/07 20:14:32 1.16 --- Changes 2001/10/29 13:07:31 1.17 *************** *** 1,4 **** --- 1,9 ---- Revision history for OpenInteract package full_text. + 1.28 Mon Oct 29 08:18:04 EST 2001 + + Enable OpenInteract/FullText.pm to handle scalar refs and + filehandles as field values. + 1.27 Sun Oct 7 16:25:46 EDT 2001 Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/full_text/package.conf,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** package.conf 2001/10/07 20:14:32 1.17 --- package.conf 2001/10/29 13:07:31 1.18 *************** *** 1,4 **** name full_text ! version 1.27 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ --- 1,4 ---- name full_text ! version 1.28 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ |
|
From: Chris W. <la...@us...> - 2001-10-29 13:07:34
|
Update of /cvsroot/openinteract/OpenInteract/pkg/full_text/OpenInteract
In directory usw-pr-cvs1:/tmp/cvs-serv5126/OpenInteract
Modified Files:
FullText.pm
Log Message:
updated OI/FullText.pm to handle scalar refs and filehandles;
indexable text is passed back as a scalar ref now, and you can
override the fields to index by passing in 'fulltext_field' to the
save() call
Index: FullText.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/full_text/OpenInteract/FullText.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FullText.pm 2001/10/01 17:13:51 1.9
--- FullText.pm 2001/10/29 13:07:32 1.10
***************
*** 145,149 ****
# to the subclass and send it on up the line
! sub ruleset_add {
my ( $class, $rs_table ) = @_;
my $obj_class = ref $class || $class;
--- 145,149 ----
# to the subclass and send it on up the line
! sub ruleset_factory {
my ( $class, $rs_table ) = @_;
my $obj_class = ref $class || $class;
***************
*** 163,168 ****
my $R = OpenInteract::Request->instance;
$R->DEBUG && $R->scrib( 1, "Trying to index ", ref $self, " (", $self->id, ")" );
! my $indexable = $self->_indexable_object_text;
! $R->DEBUG && $R->scrib( 2, "Indexable text: ", $indexable );
my $wc = $self->_tokenize( $indexable );
$R->DEBUG && $R->scrib( 2, "Found the following tokens:", Dumper( $wc ) );
--- 163,168 ----
my $R = OpenInteract::Request->instance;
$R->DEBUG && $R->scrib( 1, "Trying to index ", ref $self, " (", $self->id, ")" );
! my $indexable = $self->_indexable_object_text( $p );
! $R->DEBUG && $R->scrib( 2, "Indexable text: ", $$indexable );
my $wc = $self->_tokenize( $indexable );
$R->DEBUG && $R->scrib( 2, "Found the following tokens:", Dumper( $wc ) );
***************
*** 201,215 ****
# Get the fields that should be indexed and join the values together
# with a space (easy), since we're just going to index all the text as
! # one big field
sub _indexable_object_text {
! my ( $self ) = @_;
my $R = OpenInteract::Request->instance;
! my $field_list = $self->CONFIG->{fulltext_field};
unless ( ref $field_list eq 'ARRAY' ) {
$R->scrib( 0, "Cannot index object text -- no fields presented in config file." );
return undef;
}
! return join ' ', map { $self->{$_} } @{ $field_list };
}
--- 201,231 ----
# Get the fields that should be indexed and join the values together
# with a space (easy), since we're just going to index all the text as
! # one big field. Returns a scalar REF.
sub _indexable_object_text {
! my ( $self, $p ) = @_;
! $p ||= {};
my $R = OpenInteract::Request->instance;
!
! my $field_list = $p->{fulltext_field} || $self->CONFIG->{fulltext_field};
unless ( ref $field_list eq 'ARRAY' ) {
$R->scrib( 0, "Cannot index object text -- no fields presented in config file." );
return undef;
}
! my ( $indexable );
! foreach my $field ( @{ $field_list } ) {
! if ( ! ref $self->{ $field } ) {
! $indexable = join( ' ', $indexable, $self->{ $field } );
! }
! elsif ( ref $self->{ $field } eq 'SCALAR' ) {
! $indexable = join( ' ', $indexable, $$self->{ $field } );
! }
!
! else {
! my $fh = $self->{ $field };
! $indexable = join( ' ', $indexable, <$fh> );
! }
! }
! return \$indexable;
}
***************
*** 217,228 ****
# Break up the text into tokens -- stemmed using Lingua::Stem and
# counted for occurrences. Remove the words that are too long, too
! # short and those that are found in our STOPWORDS listing.
sub _tokenize {
! my ( $self, $text ) = @_;
! $text =~ tr/A-Z/a-z/; # lowercase
my %words = ();
! map { $words{ $_ }++ } map { Lingua::Stem::stem( $_ )->[0] } ( $text =~ /\w+/g );
! map { delete $words{ $_ } }
grep { length $_ < MIN_WORD_LENGTH || length $_ > MAX_WORD_LENGTH }
keys %words;
--- 233,245 ----
# Break up the text into tokens -- stemmed using Lingua::Stem and
# counted for occurrences. Remove the words that are too long, too
! # short and those that are found in our STOPWORDS listing. Takes a
! # scalar REF as an argument.
sub _tokenize {
! my ( $self, $text_ref ) = @_;
! $$text_ref =~ tr/A-Z/a-z/; # lowercase
my %words = ();
! map { $words{ $_ }++ } map { Lingua::Stem::stem( $_ )->[0] } ( $$text_ref =~ /\w+/g );
! map { delete $words{ $_ } }
grep { length $_ < MIN_WORD_LENGTH || length $_ > MAX_WORD_LENGTH }
keys %words;
***************
*** 522,529 ****
(From: http://ollie.dcccd.edu/library/Module2/Books/concepts.htm)
! We use the L<Lingua::Stem> module for this, which implements the
! I<Porter algorithm> for stemming, as do most implementations,
! apparently. (This is something that I<OpenInteract::FullText> treats as a
! black box itself :)
Parameters:
--- 539,546 ----
(From: http://ollie.dcccd.edu/library/Module2/Books/concepts.htm)
! We use the L<Lingua::Stem|Lingua::Stem> module for this, which
! implements the I<Porter algorithm> for stemming, as do most
! implementations, apparently. (This is something that this class treats
! as a black box itself :)
Parameters:
|
|
From: Chris W. <la...@us...> - 2001-10-29 12:01:56
|
Update of /cvsroot/openinteract/OpenInteract/doc In directory usw-pr-cvs1:/tmp/cvs-serv13615 Modified Files: overview.html Log Message: Updated docs to indicate that OI works fine with 5.6.1 (spot by Drew Taylor) Index: overview.html =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/doc/overview.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** overview.html 2001/10/29 05:19:46 1.3 --- overview.html 2001/10/29 12:01:54 1.4 *************** *** 158,162 **** <P> You must have Perl installed on your system, and its version must be ! greater than 5.004. (Note: we have not yet tested this using perl 5.6+.) <P> --- 158,163 ---- <P> You must have Perl installed on your system, and its version must be ! greater than 5.004. (We have run systems for months on 5.005_03 and ! 5.6.1 with no issues.) <P> |
|
From: Chris W. <la...@us...> - 2001-10-29 11:57:46
|
Update of /cvsroot/openinteract/OpenInteract/doc
In directory usw-pr-cvs1:/tmp/cvs-serv12448
Modified Files:
admin.html
Log Message:
fixed html bug noticed by Drew Taylor <dr...@dr...>
Index: admin.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/admin.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** admin.html 2001/10/29 05:19:46 1.6
--- admin.html 2001/10/29 11:57:44 1.7
***************
*** 451,455 ****
writeable by the webserver user.</li>
! <li><b>cache: If you're using the default caching module that
utilizes the filesystem, the caching will be done in this
directory. This needs to be writeable by the webserver user.</li>
--- 451,455 ----
writeable by the webserver user.</li>
! <li><b>cache</b>: If you're using the default caching module that
utilizes the filesystem, the caching will be done in this
directory. This needs to be writeable by the webserver user.</li>
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:19:49
|
Update of /cvsroot/openinteract/OpenInteract/doc
In directory usw-pr-cvs1:/tmp/cvs-serv6554
Modified Files:
LDAP.html admin.html data_import.html developer.html
glossary.html index.html manager.html overview.html
spops_overview.html template_widgets.html
Log Message:
modify slightly the HTML (not a full page now)
Index: LDAP.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/LDAP.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** LDAP.html 2001/10/17 04:47:08 1.12
--- LDAP.html 2001/10/29 05:19:46 1.13
***************
*** 1,8 ****
- <html>
- <head>
- <title>OpenInteract and LDAP: Setting it Up</title>
- </head>
- <body>
- <!-- <template_status>no_parse</template_status> -->
<h1>OpenInteract and LDAP</h1>
--- 1,2 ----
***************
*** 389,394 ****
infromation.</p>
! </ol>
!
! </body>
! </html>
\ No newline at end of file
--- 383,385 ----
infromation.</p>
! </ol>
\ No newline at end of file
Index: admin.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/admin.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** admin.html 2001/10/12 12:33:25 1.5
--- admin.html 2001/10/29 05:19:46 1.6
***************
*** 1,11 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>OpenInteract Administrator's Guide</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
! <h1>OpenInteract Administrator's Guide</h1>
<P>This document goes over issues concerning system
--- 1,3 ----
! <h1>OpenInteract Administrator's Guide</h1>
<P>This document goes over issues concerning system
***************
*** 991,998 ****
<li><b>Apache Virtual Host documentation</b><br>
<a href="http://www.apache.org/docs/vhosts/index.html">http://www.apache.org/docs/vhosts/index.html</a></li>
-
- </ul>
! </body>
! </html>
!
\ No newline at end of file
--- 983,986 ----
<li><b>Apache Virtual Host documentation</b><br>
<a href="http://www.apache.org/docs/vhosts/index.html">http://www.apache.org/docs/vhosts/index.html</a></li>
! </ul>
\ No newline at end of file
Index: data_import.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/data_import.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** data_import.html 2001/10/13 20:09:58 1.1
--- data_import.html 2001/10/29 05:19:46 1.2
***************
*** 1,11 ****
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Importing Data into OpenInteract</title>
- </head>
-
- <body>
- <!-- <template_status>no_parse</template_status> -->
-
<h1>Importing Data into OpenInteract</h1>
--- 1,2 ----
***************
*** 127,137 ****
OpenInteract, such as in the 'base_theme' or 'base_group'
packages.</p>
-
- <hr>
- <address><a href="mailto:ch...@cw...">Chris Winters</a></address>
- <!-- Created: Mon Oct 8 12:39:23 EDT 2001 -->
- <!-- hhmts start -->
- Last modified: Sat Oct 13 16:23:06 EDT 2001
- <!-- hhmts end -->
- </body>
- </html>
--- 118,119 ----
Index: developer.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/developer.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** developer.html 2001/10/12 12:33:25 1.4
--- developer.html 2001/10/29 05:19:46 1.5
***************
*** 1,11 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>OpenInteract Developer's Guide</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
! <h1>OpenInteract Developer's Guide</h1>
<h1>Introduction</h1>
--- 1,3 ----
! <h1>OpenInteract Developer's Guide</h1>
<h1>Introduction</h1>
***************
*** 1015,1021 ****
<p>Good luck ... we hope you will have fun! And remember the old LISP
motto (by Alan Perlis):
-
- <p><cite>Invent and fit - have fits and reinvent!</cite>
! </body>
! </html>
--- 1007,1010 ----
<p>Good luck ... we hope you will have fun! And remember the old LISP
motto (by Alan Perlis):
! <p><cite>Invent and fit - have fits and reinvent!</cite>
\ No newline at end of file
Index: glossary.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/glossary.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** glossary.html 2001/10/12 12:33:25 1.3
--- glossary.html 2001/10/29 05:19:46 1.4
***************
*** 1,10 ****
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
- <html>
- <head>
- <title>OpenInteract Glossary</title>
- </head>
-
- <body>
- <!-- <template_status>no_parse</template_status> -->
<h1>OpenInteract Glossary</h1>
--- 1,2 ----
***************
*** 76,82 ****
set of user-defined packages. You configure the website using
the <code>server.perl</code> file.</dd>
-
- </dl>
! </body>
! </html>
--- 68,71 ----
set of user-defined packages. You configure the website using
the <code>server.perl</code> file.</dd>
! </dl>
\ No newline at end of file
Index: index.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/index.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.html 2001/10/13 20:08:55 1.4
--- index.html 2001/10/29 05:19:46 1.5
***************
*** 1,11 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>Guides to OpenInteract</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
! <h1>Guides to OpenInteract</h1>
<ul>
--- 1,3 ----
! <h1>Guides to OpenInteract</h1>
<ul>
***************
*** 19,25 ****
<li><a href="template_widgets.html">OpenInteract Template Widgets</a></li>
<li><a href="data_import.html">Importing Data into OpenInteract</a></li>
-
</ul>
-
- </body>
- </html>
--- 11,13 ----
Index: manager.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/manager.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** manager.html 2001/10/12 12:33:25 1.2
--- manager.html 2001/10/29 05:19:46 1.3
***************
*** 1,11 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>Illustrated Manager's Guide to OpenInteract</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
! <h1>Illustrated Manager's Guide to OpenInteract</h1>
<h2>Overview</h2>
--- 1,3 ----
! <h1>Illustrated Manager's Guide to OpenInteract</h1>
<h2>Overview</h2>
***************
*** 153,157 ****
package that allows you to filter errors by date or type, making it
easy to pinpoint problems in your website.
-
- </body>
- </html>
--- 145,146 ----
Index: overview.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/overview.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** overview.html 2001/10/12 12:33:25 1.2
--- overview.html 2001/10/29 05:19:46 1.3
***************
*** 1,13 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>Introduction to OpenInteract</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
!
!
! <H1>What OpenInteract is</H1>
<P>
--- 1,3 ----
! <H1>Introduction to OpenInteract</H1>
<P>
***************
*** 345,350 ****
themes behind the scenes, testing out and tweaking the appearance,
then rolling it out for everyone.
-
- </BODY>
-
- </HTML>
--- 335,336 ----
Index: spops_overview.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/spops_overview.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** spops_overview.html 2001/10/12 12:33:25 1.2
--- spops_overview.html 2001/10/29 05:19:46 1.3
***************
*** 1,11 ****
! <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
! <html>
! <head>
! <title>Introduction to SPOPS</title>
! </head>
!
! <body>
! <!-- <template_status>no_parse</template_status> -->
! <h1>Introduction to SPOPS</h1>
<h2>Introduction</h2>
--- 1,3 ----
! <h1>Introduction to SPOPS</h1>
<h2>Introduction</h2>
***************
*** 260,264 ****
reverting to the permission for the scope WORLD.</A>
</UL>
-
- </body>
- </html>
--- 252,253 ----
Index: template_widgets.html
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/doc/template_widgets.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** template_widgets.html 2001/10/13 20:09:17 1.4
--- template_widgets.html 2001/10/29 05:19:46 1.5
***************
*** 1,10 ****
- <html>
- <head>
- <title>OpenInteract: Template Widgets</title>
- </head>
-
- <body>
- <!-- <template_status>no_parse</template_status> -->
-
<h1>OpenInteract: Template Widgets</h1>
--- 1,2 ----
***************
*** 317,328 ****
versions of OpenInteract will phase out template-only components
and transition them to template widgets.</p>
-
-
- <hr>
- <address><a href="mailto:ch...@cw...">Chris Winters</a></address>
- <!-- Created: Mon Oct 8 12:39:23 EDT 2001 -->
- <!-- hhmts start -->
- Last modified: Sat Oct 13 10:46:47 EDT 2001
- <!-- hhmts end -->
- </body>
- </html>
--- 309,310 ----
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:17:36
|
Update of /cvsroot/openinteract/OpenInteract/pkg/system_doc/data
In directory usw-pr-cvs1:/tmp/cvs-serv6229/system_doc/data
Modified Files:
install_security.dat
Log Message:
dumb reorder
Index: install_security.dat
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/system_doc/data/install_security.dat,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** install_security.dat 2001/10/29 03:37:42 1.6
--- install_security.dat 2001/10/29 05:17:33 1.7
***************
*** 4,10 ****
transform_default_to_id => [ 'scope_id' ],
transform_class_to_website => [ 'class' ] },
- [ 'OpenInteract::Handler::SystemDoc', 0, 'w', 'world', 1 ],
- [ 'OpenInteract::Handler::SystemDoc', 0, 'g', 'site_admin_group', 8 ],
[ 'OpenInteract::Page', '/oi_docs', 'w', 'world', 1 ],
[ 'OpenInteract::Page', '/oi_docs', 'g', 'site_admin_group', 8 ],
];
--- 4,10 ----
transform_default_to_id => [ 'scope_id' ],
transform_class_to_website => [ 'class' ] },
[ 'OpenInteract::Page', '/oi_docs', 'w', 'world', 1 ],
[ 'OpenInteract::Page', '/oi_docs', 'g', 'site_admin_group', 8 ],
+ [ 'OpenInteract::Handler::SystemDoc', 0, 'w', 'world', 1 ],
+ [ 'OpenInteract::Handler::SystemDoc', 0, 'g', 'site_admin_group', 8 ],
];
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:16:27
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/template In directory usw-pr-cvs1:/tmp/cvs-serv5861/template Modified Files: page_form.tmpl Log Message: modified call to edit_document_box Index: page_form.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/template/page_form.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** page_form.tmpl 2001/10/25 15:21:32 1.5 --- page_form.tmpl 2001/10/29 05:16:25 1.6 *************** *** 1,4 **** [%- DEFAULT theme = OI.theme_properties; count = 0 -%] ! [%- OI.box_add( 'edit_document_box', location = page.location ); -%] [%- PROCESS error_message -%] --- 1,4 ---- [%- DEFAULT theme = OI.theme_properties; count = 0 -%] ! [%- OI.box_add( 'edit_document_box', page = page ); -%] [%- PROCESS error_message -%] |
|
From: Chris W. <la...@us...> - 2001-10-29 05:16:14
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/template In directory usw-pr-cvs1:/tmp/cvs-serv5778/template Modified Files: edit_document_box.tmpl Log Message: added a security editing link and other items Index: edit_document_box.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/template/edit_document_box.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** edit_document_box.tmpl 2001/10/24 23:04:19 1.3 --- edit_document_box.tmpl 2001/10/29 05:16:12 1.4 *************** *** 1,12 **** [%- DEFAULT theme = OI.theme_properties; ! SET new_url = OI.make_url( base = '/Page/create/' ); ! SET edit_url = OI.make_url( base = '/Page/show/', edit = 1, ! location = location ); ! SET remove_url = OI.make_url( base = '/Page/remove/', ! location = location ); -%] <font size="-1""> [% theme.bullet %] <a href="[% new_url %]">Create a new document</a><br> These actions apply to the document currently onscreen<br> [% theme.bullet %] <a href="[% edit_url %]">Edit this document</a><br> ! [% theme.bullet %] <a href="[% remove_url %]">Remove this document</a> </font> --- 1,18 ---- [%- DEFAULT theme = OI.theme_properties; ! new_url = OI.make_url( base = '/Page/create/' ); ! edit_url = OI.make_url( base = '/Page/show/', edit = 1, ! location = page.location ); ! remove_url = OI.make_url( base = '/Page/remove/', ! location = page.location ); ! page_info = page.object_description; ! security_url = OI.make_url( base = '/Security/show/', ! object_class = page_info.class, ! object_id = page.location ); ! -%] <font size="-1""> [% theme.bullet %] <a href="[% new_url %]">Create a new document</a><br> These actions apply to the document currently onscreen<br> [% theme.bullet %] <a href="[% edit_url %]">Edit this document</a><br> ! [% theme.bullet %] <a href="[% remove_url %]">Remove this document</a><br> ! [% theme.bullet %] <a href="[% security_url %]">Check document security</a> </font> |
|
From: Chris W. <la...@us...> - 2001-10-29 05:15:45
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/struct
In directory usw-pr-cvs1:/tmp/cvs-serv5680/struct
Modified Files:
content_type.sql
Log Message:
modified content_type structure to have a UNIQUE index on the mime_type
Index: content_type.sql
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/struct/content_type.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** content_type.sql 2001/10/26 21:09:05 1.1
--- content_type.sql 2001/10/29 05:15:42 1.2
***************
*** 4,7 ****
extensions varchar(20) not null,
description varchar(100) null,
! primary key ( content_type_id )
)
--- 4,8 ----
extensions varchar(20) not null,
description varchar(100) null,
! PRIMARY KEY ( content_type_id ),
! UNIQUE ( mime_type )
)
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:15:23
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/script
In directory usw-pr-cvs1:/tmp/cvs-serv5605/script
Added Files:
static_page2base_page.pl
Log Message:
added first draft of script to move from 'static_page' to 'base_page'
--- NEW FILE: static_page2base_page.pl ---
#!/usr/bin/perl
# $Id: static_page2base_page.pl,v 1.1 2001/10/29 05:15:20 lachoy Exp $
# Transition all your static_page objects to base_page. This assumes
# that you are using all-database storage and want to transition to
# all-filesystem storage.
use strict;
use OpenInteract::Startup;
# Do you want to add '.html' to any pages that don't have it? This can
# be useful if you need to use the files for something else, or ensure
# that they can be used
my $ADD_HTML = 'yes';
# Do you want your pages saved in the filesystem? This is encouraged.
my $AS_FILE = 'yes';
{
my $R = OpenInteract::Startup->setup_static_environment_options();
# First retrieve all the static page objects
my $iter = $R->static_page->fetch_iterator({ skip_security => 1 });
my $page_class = $R->page;
my $count = 1;
while ( my $static_page = $iter->get_next ) {
print "$count: $static_page->{location}\n";
# Modify the location as necessary
my $location => $static_page->{location};
if ( $ADD_HTML eq 'yes' and $location !~ /\.html$/ ) {
$location .= '.html';
}
# Set most page properties
my $page = $page_class->new({
title => $static_page->{title},
author => $static_page->{author},
keywords => $static_page->{keywords},
boxes => $static_page->{boxes},
main_template => $static_page->{main_template},
active_on => $static_page->{active_on},
expires_on => $static_page->{expires_on},
is_active => $static_page->{is_active},
notes => $static_page->{notes},
mime_type => 'text/html',
location => $location });
# Set file status
if ( $AS_FILE eq 'yes' ) {
$page->{is_file} = 'yes';
}
else {
$page->{is_file} = 'no';
}
# Set the content
if ( $static_page->{script} ) {
$page->{content} = join( "\n", $static_page->{pagetext},
qq(<script language="JavaScript">\n<!--\n),
$static_page->{script},
qq(\n// -->\n</script>) );
}
else {
$page->{content} = $static_page->{pagetext};
}
# Save the page object (automatically saves the content) and
# display a status
eval { $page->save({ skip_security => 1 }) };
if ( $@ ) {
print " ERROR: $@\n";
}
else {
print " OK: $page->{location}\n";
}
$count++;
}
}
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:14:58
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/html In directory usw-pr-cvs1:/tmp/cvs-serv5504/html Added Files: index.html Log Message: added home page --- NEW FILE: index.html --- <h2>Welcome to OpenInteract</h2> <p>OpenInteract is a web application environment written in <a href="http://www.perl.org/">perl</a> and geared to run on the <a href="http://www.apache.org/httpd.html">Apache web server</a> using the <a href="http://perl.apache.org/">mod_perl</a> plugin module.</p> <p>The environment is built to be not only friendly to people editing and changing a website's content, but also for the developers who can write code (or complex templates) and create entire applications.</p> <p>Data can be brought into OpenInteract a multitude of ways. You can use it with most any SQL database that the rock-solid perl <a href="http://www.symbolstone.org/technology/perl/DBI/">DBI</a> (Database Interface) module supports -- which is just about everything! (We have tested so far with <a href="http://www.mysql.com">MySQL</a>, <a href="http://www.postgresql.org">PostgreSQL</a>, <a href="http://www.sybase.com/products/databaseservers/ase/">Sybase ASE</a>, <a href="http://www.sybase.com/products/anywhere/">Sybase ASA</a>, and <a href="http://www.microsoft.com/sql/">Microsoft SQL Server</a>. Oracle is on the TO DO database list, but someone needs an itch to scratch first.) </p> <p>Out of the box, you can also use LDAP servers for authentication or data storage. Other types of data sources (CORBA data sources, XML data, CSV files, etc.) are available by custom modules -- or if you wait long enough, they'll be in the box too. Since you have the full power of perl at your fingertips, and perl is the ultimate glue language, the possibilities are endless.</p> <p>This page is currently stored in your filesystem -- but it could just as easily be in your SQL database. Either way, it looks and acts like a normal web page to all your users. But to OpenInteract, it's all data. And you can do anything you can imagine with it...</p> <p>This site is a simple working demo of the software. It has a few tools installed right now, but with the packaging system of OpenInteract, installing new functionality is a snap!</p> <p>For more information, check out:</p> <ul> <li><a href="http://www.openinteract.org/">Website: OpenInteract for Developers</a></li> <li><a href="http://www.openinteract.com/">Website: OpenInteract for Business</a></li> <li><a href="http://sourceforge.net/projects/openinteract/">OpenInteract on SourceForge</a> (mailing lists, source code, etc.)</li> <li><a href="/SystemDoc/">System documentation</a> installed on your website right now!</li> </ul> <p>Good luck!</p> |
|
From: Chris W. <la...@us...> - 2001-10-29 05:14:43
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/doc In directory usw-pr-cvs1:/tmp/cvs-serv5462/doc Modified Files: base_page.pod Log Message: small doc addition Index: base_page.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/doc/base_page.pod,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** base_page.pod 2001/10/24 21:05:10 1.2 --- base_page.pod 2001/10/29 05:14:41 1.3 *************** *** 33,36 **** --- 33,40 ---- be sent to the user further along in the process. + But you can manage these files through the web interface and even + intermingle (for instance) your PDFs and tarballs along with your HTML + files. + =head2 Handling all unspecified requests |
|
From: Chris W. <la...@us...> - 2001-10-29 05:14:24
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract/Handler
In directory usw-pr-cvs1:/tmp/cvs-serv5379/OpenInteract/Handler
Modified Files:
Page.pm
Log Message:
modify parameter passed to edit_document_box
Index: Page.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract/Handler/Page.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Page.pm 2001/10/26 21:09:55 1.7
--- Page.pm 2001/10/29 05:14:21 1.8
***************
*** 435,439 ****
if ( $p->{level} >= SEC_LEVEL_WRITE ) {
push @{ $R->{boxes} }, { name => 'edit_document_box',
! params => { location => $page->{location} } };
}
return undef;
--- 435,439 ----
if ( $p->{level} >= SEC_LEVEL_WRITE ) {
push @{ $R->{boxes} }, { name => 'edit_document_box',
! params => { page => $page } };
}
return undef;
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:13:56
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract
In directory usw-pr-cvs1:/tmp/cvs-serv5251/OpenInteract
Modified Files:
ContentType.pm
Log Message:
added split/merge extensions fakery so we can have multiple extensions
per mime-type but not put them in a separate table (serious overkill)
Index: ContentType.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract/ContentType.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ContentType.pm 2001/10/26 21:09:05 1.1
--- ContentType.pm 2001/10/29 05:13:53 1.2
***************
*** 7,24 ****
use constant DEFAULT_MIME_TYPE => 'text/plain';
# Class method so that you can lookup a MIME type by an extension. If
! # the extension isn't found, we return DEFAULT_MIME_TYPE
sub mime_type_by_extension {
! my ( $class, $extension ) = @_;
$extension = lc $extension;
! my $type_list = $class->db_select({ from => $class->table_name,
! select => 'mime_type',
where => 'extensions LIKE ?',
! value => [ "% $extension %" ],
! return => 'list-single',
db => $class->global_datasource_handle });
! return $type_list->[0]->{mime_type} if ( $type_list->[0] );
return DEFAULT_MIME_TYPE;
}
--- 7,65 ----
use constant DEFAULT_MIME_TYPE => 'text/plain';
+ my $BOUND_CHARACTER = ';';
+
+ ########################################
+ # RULES
+ ########################################
+
+ # The rules here are to ensure that the extensions can be found
+ # properly
+
+ sub ruleset_factory {
+ my ( $class, $rs ) = @_;
+ push @{ $rs->{post_fetch_action} }, \&split_extensions;
+ push @{ $rs->{pre_save_action} }, \&merge_extensions;
+ return __PACKAGE__;
+ }
+
+ sub split_extensions {
+ my ( $self ) = @_;
+ $self->{extensions} = join( ' ',
+ grep ! /^\s*$/,
+ split ( /$BOUND_CHARACTER/, $self->{extensions} ) );
+ return 1;
+ }
+ sub merge_extensions {
+ my ( $self ) = @_;
+ $self->{extensions} = $BOUND_CHARACTER .
+ join( $BOUND_CHARACTER, split /\s+/, $self->{extensions} ) .
+ $BOUND_CHARACTER;
+ return 1;
+ }
+
+
+ ########################################
+ # CLASS METHODS
+ ########################################
+
# Class method so that you can lookup a MIME type by an extension. If
! # the extension isn't found, we return DEFAULT_MIME_TYPE.
+ # $p is used here to pass extra information to the SELECT, like a
+ # value for 'DEBUG'
+
sub mime_type_by_extension {
! my ( $class, $extension, $p ) = @_;
$extension = lc $extension;
! $p ||= {};
! my $type_list = $class->db_select({ %{ $p },
! from => $class->table_name,
! select => [ 'mime_type' ],
where => 'extensions LIKE ?',
! value => [ "%$BOUND_CHARACTER$extension$BOUND_CHARACTER%" ],
! return => 'single-list',
db => $class->global_datasource_handle });
! return $type_list->[0] if ( $type_list->[0] );
return DEFAULT_MIME_TYPE;
}
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:13:03
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract/SQLInstall
In directory usw-pr-cvs1:/tmp/cvs-serv5085/OpenInteract/SQLInstall
Modified Files:
Page.pm
Log Message:
added the page record data file
Index: Page.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/OpenInteract/SQLInstall/Page.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Page.pm 2001/10/26 20:49:35 1.1
--- Page.pm 2001/10/29 05:13:01 1.2
***************
*** 11,16 ****
my %files = (
! tables => [ 'page.sql', 'page_content.sql' ],
! data => [ 'content_types.dat' ],
security => [ 'install_security.dat' ],
);
--- 11,16 ----
my %files = (
! tables => [ 'page.sql', 'page_content.sql', 'content_type.sql' ],
! data => [ 'content_types.dat', 'page.dat' ],
security => [ 'install_security.dat' ],
);
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:12:36
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/conf
In directory usw-pr-cvs1:/tmp/cvs-serv5041/conf
Modified Files:
spops.perl
Log Message:
added backwards compatibility option
Index: spops.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/spops.perl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** spops.perl 2001/10/26 21:09:05 1.5
--- spops.perl 2001/10/29 05:12:33 1.6
***************
*** 9,12 ****
--- 9,13 ----
boxes main_template mime_type template_parse
active_on expires_on is_active is_file / ],
+ fulltext_field => [ qw/ title author keywords content / ],
column_group => {},
id_field => 'location',
***************
*** 16,20 ****
base_table => 'page',
sql_defaults => [ qw/ template_parse is_active is_file / ],
! alias => [ 'static_page', 'basicpage' ],
has_a => { 'OpenInteract::PageContent' => 'location' },
links_to => {},
--- 17,26 ----
base_table => 'page',
sql_defaults => [ qw/ template_parse is_active is_file / ],
!
! # Only uncomment this (and comment out the next line) after you've
! # moved all the data over
! # alias => [ 'static_page', 'basicpage' ],
! alias => [],
!
has_a => { 'OpenInteract::PageContent' => 'location' },
links_to => {},
***************
*** 40,46 ****
'content_type' => {
class => 'OpenInteract::ContentType',
isa => [ qw/ OpenInteract::SPOPS::DBI SPOPS::DBI::MySQL SPOPS::DBI / ],
! field => [ qw/ mime_type extensions description / ],
id_field => 'content_type_id',
base_table => 'content_type',
name => 'mime_type',
--- 46,54 ----
'content_type' => {
class => 'OpenInteract::ContentType',
+ code_class => [ 'OpenInteract::ContentType' ],
isa => [ qw/ OpenInteract::SPOPS::DBI SPOPS::DBI::MySQL SPOPS::DBI / ],
! field => [ qw/ content_type_id mime_type extensions description / ],
id_field => 'content_type_id',
+ increment_field => 1,
base_table => 'content_type',
name => 'mime_type',
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:12:28
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/conf
In directory usw-pr-cvs1:/tmp/cvs-serv5014/conf
Modified Files:
action.perl
Log Message:
added backwards compatibility option
Index: action.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/action.perl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** action.perl 2001/10/26 21:09:05 1.5
--- action.perl 2001/10/29 05:12:25 1.6
***************
*** 6,10 ****
},
! 'contenttype' => {
is_lookup => 'yes',
object_key => 'content_type',
--- 6,10 ----
},
! 'content_type' => {
is_lookup => 'yes',
object_key => 'content_type',
***************
*** 12,16 ****
field_list => [ 'mime_type', 'extensions', 'description' ],
label_list => [ 'MIME Type', 'Extensions', 'Description' ],
! size_list => [ 12, 10, 20 ],
title => 'Content Types',
},
--- 12,16 ----
field_list => [ 'mime_type', 'extensions', 'description' ],
label_list => [ 'MIME Type', 'Extensions', 'Description' ],
! size_list => [ 20, 10, 20 ],
title => 'Content Types',
},
***************
*** 22,25 ****
'template' => 'base_page::edit_document_box',
'security' => 'no',
! },
};
--- 22,31 ----
'template' => 'base_page::edit_document_box',
'security' => 'no',
! }
!
! # Backwards compatibility -- only uncomment when you've moved
! # everything over.
!
! # 'basicpage' => { redir => 'page' },
!
};
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:12:04
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/data
In directory usw-pr-cvs1:/tmp/cvs-serv4962/data
Modified Files:
content_types.dat
Log Message:
reordered some of the extensions
Index: content_types.dat
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/data/content_types.dat,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** content_types.dat 2001/10/26 21:09:05 1.1
--- content_types.dat 2001/10/29 05:12:01 1.2
***************
*** 5,10 ****
[ 'application/msword', 'doc', 'Microsoft Word Document' ],
[ 'application/pdf', 'pdf', 'Adobe Acrobat Portable Document Format' ],
! [ 'application/octet-stream', 'bin dms lha lzh exe class', 'Executable File' ],
! [ 'application/postscript', 'ai eps ps', 'Postscript' ],
[ 'application/vnd.ms-excel', 'xls', 'Microsoft Excel Spreadsheet' ],
[ 'application/vnd.ms-powerpoint', 'ppt', 'Microsoft Powerpoint Presentation' ],
--- 5,10 ----
[ 'application/msword', 'doc', 'Microsoft Word Document' ],
[ 'application/pdf', 'pdf', 'Adobe Acrobat Portable Document Format' ],
! [ 'application/octet-stream', 'exe bin dms lha lzh class', 'Executable File' ],
! [ 'application/postscript', 'ps ai eps', 'Postscript' ],
[ 'application/vnd.ms-excel', 'xls', 'Microsoft Excel Spreadsheet' ],
[ 'application/vnd.ms-powerpoint', 'ppt', 'Microsoft Powerpoint Presentation' ],
***************
*** 13,17 ****
[ 'application/x-gzip', 'gz', 'Gzip archive' ],
[ 'application/x-javascript', 'js', 'Javascript sourcecode' ],
! [ 'application/x-perl', 'pl pm', 'Perl sourcecode' ],
[ 'application/x-shockwave-flash', 'swf', 'Flash program' ],
[ 'application/x-tar', 'tar', 'Tar archive' ],
--- 13,17 ----
[ 'application/x-gzip', 'gz', 'Gzip archive' ],
[ 'application/x-javascript', 'js', 'Javascript sourcecode' ],
! [ 'application/x-perl', 'pm pl', 'Perl sourcecode' ],
[ 'application/x-shockwave-flash', 'swf', 'Flash program' ],
[ 'application/x-tar', 'tar', 'Tar archive' ],
***************
*** 19,35 ****
[ 'application/zip', 'zip', 'PKZip archive' ],
[ 'audio/basic', 'au snd', 'Basic sound' ],
! [ 'audio/mpeg', 'mpga mp2 mp3', 'MPEG sound' ],
[ 'audio/x-aiff', 'aif aiff aifc', 'Basic sound' ],
! [ 'audio/x-pn-realaudio', 'ram rm', 'RealAudio ' ],
[ 'image/bmp', 'bmp', 'Bitmap image' ],
[ 'image/gif', 'gif', 'GIF image' ],
! [ 'image/jpeg', 'jpeg jpg jpe', 'JPEG image' ],
[ 'image/png', 'png', 'Portable Network Graphics image' ],
! [ 'image/tiff', 'tiff tif', 'TIFF image' ],
[ 'message/rfc822', 'msg', 'Email message' ],
[ 'model/vrml', 'wrl vrml', 'Virtual reality document' ],
[ 'text/css', 'css', 'Cascading stylesheet' ],
[ 'text/html', 'html htm', 'HTML document' ],
! [ 'text/plain', 'asc txt', 'Plain text document' ],
[ 'text/rtf', 'rtf', 'Rich text document' ],
[ 'text/sgml', 'sgml sgm', 'SGML document' ],
--- 19,35 ----
[ 'application/zip', 'zip', 'PKZip archive' ],
[ 'audio/basic', 'au snd', 'Basic sound' ],
! [ 'audio/mpeg', 'mp3 mpga mp2', 'MPEG sound' ],
[ 'audio/x-aiff', 'aif aiff aifc', 'Basic sound' ],
! [ 'audio/x-pn-realaudio', 'rm ram', 'RealAudio ' ],
[ 'image/bmp', 'bmp', 'Bitmap image' ],
[ 'image/gif', 'gif', 'GIF image' ],
! [ 'image/jpeg', 'jpg jpeg jpe', 'JPEG image' ],
[ 'image/png', 'png', 'Portable Network Graphics image' ],
! [ 'image/tiff', 'tif tiff', 'TIFF image' ],
[ 'message/rfc822', 'msg', 'Email message' ],
[ 'model/vrml', 'wrl vrml', 'Virtual reality document' ],
[ 'text/css', 'css', 'Cascading stylesheet' ],
[ 'text/html', 'html htm', 'HTML document' ],
! [ 'text/plain', 'txt asc', 'Plain text document' ],
[ 'text/rtf', 'rtf', 'Rich text document' ],
[ 'text/sgml', 'sgml sgm', 'SGML document' ],
***************
*** 38,42 ****
[ 'text/xml', 'xml', 'XML document' ],
[ 'video/mpeg', 'mpeg mpg mpe', 'MPEG video' ],
! [ 'video/quicktime', 'qt mov', 'Quicktime video' ],
[ 'video/x-msvideo', 'avi', 'Microsoft video' ],
];
--- 38,42 ----
[ 'text/xml', 'xml', 'XML document' ],
[ 'video/mpeg', 'mpeg mpg mpe', 'MPEG video' ],
! [ 'video/quicktime', 'mov qt', 'Quicktime video' ],
[ 'video/x-msvideo', 'avi', 'Microsoft video' ],
];
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:11:33
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/data
In directory usw-pr-cvs1:/tmp/cvs-serv4892/data
Added Files:
page.dat
Log Message:
added record for home page
--- NEW FILE: page.dat ---
$page = [
{ spops_class => 'OpenInteract::Page',
field_order => [ qw/ location title author
boxes mime_type is_active is_file
notes / ] },
[ '/index.html', 'Welcome to OpenInteract!', 'OpenInteract Authors <in...@op...>',
'powered_by_box', 'text/html', 'yes', 'yes',
'This record and file were created when you installed OI' ]
];
|
|
From: Chris W. <la...@us...> - 2001-10-29 05:11:12
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/script In directory usw-pr-cvs1:/tmp/cvs-serv4781/script Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/base_page/script added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-29 05:10:13
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/html In directory usw-pr-cvs1:/tmp/cvs-serv4629/html Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/base_page/html added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-29 05:09:47
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page In directory usw-pr-cvs1:/tmp/cvs-serv4489 Modified Files: Changes MANIFEST package.conf Log Message: meta Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/Changes,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Changes 2001/10/26 21:10:28 1.6 --- Changes 2001/10/29 05:09:45 1.7 *************** *** 1,4 **** --- 1,27 ---- Revision history for OpenInteract package base_page. + 0.24 Sun Oct 28 23:34:14 EST 2001 + + - Added first draft of script to move old static_page objects to + base_page objects, storing them in the filesystem by default + + - Added index page (html/index.html) and its metadata record + + - The edit_document_box now takes a page object rather than just + its location, and it displays a 'Show page security' link as + well. + + 0.23 Fri Oct 26 18:11:17 EDT 2001 + + 0.22 Fri Oct 26 18:04:44 EDT 2001 + + 0.21 Fri Oct 26 17:58:22 EDT 2001 + + 0.20 Fri Oct 26 17:47:04 EDT 2001 + + 0.19 Fri Oct 26 17:43:45 EDT 2001 + + 0.18 Fri Oct 26 17:32:22 EDT 2001 + 0.17 Fri Oct 26 17:26:38 EDT 2001 Index: MANIFEST =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/MANIFEST,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MANIFEST 2001/10/26 21:10:28 1.6 --- MANIFEST 2001/10/29 05:09:45 1.7 *************** *** 7,12 **** --- 7,14 ---- data/content_types.dat data/install_security.dat + data/page.dat doc/base_page.pod doc/titles + html/index.html OpenInteract/ContentType.pm OpenInteract/Page.pm *************** *** 15,18 **** --- 17,21 ---- OpenInteract/Handler/Page.pm OpenInteract/SQLInstall/Page.pm + script/static_page2base_page.pl struct/content_type.sql struct/page.sql Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/package.conf,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package.conf 2001/10/26 21:10:28 1.6 --- package.conf 2001/10/29 05:09:45 1.7 *************** *** 1,4 **** name base_page ! version 0.17 author Chris Winters <ch...@cw...> module File::Basename --- 1,4 ---- name base_page ! version 0.24 author Chris Winters <ch...@cw...> module File::Basename *************** *** 7,11 **** template_plugin url http://www.openinteract.org/ ! sql_installer OpenInteract::SQLInstall::BasePage description Object and handler representing a static web page, either from the --- 7,11 ---- template_plugin url http://www.openinteract.org/ ! sql_installer OpenInteract::SQLInstall::Page description Object and handler representing a static web page, either from the |
|
From: Chris W. <la...@us...> - 2001-10-29 05:09:15
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_box In directory usw-pr-cvs1:/tmp/cvs-serv4377 Modified Files: Changes package.conf Log Message: changes to object_modify_box Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/Changes,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Changes 2001/10/25 15:29:49 1.24 --- Changes 2001/10/29 05:09:12 1.25 *************** *** 1,4 **** --- 1,8 ---- Revision history for OpenInteract package base_box. + 0.37 Mon Oct 29 00:24:48 EST 2001 + + Updated the object_modify_box + 0.36 Thu Oct 25 11:42:39 EDT 2001 Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/package.conf,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** package.conf 2001/10/25 15:29:49 1.23 --- package.conf 2001/10/29 05:09:12 1.24 *************** *** 1,4 **** name base_box ! version 0.36 author Chris Winters <ch...@cw...> url http://www.openinteract.org/ --- 1,4 ---- name base_box ! version 0.37 author Chris Winters <ch...@cw...> url http://www.openinteract.org/ |
|
From: Chris W. <la...@us...> - 2001-10-29 05:09:15
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_box/template
In directory usw-pr-cvs1:/tmp/cvs-serv4377/template
Modified Files:
object_modify_box.tmpl
Log Message:
changes to object_modify_box
Index: object_modify_box.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/template/object_modify_box.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** object_modify_box.tmpl 2001/08/13 16:10:14 1.2
--- object_modify_box.tmpl 2001/10/29 05:09:12 1.3
***************
*** 1,20 ****
! [%- th = OI.theme_properties -%]
[%- IF object and object.tmp_security_level >= OI.security_level.write -%]
- <font size="-1" color="[% tg.box_font_color %]">
! [% IF object.id %]
! [%- oi = OI.object_description( object ) -%]
[%- tagged = 0 -%]
! [% IF object.isa( 'SPOPS::Secure' ) %]
! [% th.bullet %] <a href="/Security/show/?object_class=[% oi.class %];oid=[% oi.oid %]">Edit object security</a>
! <br>
! [%- tagged = tagged + 1 -%]
! [% END %]
! [% IF object.isa( 'OpenInteract::Linked' ) %]
! [% th.bullet %] <a href="/Linkterm/simple_show/?object_class=[% oi.class %];oid=[% oi.oid %]">Edit object topics</a>
! <br>
! [%- tagged = tagged + 1 -%]
! [% END %]
[%- IF tagged == 0 -%]
--- 1,27 ----
! [%- DEFAULT theme = OI.theme_properties -%]
!
! <font size="-1" color="[% theme.box_font_color %]">
!
[%- IF object and object.tmp_security_level >= OI.security_level.write -%]
! [% IF object.id -%]
! [%- object_info = OI.object_description( object ) -%]
[%- tagged = 0 -%]
! [% IF object.isa( 'SPOPS::Secure' ) -%]
! [%- security_url = OI.make_url( base = '/Security/show/',
! object_class = oi.class,
! object_id = oi.object_id ) -%]
! [%- theme.bullet %] <a href="[% security_url %]">Edit object security</a><br>
! [%- tagged = tagged + 1 -%]
! [% END -%]
!
! [%- IF object.isa( 'OpenInteract::Linked' ) -%]
! [%- topics_url = OI.make_url( base = '/Linkterm/show/',
! object_class = oi.class,
! object_id = oi.object_id ) -%]
! [%- theme.bullet %] <a href="[% topics_url %]">Edit object topics</a><br>
! [%- tagged = tagged + 1 -%]
! [%- END -%]
[%- IF tagged == 0 -%]
***************
*** 22,35 ****
[%- END -%]
! [% ELSE %]
<p>Since this object has not yet been entered in the system,
you cannot edit its properties.</p>
! [% END %]
!
! </font>
! [% ELSE %]
! <p>Cannot view actions.</p>
- [%- END -%]
\ No newline at end of file
--- 29,41 ----
[%- END -%]
! [%- ELSE -%]
<p>Since this object has not yet been entered in the system,
you cannot edit its properties.</p>
! [%- END -%]
! [%- ELSE -%]
! Cannot view actions.
! [%- END -%]
! </font>
|
|
From: Chris W. <la...@us...> - 2001-10-29 03:38:19
|
Update of /cvsroot/openinteract/OpenInteract/pkg/system_doc In directory usw-pr-cvs1:/tmp/cvs-serv19512 Modified Files: Changes MANIFEST package.conf Log Message: meta Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/system_doc/Changes,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Changes 2001/10/17 04:47:08 1.12 --- Changes 2001/10/29 03:38:16 1.13 *************** *** 1,4 **** --- 1,9 ---- Revision history for OpenInteract package system_doc. + 1.27 Sun Oct 28 22:33:02 EST 2001 + + Modifed installed security to use new OI::Page object. Also + added OI::Page records (titles, etc.) for the HTML system docs. + 1.26 Wed Oct 17 00:48:45 EDT 2001 Index: MANIFEST =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/system_doc/MANIFEST,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MANIFEST 2001/08/22 01:20:11 1.2 --- MANIFEST 2001/10/29 03:38:16 1.3 *************** *** 1,13 **** MANIFEST MANIFEST.SKIP package.conf - Changes - OpenInteract/PodView.pm - OpenInteract/Handler/SystemDoc.pm - OpenInteract/SQLInstall/SystemDoc.pm conf/action.perl data/install_security.dat doc/package.pod doc/titles template/package_doc.meta template/package_doc.tmpl --- 1,14 ---- + Changes MANIFEST MANIFEST.SKIP package.conf conf/action.perl data/install_security.dat + data/page.dat doc/package.pod doc/titles + OpenInteract/PodView.pm + OpenInteract/Handler/SystemDoc.pm + OpenInteract/SQLInstall/SystemDoc.pm template/package_doc.meta template/package_doc.tmpl Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/system_doc/package.conf,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** package.conf 2001/10/17 04:47:08 1.12 --- package.conf 2001/10/29 03:38:16 1.13 *************** *** 1,4 **** name system_doc ! version 1.26 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ --- 1,4 ---- name system_doc ! version 1.27 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ |