Commit graph

152 commits

Author SHA1 Message Date
Patrick Donelan
b7520da07d Merge commit 'tags/WebGUI_7.6.8-beta' into survey-rfe
* commit 'tags/WebGUI_7.6.8-beta': (96 commits)
  Release 7.6.8-beta
  preparing for 7.6.8 release
  convert to new storage format
  fixing photo comment test
  fixed: Syndicated Content corrupts wide characters
  Add the WikiPage to the list of contributions shown in the Account Contributions tab.
  added #!/usr/bin/env perl to all utility scripts
  Forward port i18n fix for Gallery Album RSS list.
  Fix some Survey i18n typos in the time limit hoverhelp.
  Large batch of Help and i18n.  Also, make sure that the
  Fix a typo in the i18n help for the ITransact Pay Driver.
  Correct dataform captcha variable name in the help.
  Forward porting expanded patch for handling deleted things.
  Have Thingy check for existance of table and column to prevent
  Fix linking to other things and autocreating the form field for it.
  Update test to match fixed code.
  Remove the warnings pragma
  Only resize photos if they are larger than the Gallery resolutions.
  Fix a syntax error made in the i18n of the search button.
  I18n'ed a submit button in the manage transactions screen.
  ...

Conflicts:

	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/SurveyJSON.pm
	www/extras/wobject/Survey/editsurvey.js
	www/extras/wobject/Survey/editsurvey/object.js
2009-01-14 06:00:06 +00:00
Patrick Donelan
63e74f14f4 Added "Preview" button for survey builders 2009-01-09 07:13:15 +00:00
David Delikat
d0b8dd17bc Survey 2.0 - "Cancel" button not working as expected (#9217)
added call to 'loadSurvey' after 'cancel'
also added code in 'loadSurvey' to allow for a refresh without
displaying an edit window.
2008-12-19 16:11:03 +00:00
Yung Han Khoe
7539246e9d implemented Survey final page detection (#9199) 2008-12-18 12:33:20 +00:00
Kaleb Murphy
5741d71445 Corrected survey timeout issues. 2008-12-17 14:46:54 +00:00
Patrick Donelan
fc3851705a Implemented Survey branching expressions (#9233). Woot! 2008-12-15 10:25:44 +00:00
Patrick Donelan
4fe81a69f6 Implemented Survey Jump-to combo box (#9202)
You will need to manually import survey_rfe_9202 until this branch is
merged back into trunk.
2008-12-15 03:42:39 +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
Kaleb Murphy
4d1f311c42 Fixed hasTimeLimit to work with the new storage location of the time limit. 2008-12-05 21:43:15 +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
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
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