Commit graph

56 commits

Author SHA1 Message Date
Yung Han Khoe
6598ca8854 rfe 9197: Survey timeout handling 2009-01-19 12:49:20 +00:00
Yung Han Khoe
2584482fcf applied changes for rfe 9200 to later version of object.js 2009-01-16 14:23:30 +00:00
Yung Han Khoe
f4dab79093 Rfe 9201: Make Survey textAreas yui resizable 2009-01-15 15:51:39 +00:00
Yung Han Khoe
46cca4fae1 rfe 9200: Survey Text/TextArea handling 2009-01-15 14:17:40 +00:00
Patrick Donelan
723d39df79 Removed unused function from editsurvey.js 2009-01-15 09:18:01 +00:00
Patrick Donelan
d5f6d8603e Fixed a few js memory leaks in EditSurvey page (SimpleEditor appears to
have a memory leak of its own which we either need to get fixed or
work-around).
2009-01-15 09:12:06 +00:00
Patrick Donelan
42ce45f825 More code from flux branch 2009-01-14 06:14:52 +00:00
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
021bac39ec Refactored editsurvey js 2009-01-09 07:13:35 +00:00
Patrick Donelan
63e74f14f4 Added "Preview" button for survey builders 2009-01-09 07:13:15 +00:00
Patrick Donelan
8a4f26215a Handle Survey qs without answers even more gracefully (e.g. by not
breaking)
2009-01-09 03:37:32 +00:00
Patrick Donelan
11ff75f778 Gracefully handle Survey question with no answers 2009-01-09 03:27:17 +00:00
Patrick Donelan
47d16d3baa Combined the folllowing RFE packages into a single Survey folder
package:

rfe-9202
* Default Answer Edit
* Default Survey Edit
* Default Answer Edit

rfe-9199
* Default Questions

rfe-9198
* Default Answer Edit
* Default Question Edit
* Default Section Edit

Also cleaned up invalid html mark-up in Section/Question/Answer edit
templates
2009-01-08 06:22:37 +00:00
Patrick Donelan
c402227d16 Removed SimpleEditor title, improved handling of editor window when it
is bigger than viewable screen
2009-01-08 03:15:05 +00:00
Patrick Donelan
1823bdefe3 Deleted unused js files 2009-01-08 03:14:47 +00:00
Yung Han Khoe
c47a6fb466 rfe 9198: Turn Survey Edit Section/Question/Answer fields into RTEs 2009-01-06 13:23:52 +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
Patrick Donelan
e505238fc7 Nuked console.log() so that js doesn't break in non-FFx browsers 2008-12-17 03:17:50 +00:00
Patrick Donelan
8e7f378f4f Nuked console.log() so that js doesn't break in non-FFx browsers 2008-12-17 03:16:00 +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
Kaleb Murphy
36253e8a07 When an edit is submitted the edit screen no longer shows up 2008-12-05 23:09:15 +00:00
Patrick Donelan
ec674dd5f4 Flagging of invalid Survey fields now uses CSS classes instead of <font> tags
(for skinnability)
2008-12-04 03:37:59 +00:00
Patrick Donelan
5083085abb Fixed some curly Survey js type casting bugs so that
questionsOnSectionPage, everyPageText and everyPageTitle work as
expected.
2008-12-04 01:19: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
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +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
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
edd6eb4c38 preparing for merge 2008-11-06 20:18:12 +00:00
Kaleb Murphy
a907495f0b administersurvey.js small updates merged 2008-10-27 13:50:52 +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
Patrick Donelan
a4afde5786 Changed console.log() calls to YAHOO.log() 2008-10-16 02:52:22 +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
c812705537 Editor is 98% finished. (still wrapping up final bits on drag and drop) 2008-09-29 17:55:21 +00:00
Kaleb Murphy
92c87ca9b8 added object.js 2008-09-26 02:06:41 +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
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
Kaleb Murphy
6832eacc7c Whups, windows.scrollTo on wrong line. 2008-05-21 16:34:56 +00:00
Kaleb Murphy
d7f38c4e37 Removed auto-submit on 1 MC question per page. Added scroll to top of page on submit. 2008-05-21 15:58:25 +00:00
Kaleb Murphy
355decc7c3 Added warning message on required slider allocates for how much left is required. Also removed slider animation as there appears to be a motion bug where the bug can slide further than asked for. 2008-05-16 21:42:52 +00:00
Kaleb Murphy
ec8d1de4f8 Slider write ins now more accurate 2008-05-14 19:16:14 +00:00
Kaleb Murphy
9bad426c49 Added 500ms delay during 1 button page clicks. 2008-05-12 13:58:52 +00:00
Kaleb Murphy
e3bef2b5d7 IE problems apparently resolved, and slider and multi-slider allocate accuracy made bullet-proof. 2008-05-08 20:06:13 +00:00
Kaleb Murphy
d6cfcd4381 Added IE7 compat in administersurvey.js for class changes. 2008-05-08 14:21:03 +00:00
Kaleb Murphy
77fc16d97f Major updates to spec 2008-05-06 14:56:29 +00:00
Kaleb Murphy
bb891242a4 Last checkin before major changes to buttons 2008-04-30 14:13:49 +00:00
Kaleb Murphy
93bbf128ca minor bug fixes 2008-04-25 19:52:11 +00:00