diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index f10c27373..c3c17b2f0 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -1,6 +1,27 @@ 5.5.4 - Bugfix [ 849210 ] Login Redirect should filter out the "logout" operation - - Bugfix [ 852024 ] Can't copy a USS wobject + - Bugfix 859816 : DataForm - security issues. Tnx Gabor for reporting. + - ^t; now starts in current root rather then in site root. + - Bugfix [ 867047 ] cannot delete Redirect URL. Thanks to Klaus Hertle. + - Bugfix [ 864535 ] Secondary admin adds user to group + - Bugfix [ 864537 ] Secondary admin adds user to group #2 + - Bugfix [ 859199 ] Login problem + - Bugfix [ 852930 ] Pieces of Collateral Statistic always zero. Thanks to ajaman. + - Bugfix [ 854124 ] Can't reply to discussion message for USS submission. + - Fixed a bug in form processor that caused legal email addy's with funny + characters to fail the check. + - Bugfix [ 855228 ] word wrap not working when posting as text + - Bugfix [ 855632 ] SyndicatedContent crashs when rss contains only one item + (Thanks to Len Kranendonk) + - Bugfix [ 855682 ] USS rss feed shows unapproved items + - Bugfix [ 855684 ] USS: no approvement check + - Bugfix [ 826864 ] Endless recursion + - Bugfix [ 855968 ] search shows deleted messages + - Fixed a bug that wouldn't allow urls like ldap://some.server and + https://some.server to work in a url field + - Bugfix [ 852024 ] Can't copy a USS wobject (Thanks to Len Kranendonk) + - Bugfix [ 849438 ] Adding Wobject Fails for Content Managers + 5.5.3 - Lowercase file extension in importCollateral.pl while determinating file diff --git a/docs/upgrades/upgrade_5.5.3-5.5.4.sql b/docs/upgrades/upgrade_5.5.3-5.5.4.sql new file mode 100644 index 000000000..48775ece3 --- /dev/null +++ b/docs/upgrades/upgrade_5.5.3-5.5.4.sql @@ -0,0 +1,2 @@ +insert into webguiVersion values ('5.5.4','upgrade',unix_timestamp()); + diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.pl b/docs/upgrades/upgrade_5.9.9-6.0.0.pl new file mode 100644 index 000000000..9e360d981 --- /dev/null +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.pl @@ -0,0 +1,489 @@ +#!/usr/bin/perl + +use lib "../../lib"; +use Getopt::Long; +use Parse::PlainConfig; +use strict; +use WebGUI::Session; +use WebGUI::SQL; +use WebGUI::Forum; + +my $configFile; +my $quiet; +GetOptions( + 'configFile=s'=>\$configFile, + 'quiet'=>\$quiet +); +WebGUI::Session::open("../..",$configFile); + + +#-------------------------------------------- +print "\tMigrating styles.\n" unless ($quiet); +my $sth = WebGUI::SQL->read("select * from style"); +while (my $style = $sth->hashRef) { + my ($header,$footer) = split(/\^\-\;/,$style->{body}); + my ($newStyleId) = WebGUI::SQL->quickArray("select max(templateId) from template where namespace='style'"); + if ($style->{styleId} > 0 && $style->{styleId} < 25) { + $newStyleId = $style->{styleId}; + } elsif ($newStyleId > 999) { + $newStyleId++; + } else { + $newStyleId = 1000; + } + my $newStyle = $session{setting}{docTypeDec}.' + +
+