Commit graph

34 commits

Author SHA1 Message Date
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
Colin Kuskie
b30491f3a6 Merge commit '808a866c8b' into webgui8. 7.9.4 release point
Conflicts:
	docs/upgrades/packages-7.9.3/root_import_gallery-templates_default-gallery-edit-album.wgpkg
	docs/upgrades/upgrade_7.9.2-7.9.3.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset/MapPoint.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Gallery.pm
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/AssetClipboard.pm
	lib/WebGUI/AssetVersioning.pm
	lib/WebGUI/Auth.pm
	t/Asset/Asset.t
2010-06-25 20:08:11 -07:00
Graham Knop
18525e7c1b use callback for log interception instead of on/off 2010-06-17 10:27:09 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
492259c93a remove useless test END blocks 2010-06-10 18:47:53 -05:00
kimd
dd72159db0 Added buttons to the GalleryAlbum edit view so users can rotate photos by 90 deg (RFE 620). 2010-04-19 22:24:09 +02:00
Colin Kuskie
066e654640 Improve the performance of getThumbnailUrl by 1400%. Fixes bug #11346 2010-01-19 15:57:28 -08:00
Colin Kuskie
a84d352f21 update test for new deep storage 2009-07-21 23:42:58 +00:00
Colin Kuskie
1a9da53abf Modify tests to use the automatic storage cleanup provided by WebGUI::Test.
Several tests previously leaked storage locations.
2009-04-14 01:54:28 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +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
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Colin Kuskie
06f52bae9a Fix how logging gets intercepted. It used to be on by default, now it must be turned on. 2008-02-29 22:09:32 +00:00
Colin Kuskie
92813f394d remove diag and take advantage of getTestCollateralPath file concat 2008-02-09 04:41:16 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
af271b9f26 fixed a bunch of GalleryAlbum/Photo tests 2007-12-26 00:39:08 +00:00
Colin Kuskie
8d1e47a6ce Storage/Image: resize works with ImageMagick again. Add diagnostics to tests for easy debug 2007-12-19 18:04:50 +00:00
Doug Bell
53a1cbc7c2 fixes to the Gallery 2007-12-18 21:17:44 +00:00
Colin Kuskie
c5c24852ca skipping wrong number of tests 2007-12-13 17:54:26 +00:00
Colin Kuskie
75041656ee adding more debug statements to Storage/Image.t 2007-12-04 21:31:30 +00:00
Colin Kuskie
ad661f2a70 Rewrite the adjustMaxFilesize test to be data driven.
Check the original sizes, and resized sizes exactly.
Hoping that this fixes last night's Image.t test failure.
2007-12-02 04:01:07 +00:00
Colin Kuskie
241bb7ebac Storage/Image.t tests failing due to being run as root user. Add SKIP to enable test for non-users only 2007-11-30 16:26:22 +00:00
Colin Kuskie
1b3d7f0c2b Refactor out the copied code to resize images based on the max file
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Colin Kuskie
226dd2cf21 Add tests for WebGUI::Storage::Image, and give its getThumbnailUrl method
some error handling.
2007-07-24 03:40:57 +00:00
Colin Kuskie
86d92d68a8 add deleteFile tests to Image.t 2007-07-23 18:14:40 +00:00
Colin Kuskie
a83702f2ed Fix a bug where WebGUI::Storage::Image->copy does not return
an object of the same class, when no default object is passed.
Added a bunch of tests.
2007-07-23 04:53:09 +00:00
Colin Kuskie
02abc68aa8 more generateThumbnail tests 2007-07-16 22:22:21 +00:00
Colin Kuskie
f07858a645 tests for generateThumbnail. final test is not working yet 2007-07-13 04:52:38 +00:00
Colin Kuskie
8b973604cd beginnings of thumbnail generation test 2007-07-13 04:38:50 +00:00
Colin Kuskie
6fe068e42d document what other tests need to be written 2007-07-08 21:06:00 +00:00
Colin Kuskie
e04443c6ee Add tests for dealing with files beginning with thumb- (they're ignored)
and determining if a file is an image, based on the filename.
2007-07-07 21:33:52 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
c07b0b9c72 Add the Storage::Image test. This really, really wants to be done with
Test::Class in the long term.
Fixed a bug where Storage::Image's getFiles does not obey the showAll switch
that its parent has.
2007-07-07 03:38:16 +00:00