Commit graph

230 commits

Author SHA1 Message Date
Colin Kuskie
409e3a3f6c Automatically cleanup storage created for export collateral tests. 2009-04-24 22:41:39 +00:00
Colin Kuskie
19f703dc9b Merge with HEAD, 10472 2009-04-24 17:12:17 +00:00
Colin Kuskie
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Patrick Donelan
5e9db959ad Added another Survey ResponseJSON test 2009-04-24 03:43:40 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Patrick Donelan
6c58e1de81 Added Survey meta-targets NEXT_SECTION and END_SURVEY to allow for more
convenient jumping
Improved processGotoExpression tests
2009-04-22 07:19:23 +00:00
Patrick Donelan
99855719d0 Survey bug fixes: Verbatim responses now properly recorded
Added useText option to responseValuesByVariableName so that it can be
used for both branch expressions and [[var]] text substitution correctly
Added extra verbatim handling to [[var]] text substitution
All survey test now pass, except for one involving True/False
multi-chocie bundle, soon to be fixed by updating bundle
2009-04-22 05:16:29 +00:00
Colin Kuskie
f2451e2f7e Add feed support to StoryTopic. 2009-04-22 04:59:23 +00:00
Colin Kuskie
070df97708 tag cloud urls in export mode 2009-04-22 01:20:55 +00:00
Patrick Donelan
c3ea6d4683 Added Survey back button, with option to turn it on/off, tests, and i18n
Noticed that some Survey tests are broken, will fix tomorrow
2009-04-21 07:12:07 +00:00
Colin Kuskie
54aaa673cf exported keyword file tests 2009-04-20 23:09:55 +00:00
Colin Kuskie
d1db12d1e4 Finish export code.
Make the list of assets templatable, since the user can see it.
Beginnings of export collateral tests.
2009-04-20 21:18:24 +00:00
Colin Kuskie
7b3ab664fe test for getStaticKeywordUrl 2009-04-17 17:20:12 +00:00
Colin Kuskie
08c033b2c5 Document how template variables work in export mode.
Change how pagination works when exporting.
Early code for exporting keyword pages.
2009-04-17 17:11:07 +00:00
Colin Kuskie
c439453784 Make rssUrl and atomUrl variables respond to exportMode. 2009-04-16 21:19:17 +00:00
Colin Kuskie
1ddf1b50a4 add export mode for StoryArchive.
Turn off search variables when in export mode.
2009-04-16 19:21:28 +00:00
Colin Kuskie
fbbd63eaa5 Static export for the topic is done. 2009-04-16 17:09:48 +00:00
Colin Kuskie
1a9da53abf Modify tests to use the automatic storage cleanup provided by WebGUI::Test.
Several tests previously leaked storage locations.
2009-04-14 01:54:28 +00:00
Colin Kuskie
c28c7771c3 Top story photo template variables, with i18n, help and tests. 2009-04-13 23:16:53 +00:00
Colin Kuskie
1edaca4ed2 Merge up to 10305 2009-04-13 17:04:23 +00:00
Graham Knop
edca468d50 prevent test from leaking users and surveys 2009-04-10 00:51:44 +00:00
Patrick Donelan
546d48f68b Updated Survey tests to not leave behind versionTag 2009-04-09 04:17:23 +00:00
Patrick Donelan
aa8379188a Survey branch expressions can now resolve score()s and value()s from
other survey instances.
2009-04-09 04:04:39 +00:00
Colin Kuskie
efef611b03 getRssFeedItems for StoryArchive, with tests.
A couple of quick rss/atom url tests.
2009-04-08 22:46:42 +00:00
Colin Kuskie
0f73a20a03 add tests for RSS feeds for the Collaboration 2009-04-08 21:05:07 +00:00
Yung Han Khoe
4f5963757d added tests for Carousel wobject 2009-04-08 17:17:01 +00:00
Colin Kuskie
5e1cf93394 Update StoryTopic tests for CSV Keywords 2009-04-08 16:59:58 +00:00
Colin Kuskie
db0d709b92 Update StoryArchive test for new Keywords CSV. 2009-04-08 16:58:08 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00
Patrick Donelan
a7cb9b031d Made Survey ExpressionEngine disabled by default, controlled via config
file enableSurveyExpressionEngine flag
Added branching based on question score and section score total
Added more tests
2009-04-08 08:12:44 +00:00
Patrick Donelan
9ea4f1cd20 Replaced Survey parseGotoExpression with dedicated ExpressionEngine.
Improved gotoExpression validation error reporting
Added lots more tests
2009-04-08 08:12:14 +00:00
Patrick Donelan
c1b18ea9bb Some fixes to the way Survey handles recordedAnswer, value, etc.. 2009-04-07 07:15:33 +00:00
Colin Kuskie
7a4b6fd68e Remove a duplicate test. 2009-04-02 17:40:06 +00:00
Graham Knop
ca4a9add6d RssFeed fixes and cleanups 2009-04-02 16:24:44 +00:00
Patrick Donelan
c1ac5b9761 Fixed SurveyJSON->questions which was short-changing getGotoTargets 2009-04-02 05:55:23 +00:00
Patrick Donelan
be4133d72c Improved Survey validation messages 2009-04-02 05:04:23 +00:00
Colin Kuskie
b6e980893e Update this test to work with the new RSS Aspect. 2009-04-02 04:41:43 +00:00
Patrick Donelan
654f8d6b72 Rewrote Survey gotoExpression tests now that we have perl power in
expressions
2009-04-02 01:54:21 +00:00
Patrick Donelan
3d70a213cc Made Survey branch expressions eval in safe compartment 2009-04-02 01:53:58 +00:00
Kaleb Murphy
f85c9fa8f8 Rolling back inadverent changes. 2009-03-31 04:12:23 +00:00
Kaleb Murphy
e73a7645a7 Survey now shows warnings if bad goto, bad gotoExpressions, no question text, survey looping,
or no question answers are found.
2009-03-31 04:08:44 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Colin Kuskie
4e2a8bab91 Bump up the version for Clone, since the new version works with
perl 5.10.
Have SurveyJSON use it instead of dclone.
2009-03-30 19:47:27 +00:00
Patrick Donelan
07e03c7b15 Fixed Survey to follow convention that a value of 0 for maxResponsesPerUser
should imply unlimited. Updated tests and docs to match.
2009-03-27 05:12:57 +00:00
Graham Knop
4b5b4b9cb0 test fix 2009-03-27 02:03:18 +00:00
Kaleb Murphy
569151c4ad Fixing the fix that shouldnt have been fixed. 2009-03-26 23:32:01 +00:00
Kaleb Murphy
9c60e75cf7 Text has changed 2009-03-26 23:27:14 +00:00
Graham Knop
f25f9aae25 another test fix 2009-03-26 23:23:29 +00:00
Colin Kuskie
5f1f0a8a11 Close the statement handle. 2009-03-25 01:06:44 +00:00
Yung Han Khoe
a57fc80a18 Added rfe #9098 Thingy thing-copy function and added some context to thingy's i18n 2009-03-24 17:08:33 +00:00