Commit graph

10460 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
76d677ab4f Updated & cleaned YUI includes in Default Survey Edit template 2009-02-03 08:30:48 +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
4daf774375 preparing for 7.6.9 release 2009-01-22 01:14:40 +00:00
Graham Knop
b255495c02 fixed: Exporting to static files can leak large amounts of memory 2009-01-22 01:14:33 +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
Colin Kuskie
b249b98a86 Document the heretofore missing date template variable in
the Syndicated Content item loop.
2009-01-21 23:30:21 +00:00
Colin Kuskie
88973add2f Qualify a chained method call when getting Workflow instances. If the
workflow for an instance is ever deleted, then no existing instances after that
instance will ever be sent to Spectre.
2009-01-21 21:12:26 +00:00
Tabitha Zipperer
af2b83219a Attempt to fix IE6 bug 2009-01-21 18:26:36 +00:00
Arjan Widlak
93297df269 fixed: ukplayer example is now loaded with swfobject.js released under the MIT licence, see gotcha's and /extras/ukplayer 2009-01-21 18:07:01 +00:00
Tabitha Zipperer
5b30a81983 Added a style for printing Alumni pages 2009-01-21 17:59:57 +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
Colin Kuskie
08db6b5036 Emails sent about low stock should have status unread, not completed. 2009-01-19 18:45:05 +00:00
Yung Han Khoe
3a4f90aef6 rfe 9197: Survey timeout handling 2009-01-19 12:51:02 +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
Colin Kuskie
329663dff9 Attributions in the changelog for a patch provided to fix a bug. 2009-01-16 16:10:00 +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
Kaleb Murphy
4dc51dd879 whups, left in console.logs 2009-01-16 00:36: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
8cee4f745a Fix a typo typo in the Operation/Workflow POD. 2009-01-15 17:46:39 +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
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
Colin Kuskie
1b6dd7be63 Forward port the PayDriver bug fixes from 7.5 branch. Labels are always
taken consistently from the JSON blob, and not a mixture of the two.
2009-01-15 00:34:34 +00:00
Arjan Widlak
3348df94da fixed #9264: new slideShow.swf uploaded in extras/ukplayer (United Knowledge/Arjan Widlak) 2009-01-14 23:21:56 +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
Colin Kuskie
55d4c12ce1 Update POD about getKeywordsForAsset. 2009-01-14 17:43:42 +00:00
Patrick Donelan
a02cbf95a7 More minor edits from flux branch 2009-01-14 06:15:10 +00:00
Patrick Donelan
42ce45f825 More code from flux branch 2009-01-14 06:14:52 +00:00
Patrick Donelan
34b44def2f Added gotoExpression tests (from flux branch) 2009-01-14 06:14:37 +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
3804ad7ddd Moving toolbar cache into the getToolbar sub. This was to be the forward port
of the getToolbar adminOn fix, but 7.6 already does uses adminOn to prevent
extra output from being generated.
2009-01-14 04:22:27 +00:00
David Delikat
d27b5b0066 fixed bug 9428: ASSET::get now includes keywords when
called without a property name.
2009-01-12 22:28:46 +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
1af2704e0c marked sbin scripts as executable 2009-01-12 16:28:33 +00:00
Colin Kuskie
888c594bdc Add license boiler plate to installClass. 2009-01-12 16:00:01 +00:00
Frank Dillon
dde2b149b5 Fixed a bug where posts would error because they didn't point to the thread 2009-01-12 04:46:25 +00:00