Kaleb Murphy
5127a307b7
Minor fix. JSON no longer assumes proper utf8, but uses whatever off-brand locale a luser wants to use.
2008-12-02 16:03:23 +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
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
1d5859631c
Used WG perltidyrc to clean up files
2008-11-14 14:49:48 +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
Kaleb Murphy
70a0a422b7
Removed all instances of srand. This is called implicitily by rand and be dangerous if called mulitple times by the same process.
2008-11-10 21:53:30 +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
69475e53ba
preparing for merge
2008-11-06 20:13:44 +00:00
Kaleb Murphy
76b1f55225
prepping for merge
2008-11-06 19:44:28 +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
Kaleb Murphy
5b8a1df90e
Fixed end of survey bug. Now previous answer fill in workds [[gotparam]], branching, and all question types but uploaded files all work. Need to finish reports, upgrade script from V1.0, copy and paste, add point values to answers and questions in the edit templates, and figure out what all methods a proper core wobject should allow.
2008-10-20 03:49:17 +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
Patrick Donelan
afde10109f
Minor fixes (typo and unnecessary hash dereference)
2008-10-15 01:03:13 +00:00
Kaleb Murphy
ccd1deaef8
minor changes
2008-10-14 21:20:05 +00:00