Commit graph

57 commits

Author SHA1 Message Date
Colin Kuskie
565cf955d7 Merge commit '469c2b72b4' into WebGUI8. All tests passing. 2010-07-01 10:13:22 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
40b8bd8667 Fix this test, so that it will pass every day of every month. 2010-06-29 13:46:37 -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
b7ba9f2118 Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678 2010-06-23 14:12:42 -07:00
Colin Kuskie
fecc2bec54 Yet more END block cleanups. 2010-06-15 16:40:06 -07:00
Colin Kuskie
94699417a7 END block cleanup. 2010-06-14 18:24:21 -07: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
bb78682fb1 Update this test for the method name change, surveyJSON -> getSurveyJSON 2010-06-11 12:16:37 -07:00
Graham Knop
49be76247e mock asset test package 2010-06-10 23:56:40 -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
Colin Kuskie
88e71445d7 Update the test for Moose status stickiness. 2010-06-10 15:13:42 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
6d2d950f52 Fix the delete expired events workflow (again). Fixes bug #11619 2010-06-09 11:28:00 -07:00
Colin Kuskie
7034e2cf57 More END block cleanups. 2010-06-07 19:07:45 -07:00
Colin Kuskie
d57ee622ff Fixed this test. 2010-05-09 17:31:42 -07:00
Colin Kuskie
69a1b4e180 Update test for new asset instanciators. 2010-05-09 17:25:27 -07:00
Colin Kuskie
dbca5b31d9 Cleanup more tests that are leaking carts due to address book useId issues. 2010-05-02 00:17:03 -07:00
Graham Knop
a141de0ebf removing first parameter from WebGUI::Session->open and other cleanups 2010-04-15 18:49:26 -05:00
Colin Kuskie
2ce0ab7f3a Case sensitive tables in the ExtendCalendarRecurrences test. 2010-04-06 14:52:39 -07:00
Paul Driver
c356a7acc6 DateTime::Event::ICal in Calendar, workflow to extend recurrence 2010-04-05 17:08:11 -07:00
Colin Kuskie
ba91560a96 Fix Notify About Low Stock email to be more user friendly. Fixes bug #11364. 2010-01-21 11:56:01 -08:00
Colin Kuskie
47276ce4ad Fix exception handling by the NotifyAboutLowStock workflow activity. Fixes bug #11343. 2010-01-12 11:07:43 -08:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
af20594535 Fix looping construct in NotifyAboutLowStock activity. Fix tests. 2009-12-08 21:24:20 -08:00
Colin Kuskie
89ea0e7cea use addToCleanup instead of an END block. 2009-12-07 13:07:11 -08:00
Patrick Donelan
e4b18757d8 Fixes bug in ExpireIncompleteSurveyResponses
Use a left outer join on userProfileData so that the workflow processes
responses for users that have been deleted
2009-10-20 16:50:00 +11:00
Colin Kuskie
d088386e2c Use better cleanup technology. 2009-09-25 19:45:02 -07:00
Colin Kuskie
5144dfa04f More test cleanups. 2009-09-25 19:35:23 -07:00
Patrick Donelan
549f9ce650 Fix bugs in ExpireIncompleteSurveyResponses Workflow
Need to join on revisionDate otherwise one email per Survey revision
will be sent. (Added explicit test for this)

Some standard template vars were also missing - username and userId.

(forward-port from webgui-7.7)
2009-09-25 14:13:15 +10: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
b57dff3e3e Fix a bad template variable in SendNewletters workflow activity, bug #10953 2009-09-14 18:58:10 -07:00
Graham Knop
e6f38dcf44 add new API for mocking assets in tests 2009-09-09 12:14:07 -05:00
Graham Knop
f6be0746f3 use consistant messages for WEBGUI_LIVE tests 2009-09-09 01:16:48 -05:00
Colin Kuskie
8fd0be0dc4 Purge tests before cleaning up version tags. Fix a leaky test. 2009-09-04 19:59:26 -07:00
Graham Knop
6f3980a9c9 fixed #10838: Forwarded forum post email to new CS adds reply to original thread 2009-09-01 22:40:08 +00:00
Colin Kuskie
22d462166f Move Calendar feeds into the Calendar Asset table as JSON collateral.
Update tests and workflows to follow.
2009-08-26 22:14:04 +00:00
Patrick Donelan
146373937d Fixed two new Survey bugs
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).

* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it  to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Colin Kuskie
c30614bdf6 Forward porting fixes for iCal escaping and unescaping, and line wrapping. 2009-07-01 22:18:57 +00:00
Colin Kuskie
755d7909a5 Fix iCal processing in the Calendar module and workflow. Errors with
generation and processing.
2009-06-30 15:43:40 +00:00
Colin Kuskie
5fdb7d8f02 Clean up queued email created when the inbox message is added. 2009-05-20 01:13:50 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00
Colin Kuskie
25acb1acf2 Add a workflow activity for archiving old stories, i18n and tests. 2009-03-25 01:07:28 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Colin Kuskie
cdcdd2951f Clean up after the newly modified DeleteExpiredSession test. 2009-02-21 02:06:22 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
8b06f912ca Rewrite the DeleteExpiredSessions test to not take cheap shortcuts
that are not very reliable.
2009-02-20 22:31:03 +00:00