Commit graph

2469 commits

Author SHA1 Message Date
Patrick Donelan
d00c8661f3 Made first argument to SurveyJSON contructor $session for consistency
with rest of wg.

Also added Params::Validate validation.
2009-02-03 08:31:07 +00:00
Patrick Donelan
a1033aeaa2 Replaced all decode/encode_json method calls with to/from_json method
calls now that we've licked the Survey encoding bug (wrong mysql db
field type)
2009-01-27 05:47:36 +00:00
Patrick Donelan
c4eb4e3b57 Refactored updateQuestionAnswers and addAnswersToQuestion in SurveyJSON 2009-01-26 02:20:28 +00:00
Patrick Donelan
a2d01c34da Fixed a bug where newly created questions would not pre-populate answers
(caused by my refactoring)
2009-01-26 02:20:11 +00:00
Patrick Donelan
1376c8ae92 Merge commit WebGUI_7.6.9-beta into survey-rfe
* commit 'tags/WebGUI_7.6.9-beta': (31 commits)
  Release 7.6.9-beta
  preparing for 7.6.9 release
  fixed: Exporting to static files can leak large amounts of memory
  fixed: HTTP Proxy doesn't serve new content to visitors
  use to_json and from_json in more places instead of encode_json and decode_json
  Document the heretofore missing date template variable in
  Qualify a chained method call when getting Workflow instances.  If the
  Attempt to fix IE6 bug
  fixed: ukplayer example is now loaded with swfobject.js released under the MIT licence, see gotcha's and /extras/ukplayer
  Added a style for printing Alumni pages
  Emails sent about low stock should have status unread, not completed.
  Moved draggable.js to extras/yui-webgui/build/layout since it is now a wrapper around YUI dragdrob
  Attributions in the changelog for a patch provided to fix a bug.
  whups, left in console.logs
  Updated draggable.js to wrap the YUI
  fixed #4137: Calendar Search page has extra head tags in body
  Fix a typo typo in the Operation/Workflow POD.
  Forward port Shelf view fix.  Was not displaying child shelves, only self.
  Forward port the PayDriver bug fixes from 7.5 branch.  Labels are always
  fixed #9264: new slideShow.swf uploaded in extras/ukplayer (United Knowledge/Arjan Widlak)
  ...

Conflicts:
	lib/WebGUI/Asset/Wobject/Survey.pm
2009-01-22 04:39:43 +00:00
Graham Knop
5fe7ffa55c fixed: HTTP Proxy doesn't serve new content to visitors 2009-01-22 01:14:26 +00:00
Graham Knop
315ce0941f use to_json and from_json in more places instead of encode_json and decode_json 2009-01-22 01:14:14 +00:00
Patrick Donelan
8d5e6880c0 More SurveyJSON refactoring (mostly documentation) 2009-01-21 05:34:58 +00:00
Patrick Donelan
102ec0dd25 More SurveyJSON refactoring.. 2009-01-21 05:34:41 +00:00
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
Kaleb Murphy
1dc5387e1f Moved draggable.js to extras/yui-webgui/build/layout since it is now a wrapper around YUI dragdrob 2009-01-16 16:20:30 +00:00
Kaleb Murphy
2e47d3b2a1 Updated draggable.js to wrap the YUI 2009-01-16 00:34:50 +00:00
Doug Bell
96662a5f59 fixed #4137: Calendar Search page has extra head tags in body 2009-01-15 20:12:36 +00:00
Colin Kuskie
1460618ad4 Forward port Shelf view fix. Was not displaying child shelves, only self. 2009-01-15 16:35:01 +00:00
Yung Han Khoe
46cca4fae1 rfe 9200: Survey Text/TextArea handling 2009-01-15 14:17:40 +00:00
Colin Kuskie
7081202353 Mirror the indent loop calculation to the rel_depth in the Navigation. 2009-01-14 17:44:17 +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
Colin Kuskie
e3c77d4e80 Add a test for evaluating templates and macros in the right order
in the Snippet.  Fix a bug with that.
2009-01-12 22:23:41 +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
a894bf906a Only resize photos if they are larger than the Gallery resolutions. 2009-01-02 22:16:44 +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
47eb1998dd Make the Redeem Subscription code template user selectable in the Subscription Asset.
Add Help, i18n for that template.
2008-12-29 17:31:36 +00:00
Colin Kuskie
51d1955671 Set isHidden=1 in GalleryFile by default, to prevent some navigations from having
problems.
Update existing GalleryFile assets to set isHidden=1.
2008-12-24 23:13:11 +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
JT Smith
80fdb029b5 skip notify of spam 2008-12-16 23:01:47 +00:00
JT Smith
88499e36a0 undocumented spam prevention measure until i can build the real one 2008-12-16 19:41:55 +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