Commit graph

2618 commits

Author SHA1 Message Date
Scott Walters
5d50866461 Add support for additional, required per-package constructor args.
Give better diagnostics on which properties don't appear in forms and vice versa so I can hopefully figure out the rhyme and reason to those that don't match.
When an edit form takes attachmentsJson, stick some in there so it doesn't get upset and to give it a workout.
2010-08-11 19:36:48 -04:00
Scott Walters
48f239a178 Requires extra arguments to Asset constructor; list them in the package so Test::Asset can query and use them. 2010-08-11 19:29:17 -04:00
Scott Walters
7eda8f7d46 Numerous corrections to tests.
Currently, "Looks like you failed 62 tests of 3882".
Many transient, non-deterministic failures lurk and specific asset types need special cases added in test subclasses.
2010-08-10 11:24:39 -04:00
Colin Kuskie
be42b7118c Migrate CartItem from Class::InsideOut to Moose. 2010-08-05 16:24:10 -07:00
Colin Kuskie
ca9a3bd6c7 Merge branch 'master' into WebGUI8, up to 7.9.10. Some tests failing due to changes in default content. 2010-07-27 22:55:57 -07:00
Colin Kuskie
49374b43eb Operations should be able to handle UTF-8 urls, too. Fixes bug #11683 2010-07-27 15:37:53 -07:00
Colin Kuskie
bba978f2a1 Use the correct end tag identifier character. 2010-07-27 11:50:27 -07:00
Colin Kuskie
26484f3361 Make the FilePump macro return valid XHTML. Fixes bug #11742. 2010-07-27 11:45:03 -07:00
Colin Kuskie
5bc83c4b17 If the User Function Style template is cut or deleted, use the Fail Safe template instead. Fixes bug #11729 2010-07-26 09:01:21 -07:00
Colin Kuskie
ffe4b8fa2c Better handling of an empty spamStopWords entry in the config file, for WikiPage and Post. 2010-07-23 17:09:18 -07:00
Scott Walters
d17d096380 StoryArchive optional sorting by title.
Fwiw, this code was written a while ago but seems to have gotten
misplaced.
2010-07-23 09:13:55 -04:00
Colin Kuskie
a7cc3696c6 Update Tax.pm for Moose. 2010-07-16 09:01:58 -07:00
Doug Bell
79fa8cafa9 reconcile IOB test with working version in master 2010-07-15 13:02:36 -05:00
Doug Bell
256119575c fix syntax error in InOutBoard test. still fails 2010-07-15 12:55:29 -05:00
Doug Bell
b993e54bff declare variable to fix test 2010-07-15 12:55:10 -05:00
Doug Bell
cbd53b7aa6 fix bad plan in AssetLineage test 2010-07-15 12:54:52 -05:00
Doug Bell
2471517fa7 remove getAdminConsole from Survey 2010-07-15 12:54:31 -05:00
Doug Bell
d34377e45d fix admintoggle tests 2010-07-15 12:52:13 -05:00
Doug Bell
85e218f62f remove bad merge marks 2010-07-15 12:51:45 -05:00
Doug Bell
3934a6704c fix getEditForm 2010-07-15 11:55:25 -05:00
Doug Bell
1caef590cc fix navigation edit form 2010-07-15 11:55:25 -05:00
Doug Bell
eec0780893 more test work 2010-07-15 11:55:24 -05:00
Doug Bell
e891410075 tests and such 2010-07-15 11:55:24 -05:00
Doug Bell
ea1a020ab5 fixes to content wizard 2010-07-15 11:52:04 -05:00
Doug Bell
3ae21d6349 Merge remote branch 'upstream/WebGUI8' into 8-merge 2010-07-14 18:26:42 -05:00
Doug Bell
708b47d73c Merge remote branch 'upstream/WebGUI8' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/VersionTag.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	t/AdSpace.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Story.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/InOutBoard.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/Group.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Url.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -05:00
Colin Kuskie
934a93a2a8 Fix bugs from the Transaction.pm Moose work. 2010-07-14 15:47:21 -07:00
Doug Bell
cd1e450c32 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.9.8-7.9.9.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	t/Asset/Asset.t
	t/Mail/Send.t
	t/Session/Url.t
	t/lib/WebGUI/Test.pm
2010-07-14 17:06:19 -05:00
Colin Kuskie
04a16ed87c Move Shop/Transaction to Moose. Change core modules to suit. 2010-07-14 14:50:39 -07:00
Doug Bell
129251fd61 fix test to clean up config properly 2010-07-13 13:41:28 -05:00
Colin Kuskie
b24f73fb3d Fix the plan for skipping tests when ideographic search won't work. 2010-07-13 11:39:46 -07:00
Doug Bell
ef319ea2a2 fix cleanup 2010-07-13 13:12:47 -05:00
Doug Bell
ab7e98d08c test changes to updating serialize asset props 2010-07-13 13:12:47 -05:00
Doug Bell
65e9902001 migrate to JsonTable to edit template attachments 2010-07-13 13:12:46 -05:00
Colin Kuskie
fd153b80e9 Always use good macro form when using the Extras macro. Fixes bug #11455. 2010-07-12 17:13:38 -07:00
Doug Bell
29b1f794cd fix merge problems 2010-07-12 15:52:38 -05:00
Graham Knop
1b8b90c0a5 fix WebGUI::Paths test 2010-07-12 14:25:59 -05:00
Colin Kuskie
73da9e343d Convert Address to Moose. 2010-07-09 13:49:37 -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
Doug Bell
55dbab152c fix cleanup 2010-07-09 11:04:20 -05:00
Colin Kuskie
6d0309249f Convert AddressBook to Moose. 2010-07-08 10:36:22 -07:00
Colin Kuskie
e617567a71 The first line of a file is allowed to be POD. Change initial conditions of internal flags to allow this. 2010-07-07 15:35:47 -07:00
Colin Kuskie
a1f1bf450a Move Cart to Moose.
Remove the global AddressBook cache, replace it with a per-object cache.  Merge create into
new, but leave a create stub for legacy code.
2010-07-07 15:30:47 -07:00
Colin Kuskie
416f62f36a Fix problems with Moose style object creation. 2010-07-07 12:31:37 -07:00
Colin Kuskie
e5a2af0330 Add test for new with properties. 2010-07-07 12:25:21 -07:00
Graham Knop
894385396c remove code trying to prevent caching of config objects 2010-07-07 02:52:02 -05:00
Colin Kuskie
bc330634ed Use code that works with the WRE's mysql for detecting ft_min_word_len 2010-07-06 17:35:14 -07:00
Colin Kuskie
751aa21f08 when intercepting logging for tests, set all test levels to be true. 2010-07-06 17:12:37 -07:00
Graham Knop
b5542c9902 fix upgrade tests 2010-07-06 17:06:17 -05:00
Graham Knop
8326c63c1e more comments, support for txt and pod upgrade files 2010-07-06 17:06:13 -05:00