Patrick Donelan
216a48580a
Fixed #9927 Survey - verbatim
...
Fixed inconsistencies between answer 'comment' and 'verbatim'.
Updated tests.
Made minor changes to reporting methods but they still need some love.
2009-06-03 00:29:29 +00:00
Doug Bell
939ad5a4bf
added tests for packed templates
2009-06-02 08:28:52 +00:00
Patrick Donelan
084a0c3105
Fixed naff Survey::takenCount bug, added explicit test for it
2009-06-02 02:42:37 +00:00
Colin Kuskie
8f09dc062d
Add edit and delete icons to the Story Topic. Update tests. Adjust both
...
sets of templates. Use the correct privileges for displaying the icons.
Help and i18n.
2009-06-01 16:53:22 +00:00
Colin Kuskie
20a333cde8
Change caching on the SQLReport to be set by its cacheTimeout, even
...
when viewed standalone, and not part of a page.
2009-05-30 18:01:59 +00:00
Colin Kuskie
0bf47be7f4
Add a basic test for the Poll, adding votes and making a graph.
...
Add POD to Poll for setVote, and use placeholders in there.
2009-05-29 18:54:26 +00:00
Patrick Donelan
1a4b673843
Made Survey Test Suite feature was dependent on TAP::Parser and TAP::Parser::Aggregator
2009-05-29 01:04:45 +00:00
Colin Kuskie
67cce548ff
Add enableSurveyExpressionEngine to default WebGUI conf file.
...
Rerun the upgrade subroutine to handle newer surveys.
Handle the config option being off in Survey/Test.t
2009-05-28 23:28:52 +00:00
Colin Kuskie
b74761619e
More SKIP number fixes.
2009-05-28 23:03:19 +00:00
Colin Kuskie
4dd1089a00
Update test to track Matrix code for getListings.
2009-05-28 15:57:51 +00:00
Patrick Donelan
beff1d2166
Survey NYTProf performance improvements
...
initSurveyOrder now builds a lookup cache to speed up branching
Test suite caches surveyOrder and response itself
Unnecessary sub calls reduced
Updated tests
My largest survey instance test suite, which contains > 1000 tests,
now runs nearly 8 times faster.
2009-05-28 07:24:11 +00:00
Patrick Donelan
d14cf19e9d
Added Survey tests for more question types
2009-05-28 07:23:43 +00:00
Colin Kuskie
83497b773e
Fix Story permissions so that admin need not be turned on.
...
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +00:00
Yung Han Khoe
dc48bd270b
adding some Matrix tests
2009-05-25 15:22:23 +00:00
Colin Kuskie
689e645e51
Forward porting tests with better cleanups.
2009-05-25 04:42:40 +00:00
David Delikat
a054c9de73
added date pagination to EMS schedule table
...
also improved formatting of table
2009-05-24 22:51:39 +00:00
Patrick Donelan
3a25e806c6
Survey bug fixes
...
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00
Colin Kuskie
d3a874dd36
Update AssetExportHtml test to match new API for 7.7
2009-05-21 16:02:37 +00:00
Patrick Donelan
302e217e7a
Survey test suite added support for checking answer properties
2009-05-21 08:22:11 +00:00
Patrick Donelan
f55559e124
Survey: fixed subtle bug in testing of answers with recordedAnswer set to q{}
2009-05-21 08:21:54 +00:00
Patrick Donelan
d246454b2f
Survey: fixed bugs in handling of test setup & Slider question type
2009-05-21 08:21:35 +00:00
Patrick Donelan
8baf09948e
Fixed bug where ResponseJSON was not properly resetting between
...
tests. Refactored out reset() sub to make it easy for people to
achieve reliable resetting of rJSON objects.
2009-05-21 08:21:17 +00:00
Colin Kuskie
558fba2f6a
Cleanup in Post tests. Set skipNotification to prevent emails from being queued during the tests.
2009-05-20 03:29:17 +00:00
David Delikat
0fb2b7775d
added EMS Schedule table
2009-05-20 02:51:44 +00:00
Colin Kuskie
8de4e6fed2
Clean up changes to admin user, who has no friends.
2009-05-20 01:32:04 +00:00
Colin Kuskie
f06b8c08fb
In Thread tests, too.
2009-05-20 00:59:20 +00:00
Colin Kuskie
9d1829d5f5
Prevent emails from being sent out during the creation of assets.
2009-05-20 00:58:11 +00:00
Patrick Donelan
59329e9718
Survey tweaks
...
Added Survey 'Tagged' question type, which builds its answers dynamically from tagged data
Made Survey test suite more forgiving about JSON parsing
2009-05-19 02:45:45 +00:00
Patrick Donelan
a9638ae691
Survey: Let them eat sort
2009-05-19 02:45:26 +00:00
Patrick Donelan
9cbd30c3d8
Refactored Survey test suite diagnostics etc..
2009-05-17 08:15:59 +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
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
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
Patrick Donelan
6815cd76aa
Improved handling of Survey restart
2009-05-13 02:10:34 +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
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
Graham Knop
1c1f1c295a
don't clean up default groups
2009-05-07 15:57:11 +00:00
Patrick Donelan
f3ed30d939
Refactored Survey ExpressionEngine tag() util into tag() setter and tagged() accessor.
...
Updated i18n to reflect the fact that min/max/step are used for all numeric types, not just slider.
Also updated textCols/Rows i18n.
2009-05-06 05:53:10 +00:00