Doug Bell
babfa74209
Merge branch 'master' into 8-merge
...
Conflicts:
docs/gotcha.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/File/GalleryFile/Photo.pm
lib/WebGUI/Asset/Post.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
lib/WebGUI/Asset/Wobject/Navigation.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/Config.pm
lib/WebGUI/Form/Template.pm
lib/WebGUI/Group.pm
lib/WebGUI/Inbox.pm
lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
sbin/testEnvironment.pl
t/AdSpace.t
t/AdSpace/Ad.t
t/Asset/Asset.t
t/Asset/AssetExportHtml.t
t/Asset/AssetLineage.t
t/Asset/EMSSubmissionForm.t
t/Asset/Event.t
t/Asset/File/GalleryFile/Photo/00base.t
t/Asset/File/GalleryFile/Photo/comment.t
t/Asset/File/GalleryFile/Photo/download.t
t/Asset/File/GalleryFile/Photo/edit.t
t/Asset/File/GalleryFile/Photo/exif.t
t/Asset/File/GalleryFile/Photo/makeResolutions.t
t/Asset/File/GalleryFile/Photo/makeShortcut.t
t/Asset/File/Image/setfile.t
t/Asset/File/setfile.t
t/Asset/Post.t
t/Asset/Post/Thread/getAdjacentThread.t
t/Asset/Sku.t
t/Asset/Sku/ProductCollateral.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Template/HTMLTemplateExpr.t
t/Asset/Wobject/Gallery/00base.t
t/Asset/Wobject/GalleryAlbum/00base.t
t/Asset/Wobject/GalleryAlbum/ajax.t
t/Asset/Wobject/GalleryAlbum/delete.t
t/Asset/Wobject/Matrix.t
t/Asset/Wobject/StoryArchive.t
t/Asset/Wobject/Survey/ExpressionEngine.t
t/Asset/Wobject/Survey/Reports.t
t/AssetAspect/RssFeed.t
t/Auth/mech.t
t/Config.t
t/Group.t
t/Help/isa.t
t/International.t
t/Mail/Send.t
t/Operation/AdSpace.t
t/Operation/Auth.t
t/Pluggable.t
t/Session.t
t/Session/DateTime.t
t/Session/ErrorHandler.t
t/Session/Scratch.t
t/Session/Stow.t
t/Shop/Cart.t
t/Shop/Pay.t
t/Shop/PayDriver/ITransact.t
t/Shop/PayDriver/PayPalStd.t
t/Shop/Ship.t
t/Shop/ShipDriver.t
t/Shop/TaxDriver/EU.t
t/Shop/TaxDriver/Generic.t
t/Shop/Transaction.t
t/Shop/Vendor.t
t/VersionTag.t
t/Workflow/Activity/ArchiveOldStories.t
t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05:00
Colin Kuskie
55ec1788ed
Test fixes for cross repo-mixup.
2010-06-26 13:07:53 -07:00
Colin Kuskie
5febc0ebbc
Merge commit ' 41575d24bb' into webgui8. Some tests still failing.
...
Conflicts:
docs/gotcha.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/File/GalleryFile/Photo.pm
lib/WebGUI/Asset/Post.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/WikiPage.pm
lib/WebGUI/Asset/Wobject/WikiMaster.pm
lib/WebGUI/Cache.pm
lib/WebGUI/Content/Setup.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Pay.pm
lib/WebGUI/Shop/PayDriver/ITransact.pm
sbin/testEnvironment.pl
t/Asset/WikiPage.t
t/Shop/PayDriver.t
t/Shop/PayDriver/ITransact.t
t/Shop/PayDriver/Ogone.t
t/Shop/TaxDriver/EU.t
t/Shop/TaxDriver/Generic.t
t/Workflow/Activity/RemoveOldCarts.t
t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Graham Knop
3be3150224
fix file uploading and storage test
2010-06-15 08:22:24 -05:00
Colin Kuskie
6c3369d0cb
Revert "use temp config file for testing"
...
This reverts commit 9b725c6d42 .
2010-06-14 15:19:54 -07:00
Colin Kuskie
4f9051a1c2
Update hexId created from non-GUID storageId.
2010-06-14 11:29:20 -07:00
Graham Knop
30657d61f7
lots of test fixes
2010-06-13 06:19:41 -05:00
Graham Knop
6f102973dd
use temp config file for testing
2010-06-10 18:58:25 -05:00
Graham Knop
492259c93a
remove useless test END blocks
2010-06-10 18:47:53 -05:00
Graham Knop
9b725c6d42
use temp config file for testing
2010-06-10 10:09:54 -05:00
Graham Knop
fe1ac66cca
remove useless test END blocks
2010-06-10 10:09:45 -05:00
Colin Kuskie
361299e293
Use the right location for the WebGUI.pm fake file in Storage testing.
2010-05-07 18:13:31 -07:00
kimd
660d036f8a
Gallery: Automatically adjust orientation of images based on EXIF data (RFE11498)
2010-04-30 10:37:46 -05:00
Graham Knop
8206aeaec5
enhance format of .wgaccess files to provide security for Gallery files
2010-04-15 11:38:58 -05:00
Colin Kuskie
c15a49be8c
Make Storage gracefully handle having its directory being nuked. Fixes bug #11077
2009-10-08 13:39:16 -07:00
Colin Kuskie
0e94d42034
Fix bug 10916: files prefixed with thumb- cause errors.
...
Rename files that are uploaded to remove thumb-.
2009-10-06 10:08:43 -07:00
Graham Knop
2a1f038ba1
small cleanups to storage test
2009-10-05 14:26:59 -05:00
Graham Knop
67b729fee0
use note instead of diag in tests for non-error debug output
2009-09-23 08:29:05 -05:00
Colin Kuskie
683752354d
File::Temp::tempdir does not exist.
2009-09-20 22:16:56 -07:00
Graham Knop
45603a026f
fix Storage tests for limited permissions
2009-09-20 14:18:03 -05:00
Colin Kuskie
6634f3e337
Fix broken tests that were creating odd directories.
2009-08-24 03:39:04 +00:00
Colin Kuskie
9259e1db23
And restore the original method, and add tests to catch the approximation in Session/DateTime.t instead
...
of relying on Asset/Story.t
2009-07-24 00:12:56 +00:00
Colin Kuskie
a3d8c390bd
Fix CDN working with GUID style, vs hex style, storage locations.
...
Add tests for geting a GUID storage location.
2009-07-23 21:51:45 +00:00
Colin Kuskie
0af4acdfad
Allow storage locations to have subdirectories, just to support the ZipArchive.
2009-07-21 21:44:31 +00:00
Colin Kuskie
1d3d61e16f
Add hex generation code to tempspace Storage objects. Otherwise, they return undef.
2009-07-02 16:01:03 +00:00
Colin Kuskie
67df78608d
Add a method to Storage to return the hex value of the storageId.
...
Add a test for it.
Convert Storage to use that everywhere, instead of calculating and recalculating it.
2009-05-20 18:37:00 +00:00
Randall Schwartz
2fc4f3b54d
CDN: perltidy on new/changed code
2009-05-14 00:35:41 +00:00
Randall Schwartz
acd3fded45
Content Delivery Network (CDN) - optional, for either uploads only or both uploads & extras (rfe 9134)
2009-05-13 21:12:05 +00:00
Colin Kuskie
703bce933c
Remove debugging code.
2009-03-06 15:40:59 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
6810712f6e
remove remnants of caseInsensitiveOS in tests
2008-12-10 05:45:34 +00:00
Graham Knop
d6e00cab05
improved performance of file uploads and changed format of created uploads locations, avoiding case sensitivity problems
2008-11-12 01:17:33 +00:00
Graham Knop
8533cf8ae8
fixing test warnings, Storage should always return to the correct directory
2008-02-29 07:00:29 +00:00
Colin Kuskie
ed017f6007
Forward port diagnostics and $/ bug fix from 7.4 and Commerce branches.
2008-02-18 18:30:29 +00:00
Colin Kuskie
04da356822
take more advantage of getTestCollateralPath file concat
2008-02-09 04:44:15 +00:00
Colin Kuskie
b4483947cf
take advantage of getTestCollateralPath concatenating files to the path for you
2008-02-09 04:25:07 +00:00
Colin Kuskie
227be31be5
By default, every Session created by WebGUI::Test will have
...
a PseudoRequest object, instead of being blank. Update
Storage.t to test this.
2008-02-09 04:22:39 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
182f3ecfae
increment plan for TODO test
2007-12-19 17:00:05 +00:00
Doug Bell
f8901ffe34
added TODO test to ensure that working with WebGUI::Storage doesnt chdir away
2007-12-18 21:26:14 +00:00
Doug Bell
53a1cbc7c2
fixes to the Gallery
2007-12-18 21:17:44 +00:00
Doug Bell
5222ad6be1
merged with SVN HEAD
2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448
Finished? Ready for merge at least.
2007-12-17 22:22:06 +00:00
Colin Kuskie
41a8524daf
remove mocking, since we new use PseudoRequest
2007-11-22 20:52:26 +00:00
Colin Kuskie
fd8cff2b8f
coverage tests for getFileIconUrl for WebGUI::Storage.pm
2007-11-12 20:58:21 +00:00
Colin Kuskie
1cf78f5321
Finish up the file upload handling by PseudoRequest. If you
...
call $pseudoRequest->uploadFiles with a list of filenames, it will populate
the upload method with upload objects, so that Storage->getFileFromFormPost
will have an object with all the right methods.
t/Storage.t tests this incidently. It occurs to me that we need tests
for our PseudoRequest module, and it needs POD, and it should probably
be rewritten using Class::InsideOut for good form.
2007-11-10 00:47:17 +00:00
Colin Kuskie
4de53b2de9
enable testing of $session->request->uploads through WebGUI::PseudoRequest. Now we need a good utility method for sending a list of files to a sub and having it return a list of filehandles to those files
2007-11-10 00:02:44 +00:00
Colin Kuskie
99d7037532
Fix a bug where storage objects allow deleting of files in other storage objects.
2007-07-23 16:24:37 +00:00
Colin Kuskie
83310ba311
update copyright on tests
2007-07-07 03:56:44 +00:00
Colin Kuskie
2a39d6a828
check part1, part2 and file path when caseInsensitiveOS=1
2007-07-05 23:09:25 +00:00