Commit graph

51 commits

Author SHA1 Message Date
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Colin Kuskie
67272517ce Really fix sorting numerically for resolutions. Added tests to check it. 2010-08-25 11:44:01 -07:00
Colin Kuskie
86a190e3c6 Gallery resolutions are integers. Fixed sorting the resolutions, and fixed the tests to not use bad resolutions. Fixes bug #11787 2010-08-25 11:44:01 -07:00
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
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07: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
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
Colin Kuskie
71d4880635 Another batch of test cleaning. 2010-06-14 19:47:30 -07:00
Colin Kuskie
e878258543 END block cleanup. 2010-06-14 19:39:11 -07:00
Colin Kuskie
dcdd671b2c Fix the pending flag, get a fresh copy of the photo asset under test. 2010-06-11 20:18:48 -07:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
kimd
fa04d01518 o Allow return from photo edit view to gallery edit view (RFE 11571)
o Reject form submissions without image selected for upload in edit view of Photo asset
2010-06-09 15:28:42 -05:00
Colin Kuskie
83e945142e More END block cleanups. 2010-06-08 19:27:39 -07:00
kimd
77e331a129 Added more owner information to the gallery (RFE 9774) 2010-05-20 13:25:46 -05:00
Colin Kuskie
5140ece731 Large batch of test fixes, most for newByDynamicClass -> newById 2010-05-13 20:02:26 -07:00
Colin Kuskie
420cc3e843 A bunch of fixed Photo tests. 2010-05-13 15:43:16 -07:00
Colin Kuskie
7db971d274 Better clean-up. 2010-05-13 14:07:27 -07:00
Colin Kuskie
c892e51c9b Update tests for wg8 and better cleanup. 2010-05-13 13:58:32 -07:00
kimd
660d036f8a Gallery: Automatically adjust orientation of images based on EXIF data (RFE11498) 2010-04-30 10:37:46 -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
Graham Knop
911376043c quiet photo navigation test and add better cleanup 2010-04-02 18:31:44 -05:00
kimd
8104338da7 Added additional navigation to the photo asset (RFE 11412). 2010-03-25 19:45:48 -05:00
Colin Kuskie
8c0b73f2ec Fix an infinite loop with getting Photo under an album that is not committed. Fixes bug #11235. 2009-12-18 08:24:44 -08:00
Colin Kuskie
9476878b5e Fix a call on potentially undefined parent in Gallery Album. Fixes bug #11289. 2009-12-03 22:46:33 -08: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
27f474ec64 Do not cleanup Admin's friends group. 2009-09-21 08:27:36 -07:00
Graham Knop
eebece7a2a check WEBGUI_LIVE in some more live tests 2009-09-20 23:49:33 -05:00
Colin Kuskie
8de4e6fed2 Clean up changes to admin user, who has no friends. 2009-05-20 01:32:04 +00:00
Colin Kuskie
39607fc208 Another batch of clean-ups for users and groups. 2009-05-01 02:48:18 +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
a8dab0ac03 fix exif test 2009-02-10 21:41:48 +00:00
Colin Kuskie
ee9369392d Fix a test I broke with the i18n refactor for the GalleryFile 2009-01-29 23:46:39 +00:00
Graham Knop
b5104d9581 fixing photo comment test 2009-01-09 10:33:20 +00:00
JT Smith
782a4396b5 The deprecated use of Graphics::Magick has been eliminated. WebGUI uses
Image::Magick exclusively for all image processing functions once again.
2008-11-26 17:00:26 +00:00
Graham Knop
dd67123cb7 update Gallery Photo test to reflect proper template variables 2008-11-04 22:47:25 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Colin Kuskie
4372c2e5e0 Update the Photo view.t test to account for pagination. 2008-08-12 22:22:27 +00:00
Graham Knop
d3e802b1cf clean up test warnings 2008-06-20 08:57:34 +00:00
Doug Bell
0e299cc18b fixed photo/view test 2008-06-12 19:37:44 +00:00
Doug Bell
98992b8920 - added: Inbox is now pruned after 1 year
- Added about a hundred tests for Collaboration system, Post, and Thread 
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be 
usable now.
2008-04-26 02:23:10 +00:00
Colin Kuskie
aa7b0b9839 replace BAIL_OUT with a skip. It is okay to nest skips 2008-04-23 22:42:42 +00:00
Doug Bell
cf4dbc93a3 added WWW::Mech tests for Photo, which do not work because File upload controls require JavaScript 2008-04-18 00:29:17 +00:00
Doug Bell
d2faf8cd23 GalleryFile now sets Album thumbnail if Album doesnt have one 2008-04-18 00:28:26 +00:00
Doug Bell
4ebed16c69 added more vars to GalleryAlbum and GalleryFile. fixed some tests 2008-04-17 22:54:19 +00:00
Doug Bell
3ea9420479 fix: Fixed permission issues with Gallery comments
Gallery now checks to see if it's committed before allowing Albums to be added
Slideshow and thumbnails work better
Much, much more
2008-03-27 00:24:00 +00:00
Doug Bell
ab6f4defe3 - moved Gallery utility methods to WebGUI::Utility::Gallery
- Added tests for GalleryAlbum RSS
- More tests for comments
- Test International Macro sprintf as third+ arguments
- Add Gallery search limiting by user ID
- Remaining i18n for Gallery templates
- Fix: Search form now visible in Photo assets
Moved a lot of stuff from Photo to GalleryFile
2008-03-20 18:51:44 +00:00