diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 3efc88c99..be6df89cb 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -98,6 +98,12 @@ - Help for forms now shows the fields that you should see with your UI level. There is a link to show all fields. - added [ 732011 ] http header cache setting + - added [ 810556 ] larger value field in userSessionScratch table + - added [ 881817 ] allowed characters in username + - added [ 1231386 ] Insert WebGUI Image + - fix [ 1178981 ] IE is in "quirks mode" - multi-column layout templates + break + - fix [ 999590 ] Rating - fix [ 1410577 ] WebGUI::Session not included - 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 diff --git a/docs/upgrades/upgrade_6.8.8-6.99.0.pl b/docs/upgrades/upgrade_6.8.8-6.99.0.pl index 62cea98ad..98a80f950 100644 --- a/docs/upgrades/upgrade_6.8.8-6.99.0.pl +++ b/docs/upgrades/upgrade_6.8.8-6.99.0.pl @@ -49,10 +49,17 @@ updateMatrix(); updateFolder(); addRichEditUpload(); updateArticle(); +updateScratch(); installSQLForm(); finish($session); # this line required +#------------------------------------------------- +sub updateScratch { + print "\tIncreasing size of scratch variables.\n"; + $session->db->write("alter table userSessionScratch change value value text"); +} + #------------------------------------------------- sub updateArticle { print "\tAllowing articles to have direct attachments.\n"; @@ -929,6 +936,7 @@ EOT $asset->addRevision({template=>$template}); } +#------------------------------------------------- sub installSQLForm { print "\tInstalling SQLForm tables.\n" unless ($quiet); @@ -1001,6 +1009,7 @@ ENDOFQUERY5 $session->db->write("insert into SQLForm_regexes (regexId, name, regex) values ('defaultUnsigned', 'Unsigned integer', '^\\\\d+\$')"); $session->db->write("insert into SQLForm_regexes (regexId, name, regex) values ('defaultSigned', 'Signed integer', '^-?\\\\d+\$')"); $session->db->write("insert into SQLForm_regexes (regexId, name, regex) values ('defaultFloat', 'Floating point number', '^-?\\\\d+(\\.\\\\d+)?\$')"); + $session->config->addToArray("assets","WebGUI::Asset::Wobject::SQLForm"); } diff --git a/lib/WebGUI/Auth.pm b/lib/WebGUI/Auth.pm index 3c5c89d35..d179d0cb2 100644 --- a/lib/WebGUI/Auth.pm +++ b/lib/WebGUI/Auth.pm @@ -86,9 +86,6 @@ sub _isValidUsername { if ($username eq "") { $error .= '
'.join(" > ", @crumb)."
\n"; my $children = $base->getLineage(["children"],{returnObjects=>1}); + my $i18n = WebGUI::International->new($session); foreach my $child (@{$children}) { next unless $child->canView; if ($child->get("className") =~ /^$session->form->process("classLimiter")/) { $output .= 'getId.'\';window.opener.document.getElementById(\''. - $session->form->process("formId").'_display\').value=\''.$child->get("title").'\';window.close();">(•) '; + $session->form->process("formId").'_display\').value=\''.$child->get("title").'\';window.close();">['.$i18n->get("select").'] '; } else { - $output .= "(•) "; + $output .= "[".$i18n->get("select")."] "; } $output .= 'form->process("classLimiter").";formId=" .$session->form->process("formId")).'">'.$child->get("menuTitle").''."