Commit graph

1536 commits

Author SHA1 Message Date
Patrick Donelan
9cbd30c3d8 Refactored Survey test suite diagnostics etc.. 2009-05-17 08:15:59 +00:00
Doug Bell
de47c22eff fixed pseudorequest "Cannot use undefined value as a HASH reference" 2009-05-17 02:55:31 +00:00
Patrick Donelan
3105b27034 Improved Survey test setup 2009-05-16 09:06:00 +00:00
Patrick Donelan
4d181da7f9 SurveyJSON bug fixes
Fixed bug in SurveyJSON::update to stop it updating questionType when not asked
Fixed unsafe reference bug in SurveyJSON::getMultipleChoiceBundle
Added more Survey Test Suite tests
2009-05-16 07:24:55 +00:00
Patrick Donelan
7e0796cc78 Some minor Survey bug fixes
Removed evil "use JSON -support_by_pp"
test() and test_mc() now intelligently start at the right place and give better TAP descriptions
2009-05-16 01:13:20 +00:00
Patrick Donelan
2bde3dc02c Moved Survey test upgrade to 7.7.6-7.7.7 upgrade script 2009-05-15 23:42:10 +00:00
Doug Bell
1617e3004f added robustness to user services. added tests 2009-05-15 22:27:36 +00:00
Doug Bell
1afff052c4 added new API methods to User for easier use 2009-05-15 18:10:22 +00:00
Doug Bell
18bb51bc2b fixed PseudoRequest to do param list correctly 2009-05-15 18:10:18 +00:00
Doug Bell
1f96d708bf user-services 2009-05-15 18:03:03 +00:00
Doug Bell
0cf79f7264 added new API methods to User for easier use 2009-05-15 18:02:53 +00:00
Doug Bell
00b2709365 fixed PseudoRequest to do param list correctly 2009-05-15 18:02:49 +00:00
Martin Kamerbeek
bfc140a365 Improved and templated VAT Number management. 2009-05-15 17:20:49 +00:00
Martin Kamerbeek
489313a0b9 Adding Ogone payment plugin 2009-05-15 13:29:04 +00:00
Patrick Donelan
7829d708ea Survey test suite now functional.
Tests are defined via a JSON-encoded spec, through Web Crud interface
Test results are TAP encoded, and TAP parsed and prettified into HTML
Added i18n, help and tests
2009-05-15 10:33:47 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Doug Bell
93819cda0c Adding new API to User. get update enable disable 2009-05-14 22:16:50 +00:00
Doug Bell
774c499d2d Added exists() method to ProfileField + tests 2009-05-14 22:16:44 +00:00
Colin Kuskie
8d371b320c Update this test for adding a new PayDriver. 2009-05-14 03:43:24 +00:00
Colin Kuskie
95da8cf978 What knothead commented out the cleanup code? 2009-05-14 02:22:56 +00:00
Colin Kuskie
92b4f64b15 Add a test for Inbox/Message, for status codes. 2009-05-14 02:07:34 +00:00
Colin Kuskie
53e3f5b2a7 Better cart cleanup, so it also removes the CartItems. 2009-05-14 02:06:59 +00:00
Colin Kuskie
6dafc0b99b Cleanup the sku created for testing.
Use the new WebGUI::Test->usersToDelete for user cleanup.
2009-05-14 01:48:26 +00:00
Randall Schwartz
2fc4f3b54d CDN: perltidy on new/changed code 2009-05-14 00:35:41 +00:00
Colin Kuskie
bf2732e045 Clean up users in the new Inbox tests. 2009-05-14 00:03:44 +00:00
Colin Kuskie
b877e8fa05 Add a basic test for the PayPalStd driver. 2009-05-13 23:47:05 +00:00
Colin Kuskie
f54e975c14 Enable WebGUI sites to send SMS messages as inbox notifications. 2009-05-13 21:55:33 +00:00
Randall Schwartz
acd3fded45 Content Delivery Network (CDN) - optional, for either uploads only or both uploads & extras (rfe 9134) 2009-05-13 21:12:05 +00:00
Colin Kuskie
b19279a13d Add a has method to Session/Setting, so that it's easy to check if a setting
already exists.  Very handy for upgrade scripts.
2009-05-13 17:32:49 +00:00
Colin Kuskie
385d35c13b RFE for making an user's inbox filterable by the person who sent it.
Includes template changes, i18n, help and tests.
2009-05-13 17:20:40 +00:00
Patrick Donelan
fdf7e68827 Added Survey feedback template
Added survey feedback template and method for returning the templated feedback for a given response
Used this to clean up the default survey template, and updated the i18n and help
2009-05-13 08:59:50 +00:00
Colin Kuskie
59c559354f Update test to make getListings work. It used the defaultSort value, which was
set to an invalid column.
2009-05-13 03:17:42 +00:00
Colin Kuskie
61121788d7 Fix the logic in t/Asset/Sku.t. Add tests to make sure that the
shipsSeparately method is tested.
2009-05-13 03:07:34 +00:00
Colin Kuskie
3f8abbc29d Update this test to work with the new USPS driver. 2009-05-13 03:01:31 +00:00
Patrick Donelan
6815cd76aa Improved handling of Survey restart 2009-05-13 02:10:34 +00:00
Colin Kuskie
cbdd6077d5 Add USPS Shipping Driver with tests, and i18n.
Change the Ship, Cart to do exception handling when calling a shipping driver,
as that's the message passing interface between the modules.
Add a noFormProcess field property that is recognized by processPropertiesFromFormPost.
2009-05-12 23:58:19 +00:00
Patrick Donelan
79db642219 Refactored Survey for more happy endings
Refactored www_submitQuestions to use utility submitQuestions sub (for ease of testing)
Replaced numeric flags, completedCode etc..
Added restart() and exitUrl() to the Expression Engine
Added more Survey instance tests
2009-05-12 12:36:26 +00:00
Colin Kuskie
d1993c8131 Fix a test comment. 2009-05-11 21:18:36 +00:00
Doug Bell
d81f0ada05 added tests for getThreadsPaginator in Collaboration to allow future refactoring 2009-05-11 17:27:41 +00:00
Patrick Donelan
9e2cdeca13 Added some tests for Survey visualization 2009-05-11 11:06:55 +00:00
Patrick Donelan
7a3ecea4bb Survey Expressions can now access verbatim values 2009-05-11 06:55:13 +00:00
Colin Kuskie
02bf1db238 Add a test to check for the override of expire time in addUsers. 2009-05-10 02:21:18 +00:00
Martin Kamerbeek
7fb87de71d Added the methods for the pluggable tax system that add templ vars to the cart and cart items. 2009-05-08 13:34:42 +00:00
Martin Kamerbeek
9d90b92629 Tax details are now stored with the transaction items they belong to. 2009-05-08 10:03:25 +00:00
Patrick Donelan
cf98c81461 Fixed Survey's handling of multi-answer questions (e.g. maxAnswers != 1)
Now stores all supplied answers to multi-answer question as arrayref
Variable [[var]] text replacement converts to comma-separated list
Expression Engine's value() returns appropriate value depending on context
Expression Engine's score() does sum of multi-answers, as you would expect
Updated related i18n & hover-help, and tests
Cleaned up survey js somewhat
2009-05-08 08:00:04 +00:00
Doug Bell
d0a5cc8d66 fixed tests 2009-05-07 18:18:55 +00:00
Colin Kuskie
c93075519f Update test to work with new fixUrl code. 2009-05-07 16:42:04 +00:00
Colin Kuskie
19b333067e Prevent default groups from being deleted. 2009-05-07 16:04:47 +00:00
Graham Knop
1c1f1c295a don't clean up default groups 2009-05-07 15:57:11 +00:00
Colin Kuskie
676bc7f145 Adding in pseudo-module for Crud serialization testing. 2009-05-07 15:38:49 +00:00