diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index fd3654c8f..8f7bd2265 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -102,6 +102,8 @@ tabbed view to make scanning for content easier. - Help for forms now shows the fields that you should see with your UI level. There is a link to show all fields. + - Added SQL Form and error feedback for asset addition (Martin Kamerbeek/Procolix) + - Added file upload ability to the rich text editor (Wouter van Oijen/ProcoliX) - added [ 732011 ] http header cache setting - added [ 810556 ] larger value field in userSessionScratch table - added [ 881817 ] allowed characters in username @@ -113,6 +115,7 @@ - fix [ 1471218 ] 6.8.8: Unable to change Default Home Page - fix [ 1445002 ] Field(s) fail to delete - fix [ 1344318 ] utf8 support for uri_escape/URL::Escape + - fix [ 1466255 ] 6.8.8 Typo in package WebGUI::Operation::FormHelpers - fix [ 1463411 ] Denied content not getting expired or trashed - fix [ 1461522 ] 6.8.7 Linking items in the page tree (PDF and other files) - fix [ 1465280 ] BR Tag in Outlook @@ -126,8 +129,6 @@ - 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 - - Added SQL Form and error feedback for asset addition (Martin Kamerbeek/Procolix) - - Added file upload ability to the rich text editor (Wouter van Oijen/ProcoliX) - fix [ 1473937 ] scratch->set not taking. 6.8.8 diff --git a/docs/upgrades/7fixup.pl b/docs/upgrades/7fixup.pl index c983fe635..22828bb1a 100644 --- a/docs/upgrades/7fixup.pl +++ b/docs/upgrades/7fixup.pl @@ -7,7 +7,7 @@ use WebGUI::Session; use WebGUI::VersionTag; use WebGUI::Asset; use WebGUI::Utility; - +use WebGUI::Storage::Image; my $session = start(); # this line required @@ -41,9 +41,9 @@ sub addNewContent { groupIdEdit=>'4', description=>q|
The WebGUI Content Engine® is a powerful and easy to use system for managing web sites, and building web applications. It provides thousands of features out of the box, and lots of plug-in points so you can extend it to match your needs. It's easy enough for the average business user, but powerful enough for any large enterprise.
-If you're new to WebGUI, click here to learn how to get started. If you're getting up to speed, check out some ways you can do more faster. If this is all old hat to you, then check out the latest news. No matter what level you're at tell your friends about WebGUI.
+There are thousands of small and large businesses, schools, universities, governments, associations, clubs, churches, projects, and communities using WebGUI all over the world today. A brief list of some of them can be found here. Your site should be on that list.
-There are thousands of small and large businesses, schools, universities, governments, associations, clubs, churches, projects, and communities using WebGUI all over the world today. A brief list of some of them can be found here. Your site should be on that list.
|, +If you're new to WebGUI, click here to learn how to get started. If you're getting up to speed, check out some ways you can do more faster. If this is all old hat to you, then check out the latest news. No matter what level you're at tell your friends about WebGUI.
|, templateId=>'PBtmpl0000000000000002' }); $home->addChild({ @@ -114,7 +114,7 @@ Enjoy your new WebGUI site! templateId=>'PBtmpl0000000000000002' }); my $yns = WebGUI::Asset->new($session, "8Bb8gu-me2mhL3ljFyiWLg", "WebGUI::Asset::Wobject::Layout"); - $yns->addChild({ + my $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", styleTemplateId=>"stevestyle000000000003", printableStyleTemplateId=>"stevestyle000000000003", @@ -128,13 +128,18 @@ Enjoy your new WebGUI site! description=>q|Plain Black® created the WebGUI Content Engine® and is here to answer your questions and provide you with services to make sure your WebGUI implementation is entirely successful. We bend over backwards to make sure you're a success. Contact us today to see how we can help you.
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ + my $contentPositions = $asset->getId."."; + my $storage = WebGUI::Storage::Image->create($session); + $storage->addFileFromFilesystem("7fixup/book02.jpg"); + $storage->generateThumbnail("book02.jpg"); + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Documentation", styleTemplateId=>"stevestyle000000000003", printableStyleTemplateId=>"stevestyle000000000003", menuTitle=>"Get Documentation", isHidden=>1, + storageId=>$storage->getId, url=>"yns/docs", ownerUserId=>'3', groupIdView=>'7', @@ -142,7 +147,8 @@ Enjoy your new WebGUI site! description=>q|WebGUI Done Right is the ultimate compendium to WebGUI. It is more than just documentation, it's also a library of hundreds of videos that show you exactly how to get stuff done. This is a must for anyone working in WebGUI, and Plain Black offers vast bulk discounts so you can give it to everyone in your organization.
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ + $contentPositions .= $asset->getId.","; + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", styleTemplateId=>"stevestyle000000000003", printableStyleTemplateId=>"stevestyle000000000003", @@ -156,12 +162,17 @@ Enjoy your new WebGUI site! description=>q|Plain Black provides support packages to fit any budget or need. Start out with online support which costs only $500 per year! And grow support as your needs grow. We build custom support packages to match our client's needs. And no matter what level of support you purchase, you get WebGUI Done Right included in your purchase.
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ + $contentPositions .= $asset->getId.","; + my $storage = WebGUI::Storage::Image->create($session); + $storage->addFileFromFilesystem("7fixup/server01.jpg"); + $storage->generateThumbnail("book01.jpg"); + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", styleTemplateId=>"stevestyle000000000003", printableStyleTemplateId=>"stevestyle000000000003", title=>"Get Hosting", isHidden=>1, + storageId=>$storage->getId, menuTitle=>"Get Hosting", url=>"yns/hosting", ownerUserId=>'3', @@ -170,21 +181,8 @@ Enjoy your new WebGUI site! description=>q|Who better to host your WebGUI sites than Plain Black. Let us deal with upgrades, security, and server management. Doing so lets you focus on building your WebGUI site, which is where your time and expertise should be spent. And when you sign up with hosting, online support and WebGUI Done Right are both included!
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Get Style", - isHidden=>1, - menuTitle=>"Get Style", - url=>"yns/style", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|Not a designer? No problem! Plain Black's professional design team can make your site look great. Our team is fast, easy to work with, and can even migrate your existing content into your new WebGUI site.
|, - templateId=>'PBtmpl0000000000000002' - }); - $yns->addChild({ + $contentPositions .= $asset->getId."."; + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Features", styleTemplateId=>"stevestyle000000000003", @@ -198,7 +196,27 @@ Enjoy your new WebGUI site! description=>q|What's that you say? WebGUI's thousands of features are still missing some important ones? No problem, our professional development team can add any features you need for your site. We've built hundreds of custom apps for people. From simple macros, to custom single sign on systems, to applications that will manage your entire company, our team can do it.
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ + $contentPositions .= $asset->getId.","; + my $storage = WebGUI::Storage::Image->create($session); + $storage->addFileFromFilesystem("7fixup/profile01.jpg"); + $storage->generateThumbnail("profile01.jpg"); + $asset = $yns->addChild({ + className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", + title=>"Get Style", + isHidden=>1, + storageId=>$storage->getId, + menuTitle=>"Get Style", + url=>"yns/style", + ownerUserId=>'3', + groupIdView=>'7', + groupIdEdit=>'4', + description=>q|Not a designer? No problem! Plain Black's professional design team can make your site look great. Our team is fast, easy to work with, and can even migrate your existing content into your new WebGUI site.
|, + templateId=>'PBtmpl0000000000000002' + }); + $contentPositions .= $asset->getId.","; + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Translated", styleTemplateId=>"stevestyle000000000003", @@ -212,7 +230,8 @@ Enjoy your new WebGUI site! description=>q|Let our team of professional translators bring your site to new customers by translating your content into additional languages. Our translation services are never machine automated. They're always done by professional translators that have years of experience reading, writing, and speaking many languages.
|, templateId=>'PBtmpl0000000000000002' }); - $yns->addChild({ + $contentPositions .= $asset->getId.","; + $asset = $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", styleTemplateId=>"stevestyle000000000003", printableStyleTemplateId=>"stevestyle000000000003", @@ -226,6 +245,8 @@ Enjoy your new WebGUI site! description=>q|Now that you have a brilliant WebGUI site, you need to get people to visit it. We can help there too. Our marketing specialists can work with you to develop and execute the right combination of search engine placement, advertising buys, and affilliate programs to ensure your site gets the traffic it needs.
|, templateId=>'PBtmpl0000000000000002' }); + $contentPositions .= $asset->getId."."; + $yns->update({templateId=>"PBtmpl0000000000000094", contentPositions=>$contentPositions}); } #------------------------------------------------- diff --git a/docs/upgrades/7fixup/book02.jpg b/docs/upgrades/7fixup/book02.jpg new file mode 100644 index 000000000..b2d292216 Binary files /dev/null and b/docs/upgrades/7fixup/book02.jpg differ diff --git a/docs/upgrades/7fixup/profile01.jpg b/docs/upgrades/7fixup/profile01.jpg new file mode 100644 index 000000000..25c1266eb Binary files /dev/null and b/docs/upgrades/7fixup/profile01.jpg differ diff --git a/docs/upgrades/7fixup/server01.jpg b/docs/upgrades/7fixup/server01.jpg new file mode 100644 index 000000000..eee370287 Binary files /dev/null and b/docs/upgrades/7fixup/server01.jpg differ diff --git a/lib/WebGUI/Session/Url.pm b/lib/WebGUI/Session/Url.pm index d63c1a7cd..05d704bca 100644 --- a/lib/WebGUI/Session/Url.pm +++ b/lib/WebGUI/Session/Url.pm @@ -119,7 +119,7 @@ The string to escape. sub escape { my $self = shift; - return uri_escape_utf8(shift); + return URI::Escape::uri_escape_utf8(shift); }