- added: Inbox is now pruned after 1 year

- Added about a hundred tests for Collaboration system, Post, and Thread 
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be 
usable now.
This commit is contained in:
Doug Bell 2008-04-26 02:23:10 +00:00
parent ea1dac4064
commit 98992b8920
16 changed files with 742 additions and 120 deletions

View file

@ -31,6 +31,12 @@
displayed
- fixed: Thingy: thing view screen always displays all fields
- fixed: Thingy: search result "sort by" not working
- added: Inbox is now pruned after 1 year
- Added about a hundred tests for Collaboration system, Post, and Thread
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be
usable now.
7.5.10

View file

@ -25,6 +25,7 @@ my $session = start(); # this line required
# upgrade functions go here
addCalendarEventWorkflow( $session );
addPurgeOldInboxActivity( $session );
addingInStoreCredit($session);
insertCommerceTaxTable($session);
migrateOldTaxTable($session);
@ -63,6 +64,12 @@ sub addCalendarEventWorkflow {
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Add the new PurgeOldInboxMessages activity to the config file
sub addPurgeOldInboxActivity {
my $session = shift;
print "\tAdding Purge Old Inbox Messages workflow activity... " unless $quiet;
#-------------------------------------------------
sub addingInStoreCredit {
my $session = shift;
@ -77,6 +84,12 @@ sub addingInStoreCredit {
)");
}
my $activity = $session->config->get( "workflowActivities" );
push @{ $activity->{"None"} }, 'WebGUI::Workflow::Activity::PurgeOldInboxMessages';
$session->config->set( "workflowActivities", $activity );
print "DONE!\n" unless $quiet;
}
#-------------------------------------------------
sub upgradeEMS {