various bug fixes
This commit is contained in:
parent
439d3fa4b3
commit
dc4fb07c1b
4 changed files with 29 additions and 8 deletions
|
|
@ -100,6 +100,11 @@
|
||||||
- fix [ 1410577 ] WebGUI::Session not included
|
- fix [ 1410577 ] WebGUI::Session not included
|
||||||
- fix a bug where a link was provided to become or delete non-existant users.
|
- fix a bug where a link was provided to become or delete non-existant users.
|
||||||
- fix bugs with the in-memory session caching of user and group memberships
|
- fix bugs with the in-memory session caching of user and group memberships
|
||||||
|
- fix [ 1465362 ] RichEditor doesn't work on Safari
|
||||||
|
- fix [ 1344665 ] Cache does not remember mimetype
|
||||||
|
- fix [ 1172613 ] Header Tag Not Accessibility Friendly
|
||||||
|
- fix [ 1340839 ] If can't use item in adminConsole don't display it
|
||||||
|
|
||||||
|
|
||||||
6.8.8
|
6.8.8
|
||||||
- fix [ 1452466 ] File size not set in File asset (Thanks to Eric S)
|
- fix [ 1452466 ] File size not set in File asset (Thanks to Eric S)
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,31 @@ $versionTag->set({name=>"Stuff just for 7.0 installs"});
|
||||||
addPrototypes();
|
addPrototypes();
|
||||||
rearrangeImportNode();
|
rearrangeImportNode();
|
||||||
addNewStyles();
|
addNewStyles();
|
||||||
|
addRobots();
|
||||||
$versionTag->commit;
|
$versionTag->commit;
|
||||||
purgeOldRevisions();
|
purgeOldRevisions();
|
||||||
|
|
||||||
finish($session); # this line required
|
finish($session); # this line required
|
||||||
|
|
||||||
|
#-------------------------------------------------
|
||||||
|
sub addRobots {
|
||||||
|
print "\tAdding robots.txt file.\n";
|
||||||
|
my $importNode = WebGUI::Asset->getImportNode($session);
|
||||||
|
$importNode->addChild({
|
||||||
|
title=>"robots.txt",
|
||||||
|
menuTitle=>"robots.txt",
|
||||||
|
url=>"robots.txt",
|
||||||
|
groupIdView=>'7',
|
||||||
|
groupIdEdit=>'12',
|
||||||
|
className=>'WebGUI::Asset::Snippet',
|
||||||
|
assetId=>"new",
|
||||||
|
snippet=>'User-agent: googlebot
|
||||||
|
Disallow: *?op=displayLogin
|
||||||
|
Disallow: *?op=makePrintable
|
||||||
|
'
|
||||||
|
},"pbrobot000000000000001");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
sub addNewStyles {
|
sub addNewStyles {
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,7 @@ sub getAdminFunction {
|
||||||
},
|
},
|
||||||
icon=>"statistics.gif",
|
icon=>"statistics.gif",
|
||||||
op=>"viewStatistics",
|
op=>"viewStatistics",
|
||||||
group=>"12"
|
group=>"3"
|
||||||
},
|
},
|
||||||
"contentProfiling"=>{
|
"contentProfiling"=>{
|
||||||
title=>{
|
title=>{
|
||||||
|
|
@ -285,7 +285,7 @@ sub getAdminFunction {
|
||||||
},
|
},
|
||||||
icon=>"contentFilters.gif",
|
icon=>"contentFilters.gif",
|
||||||
op=>"listReplacements",
|
op=>"listReplacements",
|
||||||
group=>"4"
|
group=>"3"
|
||||||
},
|
},
|
||||||
"userProfiling"=>{
|
"userProfiling"=>{
|
||||||
title=>{
|
title=>{
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ sub definition {
|
||||||
className=>'WebGUI::Asset::Post',
|
className=>'WebGUI::Asset::Post',
|
||||||
properties=>{
|
properties=>{
|
||||||
storageId => {
|
storageId => {
|
||||||
fieldType=>"file",
|
fieldType=>"image",
|
||||||
defaultValue=>undef
|
defaultValue=>undef
|
||||||
},
|
},
|
||||||
threadId => {
|
threadId => {
|
||||||
|
|
@ -657,10 +657,6 @@ sub processPropertiesFromFormPost {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$self->getThread->subscribe if ($self->session->form->process("subscribe"));
|
$self->getThread->subscribe if ($self->session->form->process("subscribe"));
|
||||||
delete $self->{_storageLocation};
|
|
||||||
my $storage = $self->getStorageLocation;
|
|
||||||
my $attachmentLimit = $self->getThread->getParent->get("attachmentsPerPost");
|
|
||||||
$storage->addFileFromFormPost("file", $attachmentLimit) if $attachmentLimit;
|
|
||||||
$self->postProcess;
|
$self->postProcess;
|
||||||
$self->requestCommit;
|
$self->requestCommit;
|
||||||
}
|
}
|
||||||
|
|
@ -1040,7 +1036,7 @@ sub www_edit {
|
||||||
$var{'form.preview'} = WebGUI::Form::submit($self->session, {
|
$var{'form.preview'} = WebGUI::Form::submit($self->session, {
|
||||||
value=>$i18n->get("preview","Asset_Collaboration")
|
value=>$i18n->get("preview","Asset_Collaboration")
|
||||||
});
|
});
|
||||||
$var{'attachment.form'} = WebGUI::Form::file($self->session, {
|
$var{'attachment.form'} = WebGUI::Form::image($self->session, {
|
||||||
value=>$self->get("storageId"),
|
value=>$self->get("storageId"),
|
||||||
maxAttachments=>$self->getThread->getParent->getValue("attachmentsPerPost"),
|
maxAttachments=>$self->getThread->getParent->getValue("attachmentsPerPost"),
|
||||||
deleteFileUrl=>$self->getUrl("func=deleteFile;filename=")
|
deleteFileUrl=>$self->getUrl("func=deleteFile;filename=")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue