Colin Kuskie
a5ad3bf4bd
Fix broken subfolder synopsis template variable in the Folder.
2009-02-04 16:30:38 +00:00
Colin Kuskie
b8b2a38ef5
Fix the exitURL redirection when a survey is completed and the site uses a gateway url.
2009-02-04 02:22:21 +00:00
Patrick Donelan
669e986189
Replaced ResponseJSON's implementation of shuffle with List::Util's
...
shuffle and updated Colin's ninja shuffle tests
2009-02-04 02:05:44 +00:00
Patrick Donelan
477f014177
Improved createSurveyOrder documentation, and made perlcritic happy
2009-02-04 00:16:44 +00:00
Patrick Donelan
6fb325699f
Refactored createSurveyOrder in ResponseJSON
...
Added lastSectionIndex, lastQuestionIndex, lastAswerIndex convenience
methods to SurveyJSON to simplify iterations over Sections, Questions
and Answers
2009-02-04 00:16:26 +00:00
David Delikat
621a0cf71b
initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change
2009-02-03 16:43:47 +00:00
Patrick Donelan
66a2adcbe5
Moved ResponseJSON data hash to private variable, for security and
...
consistency with SurveyJSON
Added some more accessors/mutators, and param validation
2009-02-03 08:32:40 +00:00
Patrick Donelan
17dbf7fa66
Updated Survey.pm to use the new SurveyJSON contructor params
2009-02-03 08:32:22 +00:00
Patrick Donelan
57fb3cb238
Refactored SurveyJSON for perlcritic compliance.
...
Simplified some code, refactored out some C-isms.
2009-02-03 08:32:06 +00:00
Patrick Donelan
821635eb71
Refactored ResponseJSON and SurveyJSON
...
Added Params::Validate to ResponseJSON.pm
Refactored ResponseJSON constructor and re-ordered params for
consistency
Added new ->session accessor
Updates tests
Removed unnecessary logging methods
Further refactored SurveyJSON, gave private variables underscores,
replaced direct hash access with accessors
2009-02-03 08:31:43 +00:00
Patrick Donelan
8833459c74
Added param validation to all SurveyJSON.pm methods.
2009-02-03 08:31:24 +00:00
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
Colin Kuskie
99d6796675
Prevent Event, WikiPage and Thread from being pasted places where they don't
...
belong. This allows chained method calls to "getMyParent", getParent, getWiki, getCalendar, etc.
to work.
Adds the new canPaste and validParent method to Asset and AssetClipboard.
2009-02-03 04:43:11 +00:00
Colin Kuskie
1091616705
Prevent WikiPages from being manually added to places where they shouldn't.
2009-02-03 00:11:52 +00:00
David Delikat
118c18569f
caching now takes into account the correct parameter for pagination
2009-01-31 19:12:34 +00:00
Colin Kuskie
101e95fd63
Prevent Wiki Pages from being pasted to anywhere but a Wiki Master.
...
Add provisions for other assets to behave similarly.
2009-01-30 23:49:19 +00:00
Colin Kuskie
097de28bd0
Fix a perl syntax error, and use if/elsif/else instead
...
of cascaded if, since the 2nd if would always win.
2009-01-29 23:38:14 +00:00
David Delikat
e3e24b37b0
fixed #9596 : Articles now use a semi-unique pagination variable based on asset id
...
also restored the 'synopsis = first page' feature in Asset::Post::getSynopsisAndContent
2009-01-29 17:45:52 +00:00
Colin Kuskie
6a9e65d7d3
Backporting GalleryAlbum isHidden fix.
2009-01-29 17:14:46 +00:00
Colin Kuskie
129d45ca2a
Refactor gallery code to use old i18n technologies so they can
...
be verified with the critic_labels test.
2009-01-28 22:20:39 +00:00
Graham Knop
e345fd8706
fixed #9592 : DataForm deleteAttachedFiles method can crash
2009-01-28 18:24:26 +00:00
Graham Knop
e0e6e9b947
fixed: Syndicated Content asset doesn't work with feeds that specify their encodings via HTTP headers
2009-01-28 18:03:37 +00:00
Graham Knop
c7dac4aa42
cleaning up survey pod
2009-01-28 16:39:27 +00:00
Graham Knop
c7c4b8aecd
fix error reporting in Syndicated Content
2009-01-28 16:39:21 +00:00
Graham Knop
9d1fdfd1c6
remove needless import
2009-01-28 16:39:07 +00:00
Yung Han Khoe
57b3d4cbc2
added Statistical overview screen to survey
2009-01-28 15:22:50 +00:00
Colin Kuskie
0a8cf1c9f7
Merge in TimeTracker fix for users removed from a project with
...
existing report entries.
2009-01-27 17:35:40 +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
Colin Kuskie
787697adce
Add stub POD to these modules to get them to pass the POD test.
2009-01-26 23:35:51 +00:00
Kaleb Murphy
3a172a9e3d
POD docs added
2009-01-26 21:17:46 +00:00
Yung Han Khoe
83d1203de9
adding Transposed results export to Survey
2009-01-26 17:18:15 +00:00
Colin Kuskie
3467dd4a18
Expand macros in the notify subscription template so i18n will be handled.
2009-01-26 15:53:59 +00:00
Yung Han Khoe
a612b56e92
adding grade book view to Survey
2009-01-26 14:57:01 +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
Colin Kuskie
4437c2704c
i18n and hoverhelp for the definition
2009-01-23 05:34:27 +00:00
David Delikat
16ce54bf4f
added a new function to WebGUI::HTML to parse html text and extract a list of elements based on a tag
...
spec. used to extract paragraphs for the synopsis; convert FeedPP properties to scalar context so that
blank fields are rendered properly.
2009-01-23 03:41:49 +00:00
Colin Kuskie
3e0f449c46
Rolling back rev 9142. The gallery is supposed to upscale graphics.
2009-01-22 18:26:35 +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