Commit graph

71 commits

Author SHA1 Message Date
Patrick Donelan
beb9b77440 Added Survey www_runTests to run and aggregate all tests
Added more i18n
2009-05-21 08:22:29 +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
Patrick Donelan
f18d4e193e Added crud for Survey test suites 2009-05-14 07:14:38 +00:00
Colin Kuskie
a422539c8c Fix a missing help title for the Survey. 2009-05-13 22:55:39 +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
Patrick Donelan
c9861bdf8f More Survey refactoring
refactored out repetitive checking of takenCount
added i18n template variables to Survey template so that user is told what happened for timeouts etc..
2009-05-13 02:10:57 +00:00
Patrick Donelan
b12906a777 Added Survey Visualization
Does nothing if GraphViz module not installed (the default until wre 0.9.3)
Shows sections and questions as nodes, answers as edges.
Branch targets also show up as edges
Branch expression edges are currently disabled
2009-05-11 10:21:14 +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
Colin Kuskie
efd20f86a4 Fix an i18n typo in the survey exitURL hover help. 2009-05-06 22:05:06 +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
Kaleb Murphy
54063ae9f6 Survey sections now have logical section type, which is never shown to the user, only used for silently checking gotos. 2009-04-30 20:43:23 +00:00
Graham Knop
3d35cbfc8e fix syntax and help issues 2009-04-23 16:22:28 +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
Patrick Donelan
9c228e2c83 Improved Survey "Year Month" validation 2009-04-21 03:32:27 +00:00
Patrick Donelan
a6a1cd9c07 Added internationalized labels to Survey "Year Month" question type 2009-04-21 03:10:11 +00:00
Patrick Donelan
571ca5db06 Fixed small bug in Survey validation where invalid branch expressions
wouldn't be shown
Improved and i18n'ed Survey validation warning container
2009-04-09 07:57:37 +00:00
Patrick Donelan
aa7a20b4f2 Made Survey use question default score if answer score undefined,
updated hoverHelp
2009-04-09 05:38:49 +00:00
Patrick Donelan
f1f40bc129 Updated Survey help (recordedAnswer, Answer Score, etc..)
Fixed behaviour of Survey Question textInButton
2009-04-09 05:38:22 +00:00
Kaleb Murphy
97759d92a0 Survey quiz mode sentence is not a question. 2009-04-06 15:16:25 +00:00
Kaleb Murphy
a6a70a46e0 Summaries added to the survey 2009-04-05 19:33:46 +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
Colin Kuskie
f15bb8558d Restoring i18n that was lost for the Survey. 2009-03-12 20:52:19 +00:00
Patrick Donelan
1f6ee6f595 Cleaned up Survey i18n 2009-03-11 15:43:20 +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
JT Smith
f6e8d939ee labeling survey as beta 2009-03-04 17:12:03 +00:00
Colin Kuskie
ae1d89de3b i18n the Survey Asset definition, and add hoverhelp. 2009-02-25 04:47:47 +00:00
Patrick Donelan
5a2f514a5a Added Delete Responses back into Survey template (with i18n) 2009-02-11 09:27:54 +00:00
Patrick Donelan
ba6764065b Added Survey Template i18n and hoverhelp 2009-02-11 09:25:17 +00:00
Patrick Donelan
25a6fc5e76 Added 'max responses per user' i18n and hoverhelp 2009-02-11 09:24:39 +00:00
Patrick Donelan
73c02b6803 Part-way through merging Survey features from trunk
Cleaned up Survey Edit screen, hover help, layout etc..
Added "jump to" AutoComplete box on Section Edit dialog (as per Answer
Edit dialog)
N.B. "take survey" is currently broken, but will be easy to fix
2009-02-10 08:00:18 +00:00
Patrick Donelan
b0c5c09461 Merge branch 'master' into survey
* master: (127 commits)
  Prefill in the email address in the ITransact credentials form from the user's Shop address.
  fixed Matrix best/worst rated lists
  Fix bad form variable for phone number in EMS Badge address info.
  - Added a switch to allow the use of non-WebGUI objects with the Workflow
  fixing a problem with previous survey fix
  fixed #9671: Survey - breaks admin bar
  fixed a Matrix sql problem
  i18n the image labels and title for the asset manager, manage screen.
  Prevent an imported package from changing the a current asset's status from pending to anything else.
  Remove trailing comma in Shop/Transaction JS so IE6 works.
  fixed documentation
  fixed a bug when a matrix listing didn't have a forum attached
  small char encoding fix to merged upgrade
  fix small issue in addChild
  adding merge point
  Fix a problem with purging an EMS.
  Update this template so that it passes the template i18n test.
  Fix a broken i18n label in answer edit template for the Survey.
  Unify all Survey CSS into 1 file, and use it.
  Adding/fixing Survey i18n and Help
  ...

