webgui/lib/WebGUI
Colin Kuskie e3092f0aa8 Fixed a bug where due to the lack of a cached Storage object,
the assetSize in the db was set wrong.  This happened when a File/Image
was added, and when it is committed. Editing the Asset would fix it, but
once it was committed, the files in the Storage area were not added.

List of Changes:
1) Removed setSize from File/Image.pm. It can inherit from File.
2) In Asset::File::processPropertiesFromFormPost, set _storageLocation to the Storage
   object.  Remove the call to setSize since it's done in ->update
3) In Asset::File::setSize, fetch the current storage object via getStorageLocation.
4) In Asset::File::update, move the call to update after the filesystem work.  This
   way changes in the size of the permissions file get accounted for.
5) In Asset::update, call setSize after all changes, regardless of whether or not
   properties have changed.
6) In Asset::setSize, refactor out the size calculation and update $self's properties
   cache so that long running scripts have the right size.
2007-06-13 23:06:44 +00:00
..
AdSpace Add hashwide getters for AdSpace and Ad.pm 2007-05-26 04:08:01 +00:00
Asset Fixed a bug where due to the lack of a cached Storage object, 2007-06-13 23:06:44 +00:00
Auth This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Cache removed memcached support 2007-05-30 18:34:25 +00:00
Commerce fix: EMS now keeps information about registration if a user logs out before they complete their transaction. 2007-04-06 00:55:39 +00:00
Form - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
Help Updated help for Search Asset. 2007-06-11 22:48:04 +00:00
i18n made it far less verbose 2007-06-13 19:54:13 +00:00
Image silly typo 2006-11-17 16:15:29 +00:00
Inbox POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
Macro - Added a simple Single Sign On mechanism. 2007-06-10 17:52:51 +00:00
Mail Always use correct format for Message-Id headers in mail. 2007-05-08 05:51:18 +00:00
Operation - Added a simple Single Sign On mechanism. 2007-06-10 17:52:51 +00:00
Search Fix search indexing on Windows and make function savfer overall. 2007-05-02 16:31:49 +00:00
Session This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
SQL - Added the arrayRef() method to WebGUI::SQL::ResultSet, which is 12% faster 2006-07-25 17:58:54 +00:00
Storage deleting a file from an Image Storage location did not delete the thumbnail 2007-04-23 05:13:59 +00:00
Workflow add missing use line 2007-05-30 21:31:11 +00:00
AdminConsole.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
AdSpace.pm Add hashwide getters for AdSpace and Ad.pm 2007-05-26 04:08:01 +00:00
Affiliate.pm merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
Asset.pm Fixed a bug where due to the lack of a cached Storage object, 2007-06-13 23:06:44 +00:00
AssetBranch.pm fix: Package deploy: hidden assets become visible 2007-06-11 16:26:03 +00:00
AssetClipboard.pm fix: Copying threads, posts, or wiki pages creates inactive version tag 2007-05-21 12:50:44 +00:00
AssetExportHtml.pm 7.3.12 release 2007-03-14 15:31:23 +00:00
AssetLineage.pm fix API docs for getLineage. joinClass takes 1 class only, as a string 2007-05-15 17:26:37 +00:00
AssetMetaData.pm very beginnings of an Asset MetaData test, along with an API extension to make adding metaData possible 2007-06-05 23:33:50 +00:00
AssetPackage.pm fix: Importing a package that includes a CS generates multiple version tags 2007-05-23 00:11:57 +00:00
AssetTrash.pm fix: Incomplete assets cause manage Trash to fail, added test for valid object creation 2007-02-16 13:52:16 +00:00
AssetVersioning.pm make getRevision return revisions in order or revisionDate 2007-03-12 03:06:47 +00:00
Auth.pm remove debugging code from Auth for user invites 2007-06-10 22:05:49 +00:00
Cache.pm removed memcached support 2007-05-30 18:34:25 +00:00
Commerce.pm Make TOC the front page of Help. 2006-03-06 18:28:27 +00:00
Config.pm Forgot to update changelog Added fatal error should parsing JSON config fail (thanks jZed__ on freenode #webgui) 2006-11-13 22:17:56 +00:00
DatabaseLink.pm - fix: a typo in DatabaseLink.pm 2007-04-04 16:03:34 +00:00
DateTime.pm fix typo in POD 2007-04-09 18:22:58 +00:00
Form.pm POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
FormValidator.pm POD fixes for FormValidator package name 2007-05-30 22:43:16 +00:00
Group.pm fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error 2007-04-11 17:24:56 +00:00
HTML.pm Added a new method to WebGUI::HTML called makeParameter safe. It will 2007-02-13 23:42:53 +00:00
HTMLForm.pm Remove crufty code from HTMLForm that was never used. 2006-10-21 02:12:34 +00:00
Image.pm Fixed WebGUI::Image->new doesn't obey width and height settings 2007-04-20 15:00:15 +00:00
Inbox.pm move exit statement inside conditional to speed up loop execution 2007-05-26 04:04:20 +00:00
International.pm fix lookup of English language tags when translation fails 2006-12-13 04:47:41 +00:00
LDAPLink.pm Missed a few lines. D'oh. 2006-10-11 19:00:50 +00:00
Macro.pm removal of dumpSession. 2006-01-26 05:39:16 +00:00
Operation.pm - Added a simple Single Sign On mechanism. 2007-06-10 17:52:51 +00:00
Paginator.pm fix double my in setDataByQuery 2007-05-29 18:32:02 +00:00
PassiveProfiling.pm Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
PerformanceProfiler.pm added sortable sub calls table to profiler output. Niftiness. 2006-02-05 19:24:40 +00:00
Product.pm merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
ProfileCategory.pm POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
ProfileField.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Search.pm remove a dangling warn 2007-05-02 23:02:45 +00:00
Session.pm - Added master failover database config option. 2007-03-14 04:10:03 +00:00
SQL.pm EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Storage.pm fix: Make WebGUI error out if there is a permissions problem while creating tar files 2007-05-21 17:19:51 +00:00
Subscription.pm fixing whitespace issues with POD 2007-02-01 17:13:41 +00:00
TabForm.pm Additional features in preparation for final checkin of Calendar rewrite. 2006-12-01 22:26:09 +00:00
Text.pm WebGUI::Text no longer spits out a billion warnings 2006-11-03 21:43:44 +00:00
User.pm add: User profile data table is now a flat table. 2007-05-28 21:35:34 +00:00
Utility.pm Fixed a bug with RSS feed generation and attachments. 2007-01-17 18:24:15 +00:00
VersionTag.pm - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
Workflow.pm - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00