6.2.6 bugfixes

This commit is contained in:
JT Smith 2004-09-30 01:16:02 +00:00
parent 9e38cb81e0
commit d2a301e02b
24 changed files with 171 additions and 102 deletions

View file

@ -3,6 +3,25 @@
- Removed debugging from the events calendar that should have been removed
before the last release.
- bugfix [ 1033670 ] JAVASCRIPT BUG
- bugfix [ 1034374 ] no pagination on groups
- bugfix [ 1035466 ] Pagination Broken - "Manage Users in Group"
- bugfix [ 1034900 ] unquoted themeID causing SQL error
- bugfix [ 1035510 ] USS search and user defined fields
- bugfix [ 1034373 ] No root path(s) specified
- bugfix [ 1035751 ] AdminBar.pm has message hardcoded, can't be translated.
- bugfix [ 1037161 ] Upgrade fail to change custom language to English
- bugfix [ 1036797 ] Bugs in Survey.pm (dapperedodo)
- bugfix [ 1036636 ] collateral folders missing
- bugfix [ 1036012 ] Themes broken
- Added a performance cache to the USS. Our testing indicates most USS' will see
more than 900% increase in performance.
- Added a performance cache to the Events Calendar. Our testing indicates
that most Events Calendars will see more than 33000% increase in
performance. No that's not a typo.
- bugfix [ 1035901 ] Comparision logic based on int ids
- bugfix [ 1035891 ] DBMS reserved keyword in webgui wsclient table
- bugfix [ 1035055 ] Forum Karma
- bugfix [ 1034381 ] action2 not working
6.2.5

View file

@ -73,6 +73,7 @@ print "\tResetting user languages.\n" unless ($quiet);
my ($defaultLangId) = WebGUI::SQL->quickArray("select dataDefault from userProfileField where fieldName='language'");
$defaultLangId =~ s/\[//;
$defaultLangId =~ s/\]//;
$defaultLangId = 1 if ($defaultLangId > 21);
my $langs = {
1 => "English",
2 => "German",
@ -97,7 +98,9 @@ WebGUI::SQL->write("update userProfileData set fieldData='".$langs->{$defaultLan
WebGUI::SQL->write("update userProfileData set fieldData='English' where fieldName='language' and fieldData=1");
WebGUI::SQL->write("alter table page change languageId languageId varchar(50) not null default 'English'");
foreach my $key (keys %{$langs}) {
WebGUI::SQL->write("update page set languageId=".quote($langs->{$key})." where languageId=".$key);
my $langId = $key;
$langId = 1 if ($key > 21);
WebGUI::SQL->write("update page set languageId=".quote($langs->{$langId})." where languageId=".$key);
}
#--------------------------------------------

View file

@ -1,5 +1,5 @@
insert into webguiVersion values ('6.2.3','upgrade',unix_timestamp());
update collateralFolder set parentId='-1' where parentId='0';
update collateralFolder set parentId='-1' where collateralFolderId='0';
delete from template where namespace='Navigation' and templateId='6';

View file

@ -2,5 +2,5 @@ insert into webguiVersion values ('6.2.5','upgrade',unix_timestamp());
update template set template='^JavaScript(\"<tmpl_var session.config.extrasURL>/textFix.js\");\r\n<tmpl_if htmlArea3.supported> \r\n\r\n^RawHeadTags(\r\n <script type=\'text/javascript\'> \r\n _editor_url = \'<tmpl_var session.config.extrasURL>/htmlArea3/\'; \r\n _editor_lang = \'en\'; \r\n </script>\r\n\r\n <script type=\'text/javascript\' src=\'<tmpl_var session.config.extrasURL>/htmlArea3/htmlarea.js\'> \r\n </script>\r\n\r\n <script language=\'JavaScript\'> \r\n HTMLArea.loadPlugin(\'TableOperations\'); \r\n </script>\r\n);\r\n\r\n<script language=\"JavaScript\"> \r\nfunction initEditor() { \r\n editor = new HTMLArea(\"<tmpl_var form.name>\"); \r\n editor.registerPlugin(TableOperations); \r\n\r\n setTimeout(function() { \r\n editor.generate(); \r\n }, 500); \r\n return false; \r\n} \r\nwindow.setTimeout(\"initEditor()\", 250); \r\n</script> \r\n\r\n</tmpl_if> \r\n\r\n<tmpl_var textarea> ' where templateId=6 and namespace='richEditor';
update page set parentId=0 where parentId is null;
update page set parentId=0 where parentId='';
update page set parentId='0' where parentId is null;
update page set parentId='0' where parentId='';

View file

@ -1,3 +1,4 @@
insert into webguiVersion values ('6.2.6','upgrade',unix_timestamp());
update collateralFolder set parentId='0' where parentId='-1' and collateralFolderId<>'0';
alter table WSClient change call callMethod text;