Commit graph

1756 commits

Author SHA1 Message Date
Colin Kuskie
98294e4e78 Add tests for nextSectionid, nextSection, currentSection.
Add more POD to ResponseJSON
2008-12-12 00:36:08 +00:00
Colin Kuskie
c60393e44a Tests for createSurveyOrder and shuffle.
POD for several methods.
2008-12-12 00:03:16 +00:00
Colin Kuskie
1c1f01d473 Change ResponseJSON to use a proper mutator for startTime.
Add tests for startTime.
Survey uses the accessor, and no longer needs to manually set startTime.
2008-12-11 19:45:19 +00:00
Yung Han Khoe
040da6f327 added tooltips to Matrix attributes 2008-12-11 14:55:22 +00:00
Colin Kuskie
bb5ced3e0d remove Combo from Thingy, and let it autodetect List type form fields like the dataform does 2008-12-10 17:03:25 +00:00
Graham Knop
b0a2a3971d fixing misuse of pod for commenting out code 2008-12-10 05:46:16 +00:00
Colin Kuskie
08bf6b5147 Flesh out the ResponseJSON test more. Add POD. 2008-12-10 02:25:42 +00:00
Yung Han Khoe
1a67df91bc Making Matrix edit listing screen templatable 2008-12-09 15:17:20 +00:00
Colin Kuskie
415221fb4d Forward port Calendar location field fix in ical. 2008-12-09 04:29:22 +00:00
Yung Han Khoe
77aefb85e6 fixed #9219: Thingy After Save Search This Thing not showing all rows 2008-12-07 17:25:17 +00:00
Yung Han Khoe
8ba4f6ef70 More Matrix bugfixes 2008-12-07 13:10:08 +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
Kaleb Murphy
3671e80bea terminal sections now work correctly 2008-12-05 23:53:11 +00:00
Kaleb Murphy
4d1f311c42 Fixed hasTimeLimit to work with the new storage location of the time limit. 2008-12-05 21:43:15 +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
Patrick Donelan
71c56e1fcc Survey bug fix - showProgress, showTimeLimit and timeLimit should not be
stored at the response level (they are global to asset instance)
2008-12-04 00:52:45 +00:00
Colin Kuskie
49cbf11ed2 forward porting UserList profile field name bug fix 2008-12-03 22:39:11 +00:00
Yung Han Khoe
6f634a44c2 matrix bugfixes and code improvements 2008-12-03 10:34:07 +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
Graham Knop
0957247dbc removing WSClient 2008-12-03 00:32:58 +00:00
Colin Kuskie
a71e494d34 Fix Calendar copy behavior. By default, duplicate will only copy
the Calendar.  duplicateBranch must be called to copy it _and_ its
children.
2008-12-03 00:02:01 +00:00
Colin Kuskie
1fb383ec73 forward porting ems badge viewing permission fix 2008-12-02 19:07:40 +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
Yung Han Khoe
a4207e7ec5 fixed a bug in Matrix deleteAttribute method 2008-12-02 11:18:02 +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
Yung Han Khoe
e085eff6af fixed UserList 2008-12-01 10:11:24 +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
Colin Kuskie
27d7a73e53 Internationalize a Thingy template
Add a link from the manage screen back to the default view.
2008-11-27 02:33:08 +00:00
Yung Han Khoe
f0c0c4042d Fixed some Matrix bugs 2008-11-26 17:39:46 +00:00
JT Smith
ee84cc7611 Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Kaleb Murphy
06d904eff2 www_deleteResponse should only delete the response from this asset, not all assets 2008-11-25 19:01:32 +00:00
Yung Han Khoe
b0204d51d6 Matrix bugfixes and code cleanup 2008-11-25 16:54:36 +00:00
Yung Han Khoe
ee2e0ad48d Added Matrix tests, fixed some bugs 2008-11-25 07:50:50 +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
e2101ad8d2 Products imported by the Shelf do not have good URLs. 2008-11-24 22:19:06 +00:00
Colin Kuskie
46bdde94c3 fix misspelled template in Survey code 2008-11-24 22:06:49 +00:00
Yung Han Khoe
2a06e088f8 Added some Matrix international, fixed some bugs 2008-11-24 17:42:41 +00:00
Graham Knop
5c4ba42feb use correct comparison for cutting off layout position list 2008-11-24 16:55:04 +00:00
Graham Knop
151819f59a restructured page layout prepareView, view 2008-11-24 16:22:49 +00:00
Yung Han Khoe
ac0032fedf Adding Matrix templates, updating Matrix international 2008-11-24 16:00:14 +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
Graham Knop
a8614275eb fixed: DataForm times out when exporting large data sets 2008-11-24 04:03:14 +00:00