Commit graph

141 commits

Author SHA1 Message Date
Kaleb Murphy
06d904eff2 www_deleteResponse should only delete the response from this asset, not all assets 2008-11-25 19:01:32 +00:00
Patrick Donelan
31dec565b7 Refactored JS to use module pattern for proper encapsulation
Extensive jslinting to improve cross-browser support
Added some debugging statements
Fixed redirection to exitUrl when survey complete
Added www_deleteResponses
Added security restrictions on www_ methods
2008-11-25 06:33:55 +00:00
Colin Kuskie
46bdde94c3 fix misspelled template in Survey code 2008-11-24 22:06:49 +00:00
Kaleb Murphy
bf7c3505d7 Survey now has fully functioning time limits, can show limits to users, and can show progress 2008-11-24 15:20:13 +00:00
Kaleb Murphy
ad022c6699 Added Survey time limit code. This is only at the survey level and sends the user to the survey end settings. Probably need to allow for a special timeout message. 2008-11-24 02:59:02 +00:00
Kaleb Murphy
5782fe1e15 Added timelimit option to Survey 2008-11-23 23:54:35 +00:00
Patrick Donelan
cf96ad484a Added missing groupToEditSurvey Survey table field to upgrade script
Reduced YUI footprint (load -min and combined js/css files where possible)
Updated surveyQuestion template and associated js/css to not use divs with ids that clash with wg page header and footer
2008-11-21 06:23:28 +00:00
Kaleb Murphy
1cc87c159b Thingy now has a copy thing data option. 2008-11-18 21:37:56 +00:00
Kaleb Murphy
3bc7fdb3cb Take survey now uses the site style. 2008-11-18 00:47:19 +00:00
Kaleb Murphy
1d5859631c Used WG perltidyrc to clean up files 2008-11-14 14:49:48 +00:00
Patrick Donelan
564b4e90d1 Added skeleton Survey2 test file.
Changed debug logging from ERROR level to DEBUG
2008-11-13 22:39:29 +00:00
Kaleb Murphy
02d76504a6 Removed some debug statements and perltidied the code 2008-11-13 18:59:01 +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
Graham Knop
6c0688add2 clean up pod, syntax, warning problems 2008-11-12 01:17:22 +00:00
Kaleb Murphy
68f772cd56 Some idiot (me) cut off a really important line of code when cleaning up this file. 2008-11-07 19:29:54 +00:00
Colin Kuskie
adfd894b50 fix POD whitespace problem in Survey.pm 2008-11-07 06:51:12 +00:00
Kaleb Murphy
b7b6f7e659 The Survey pm file 2008-11-06 21:57:22 +00:00
Kaleb Murphy
1dd08e25c9 The new survey is here. Make sure to wg-reset your test instances to get the new DB schema. 2008-11-06 20:48:18 +00:00
Kaleb Murphy
d8bc8f1520 preparing for merge 2008-11-06 20:18:23 +00:00
Kaleb Murphy
4c82eb9b61 Add new report table (and sql file), and the survey now does reporting. 2008-10-24 21:38:03 +00:00
Patrick Donelan
265b464091 Made Survey2 asset-copy-aware too 2008-10-24 06:34:33 +00:00
Patrick Donelan
ca3a2d3421 Made surveyJSON package-aware 2008-10-24 06:10:48 +00:00
Patrick Donelan
efa370825c Minor bugfix 2008-10-23 23:50:53 +00:00
Patrick Donelan
4e5a3c9e4d Set application/json Content Type header on JSON responses 2008-10-23 23:30:25 +00:00
Kaleb Murphy
5afae6de85 You can now copy sections and questions. And if I correctly understand how to bundle asset packages, all the new template changes are included. 2008-10-20 16:17:25 +00:00
Kaleb Murphy
ff2ecaa8fc Branching now works, but now it isn't recognizing the end of the survey properly. Will be easy fix tomorrow. 2008-10-20 03:35:40 +00:00
Kaleb Murphy
5974531eeb Survey exports now redirect to a temp file rather than streaming a tab file. This is to get around an IE6 bug. 2008-10-15 18:42:18 +00:00
Patrick Donelan
afde10109f Minor fixes (typo and unnecessary hash dereference) 2008-10-15 01:03:13 +00:00
Kaleb Murphy
32e4208a0c minor changes 2008-10-14 21:17:34 +00:00
Kaleb Murphy
c2fc74ae85 Need to finish the template packages, reports, fix up a small branching issue, copying, and an upgrade path. 2008-10-14 03:07:53 +00:00
Kaleb Murphy
2de1d83d65 Editor is done except for prettifying it, but you can now build a survey with the new data layer 2008-09-30 19:25:38 +00:00
Kaleb Murphy
9c5082f450 minor changes to drag and drop 2008-09-30 16:26:33 +00:00
Kaleb Murphy
c812705537 Editor is 98% finished. (still wrapping up final bits on drag and drop) 2008-09-29 17:55:21 +00:00
Kaleb Murphy
ac14d55b18 minor changes 2008-09-26 14:18:36 +00:00
Kaleb Murphy
5174824b5f Finishing up editor 2008-09-26 02:06:21 +00:00
Kaleb Murphy
38c7ee33c4 Moving edit screens to be template based for i18n (almost done with editor. 2008-09-25 02:09:22 +00:00
Kaleb Murphy
e81accaa15 Really dont use this copy 2008-09-24 15:29:51 +00:00
Kaleb Murphy
c4f939f306 Hah, it ah, doesnt throw errors upon modperl start and ah, the editor, ah, kind of works, and err. ah, the JSON is 99% working, with objects instantiating themselves correctly then serializing themselves as appropriate. Definitely not a working version though. 2008-09-24 01:30:57 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Kaleb Murphy
7864ec1b35 template vars altered 2008-05-08 20:06:57 +00:00
Kaleb Murphy
afd395ebb6 Added randomize answers functionality (how was this missing?) 2008-05-08 13:48:52 +00:00
Kaleb Murphy
ecf9101ac8 Major updates to spec 2008-05-06 14:56:44 +00:00
Kaleb Murphy
17ab81bc23 minor bug fixes 2008-04-25 19:50:58 +00:00
Kaleb Murphy
f565772e21 Allowed text box sizes to be set, fixed hidden sliders breaking, random text in question text bug fixed, single question button continue working, randomized weirdness on section random question resolved, answer text on multi-slider questions resolved, can have generic scale questions now, removed useless 'previous Text Answer Fill' dialog 2008-04-24 21:01:23 +00:00
Kaleb Murphy
18b00e0a2f 4 scales moved back to MC 2008-04-23 18:11:07 +00:00
Kaleb Murphy
29d4017b41 Adding multiple choice subclass of scale type questions, only difference is answer text location (above button). 2008-04-23 16:59:05 +00:00
Kaleb Murphy
5e1124d01d Next Question Bug fixed 2008-04-22 15:59:35 +00:00
Kaleb Murphy
121be1e46c Same features as last commit 2008-04-22 01:26:12 +00:00
Kaleb Murphy
bf4a25c206 Importing new Survey.pm 2008-04-19 18:51:28 +00:00