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-18 02:18:27
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_box/template In directory usw-pr-cvs1:/tmp/cvs-serv1651/template Modified Files: admin_tools_box.tmpl Log Message: added new items to the admin toolbox Index: admin_tools_box.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/template/admin_tools_box.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_tools_box.tmpl 2001/09/22 16:32:07 1.4 --- admin_tools_box.tmpl 2001/10/18 02:18:25 1.5 *************** *** 1,21 **** ! [%- th = OI.theme_properties -%] ! [%- DEFAULT label = 'Admin Tools' -%] ! ! <font size="-1"> ! [% th.bullet %] <a href="/Error/">Error browser</a><br> ! [% th.bullet %] Group (<a href="/Group/">List</a> | <a href="/Group/show/?edit=1">New</a>)<br> ! [% th.bullet %] <a href="/Package/">Package</a><br> ! [% th.bullet %] <a href="/Security/">Security</a><br> ! [% th.bullet %] Static page (<a href="/BasicPage/listing/">List</a> | <a href="/BasicPage/show/?edit=1">New</a>)<br> ! [% th.bullet %] Template (<a href="/SiteTemplate/">List</a> | <a href="/SiteTemplate/show/?edit=1">New</a>)<br> ! [% th.bullet %] <a href="/SystemDoc/listing/">System documentation</a><br> ! [% th.bullet %] Theme (<a href="/Theme/listing/">List</a> | <a href="/Theme/show/?edit=1">New</a>)<br> ! [% th.bullet %] User (<a href="/User/">Search</a> | <a href="/User/show/?edit=1">New</a>)<br> ! ! </font> --- 1,20 ---- ! [%- DEFAULT theme = OI.theme_properties -%] ! <font size="-1"> ! [% theme.bullet %] <a href="/Error/">Error browser</a><br> ! [% theme.bullet %] Group (<a href="/Group/">List</a> | <a href="/Group/show/?edit=1">New</a>)<br> ! [% theme.bullet %] <a href="/Lookups/">Lookup Tables</a><br> ! [% theme.bullet %] <a href="/ObjectActivity/">Object Activity</a><br> ! [% theme.bullet %] <a href="/Package/">Package</a><br> ! [% theme.bullet %] <a href="/Security/">Security</a><br> ! [% theme.bullet %] Static page (<a href="/BasicPage/listing/">List</a> | <a href="/BasicPage/show/?edit=1">New</a>)<br> ! [% theme.bullet %] Template (<a href="/SiteTemplate/">List</a> | <a href="/SiteTemplate/show/?edit=1">New</a>)<br> ! [% theme.bullet %] <a href="/SystemDoc/listing/">System documentation</a><br> ! [% theme.bullet %] Theme (<a href="/Theme/listing/">List</a> | <a href="/Theme/show/?edit=1">New</a>)<br> ! [% theme.bullet %] User (<a href="/User/">Search</a> | <a href="/User/show/?edit=1">New</a>)<br> ! </font> |
|
From: Chris W. <la...@us...> - 2001-10-18 02:18:27
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_box In directory usw-pr-cvs1:/tmp/cvs-serv1651 Modified Files: Changes package.conf Log Message: added new items to the admin toolbox Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/Changes,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Changes 2001/10/11 03:53:21 1.21 --- Changes 2001/10/18 02:18:24 1.22 *************** *** 1,4 **** --- 1,8 ---- Revision history for OpenInteract package base_box. + 0.34 Wed Oct 17 22:33:05 EDT 2001 + + Added 'Lookups' and 'Object Activity' to Admin Tools box + 0.33 Thu Oct 11 00:06:42 EDT 2001 Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/package.conf,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** package.conf 2001/10/11 03:53:21 1.20 --- package.conf 2001/10/18 02:18:25 1.21 *************** *** 1,4 **** name base_box ! version 0.33 author Chris Winters <ch...@cw...> url http://www.openinteract.org/ --- 1,4 ---- name base_box ! version 0.34 author Chris Winters <ch...@cw...> url http://www.openinteract.org/ |
|
From: Chris W. <la...@us...> - 2001-10-18 02:11:27
|
Update of /cvsroot/openinteract/OpenInteract/OpenInteract/Template
In directory usw-pr-cvs1:/tmp/cvs-serv32684
Modified Files:
Plugin.pm
Log Message:
removed unused HTML generation sub; added one to retrieve users
Index: Plugin.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/OpenInteract/Template/Plugin.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Plugin.pm 2001/10/16 23:00:21 1.14
--- Plugin.pm 2001/10/18 02:11:24 1.15
***************
*** 123,127 ****
--- 123,129 ----
}
+
# Backward compatibility
+
sub object_info { return object_description( @_ ); }
***************
*** 287,304 ****
########################################
! # HTML GENERATION (this will probably be bagged)
########################################
! sub form_text {
! my ( $self, $p ) = @_;
! my $MAXLENGTH = ( $p->{max} ) ? qq(maxlength="$p->{max}") : '';
! my $VALIGN = ( $p->{valign} ) ? qq(valign="$p->{valign}") : '';
! my $BGCOLOR = ( $p->{bgcolor} ) ? qq(bgcolor="$p->{bgcolor}") : '';
! return <<ROW;
! <tr $VALIGN $BGCOLOR>
! <td>$p->{pre_label}$p->{label}$p->{post_label}</td>
! <td>$p->{pre_input}<input type="text" size="$p->{size}" $MAXLENGTH value="$p->{value}">$p->{post_input}</td>
! </tr>
! ROW
}
--- 289,303 ----
########################################
! # DATA RETRIEVAL
########################################
! # TODO: Figure out how configure this to use a nice API to select only
! # certain users (e.g., pass in a group name, group API, beginning of a
! # last name, etc..
!
! sub get_users {
! my ( $self ) = @_;
! my $R = OpenInteract::Request->instance;
! return eval { $R->user->fetch_iterator({ order => 'login_name' }) };
}
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:09:53
|
Update of /cvsroot/openinteract/OpenInteract/template
In directory usw-pr-cvs1:/tmp/cvs-serv32298
Added Files:
form_login label_form_login_row
Log Message:
added new template widget to display users
--- NEW FILE: form_login ---
[%########################################
form_login()
Display a dropdown box with a list of users. Note that we rely
on the 'get_users()' method from the OI plugin to grab the
users -- we might modify this to accept filter parameters.
########################################-%]
[% INCLUDE form_select( iterator = OI.get_users(),
first_label = 'User List...',
value_field = 'id',
label_field = 'login_name' ) -%]
--- NEW FILE: label_form_login_row ---
[%########################################
label_form_login_row( label, name, picked )
SELECT box of all users in the system, with the ID of the one
picked highlighted.
########################################-%]
[%- DEFAULT label = 'Users';
DEFAULT colspan = 2; -%]
[%- INCLUDE label_row_begin( colspan = 1 ) -%]
[%- INCLUDE data_cell_begin -%]
[%- INCLUDE form_login() -%]
[% field_label -%]
</td></tr>
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:46
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity
In directory usw-pr-cvs1:/tmp/cvs-serv26763
Added Files:
Changes MANIFEST MANIFEST.SKIP package.conf
Log Message:
added module to browse through object activity logs
--- NEW FILE: Changes ---
Revision history for OpenInteract package object_activity.
0.05 Wed 10/17/2001
More changes
0.04 Wed 10/17/2001
Form reading, template, other.
0.03 Wed 10/17/2001
Date reading fixes
0.02 Wed 10/17/2001
Template updates
0.01 Wed Oct 17 10:06:35 2001
Package skeleton created by oi_manage -- first draft of object
activity browser.
--- NEW FILE: MANIFEST ---
Changes
MANIFEST
MANIFEST.SKIP
package.conf
OpenInteract/ObjectActivity.pm
OpenInteract/Handler/ObjectActivity.pm
OpenInteract/SQLInstall/ObjectActivity.pm
conf/action.perl
data/install_security.dat
doc/object_activity.pod
doc/titles
struct/object_track.sql
template/listing.meta
template/listing.tmpl
template/search_form.meta
template/search_form.tmpl
template/search_results.meta
template/search_results.tmpl
--- NEW FILE: MANIFEST.SKIP ---
\bCVS\b
~$
\.old$
\.bak$
^tmp
^_
--- NEW FILE: package.conf ---
name object_activity
version 0.05
author Chris Winters <ch...@cw...>
module Class::Date
template_plugin
url http://www.openinteract.org/
sql_installer OpenInteract::SQLInstall::ObjectActivity
description
Browse the object activity logs
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:44
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/Handler
In directory usw-pr-cvs1:/tmp/cvs-serv26763/OpenInteract/Handler
Added Files:
ObjectActivity.pm
Log Message:
added module to browse through object activity logs
--- NEW FILE: ObjectActivity.pm ---
package OpenInteract::Handler::ObjectActivity;
# $Id: ObjectActivity.pm,v 1.1 2001/10/18 01:38:27 lachoy Exp $
use strict;
use OpenInteract::Handler::GenericDispatcher qw( DEFAULT_SECURITY_KEY );
use SPOPS::Secure qw( :level );
use SPOPS::SQLInterface;
@OpenInteract::Handler::ObjectActivity::ISA = qw(
OpenInteract::Handler::GenericDispatcher SPOPS::Secure
);
$OpenInteract::Handler::ObjectActivity::VERSION = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/);
$OpenInteract::Handler::ObjectActivity::author = 'ch...@cw...';
$OpenInteract::Handler::ObjectActivity::default_method = 'search_form';
@OpenInteract::Handler::ObjectActivity::forbidden_methods = ();
%OpenInteract::Handler::ObjectActivity::security = ( DEFAULT_SECURITY_KEY() => SEC_LEVEL_READ );
sub search_form {
my ( $class, $p ) = @_;
my $R = OpenInteract::Request->instance;
my %params = ();
my $CONFIG = $R->CONFIG;
foreach my $object_key ( sort keys %{ $CONFIG->{SPOPS} } ) {
push @{ $params{class_name_list} }, $object_key;
push @{ $params{class_list} }, $CONFIG->{SPOPS}{ $object_key }{class};
}
return $R->template->handler( {}, \%params,
{ name => 'object_activity::search_form' } );
}
sub search {
my ( $class, $p ) = @_;
my $R = OpenInteract::Request->instance;
my %params = ();
require OpenInteract::ObjectActivity;
$params{activity_list} = OpenInteract::ObjectActivity->add_object_information(
OpenInteract::ObjectActivity->fetch_activity( $p ) );
$R->{page}{title} = 'Object Activity Search Results';
return $R->template->handler( {}, \%params,
{ name => 'object_activity::search_results' } );
}
1;
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:41
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/SQLInstall
In directory usw-pr-cvs1:/tmp/cvs-serv26763/OpenInteract/SQLInstall
Added Files:
ObjectActivity.pm
Log Message:
added module to browse through object activity logs
--- NEW FILE: ObjectActivity.pm ---
package OpenInteract::SQLInstall::ObjectActivity;
# $Id: ObjectActivity.pm,v 1.1 2001/10/18 01:38:27 lachoy Exp $
use strict;
use vars qw( %HANDLERS );
@OpenInteract::SQLInstall::ObjectActivity::ISA = qw( OpenInteract::SQLInstall );
my %files = (
tables => [ 'object_activity.sql' ],
data => [],
security => [ 'install_security.dat' ],
);
%HANDLERS = (
create_structure => { '_default_' => [ 'create_structure',
{ table_file_list => $files{tables} } ] },
install_data => { '_default_' => [ 'install_data',
{ data_file_list => $files{data} } ] },
install_security => { '_default_' => [ 'install_data',
{ data_file_list => $files{security} } ] },
);
1;
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:39
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract
In directory usw-pr-cvs1:/tmp/cvs-serv26763/OpenInteract
Added Files:
ObjectActivity.pm
Log Message:
added module to browse through object activity logs
--- NEW FILE: ObjectActivity.pm ---
package OpenInteract::ObjectActivity;
# $Id: ObjectActivity.pm,v 1.1 2001/10/18 01:38:27 lachoy Exp $
use strict;
use Class::Date;
my @SEARCH_FIELDS = qw( class object_id action action_by action_on );
my @RECORD_FIELDS = qw( class object_id action action_by action_on notes );
use constant OBJECT_ACTIVITY_TABLE => 'object_track';
# Check hashref and GET/POST parameters for search criteria, build a
# search and run it, returning an arrayref of hashrefs. Keys of each
# hashref map to the fieldnames in 'object_track'.
sub fetch_activity {
my ( $class, $p ) = @_;
$p ||= {};
my $R = OpenInteract::Request->instance;
my $apr = $R->apache;
my @where = ();
my @value = ();
# Do the easy criteria
foreach my $field ( @SEARCH_FIELDS ) {
my $this_value = $p->{ $field } || $apr->param( $field );
next unless $this_value;
push @where, " $field = ? ";
push @value, $this_value;
$R->DEBUG && $R->scrib( 1, "Setting criteria ($field) to ($this_value)" );
}
# Now the dates...
my $exact_date = $class->read_date( 'action_on', $p );
my $date_fmt = '%Y-%m-%d';
if ( $exact_date ) {
push @where, " ( action_on > ? AND action_on < ? ) ";
my $date_before = $exact_date - '1D';
my $date_after = $exact_date + '1D';
push @value, $date_before->strftime( $date_fmt ), $date_after->strftime( $date_fmt );
}
else {
my $start_date = $class->read_date( 'action_on_start', $p );
my $end_date = $class->read_date( 'action_on_end', $p );
if ( $start_date ) {
push @where, " action_on >= ? ";
push @value, $start_date->strftime( $date_fmt );
}
if ( $end_date ) {
push @where, " action_on <= ?";
push @value, $end_date->strftime( $date_fmt );
}
}
my $order = $p->{order} || $apr->param( 'order' ) || 'action_on DESC';
return SPOPS::SQLInterface->db_select({ db => $R->db,
select => \@RECORD_FIELDS,
from => [ OBJECT_ACTIVITY_TABLE ],
where => join( ' AND ', @where ),
order => $order,
return => 'hash',
value => \@value });
}
# Takes a list of hashrefs (like that returned by 'fetch_activity()'
# above) and adds:
# 'type' - Type of object
# 'title' - Title of this object
# 'login_name' - Name of user who created activity record
sub add_object_information {
my ( $class, $activity_list ) = @_;
my $R = OpenInteract::Request->instance;
my ( %user_cache );
foreach my $rec ( @{ $activity_list } ) {
my $object_class = $rec->{class};
my $object = eval { $object_class->fetch( $rec->{object_id} ) };
if ( $@ or ! $object ) {
$rec->{object_type} = 'unknown';
$rec->{title} = 'n/a';
}
else {
my $info = $object->object_description;
$rec->{object_type} = $info->{name};
$rec->{title} = $info->{title};
$rec->{display_url} = $info->{url};
}
unless ( $user_cache{ $rec->{action_by} } ) {
my $user = eval { $R->user->fetch( $rec->{action_by} ) };
if ( $@ or ! $user ) {
$rec->{login_name} = 'unknown';
}
else {
$user_cache{ $rec->{action_by} } = $user->object_description;
}
}
if ( my $user = $user_cache{ $rec->{action_by} } ) {
$rec->{login_name} = $user->{title};
$rec->{user_display_url} = $user->{url};
}
}
return $activity_list;
}
sub read_date {
my ( $class, $field, $p ) = @_;
my ( $date_string );
if ( $p->{ $field } ) {
$date_string = $p->{ $field };
}
else {
my $apr = OpenInteract::Request->instance->apache;
my ( $y, $m, $d ) = ( $apr->param( "${field}_year" ),
$apr->param( "${field}_month" ),
$apr->param( "${field}_day" ) );
return undef unless ( $y and $m and $d );
$date_string = join( '-', $y, $m, $d );
}
return undef unless ( $date_string );
return Class::Date->date( $date_string );
}
1;
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:37
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/doc In directory usw-pr-cvs1:/tmp/cvs-serv26763/doc Added Files: object_activity.pod titles Log Message: added module to browse through object activity logs --- NEW FILE: object_activity.pod --- =head1 NAME object_activity - Display and provide the means to track object activity =head1 SYNOPSIS =head1 DESCRIPTION =head1 OBJECTS No objects created by this package. =head1 ACTIONS No actions defined in this package. =head1 RULESETS No rulesets defined in this package. =head1 ERRORS No custom error handlers defined in this package. =head1 BUGS B<Datasource 'main' assumed> Currently the module assumes you want the 'main' datasource. =head1 TO DO =head1 SEE ALSO =head1 AUTHORS Chris Winters <ch...@cw...> --- NEW FILE: titles --- object_activity.pod Display and provide the means to track object activity |
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:34
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/conf
In directory usw-pr-cvs1:/tmp/cvs-serv26763/conf
Added Files:
action.perl
Log Message:
added module to browse through object activity logs
--- NEW FILE: action.perl ---
$action = {
objectactivity => {
class => 'OpenInteract::Handler::ObjectActivity',
method => 'handler',
},
};
|
|
From: Chris W. <la...@us...> - 2001-10-18 02:04:32
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/struct In directory usw-pr-cvs1:/tmp/cvs-serv26763/struct Added Files: object_track.sql Log Message: added module to browse through object activity logs --- NEW FILE: object_track.sql --- CREATE TABLE object_track ( objtrack_id %%INCREMENT%%, class varchar(50) not null, object_id varchar(150) not null, action varchar(10) default 'create', action_by %%USERID_TYPE%% not null, action_on datetime not null, notes text null, primary key ( objtrack_id ), unique ( class, object_id, action, action_by, action_on ) ) |
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/template
In directory usw-pr-cvs1:/tmp/cvs-serv26763/template
Added Files:
listing.meta listing.tmpl search_form.meta search_form.tmpl
search_results.meta search_results.tmpl
Log Message:
added module to browse through object activity logs
--- NEW FILE: listing.meta ---
name: listing
title: List object activity
package: object_activity
Simple table that displays object_activity
--- NEW FILE: listing.tmpl ---
[%########################################
listing( activity_list, object_info, user_info )
Display activity records.
########################################-%]
[%- MACRO show_with_url( text, url ) BLOCK -%]
[%- IF url %]<a href="[% url %]">[% END %][% text %][% IF url %]</a>[% END -%]
[%- END -%]
[%- MACRO activity_row BLOCK -%]
<tr bgcolor="[% PROCESS row_color %]" valign="middle">
<td>[% record.action_on %]</td>
<td>[% record.action %]</td>
<td>[% record.object_type %]</td>
<td>[% show_with_url( record.title, record.display_url ) %]</td>
<td>[% show_with_url( record.login_name, record.user_display_url ) %]</td>
</tr>
[%- END -%]
[%- DEFAULT table_width = '75%' -%]
[% INCLUDE table_bordered_begin -%]
[% INCLUDE header_row( labels = [ 'Date', 'Action', 'Type', 'Title', 'User' ] ) -%]
[% FOREACH record = activity_list -%]
[% activity_row( count = loop.count ) -%]
[% END -%]
[% PROCESS table_bordered_end -%]
--- NEW FILE: search_form.meta ---
name: search_form
title: Enter criteria for activity
package: object_activity
Search form for users to enter criteria to find object activity
--- NEW FILE: search_form.tmpl ---
[%########################################
DISPLAY START
########################################-%]
[%- DEFAULT theme = OI.theme_properties;
SET count = 0; -%]
[%- PROCESS error_message -%]
<div align="center">
<h2>Search Object Activity</h2>
<p align="left">Enter criteria below to search the object activity
logs. The more criteria you enter, the more restrictive your search
and the fewer results you will retrieve.</p>
<form name="activity_search" method="GET" action="/ObjectActivity/search/">
[% INCLUDE table_bordered_begin( width = '75%' ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_login_row( label = 'Activity By', name = 'action_by',
valign = 'top', size = 5 ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_date_row( label = 'Activity On', name = 'action_on' ) %]
[%- count = count + 1 -%]
[% INCLUDE label_form_select_row( label = 'Activity Type', plain = 1,
name = 'action',
first_label = 'Actions...',
value_list = [ 'create', 'update', 'remove' ],
label_list = [ 'Create', 'Update', 'Remove' ] ) %]
[%- count = count + 1 -%]
[% INCLUDE label_form_select_row( label = 'Object Type', plain = 1,
name = 'class',
first_label = 'Types...',
value_list = class_list,
label_list = class_name_list ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_text_row( label = 'Object ID', name = 'object_id' ) -%]
[%- count = count + 1 -%]
[% INCLUDE form_submit_row( value = 'Search' ) -%]
[% INCLUDE table_bordered_end() -%]
</form>
</div>
--- NEW FILE: search_results.meta ---
name: search_results
title: Activity search results
package: object_activity
Results page for object activity search
--- NEW FILE: search_results.tmpl ---
<div align="center">
<h2>Activity Search Results</h2>
<p align="left">Following are the results matching your search of
object activity.</p>
[% INCLUDE object_activity::listing %]
</div>
|
|
From: Chris W. <la...@us...> - 2001-10-18 01:37:05
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/SQLInstall In directory usw-pr-cvs1:/tmp/cvs-serv26466/OpenInteract/SQLInstall Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/SQLInstall added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:54
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/Handler In directory usw-pr-cvs1:/tmp/cvs-serv26422/OpenInteract/Handler Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract/Handler added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:42
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/template In directory usw-pr-cvs1:/tmp/cvs-serv26377/template Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/template added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:34
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/struct In directory usw-pr-cvs1:/tmp/cvs-serv26349/struct Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/struct added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:24
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/conf In directory usw-pr-cvs1:/tmp/cvs-serv26299/conf Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/conf added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:12
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/doc In directory usw-pr-cvs1:/tmp/cvs-serv26238/doc Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/doc added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:36:06
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract In directory usw-pr-cvs1:/tmp/cvs-serv26192/OpenInteract Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity/OpenInteract added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:33:21
|
Update of /cvsroot/openinteract/OpenInteract/pkg/object_activity In directory usw-pr-cvs1:/tmp/cvs-serv25748/object_activity Log Message: Directory /cvsroot/openinteract/OpenInteract/pkg/object_activity added to the repository |
|
From: Chris W. <la...@us...> - 2001-10-18 01:29:18
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base/struct In directory usw-pr-cvs1:/tmp/cvs-serv24863/struct Removed Files: object_track.sql Log Message: moved the object_track table into the object_activity package --- object_track.sql DELETED --- |
|
From: Chris W. <la...@us...> - 2001-10-18 01:29:18
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base/OpenInteract/SQLInstall
In directory usw-pr-cvs1:/tmp/cvs-serv24863/OpenInteract/SQLInstall
Modified Files:
Base.pm
Log Message:
moved the object_track table into the object_activity package
Index: Base.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base/OpenInteract/SQLInstall/Base.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Base.pm 2001/08/21 12:45:35 1.5
--- Base.pm 2001/10/18 01:29:15 1.6
***************
*** 11,15 ****
my %files = (
! tables => [ 'sessions.sql', 'object_track.sql', 'object_keys.sql' ],
security => [ 'install_security.dat' ],
);
--- 11,15 ----
my %files = (
! tables => [ 'sessions.sql', 'object_keys.sql' ],
security => [ 'install_security.dat' ],
);
***************
*** 23,58 ****
1;
-
- __END__
-
- =pod
-
- =head1 NAME
-
- OpenInteract::SQLInstall::Base - SQL installer for the base package
-
- =head1 DESCRIPTION
-
- SQL installer for the base package. Just create the tables 'sessions'
- and 'object_track' and set the various security options.
-
- =head1 BUGS
-
- None known.
-
- =head1 TO DO
-
- Nothing.
-
- =head1 COPYRIGHT
-
- Copyright (c) 2001 intes.net, inc.. All rights reserved.
-
- This library is free software; you can redistribute it and/or modify
- it under the same terms as Perl itself.
-
- =head1 AUTHORS
-
- Chris Winters <ch...@cw...>
-
- =cut
--- 23,24 ----
|
|
From: Chris W. <la...@us...> - 2001-10-18 01:29:18
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base In directory usw-pr-cvs1:/tmp/cvs-serv24863 Modified Files: Changes MANIFEST package.conf Log Message: moved the object_track table into the object_activity package Index: Changes =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base/Changes,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** Changes 2001/09/24 14:22:27 1.38 --- Changes 2001/10/18 01:29:15 1.39 *************** *** 1,4 **** --- 1,9 ---- Revision history for OpenInteract package base. + 1.63 Wed Oct 17 21:41:20 EDT 2001 + + Moved the struct/object_track.sql to the object_activity + package. + 1.62 Mon Sep 24 09:11:45 EDT 2001 Index: MANIFEST =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base/MANIFEST,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** MANIFEST 2001/07/19 18:02:56 1.12 --- MANIFEST 2001/10/18 01:29:15 1.13 *************** *** 32,36 **** script/class_to_object_key.pl struct/sessions.sql - struct/object_track.sql struct/object_keys.sql template/package_detail.meta --- 32,35 ---- Index: package.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base/package.conf,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** package.conf 2001/09/24 14:22:27 1.38 --- package.conf 2001/10/18 01:29:15 1.39 *************** *** 1,18 **** name base ! version 1.62 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ sql_installer OpenInteract::SQLInstall::Base description ! ! This package contains the base framework for OpenInteract, including ! the authentication handler, the cookie and session handlers, the ! caching modules, template modules, and some basic handlers for doing ! redirects, displaying boxes, and the generic dispatcher. ! ! This package only includes templates for browsing packages. Many other ! templates are found elsewhere. ! ! You must have this package installed to use OpenInteract! The ! 'create_website' command in the 'oi_manage' script should have ! done so for you. --- 1,7 ---- name base ! version 1.63 author Chris Winters (ch...@cw...) url http://www.openinteract.org/ sql_installer OpenInteract::SQLInstall::Base description ! This package contains some basic framework pieces for OpenInteract. |
|
From: Chris W. <la...@us...> - 2001-10-17 12:22:21
|
Update of /cvsroot/openinteract/OpenInteract/OpenInteract/Config
In directory usw-pr-cvs1:/tmp/cvs-serv26844
Modified Files:
Ini.pm
Log Message:
add more docs (example); allow get() to contextually return an array
Index: Ini.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/OpenInteract/Config/Ini.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Ini.pm 2001/10/17 04:48:58 1.2
--- Ini.pm 2001/10/17 12:22:19 1.3
***************
*** 21,31 ****
}
sub get {
my ( $self, $section, @p ) = @_;
my ( $sub_section, $param ) = ( $p[1] ) ? ( $p[0], $p[1] ) : ( undef, $p[0] );
! return $self->{ $section }{ $sub_section }{ $param } if ( $sub_section );
! return $self->{ $section }{ $param };
}
sub set {
my ( $self, $section, @p ) = @_;
--- 21,36 ----
}
+
sub get {
my ( $self, $section, @p ) = @_;
my ( $sub_section, $param ) = ( $p[1] ) ? ( $p[0], $p[1] ) : ( undef, $p[0] );
! my $item = ( $sub_section )
! ? $self->{ $section }{ $sub_section }{ $param }
! : $self->{ $section }{ $param };
! return $item unless ( ref $item eq 'ARRAY' );
! return wantarray ? @{ $item } : $item->[0];
}
+
sub set {
my ( $self, $section, @p ) = @_;
***************
*** 35,38 ****
--- 40,44 ----
}
+
sub delete {
my ( $self, $section, @p ) = @_;
***************
*** 235,238 ****
--- 241,324 ----
=back
+
+ =head2 Example
+
+ Given the following configuration in INI-style:
+
+ [datasource]
+ default_connection_db = main
+ db = main
+ db = other
+
+ [db_info main]
+ db_owner =
+ username = captain
+ password = whitman
+ dsn = dbname=usa
+ db_name =
+ driver_name = Pg
+ sql_install =
+ long_read_len = 65536
+ long_trunc_ok = 0
+
+ [db_info other]
+ db_owner =
+ username = tyger
+ password = blake
+ dsn = dbname=britain
+ db_name =
+ driver_name = Pg
+ sql_install =
+ long_read_len = 65536
+ long_trunc_ok = 0
+
+ You would get the following Perl data structure:
+
+ $config = {
+ datasource => {
+ default_connection_db => 'main',
+ db => [ 'main', 'other' ],
+ },
+ db_info => {
+
+ main => {
+ db_owner => undef,
+ username => 'captain',
+ password => 'whitman',
+ dsn => 'dbname=usa',
+ db_name => undef,
+ driver_name => 'Pg',
+ sql_install => undef,
+ long_read_len => '65536',
+ long_trunc_ok => '0',
+ },
+
+ other => {
+ db_owner => undef,
+ username => 'tyger',
+ password => 'blake',
+ dsn => 'dbname=britain',
+ db_name => undef,
+ driver_name => 'Pg',
+ sql_install => undef,
+ long_read_len => '65536',
+ long_trunc_ok => '0',
+ },
+ },
+ };
+
+
+
+ =head2 'Global' Key
+
+ Anything under the 'Global' key in the configuration will be available
+ under the configuration object root. For instance:
+
+ [Global]
+ DEBUG = 1
+
+ will be available as:
+
+ $CONFIG->{DEBUG}
=head1 SEE ALSO
|
|
From: Chris W. <la...@us...> - 2001-10-17 12:11:29
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/template
In directory usw-pr-cvs1:/tmp/cvs-serv23958/base_page/template
Added Files:
edit_document_box.meta edit_document_box.tmpl
static_dir_listing.meta static_dir_listing.tmpl
static_page_form.meta static_page_form.tmpl
Log Message:
add initial templates (modified from static_page, but still untested)
--- NEW FILE: edit_document_box.meta ---
name: edit_document_box
title: For admins: document editing choices
package: base_page
Sidebar box with options for editing a document currently onscreen
--- NEW FILE: edit_document_box.tmpl ---
[%- DEFAULT theme = OI.theme_properties;
SET new_url = OI.make_url( base = '/BasePage/show/', edit = 1 );
SET edit_url = OI.make_url( base = '/BasePage/show/', edit = 1,
location = location );
SET remove_url = OI.make_url( base = '/BasePage/remove/',
location = location ); -%]
<font size="-1"">
[% theme.bullet %] <a href="[% new_url %]">Create a new document</a>
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>
--- NEW FILE: static_dir_listing.meta ---
name: static_dir_listing
title: Listing of Static Pages by directory
package: static_page
Lists the static pages by directory, and one of the direct
--- NEW FILE: static_dir_listing.tmpl ---
[%########################################
static_dir_listing( selected_dir, dir_list, children_files )
List directories in the system, with optionally one directory
selected so that all files in it are listed.
Parameters:
selected_dir: should be set to the name of the directory selected
dir_list: should be an arrayref of arrayrefs, the first element
is the directory name, the second the number of files
in the directory.
children_files: SPOPS::Iterator object containing BasicPage objects.
These are objects in the 'selected_dir'.
########################################%]
[%########################################
MACROS
########################################-%]
[%- MACRO create_expand_choice BLOCK -%]
[%- SET is_chosen = ( dir_info.0 == selected_dir ) ? 1 : 0 -%]
[%- SET is_last = ( dir_info.0 == last_dir ) ? 1 : 0 -%]
[%- IF is_chosen -%]
[%- ( is_last ) ? '/images/file_minus_collapse_last.gif'
: '/images/file_minus_collapse.gif' -%]
[%- ELSE -%]
[%- ( is_last ) ? '/images/file_plus_expand_last.gif'
: '/images/file_plus_expand.gif' -%]
[%- END -%]
[%- END -%]
[% MACRO show_files_in_directory BLOCK -%]
[% WHILE ( base_page = children_files.get_next ) -%]
[%- edit_url = OI.make_url( base = '/BasePage/show/', edit = 1,
location = base_page.location ) -%]
<tr bgcolor="[% PROCESS row_color %]">
<td align="right"><img src="/images/file_tree_line.gif"
height="16" width="19"></td>
<td> </td>
<td><font size="-1">
<a href="[% edit_url %]">[% base_page.location %]</a>
</font></td>
<td><font size="-1">[% base_page.title %]</font></td>
</tr>
[% END -%]
[% END -%]
[%########################################
DISPLAY START
########################################-%]
[%- DEFAULT theme = OI.theme_properties -%]
[%- PROCESS error_message -%]
<h2 align="left">Document Manager</h2>
<p align="left">Listing of all document directories. in the
system. Click on the '+' to expand a directory and see its files.</p>
<div align="center">
[% INCLUDE table_bordered_begin( table_width = '80%' ) -%]
[%- last_dir_index = dir_list.max;
last_dir = dir_list.$last_dir_index.0 -%]
[% FOREACH dir_info = dir_list -%]
[%- expand_choice = create_expand_choice();
dir_url = OI.make_url( base = '/BasePage/listing/',
selected_dir = dir_info.0 -%]
<tr bgcolor="[% PROCESS row_color( count = loop.count ) %]">
<td align="right">
<a href="[% dir_url %]"><img src="[% expand_choice %]"
height="16" width="19" border="0"></a></td>
<td colspan="2"><font size="-1">[% dir_info.0 %]</font></td>
<td><font size="-1">([% dir_info.1 %] files)</font></td>
</tr>
[%- IF is_chosen -%]
[%- show_files_in_directory( count = loop.count ) -%]
[% END -%]
[%- END -%]
[% PROCESS table_bordered_end -%]
</div>
--- NEW FILE: static_page_form.meta ---
name: static_page_form
title: Form for basic page input
package: static_page
All the information needed for a basic page; this should take the
place of static pages and enable the entire website to be editable via
the browser
--- NEW FILE: static_page_form.tmpl ---
[%- DEFAULT theme = OI.theme_properties;
OI.box_add( 'edit_document_box',
location = static_page.location );
count = 0 -%]
[%- PROCESS error_message -%]
<div align="center">
<h2>Web Page Editor</h2>
<p>Edit the page corresponding to <tt>Location</tt> below. Changes are made
instantly.</p>
<form name="static_page" method="post"
action="/BasePage/edit/">
[% INCLUDE table_bordered_begin( table_width = '80%' ) -%]
[%- display_type = ( static_page.location )
? 'Edit a' : 'Create a New' -%]
[% INCLUDE label_row( color = theme.head_bgcolor,
label = "$display_type Document" ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_text_row(
label = 'Location', is_required = 1,
required_display = theme.required,
post_label = '<br><font size="-1">(must be unique)</font>',
name = 'location', value = static_page.location,
size = 30, maxlength = 100 ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_textarea_row( label = 'Title', name = 'title',
value = static_page.title,
cols = 50, rows = 3,
wrap = 'virtual' ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_text_row( label = 'Author', name = 'author',
value = static_page.author,
size = 30, maxlength = 200 ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_text_row( label = 'Boxes',
post_label = '<font size="-1"><em>Separate each box by whitespace; order is not important</em></font>',
name = 'boxes',
value = static_page.boxes,
size = 30, maxlength = 75 ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_text_row( label = 'Main Template',
post_label = '<font size="-1"><em>main template to use; blank uses the default</em></font>',
name = 'main_template',
value = static_page.main_template,
size = 30, maxlength = 25 ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_textarea_row(
label = 'Document', name = 'document',
value = OI.html_encode( static_page.pagetext ),
colspan = 2,
cols = 70, rows = 15,
wrap = 'virtual' ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_textarea_row(
label = 'Javascript', name = 'javascript',
value = OI.html_encode( static_page.script ),
colspan = 2,
cols = 70, rows = 5,
wrap = 'virtual' ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_date_row( label = 'Active On Date',
value = static_page.active_on ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_form_date_row( label = 'Expires On Date',
value = static_page.expires_on ) -%]
[%- count = count + 1 -%]
[% INCLUDE label_row_begin( label = 'Updates' ) -%]
<td>[%- PROCESS object_updates -%]</td>
</tr>
[%- count = count + 1 -%]
[% INCLUDE label_form_submit_row( value = 'Modify' ) -%]
[% PROCESS table_bordered_end -%]
[% form_hidden( name = 'old_location',
value = static_page.location ) -%]
</form>
</div>
|