Commit graph

354 commits

Author SHA1 Message Date
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
Brian Medley
e7a3282af3 RSS Limiter 2009-03-23 09:09:48 +00:00
Colin Kuskie
7b6ea1350f Code to delete photos and their data. 2009-03-23 05:11:01 +00:00
Colin Kuskie
e06d53c122 Add top story subtitle to match the spec. 2009-03-19 17:32:48 +00:00
Colin Kuskie
db839e2dc4 Add a template variable to tell if the Topic is viewed standalone by URL, or not. 2009-03-19 16:55:14 +00:00
Colin Kuskie
ea31d52ac0 Add template field to StoryTopic. The same template will be shared between both modes.
Add top story variables, and tests.
2009-03-19 16:43:21 +00:00
Colin Kuskie
49b01b76ec i18 label for StoryTopic help.
View methods for StoryTopic, with tests for template variables and amount of data returned.
2009-03-19 04:07:59 +00:00
Colin Kuskie
abaccb18e0 Refactor out used SQL statements into a statement handle. 2009-03-19 04:06:41 +00:00
Colin Kuskie
dd771bd409 Check for addStoryUrl with the right permissions.
Move all stories into the past, in preparation for filtering out future Stories based
on canEdit.
2009-03-18 18:27:04 +00:00
Colin Kuskie
2bd7a60a01 Merge in HEAD, up to 9866. 2009-03-17 23:45:21 +00:00
Colin Kuskie
f621c1c0eb Make the Shelf set and update the menuTitle, too. 2009-03-17 03:16:52 +00:00
Patrick Donelan
b1b033afa5 Added Survey Workflow onSurveyEndWorkflowId
Fixed username bug
2009-03-15 06:34:37 +00:00
Colin Kuskie
12c5b14ab4 Handle different random sort orders on different machines. 2009-03-12 21:12:21 +00:00
Patrick Donelan
5da0379f99 Updated SurveyJSON tests to recognise goto[Expression] on Section and Question 2009-03-11 15:29:04 +11:00
Patrick Donelan
7ec5cab126 Merge branch 'master' into survey
* master: (121 commits)
  Fix a POD typo.
  correct inbox message from user preface
  Fix a typo in the Default gallery view template
  Documentation bug in buildArrayRefOfHashRefs
  changed screenshots in Matrix Listing view to popup
  matrix privileging fixes
  Fix an i18n typo in the Post user defined variables.
  Remove debugging code.
  approval workflow fix
  matrix upgrade and privileging fixes
  fixed: Template parser cannot be set
  forward porting gallery bug fixes
  preparing for 7.7.0 dev
  parser should be a selectbox, not a selectlist.
  labeling survey as beta
  fixeding my borkes to the changelog
  fixed #9852: Users can accept private messages from Visitor, but Visitor cannot send messages
  preparing for 7.6.14 release
  fix AdSpace, Ad tests
  Restore the original properties for the profile category that was modified for test.
  ...

Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.6.10-7.6.11.pl
	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/SurveyJSON.pm
2009-03-11 15:26:07 +11:00
Colin Kuskie
40e068e0fb Search interface, in addition to the default view and the keywords view. 2009-03-09 23:23:34 +00:00
Colin Kuskie
9487b7d4ac Complete rework of Story autocommit.
Tests for status of Stories that have been autocommitted.
Keyword search interface with UI and tests.
2009-03-09 20:59:28 +00:00
Colin Kuskie
925a218224 keyword tag cloud for StoryArchive, with tests 2009-03-06 17:17:21 +00:00
Colin Kuskie
17b124c39f Change how the view template variables work. It no longer appends, viewTemplateVars
makes them all.
2009-03-05 20:43:57 +00:00
Colin Kuskie
04105713f0 merge back with HEAD for 7.7.0 2009-03-05 16:19:12 +00:00
Colin Kuskie
cff0a9ae9d Templates for archive, and edit story.
Added switches and URLs for adding stories.
Fixed date problems in the date_loop.
Fixed an autocommit issue with folders when there's no currently open version tag.
2009-03-05 00:15:20 +00:00
Colin Kuskie
df4d6efb10 Tests for StoryArchive view variables. 2009-03-04 00:01:37 +00:00
Graham Knop
d7649d3212 survey test fix 2009-03-03 17:07:53 +00:00
Colin Kuskie
bd59ac6006 Test adding children, along with automatically adding folders. 2009-03-03 00:36:12 +00:00
Colin Kuskie
716ef998a7 Add methods for creating and getting date specific folders below the Archive for
holding stories.  With tests.
Code for the approval workflow for stories.
2009-03-02 16:49:26 +00:00
Colin Kuskie
2ce2155321 test canPostStories method 2009-02-28 00:56:38 +00:00
Colin Kuskie
2345c6a2d1 Test Skeletons for Story Archive and Topic Wobjects. 2009-02-27 23:48:28 +00:00