The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and counting). It uses Path::Class for much of its work, which is now a requirement for wG.
This commit is contained in:
parent
8500c4d506
commit
684ce5a7ca
6 changed files with 1710 additions and 340 deletions
|
|
@ -4,6 +4,8 @@
|
|||
- fix: Event is no longer editable by anyone who can add events
|
||||
- fixed: Package search is slow for large websites
|
||||
- fixed: rich editor image picker displays incorrectly in IE
|
||||
- fixed: the export system was largely incomprehensible. rewritten.
|
||||
- the new export system now needs Path::Class
|
||||
|
||||
7.5.10
|
||||
- fix: Syntax error in GetCsMail
|
||||
|
|
|
|||
|
|
@ -8,6 +8,12 @@ versions. Be sure to heed the warnings contained herein as they will
|
|||
save you many hours of grief.
|
||||
|
||||
|
||||
7.5.11
|
||||
--------------------------------------------------------------------
|
||||
* The exporting system before this release was largely incomprehensible and
|
||||
difficult to understand. It has been rewritten, and now requires Path::Class to
|
||||
function.
|
||||
|
||||
7.5.9
|
||||
--------------------------------------------------------------------
|
||||
* WebGUI 7.5.6 uses a Unicode database connection, but this can cause problems
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -71,9 +71,9 @@ sub execute {
|
|||
my $self = shift;
|
||||
my $versionTag = shift;
|
||||
foreach my $asset (@{$versionTag->getAssets}) {
|
||||
my $status = $asset->exportAsHtml();
|
||||
my ($returnCode, $status) = $asset->exportAsHtml( { quiet => 1, userId => 1, indexFileName => 'index.html', depth => 99, } );
|
||||
return $self->ERROR unless ($status eq "success");
|
||||
$status = $asset->getContainer->exportAsHtml();
|
||||
($returnCode, $status) = $asset->getContainer->exportAsHtml( { quiet => 1, userId => 1, indexFileName => 'index.html', depth => 99, } );
|
||||
return $self->ERROR unless ($status eq "success");
|
||||
}
|
||||
return $self->COMPLETE;
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ checkModule("Class::InsideOut","1.06");
|
|||
checkModule("HTML::TagCloud","0.34");
|
||||
checkModule("Image::ExifTool","7.00");
|
||||
checkModule("Archive::Any","0.093");
|
||||
checkModule("Path::Class", '0.16');
|
||||
|
||||
|
||||
###################################
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue