Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Colin Kuskie
4bfabb9469
Make version tags mandatory again.
2011-10-25 19:44:58 -07:00
Doug Bell
795d88e7e5
Merge commit 'v7.10.17' into 8
...
Conflicts:
docs/upgrades/upgrade_7.9.13-7.10.0.pl
lib/WebGUI.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/AssetReport.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Form/Captcha.pm
lib/WebGUI/Macro/AdminBar.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/PayDriver.pm
lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm
lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Workflow/Instance.pm
lib/WebGUI/Workflow/Spectre.pm
lib/WebGUI/i18n/English/PayDriver.pm
t/Asset/Asset.t
t/Asset/AssetExportHtml.t
t/Asset/AssetLineage.t
t/Asset/Wobject/Thingy.t
2011-06-17 20:13:41 -05:00
Colin Kuskie
e33c41bd43
Add more tests around a test that fails intermittently in AssetLineage.t
2011-05-16 21:57:07 -07:00
Doug Bell
277faae8a1
Merge commit 'v7.10.15' into 8
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
docs/templates.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/Event.pm
lib/WebGUI/Asset/File.pm
lib/WebGUI/Asset/MapPoint.pm
lib/WebGUI/Asset/RichEdit.pm
lib/WebGUI/Asset/Sku/Product.pm
lib/WebGUI/Asset/Snippet.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Carousel.pm
lib/WebGUI/Asset/Wobject/Collaboration.pm
lib/WebGUI/Asset/Wobject/Dashboard.pm
lib/WebGUI/Asset/Wobject/DataForm.pm
lib/WebGUI/Asset/Wobject/Folder.pm
lib/WebGUI/Asset/Wobject/Map.pm
lib/WebGUI/Asset/Wobject/Search.pm
lib/WebGUI/Asset/Wobject/Shelf.pm
lib/WebGUI/Asset/Wobject/StockData.pm
lib/WebGUI/Asset/Wobject/StoryTopic.pm
lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Asset/Wobject/WeatherData.pm
lib/WebGUI/AssetClipboard.pm
lib/WebGUI/AssetCollateral/DataForm/Entry.pm
lib/WebGUI/AssetExportHtml.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetMetaData.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/AssetVersioning.pm
lib/WebGUI/Auth.pm
lib/WebGUI/Cache/CHI.pm
lib/WebGUI/Content/AssetManager.pm
lib/WebGUI/Fork/ProgressBar.pm
lib/WebGUI/Form/JsonTable.pm
lib/WebGUI/Form/TimeField.pm
lib/WebGUI/Form/Zipcode.pm
lib/WebGUI/Group.pm
lib/WebGUI/International.pm
lib/WebGUI/Macro/AssetProxy.pm
lib/WebGUI/Macro/FileUrl.pm
lib/WebGUI/Operation/SSO.pm
lib/WebGUI/Operation/User.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Shop/TransactionItem.pm
lib/WebGUI/Test.pm
lib/WebGUI/URL/Content.pm
lib/WebGUI/URL/Uploads.pm
lib/WebGUI/User.pm
lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
lib/WebGUI/Workflow/Activity/SendNewsletters.pm
lib/WebGUI/i18n/English/Asset.pm
lib/WebGUI/i18n/English/WebGUI.pm
sbin/installClass.pl
sbin/rebuildLineage.pl
sbin/search.pl
sbin/testEnvironment.pl
t/Asset/Asset.t
t/Asset/AssetClipboard.t
t/Asset/AssetLineage.t
t/Asset/AssetMetaData.t
t/Asset/Event.t
t/Asset/File.t
t/Asset/File/Image.t
t/Asset/Post/notification.t
t/Asset/Sku.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Wobject/Collaboration/templateVariables.t
t/Asset/Wobject/Collaboration/unarchiveAll.t
t/Asset/Wobject/Shelf.t
t/Auth.t
t/Macro/EditableToggle.t
t/Macro/FilePump.t
t/Shop/Cart.t
t/Shop/Transaction.t
t/Storage.t
t/User.t
t/Workflow.t
2011-05-13 18:15:11 -05:00
Doug Bell
5e6483e97f
add lineage increment_step and _offset for multi-master DB clusters
2011-03-21 18:26:18 -05:00
Doug Bell
1866c593ea
almost done fixing addRevision changes
2010-12-03 15:01:31 -06:00
Graham Knop
a95ef168cc
remove use of FindBin in tests
2010-09-01 14:05:53 -05:00
Doug Bell
cbd53b7aa6
fix bad plan in AssetLineage test
2010-07-15 12:54:52 -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
Doug Bell
29b1f794cd
fix merge problems
2010-07-12 15:52:38 -05: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
5e502fee53
Merge commit ' 17ce3572bf' into WebGUI8. All tests passing.
2010-06-30 18:43:27 -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
b832deecd1
convert all cleanup methods to addToCleanup
2010-06-10 10:09:53 -05:00
Colin Kuskie
2c08b4e712
Fix a bug in getLineageSql, where it would return the empty string. This could cause downstream problems. Fixes bug #11616
2010-06-08 09:22:28 -07:00
Colin Kuskie
4c3b615f7a
Update this test for exception handling.
2010-05-09 19:07:49 -07:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
0f32e9b6fb
Fix the AssetLineage test that I broke.
2010-01-26 15:21:15 -08:00
Colin Kuskie
7e7bc9ca20
Label loop inside getLineage. Drop a clause from getLineageSql, since we can use LIKE to make sure the lineage does not include the parent. Move getLineage tests to the top since downstream tests depend on getting assets in lineage order.
2010-01-26 12:55:40 -08:00
Colin Kuskie
eb60168627
sessionification of AssetLineage, conversion to use moose accessors.
2010-01-26 07:25:51 -08:00
Colin Kuskie
310c0add71
When addin a child under a parent that is not committed, adopt the parent's version tag. Fixes bug #11295
2009-12-15 14:25:02 -08:00
Colin Kuskie
1eeb76e96f
newByLineage should log its own error. Fixes bug #11192
2009-11-02 18:30:45 -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
20814beefd
Update to use automatic tag rollback.
2009-07-23 21:02:53 +00:00
Colin Kuskie
c60237443c
Test cleanups.
...
Fix a leaking group in Asset/Post/permission.t. Threads do not clean
up their groups when they are purged.
2009-05-01 02:17:39 +00:00
Graham Knop
17cd847378
adjusting tests for new behavior
2009-04-10 00:51:49 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
29a419e1eb
added: getLineageIterator method to simplify working on large sets of assets
2008-09-05 22:14:04 +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
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
afb67294b8
more coverage tests for getDescendantCount, checking state and status
2007-11-21 18:04:41 +00:00
Colin Kuskie
185a582ef9
State and status fix for AssetLineage->getDescendantCount, and tests to
...
double check it.
2007-11-21 03:43:20 +00:00
Colin Kuskie
80333b1141
add more tests to cover AssetLineage->getChildCount. Optimize the new SQL query in getChildCount
2007-11-20 21:15:06 +00:00
Colin Kuskie
0799d70428
Fix for AssetLineage's getChildCount. It did not consider the
...
asset's status, only the state. Change the SQL query to always
look at status, and consider state based on the options passed
to the method.
Add two quick tests to test that. More to follow.
2007-11-20 04:46:45 +00:00
JT Smith
40a4c3c487
fixing bugs reported by tests
2007-07-29 21:26:35 +00:00
Colin Kuskie
83310ba311
update copyright on tests
2007-07-07 03:56:44 +00:00
Colin Kuskie
32f7866f3b
Added a TODO in AssetPackage and changed a comment inside AssetLineage for clarity
2007-06-07 20:02:43 +00:00
Colin Kuskie
a8c8568d36
addChild: handling really deep assets works
2007-04-17 05:34:26 +00:00
Colin Kuskie
0d9bd95030
document some TODO tests
2007-04-15 05:02:24 +00:00
Colin Kuskie
8d65d4322c
getLineage tests. This thing is so big it could have its own test file.
2007-04-15 05:00:06 +00:00
Colin Kuskie
bd577a6712
Cache tests for getFirst- and getLastChild, hasChildren.
...
newByLineage tests, with cache
changed newByLineage to use placeholders
Coverage is 59/55/84
2007-04-15 04:30:55 +00:00
Colin Kuskie
450aab40a0
Some coverage tests for setRank. Added tests and a new folder
...
for getDescendantCount.
Pushed the reversal of order back into getLineage. WGBP indentation.
2007-04-15 03:41:38 +00:00
Colin Kuskie
483daf6671
More rank swapping tests, cleaned up a bug in the tests that passed but should
...
not have.
Updated the POD in AssetLineage to show which methods alter the object's stored
lineage versus the information in the database.
2007-04-15 02:02:03 +00:00
Colin Kuskie
5e643336bb
Add a test in setParent for the condition where the current user cannot edit
...
the new parent.
Added a basic test for setRank.
2007-04-14 02:45:50 +00:00
Colin Kuskie
a7cb2133c9
10 tests for rank swap, promote and demote
...
changed promote and demote to use placeholders in AssetLineage.
Added explicit return values to demote
2007-04-14 01:50:11 +00:00
Colin Kuskie
c9e2a8b9f3
11 more AssetLineage tests for various rank methods.
...
Have setParent update self's parentId for persistent code.
2007-04-14 00:50:35 +00:00
Colin Kuskie
e894ed29ae
Tests for getParent and getParentLineage
...
Fixed getParentLineage. The regular expression only matched strings
that were 8 characters long.
2007-04-13 21:45:32 +00:00
Colin Kuskie
a548341aea
More AssetLineage tests.
...
setParent does not clear the internally cached reference to
the parent Asset. This makes persistent code get the wrong
Asset reference.
2007-04-13 21:01:15 +00:00