Commit graph

275 commits

Author SHA1 Message Date
Graham Knop
18993c5924 pod and i18n fixes 2009-05-14 22:12:33 +00:00
Patrick Donelan
f18d4e193e Added crud for Survey test suites 2009-05-14 07:14:38 +00:00
Patrick Donelan
d432d1e115 Added www_showFeedback to Survey so that you can dial up response feedback on demand 2009-05-13 09:22:26 +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
6fc0bf8866 Fix POD syntax errors in Survey.pm 2009-05-13 02:59:00 +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
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
Patrick Donelan
4332b57ba2 Made Survey date picker more i18n-generic until we support proper i18n 2009-05-12 00:21:21 +00:00
Patrick Donelan
9e2cdeca13 Added some tests for Survey visualization 2009-05-11 11:06:55 +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
494efe1cf1 Added Country question type to Survey
Refactored WebGUI::Form::Country so that it can be used to return a list of countries
2009-05-06 02:38:26 +00:00
Kaleb Murphy
c452f92224 Added correct mime type for json returns which were missing it. 2009-04-25 04:50:17 +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
Kaleb Murphy
caffe2751a Preliminary check in for new Survey text number type and validation. 2009-04-17 17:08:42 +00:00
Patrick Donelan
eec6ac3e47 Refactored Edit Survey page to improve UI, fixed some minor bugs,
cleaned up template and css, reduced memory usage
2009-04-17 09:39:52 +00:00
Patrick Donelan
feb17b8acf Improved Edit Survey section list.
Removed unnecessary <br>'s from Section list
Made sections panel resizable
Made current selection highlighted via CSS
2009-04-16 05:18:45 +00:00
Kaleb Murphy
234914c3e2 Survey drag-and-drop now returns the edit box for the item just drug. 2009-04-10 20:03:29 +00:00
Kaleb Murphy
2b2e876b6d Added default question type export function. 2009-04-10 17:27:25 +00:00
Kaleb Murphy
99a1418714 Default Survey Question settings now save 100% of the answer configuration data. This will not affect previous Surveys, but allow new defaults to be more complex if desired. 2009-04-10 16:06:20 +00:00
Colin Kuskie
4a5d907d77 POD Coverage for Event, SQLReport, Survey, Navigation, Article, and Form/HTMLArea 2009-04-10 02:02:07 +00:00
Kaleb Murphy
af00b7a881 Survey summaries now use YUI datatables and charts for extra bling. 2009-04-08 20:03:41 +00:00
Kaleb Murphy
a6a70a46e0 Summaries added to the survey 2009-04-05 19:33:46 +00:00
Kaleb Murphy
cd8402919d Survey summary code, intermediate check in. Zero changes in function. 2009-04-03 17:14:10 +00:00
Colin Kuskie
f07a6c066b Fix broken POD, and add missing POD. 2009-04-02 17:20:04 +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
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
Kaleb Murphy
046dae4f31 Moved multiple choice questions to the data base, and they can now be edited globally from the Survey edito 2009-03-26 21:02:30 +00:00
Kaleb Murphy
cafd31f87a New Question type. Just a Month-Year type with a month drop down and a 4 digit year text box. 2009-03-22 18:18:38 +00:00
Kaleb Murphy
fb8cd3af30 Removed debug sleep 2009-03-16 16:33:46 +00:00
Kaleb Murphy
cc11480d6d Added Edit Survey loading mask to reduce loading confusing on slow connections. 2009-03-16 15:59:20 +00:00
Patrick Donelan
b1b033afa5 Added Survey Workflow onSurveyEndWorkflowId
Fixed username bug
2009-03-15 06:34:37 +00:00
Patrick Donelan
d95a076ac5 Add optional userId param to Survey::responseId so that you can create a
response for a specific user (not just current user bound to session)
2009-03-15 06:34:15 +00: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
Kaleb Murphy
0db9be4512 Added goto to sections and questions. Order of precedence is answer, question, then section. 2009-03-09 17:23:06 +00:00
Kaleb Murphy
91b49f96b0 removing trace 2009-02-27 18:39:38 +00:00
Colin Kuskie
b934a59998 Fix Survey hoverhelp and i18n. 2009-02-26 20:48:22 +00:00
Kaleb Murphy
f275024f67 Survey.pm now has surveyJSON as a normal definition property, which is also versioned. Survey Responses are not versioned, so updating a survey can cause errors with ongoing responses. 2009-02-25 18:53:14 +00:00
Colin Kuskie
ae1d89de3b i18n the Survey Asset definition, and add hoverhelp. 2009-02-25 04:47:47 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Patrick Donelan
bc9c66c2fd Fixed template var regression in Survey.pm 2009-02-16 00:13:36 +00:00
Patrick Donelan
7958aefe64 Survey documentation improvements 2009-02-16 00:13:19 +00:00
Kaleb Murphy
a350398f41 Logic is corrected, but the JS should probably be rewritten to be more like the WG PageLayout drag and drop so that it isn't so finicky. 2009-02-13 18:28:52 +00:00
Patrick Donelan
34340e56fb Added Survey::surveyJSON_* convenience methods that auto-persist to the db 2009-02-12 01:07:22 +00:00
Patrick Donelan
d9316f47c4 Made perlcritic a little less grumpy about Survey.pm 2009-02-11 09:28:16 +00:00
Patrick Donelan
5a2f514a5a Added Delete Responses back into Survey template (with i18n) 2009-02-11 09:27:54 +00:00
Patrick Donelan
7128a3d07c More Survey.pm refactoring
Turned getResponseId into a lazy-loading responseId mutator
Added responseIdCookies flag as a workaround for WebGUI::Test::getPage's
lack of cookie support
2009-02-11 09:27:31 +00:00
Patrick Donelan
16c87b9cba Made Survey's responseJSON property lazy-load so that you don't have to
call loadResponseJSON and/or loadBothJSON everywhere
2009-02-11 09:27:10 +00:00
Patrick Donelan
e139136d08 Made Survey->surveyJSON lazy-load so that you don't have to call
loadSurveyJSON() everywhere.
2009-02-11 09:26:50 +00:00
Patrick Donelan
8d7599d781 Moved Survey.pm's "survey" and "response" properties to private hash
vars and added accessors.

So that you don't end up with mind-bending code that looks like:
$survey->survey->{survey}
2009-02-11 09:26:27 +00:00