Commit graph

37 commits

Author SHA1 Message Date
David Delikat
856cc06d04 merged with HEAD and other interesting changes 2009-03-19 04:12:03 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Yung Han Khoe
a612b56e92 adding grade book view to Survey 2009-01-26 14:57:01 +00:00
Patrick Donelan
fa04344b7d SurveyJSON->update() should iterate over supplied object keys, not
existing object keys. Also applied PBP formatting, fat commas, etc..
2008-12-15 05:52:07 +00:00
Colin Kuskie
931b502666 Update SurveyJSON POD for the new method.
Add legal and header POD for ResponseJSON.
2008-12-06 00:23:17 +00:00
Colin Kuskie
8ea45fe456 Switch to using dclone from Clone::clone due to bugs under
perl 5.10
2008-12-05 04:21:43 +00:00
Colin Kuskie
a50c27de67 add POD, fix a few typos.
Add tests for updateQuestionAnswers
2008-12-04 23:35:40 +00:00
Colin Kuskie
75f6497924 Tests for getEditVars, getEditSectionVars and addAnswersToQuestion.
Add POD.
Fix a bug with setting verbatims in addAnswersToQuestion
2008-12-04 22:01:17 +00:00
Colin Kuskie
24fe2e6dc0 Add tests for getQuestionEditVars.
Refactor out the list of valid question types to make testing easier.
2008-12-04 20:47:42 +00:00
Colin Kuskie
0453f47bc1 Tests for getDragDrop and getAnswerEditVars.
More POD.
2008-12-04 20:18:49 +00:00
Colin Kuskie
d370772762 Make copy use safe references.
Add tests for remove, and copy.
2008-12-03 04:41:38 +00:00
Graham Knop
706b24bcb6 fix some POD errors 2008-12-03 00:33:07 +00:00
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
Colin Kuskie
23f8e48f6d Update POD for several methods.
Make getObject clone data for safety and update tests.
Make newObject always alter $address for consistency and update tests.
2008-12-01 17:39:34 +00:00
Colin Kuskie
377126da8c Add more POD to SurveyJSON.
Add some basic tests for getObject, update and remove.
2008-11-30 04:30:40 +00:00
Colin Kuskie
020c882fb6 Test abusing references in getObject.
More insertObject testing.
More POD.
2008-11-29 17:29:00 +00:00
Colin Kuskie
fe33c87f13 Add tests for insertObject, and a helper method for summarizing the SurveyJSON data structure.
Add POD for insertObject.  Note that splicing beyond the end of the array will generate
a warning.
2008-11-29 05:32:14 +00:00
Colin Kuskie
59cd001bd8 Add POD and Plain Black legal notice. 2008-11-28 05:01:30 +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
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
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
Patrick Donelan
c049c91976 Hack to allow 20 questions per page until we support an arbitrary limit 2008-10-24 03:49:08 +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
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