Commit graph

1797 commits

Author SHA1 Message Date
Patrick Donelan
ef7c0cfaa1 More SurveJSON refactoring (mostly documentation and simple code
changes)
2009-01-21 05:34:23 +00:00
Patrick Donelan
fe32551bca Added totalSections/Questions/Answers helper subs, refactored
getDragDropList to use helper subs, and added extra $address param
documentation.
2009-01-21 03:34:22 +00:00
Patrick Donelan
6d10570fdb Refactored SurveyJSON's new, freeze and addObject for readability 2009-01-20 07:34:55 +00:00
Yung Han Khoe
6598ca8854 rfe 9197: Survey timeout handling 2009-01-19 12:49:20 +00:00
Patrick Donelan
c4540a96ee Replaces to_json and from_json with encode_json/decode_json to properly
handle non-ascii user input (e.g. MS Word apostrophe)
2009-01-19 03:33:07 +00:00
Yung Han Khoe
46cca4fae1 rfe 9200: Survey Text/TextArea handling 2009-01-15 14:17:40 +00:00
Patrick Donelan
a02cbf95a7 More minor edits from flux branch 2009-01-14 06:15:10 +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
Graham Knop
33a3f2b439 fixed: Syndicated Content corrupts wide characters 2009-01-09 10:33:12 +00:00
Patrick Donelan
63e74f14f4 Added "Preview" button for survey builders 2009-01-09 07:13:15 +00:00
Colin Kuskie
9c87479f20 Forward porting expanded patch for handling deleted things. 2009-01-05 18:47:35 +00:00
Colin Kuskie
ee66303d56 Have Thingy check for existance of table and column to prevent
SQL from dying.
2009-01-05 18:09:52 +00:00
Colin Kuskie
6964c2f1d2 Fix linking to other things and autocreating the form field for it. 2009-01-05 16:49:23 +00:00
Colin Kuskie
da39f70f49 Remove the warnings pragma 2009-01-02 22:32:54 +00:00
Colin Kuskie
f833ad1ea5 Calendar i18n 2009-01-02 21:36:25 +00:00
Colin Kuskie
cf07abd052 i18n Edit and Delete buttons created in code. 2009-01-02 19:55:00 +00:00
Colin Kuskie
5574c9cc34 Fix preview of Image fields in the editThing screen. 2009-01-02 19:51:04 +00:00
Colin Kuskie
7d5e5eb581 Forward port Album cache delete/DESTROY issue with non-existant
keys in the cache.
2009-01-01 16:14:36 +00:00
Colin Kuskie
436ca52676 Fix a problem where an unviewable initial asset would throw off the indent_loop
size by 1.  In the nav templates, this would generate bad closing markup.
2008-12-31 16:58:26 +00:00
Colin Kuskie
78cd604176 Fixed missing Gallery i18n, and some Dashboard i18n. 2008-12-29 20:08:51 +00:00
Colin Kuskie
15531fc7b0 Make sure that the isMailField flag is preserved when editing the fields. 2008-12-24 02:18:29 +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
8c48263ca5 Rolled back Collaboration to 9027 2008-12-17 14:48:48 +00:00
Kaleb Murphy
5741d71445 Corrected survey timeout issues. 2008-12-17 14:46:54 +00:00
Yung Han Khoe
5edad76d21 added lastUpdated and version to Matrix compare screen 2008-12-16 14:04:30 +00:00
Yung Han Khoe
a0c6acd257 fixed #9296: Thingy View template not recognising field_isVisible 2008-12-16 12:08:16 +00:00
Colin Kuskie
8dab87a83b Forward porting definition changes to the SQL Report. definition property
fields must have label keys to show up in the Shortcut overrides tab.
2008-12-15 23:52:45 +00:00
Colin Kuskie
1e820b9458 Forward port WGBP SQLReport definition sub. 2008-12-15 23:20:42 +00:00
Patrick Donelan
fc3851705a Implemented Survey branching expressions (#9233). Woot! 2008-12-15 10:25:44 +00:00
Patrick Donelan
ad0f3b388d SurveyJSON->update() should iterate over supplied object keys, not
existing object keys. Also applied PBP formatting, fat commas, etc..
2008-12-15 10:25:22 +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
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
941240370b Add a mutator for questionsAnswered, with tests.
Correct POD for recordResponses.
Begin recordResponses answer processing tests.
2008-12-15 00:09:03 +00:00
Colin Kuskie
ad00b0f082 Flesh out the recordResponses POD. Almost ready for more in depth testing. 2008-12-14 04:56:43 +00:00
Colin Kuskie
aa04599aec recordResponse tests (just a few)
Fix a bug where if a section is terminal, and has no questions, it did not return the terminal flag as true.
A little recordResponse POD.
2008-12-13 03:56:26 +00:00
Colin Kuskie
3c7162fb8f Add POD stubs, fully document goto.
Prevent recordResponses from autovivifying mcHash keys.  From page to page of
questions it does not matter, but if two questions in the same page have an
unrecognized, type, the second will be processed differently from the first.
2008-12-12 23:33:33 +00:00
Colin Kuskie
574d6cf036 nextQuestions tests.
Add POD, and make sure that answers returned by nextQuestions are safe refs.
2008-12-12 19:27:12 +00:00
Colin Kuskie
5fe0a7cbe2 Add section separator comments between the subroutines.
Add a few checks to getNextSection* so that it won't autovivify array elements
past the end of the survey order array.
2008-12-12 17:03:10 +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
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