Merging changes from 6.6.4

Added new definition features to wobjects and assets.
This commit is contained in:
JT Smith 2005-07-21 01:17:05 +00:00
parent 3805ebed23
commit c4b3e4092d
43 changed files with 457 additions and 717 deletions

View file

@ -24,10 +24,72 @@
different "display modes".
- Wrote a whole new caching system for WebGUI that is up to 10 times more
efficient than the old caching system.
- fix [ 1216053 ] can't drag to asset manager crumbtrail
- Updated the calendar picker to version 1.0.
- Added a mechanism to wobject definitions so that they can dynamically
generate their getEditForm() method based upon settings in the definition
if they need no special processing rules. For people familiar with Jakarta
Struts or Ruby on Rails this will be very familiar. For all other
developers, just know that it will make writing wobjects that much easier.
For an example, take a look at the Article wobject's definition() method.
- Added an optional specification of the asset icon and name in the
definition to have getName() and getIcon() autogenerated for WebGUI::Asset
subclasses.
- fix [ 1239601 ] Thread::getName is not Internationalized (and many other Assets, too)
- fix [ 1240316 ] Doc erro in Folder template thumbnail => thumbnail.url
6.6.4
- fix [ 1238539 ] REQUEST_URI broken in WRE
- fix [ 1227887 ] setScratch("redirectAfterLogin") doesn't save
$session{form}
- fix [ 1239475 ] post::processPropertiesFromFormPost doesn't check
attachment
(mwilson)
- fix [ 1239488 ] post::processPropertiesFromFormPost thumbnails non-images
(mwilson)
- fix [ 1206045 ] Max Image Size don't work (fixed for good this
time-mwilson)
- fix [ 1218993 ] Clicking of icon of active operation does nothing (mwilson)
- fix [ 1239576 ] New survey cached as blank (mwilson)
- fix [ 1224016 ] Survey.pm edit answer problems (mwilson)
- fix [ 1231377 ] When An Admin Logs Out Site Disappears (mwilson)
- fix [ 1230990 ] {_parent} is sometimes set to undef (mwilson)
- fix [ 1230985 ] $session{page}{empty} is not reset before each... (mwilson)
- fix [ 1226720 ] error msg when deleting last post from a coll.... (mwilson)
- fix [ 1226945 ] subscribe link doesn't update (mwilson)
- fix [ 1227208 ] Unable to override template on shortcut (mwilson)
- fix [ 1230505 ] IndexedSearch::getEditForm error msgs aren't......(mwilson)
- fix [ 1238001 ] HTMLForm->file rearrange problem, extras become subtext
- Fixed an upgrade script bug in 6.2.11-6.3.0.
- Fixed an upgrade script bug in 6.5.6-6.6.0.
- Fixed an error handler bug in the auth system.
- Fixed a typo in syndicated content that made templates not appear.
- Fixed several bugs in shortcut asset.
- fix [ 1224828 ] contra intuitive location when switching admin off
- fix [ 1230977 ] Products not shown when only in Admin group
- fix [ 1234214 ] Layout.pm (view) doesn't hide children (Emiliano Bruni)
- fix [ 1231070 ] undef $session{isInGroup}; should be delete
$session{isInGro (Matt Wilson)
- Updated the file system privileges mod_perl handler to work under multiple
versions of mod_perl.
- Fixed a sorting problem in the Collaboration System.
- fix [ 1237120 ] wG allows you to cut/paste USS sub & paste it on a page!
ERR
- fix [ 1236414 ] Collaboration System conflicts when two on a page
- fix [ 1231390 ] When Pasting Content More Than One Item is Pasted to Page
- fix [ 1231376 ] Secondary Admins Have No Access
- fix [ 1231388 ] Missing Break Tags All Over The Place (Matt Wilson)
- HTTP_X_FORWARDED_FOR automatically replaces REMOTE_ADDR when present so we
can capture accurate IP addresses for clients through proxies.
- fix [ 1221781 ] Metadata quicklink always visible in Asset Form
- fix [ 1229387 ] collaboration system file privs
- fix [ 1228342 ] edit branch doesn't set privs for filesystem
- fix [ 1221676 ] Duplicate postings in Collaboration System on IE
- Added an email override option to the config file for testing email
functions.
6.6.3
- Fixed a recurring transaction commerce bug.
- fix [ 1218874 ] Unable to edit any Assets nested in a Layout

View file

@ -125,6 +125,15 @@ The following tips should also help make your migration easer:
using the wobject processTemplate() method, please note that it has
been replaced by the WebGUI::Asset::Template asset.
1.2.16 Since all assets are now pages, you need to provide your own
view level security on your www_ methods like this:
return WebGUI::Privilege::noAccess() unless ($self->canView);
and like this:
return WebGUI::Privilege::insufficient() unless ($self->canEdit);
1.3 Quick Read Assets

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,26 @@
#!/usr/bin/perl
use lib "../../lib";
use Getopt::Long;
use strict;
use WebGUI::Session;
use WebGUI::Grouping;
my $configFile;
my $quiet;
GetOptions(
'configFile=s'=>\$configFile,
'quiet'=>\$quiet
);
WebGUI::Session::open("../..",$configFile);
#--------------------------------------------
print "\tMaking admins part of product managers.\n" unless ($quiet);
WebGUI::Grouping::addGroupsToGroups(['3'],['14']);
WebGUI::Session::close();

File diff suppressed because one or more lines are too long