Conflicts:
	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/ResponseJSON.pm
	lib/WebGUI/i18n/English/Asset_Survey.pm
	www/extras/wobject/Survey/editsurvey/object.js
2009-02-10 07:57:42 +00:00
Yung Han Khoe
71e7db62c6 Adding/fixing Survey i18n and Help 2009-02-05 22:29:36 +00:00
Colin Kuskie
b8b2a38ef5 Fix the exitURL redirection when a survey is completed and the site uses a gateway url. 2009-02-04 02:22:21 +00:00
Colin Kuskie
512b672ac6 Fix a few broken help entries. 2009-02-03 01:46:12 +00:00
Yung Han Khoe
df7de822ff Adding help for Survey Questions template 2009-01-29 23:17:29 +00:00
Yung Han Khoe
1d0db51904 Updating Survey Help, more to come. 2009-01-29 16:40:11 +00:00
Yung Han Khoe
57b3d4cbc2 added Statistical overview screen to survey 2009-01-28 15:22:50 +00:00
Yung Han Khoe
a612b56e92 adding grade book view to Survey 2009-01-26 14:57:01 +00:00
Yung Han Khoe
05e563f79d Adding hoverhelp to Survey's edit answer dialog 2009-01-23 16:25:57 +00:00
Yung Han Khoe
f78886e3d7 Adding hoverhelp to the Survey's edit question dialog. 2009-01-23 13:21:52 +00:00
Colin Kuskie
4437c2704c i18n and hoverhelp for the definition 2009-01-23 05:34:27 +00:00
Yung Han Khoe
16452c0677 Adding hoverhelp to Survey Edit Section dialog 2009-01-22 18:23:01 +00:00
Yung Han Khoe
6598ca8854 rfe 9197: Survey timeout handling 2009-01-19 12:49:20 +00:00
Patrick Donelan
b7520da07d Merge commit 'tags/WebGUI_7.6.8-beta' into survey-rfe
* commit 'tags/WebGUI_7.6.8-beta': (96 commits)
  Release 7.6.8-beta
  preparing for 7.6.8 release
  convert to new storage format
  fixing photo comment test
  fixed: Syndicated Content corrupts wide characters
  Add the WikiPage to the list of contributions shown in the Account Contributions tab.
  added #!/usr/bin/env perl to all utility scripts
  Forward port i18n fix for Gallery Album RSS list.
  Fix some Survey i18n typos in the time limit hoverhelp.
  Large batch of Help and i18n.  Also, make sure that the
  Fix a typo in the i18n help for the ITransact Pay Driver.
  Correct dataform captcha variable name in the help.
  Forward porting expanded patch for handling deleted things.
  Have Thingy check for existance of table and column to prevent
  Fix linking to other things and autocreating the form field for it.
  Update test to match fixed code.
  Remove the warnings pragma
  Only resize photos if they are larger than the Gallery resolutions.
  Fix a syntax error made in the i18n of the search button.
  I18n'ed a submit button in the manage transactions screen.
  ...

Conflicts:

	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/SurveyJSON.pm
	www/extras/wobject/Survey/editsurvey.js
	www/extras/wobject/Survey/editsurvey/object.js
2009-01-14 06:00:06 +00:00
Colin Kuskie
2765e61457 Fix some Survey i18n typos in the time limit hoverhelp. 2009-01-05 22:05:46 +00:00
Patrick Donelan
fc3851705a Implemented Survey branching expressions (#9233). Woot! 2008-12-15 10:25:44 +00:00
Kaleb Murphy
5782fe1e15 Added timelimit option to Survey 2008-11-23 23:54:35 +00:00
Patrick Donelan
7015593fba Updated Survey Overview template to show links to reporting urls.
Also updated i18n to include missing labels for reporting urls.
2008-11-21 07:42:54 +00:00
Graham Knop
48b4ba1fc8 adding survey back in 2008-11-12 03:24:49 +00:00
Graham Knop
151e705286 Backing out Survey for now 2008-11-12 02:40:27 +00:00