Commit graph

140 commits

Author SHA1 Message Date
Kaleb Murphy
4ecc0b7679 removing traces 2009-03-09 17:23:33 +00:00
Kaleb Murphy
0db9be4512 Added goto to sections and questions. Order of precedence is answer, question, then section. 2009-03-09 17:23:06 +00:00
Kaleb Murphy
6720ce5efb Drag and drop functionality vastly improved in usability. 2009-02-17 15:25:10 +00:00
Patrick Donelan
c58a6ab2fb Removed hard-coding of multi-choice bundles from administersurvey.js
Refactored long, nested if-else
2009-02-16 01:22:04 +00:00
Patrick Donelan
3601dfe89e Re-applied Survey cancel button fix from merge 2009-02-11 09:24:19 +00:00
Patrick Donelan
73c02b6803 Part-way through merging Survey features from trunk
Cleaned up Survey Edit screen, hover help, layout etc..
Added "jump to" AutoComplete box on Section Edit dialog (as per Answer
Edit dialog)
N.B. "take survey" is currently broken, but will be easy to fix
2009-02-10 08:00:18 +00:00
Patrick Donelan
b0c5c09461 Merge branch 'master' into survey
* master: (127 commits)
  Prefill in the email address in the ITransact credentials form from the user's Shop address.
  fixed Matrix best/worst rated lists
  Fix bad form variable for phone number in EMS Badge address info.
  - Added a switch to allow the use of non-WebGUI objects with the Workflow
  fixing a problem with previous survey fix
  fixed #9671: Survey - breaks admin bar
  fixed a Matrix sql problem
  i18n the image labels and title for the asset manager, manage screen.
  Prevent an imported package from changing the a current asset's status from pending to anything else.
  Remove trailing comma in Shop/Transaction JS so IE6 works.
  fixed documentation
  fixed a bug when a matrix listing didn't have a forum attached
  small char encoding fix to merged upgrade
  fix small issue in addChild
  adding merge point
  Fix a problem with purging an EMS.
  Update this template so that it passes the template i18n test.
  Fix a broken i18n label in answer edit template for the Survey.
  Unify all Survey CSS into 1 file, and use it.
  Adding/fixing Survey i18n and Help
  ...

Conflicts:
	lib/WebGUI/Asset/Wobject/Survey.pm
	lib/WebGUI/Asset/Wobject/Survey/ResponseJSON.pm
	lib/WebGUI/i18n/English/Asset_Survey.pm
	www/extras/wobject/Survey/editsurvey/object.js
2009-02-10 07:57:42 +00:00
Yung Han Khoe
16452c0677 Adding hoverhelp to Survey Edit Section dialog 2009-01-22 18:23:01 +00:00
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
Yung Han Khoe
5edad76d21 added lastUpdated and version to Matrix compare screen 2008-12-16 14:04:30 +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
Yung Han Khoe
ba24497686 matrix compare screen bugfix 2008-12-12 16:36:19 +00:00
Yung Han Khoe
80d7ac6ae1 matrix bug fixes 2008-12-12 12:20:54 +00:00
Yung Han Khoe
040da6f327 added tooltips to Matrix attributes 2008-12-11 14:55:22 +00:00
Yung Han Khoe
a30d4140d9 fixed a bug in matrix compare display 2008-12-08 11:34:20 +00:00
Yung Han Khoe
8ba4f6ef70 More Matrix bugfixes 2008-12-07 13:10:08 +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
Frank Dillon
2449c18d63 fixed an issue which was causing the project management system to not recognize December as a valid month 2008-11-24 16:16:59 +00:00
Yung Han Khoe
ac0032fedf Adding Matrix templates, updating Matrix international 2008-11-24 16:00:14 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Yung Han Khoe
05bb43852d fixing more Matrix problems 2008-11-22 03:50:37 +00:00
Yung Han Khoe
9eff3a4b77 More Matrix fixes 2008-11-21 22:46:25 +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
Yung Han Khoe
36d4013dff Fixed a number of Matrix datatable problems. 2008-11-21 02:53:53 +00:00
Yung Han Khoe
f3ea84ec7b Adding javascript files for new Matrix 2008-11-19 19:26:56 +00:00
Yung Han Khoe
c9946708b5 fixed #9076: Thingy broken in latest beta, Save and Close buttons missing from Add/Edit Field dialogs 2008-11-14 17:31:22 +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